* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    color: #36454F;
}

.container {
    max-width: 1200px;
    height: 100%;
    margin: auto; 
}

a {
    text-decoration: none;
}

nav {
    background-color: #89604C;
    padding: .1% 0;
}

.nav-flex {
    width: 100%;
    height: 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.menu {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.nav-link {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 0 14.5px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active{
    background-color: rgba(255, 255, 255, 0.1);
}

.donation-btn {
    background-color: #6b4a3a;
    border-radius: 4px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}


/* Button Styles */
        .baba-call-btn {
            position: fixed;
            left: 20px;
            bottom: 20px;
            background: linear-gradient(45deg, #4CAF50, #45a049);
            color: white;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .baba-call-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
        }

        .baba-whatsapp-btn {
            position: fixed;
            right: 20px;
            bottom: 20px;
            background: linear-gradient(45deg, #25D366, #128C7E);
            color: white;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .baba-whatsapp-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
        }

        .baba-appointment-btn {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(45deg, #643825, #89604C);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 18px 35px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 0.5px;
            animation: pulse 2s infinite;
            display: flex;
            align-items:center;
            gap:5px;
        }

        .baba-appointment-btn:hover {
            transform: translateX(-50%) translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
        }

        .baba-close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
            padding: 5px;
        }

        .baba-close-btn:hover {
            color: #333;
        }

        .baba-submit-btn {
            background: linear-gradient(45deg, #FF6B6B, #FF5252);
            color: white;
            border: none;
            border-radius: 10px;
            padding: 15px 30px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s ease;
        }

        .baba-submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
        }

        .baba-btn-icon {
            width: 28px;
            height: 28px;
            fill: currentColor;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
            }
        }

        /* Popup Overlay */
        .baba-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            backdrop-filter: blur(5px);
        }

        .baba-popup-overlay.active {
            display: flex;
        }

        /* Popup Form */
        .baba-popup-form {
            background: white;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.8);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .baba-popup-overlay.active .baba-popup-form {
            transform: scale(1);
            opacity: 1;
        }

        .baba-popup-form h2 {
            color: #333;
            margin-bottom: 20px;
            text-align: center;
            font-size: 24px;
        }

        /* Radio Button Section */
        .baba-radio-section {
            margin-bottom: 25px;
        }

        .baba-radio-section h3 {
            margin-bottom: 15px;
            color: #333;
            font-size: 16px;
        }

        .baba-radio-group {
            display: flex;
            gap: 20px;
        }

        .baba-radio-item {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .baba-radio-item input[type="radio"] {
            width: 18px;
            height: 18px;
            accent-color: #FF6B6B;
        }

        .baba-radio-item label {
            cursor: pointer;
            color: #333;
            font-weight: 500;
        }

        /* Form Fields */
        .baba-form-group {
            margin-bottom: 20px;
        }

        .baba-form-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 600;
        }

        .baba-form-group input,
        .baba-form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 16px;
            transition: border-color 0.3s ease;
        }

        .baba-form-group input:focus,
        .baba-form-group textarea:focus {
            outline: none;
            border-color: #FF6B6B;
        }

        .baba-form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        /* Phone input styling */
        .baba-phone-input {
            position: relative;
        }

        .iti {
            width: 100%;
        }

        .iti__flag-container {
            border-radius: 10px 0 0 10px;
        }

        .iti__selected-flag {
            border-radius: 10px 0 0 10px;
        }

        /* Success Message Popup */
        .baba-success-message {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(45deg, #4CAF50, #45a049);
            color: white;
            padding: 15px 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            z-index: 3000;
            font-size: 16px;
            font-weight: 500;
            opacity: 0;
            transform: translateY(-20px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            display: none;
        }

        .baba-success-message.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }
 

        @media (max-width: 480px) {
            .baba-call-btn, .baba-whatsapp-btn {
                width: 50px;
                height: 50px;
                bottom: 10px;
            }

            .baba-call-btn {
                left: 10px;
            }

            .baba-whatsapp-btn {
                right: 10px;
            }

            .baba-appointment-btn {
                bottom: 10px;
                padding: 12px 20px;
                font-size: 14px;
            }

            .baba-btn-icon {
                width: 20px;
                height: 20px;
            }

            .baba-popup-form {
                padding: 15px;
                margin: 10px;
            }

            .baba-success-message {
                top: 10px;
                right: 10px;
                padding: 10px 15px;
                font-size: 12px;
            }
        }


@media (max-width: 768px) {
    
    .baba-call-btn, .baba-whatsapp-btn {
                width: 55px;
                height: 55px;
                bottom: 15px;
            }

            .baba-call-btn {
                left: 15px;
            }

            .baba-whatsapp-btn {
                right: 15px;
            }

            .baba-appointment-btn {
                bottom: 15px;
                padding: 15px 25px;
                font-size: 16px;
            }

            .baba-btn-icon {
                width: 24px;
                height: 24px;
            }

            .baba-popup-form {
                padding: 20px;
            }

            .baba-radio-group {
                flex-direction: column;
                gap: 15px;
            }

            .baba-success-message {
                top: 15px;
                right: 15px;
                padding: 12px 20px;
                font-size: 14px;
            }
    
    .container {
        width: 95%;
    }
    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        height: auto;
        background-color: #89604C;
        position: absolute;
        top: 62.5px;
        left: 0;
        z-index: 1000;
    }

    .menu.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}



footer {
    background-color: #895D2C;
    padding: 4% 0;
    color: white;
    position: relative;
}

footer .flex-col {
    width: 100%;
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
    margin: 1% 0 5% 0;
}

footer .flex-col .items {
    flex: 1;
}

footer .flex-col .items h3 {
    font-size: 3rem;
    color: white;
    margin: 0;
}

footer .flex-col .items p {
    font-size: 1.1rem;
    color: white;
    line-height: 30px;
    padding-right: 3%;
}

footer .footer-img {
    width: 100%;
    height: 250px; 
    border-radius: 20px;
    overflow: hidden;
}

footer .footer-img  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

footer .footer-flex {
    margin-top: 10%;
    width: 100%;
    display: flex;
    gap: 5%;
    flex-wrap: wrap;
}

footer .footer-flex .footer-col:first-child {
    flex: 40%;
}

footer .footer-flex .footer-col {
    flex: 25%;
}

footer .footer-flex .footer-col {
    flex: 25%;
}

footer .footer-flex p {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

footer .footer-flex .footer-col:first-child p {
    font-size: 1.1rem;
    line-height: 30px;
    font-weight: 400;
}

footer .footer-col ul {
    list-style: none;
    margin: 0;
    padding: 5% 0 0 0;
}

footer .footer-col ul li {
    margin: 7% 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

footer .footer-col ul li a {
    color: white;
}

.bottom-footer p {
    text-align: center;
    font-size: 1.1rem;
}

.fixed-btn{
    position: fixed;
    top: 50%;
    right: .5%;
    display: flex;
    flex-direction: column;
    transform: translateY(-50%);
    gap: 2%;
    z-index: 99;
}
.fixed-btn a{
    width: 40px;
}
.fixed-btn a img{
    width: 100%;
}


@media (max-width:600px) {

    footer .flex-col .items {
        flex: 100%;
        text-align: center;
    }

    footer .footer-flex .footer-col {
        flex: 100%;
        text-align: center;
        margin: 3% 0;
    }

    footer .footer-col ul li {
        font-size: 1.3rem;
    } 


}