/* Footer Base */
.footer {
    background: #ADB036;
    padding: 50px 8%;
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* Desktop Layout - All in a Row */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap; /* Ensures everything stays in one row */
}

/* Left Section - Logo & About */
.footer-left {
    flex: 1;
    text-align: left;
}

.logo img {
    width: 200px;
    height: auto;
}

.footer-left p {
    margin-top: 10px;
    color: #000;
    font-size: 14px;
    max-width: 250px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    font-size: 20px;
    margin-top: 15px;
}

.social-icons i {
    color: #000;
    transition: color 0.3s, transform 0.3s;
}

.social-icons i:hover {
    color: red;
    transform: scale(1.1);
}

/* Middle Section (Quick Links & Contact) */
.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex: 3;
    gap: 40px;
}

/* Quick Links */
.quick-links, .contact-details, .footer-subscribe {
    flex: 1;
}

.quick-links h3, .contact-details h3, .footer-subscribe h3 {
    font-size: 18px;
    color: #E74C3C;
    margin-bottom: 12px;
}

/* Quick Links List */
.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    margin: 8px 0;
}

.quick-links ul li a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: color 0.3s;
}

.quick-links ul li a:hover {
    color: #e89b85;
}

/* Contact Details */
.contact-details p {
    font-size: 14px;
    margin: 8px 0;
    color: #000;
}

/* Subscribe Box */
.subscribe-box {
    display: flex;
    border: 1px solid transparent;
    border-radius: 999px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    max-width: 300px;
}

.subscribe-box input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 999px 0 0 999px;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #333;
}

.subscribe-box input::placeholder {
    color: #E74C3C;
}

.subscribe-box input:focus {
    background-color: #fffaf9;
}

.subscribe-btn {
    background: #E74C3C;
    border: none;
    padding: 14px 10px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    border-radius: 0 999px 999px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}



/* Footer Bottom */
.footer-bottom {
    text-align: center;
    background: #000;
    padding: 15px;
    font-size: 14px;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-middle {
        flex-direction: row;
        gap: 30px;
        width: 100%;
    }

    .quick-links, .contact-details, .footer-subscribe {
        text-align: left;
        width: 30%;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        padding: 40px 5%;
    }

    .footer-middle {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        width: 100%;
    }

    .quick-links, .contact-details, .footer-subscribe {
        text-align: center;
        font-size: 14px;
        width: 100%;
    }

    .subscribe-box input {
        width: 100%;
    }

    .subscribe-btn {
        padding: 10px;
    }
}

/* floating */
.floating-buttons {
    position: fixed;
    bottom: 100px; /* Position above WhatsApp */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1111;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: white;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.social-btn:hover {
    transform: scale(1.1);
}

/* Facebook Button */
.floating-buttons .facebook {
    background-color: #1877F2;
}

/* YouTube Button */
.floating-buttons .youtube {
    background-color: #FF0000;
}

/* Instagram Button */
.floating-buttons .instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
}

.floating-buttons .whatsapp{
    background-color:  #25D366;
}








/* Emergency Tab */
.emergency-tab {
  
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
    width: 30px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 15px 15px 0;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
}

/* Emergency Button */
.tab-button {
    background: transparent;
    border: none;
    color: white;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px;
    pointer-events: none; /* Allows click-through to parent */
}

/* Emergency Content */
.emergency-content {
    display: none;
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    background: white;
    color: black;
    padding: 15px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

/* Contact List */
.emergency-content ul {
    padding: 0;
    list-style-type: none;
    font-size: 14px;
    line-height: 1.8;
}

/* Contact Item */
.emergency-content li {
    padding: 5px 0;
    font-weight: bold;
}

/* Clickable Phone Numbers */
.emergency-content a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.emergency-content a:hover {
    color: #d32f2f;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #d32f2f;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.2s;
}

/* Close Button Hover */
.close-btn:hover {
    background: #b71c1c;
}
