@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.contact{
    position: relative;
    min-height: 100vh;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url('assests/home-bg.webp');
    background-size: cover;
    background-position: center;
    margin-top: 100px; 
}
.contact .content{
    max-width: 800px;
    text-align: center;
}
.contact .content h2{
    margin-top: 30px;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 600;
}

.contact .content p{
    color: #ffffff;
    font-weight: 300;
    padding: 20px 5%;
    line-height: 1.5;
}
body {
    background-color: #e4e4cc;
}

                                                   /* Header */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FEFAE0;
    z-index: 1000;
}

.logo {
    height: 100px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-links li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: #0A400C;
}

.book-counselling {
    border-radius: 20px;
    background: #0A400C;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 1.08rem;
    cursor: pointer;
    padding: 10px 20px;
    margin-right: 40px;
    transition: all 0.3s ease;
    outline: none;
    animation: glowing 1.5s infinite;
    position: relative;
    overflow: hidden;
}

.book-counselling:hover {
    animation: none;
    background: #126b15;
    box-shadow: 0 0 25px #126b15;
    transform: translateY(-2px);
}


@keyframes glowing {
    0% {
        box-shadow: 0 0 5px #0A400C,
                   0 0 10px #0A400C,
                   0 0 15px #0A400C;
    }
    50% {
        box-shadow: 0 0 20px #0A400C,
                   0 0 25px #0A400C,
                   0 0 30px #0A400C;
    }
    100% {
        box-shadow: 0 0 5px #0A400C,
                   0 0 10px #0A400C,
                   0 0 15px #0A400C ;
    }
}

.hamburger {
    background-color: #FEFAE0;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1002;
    margin-left: -60px;
    cursor: pointer;
    border-radius: 50%;
    padding: 8px;
    display: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0A400C;
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.4s ease;
    transform-origin: center center;
    position: relative;
    left: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    margin: 4px 0;
    height: 3px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    margin: 4px 0;
    height: 3px;
}



@media (max-width: 1100px) {
    .header-container {
        padding: 12px 20px;
    }

    .logo {
        height: 88px;
    }
    
    .hamburger {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1002;
        margin-right: 20px;
    }

    .nav-bar {
        display: flex;
        align-items: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        border-radius: 0 0 0 40px;
        height: 100vh;
        width: 320px;
        background: #FEFAE0;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 100px 30px 50px;
        transition: right 0.3s ease;
        box-shadow: -3px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 15px 0;
    }

    .nav-links a {
        display: block;
        padding: 15px 25px;
        text-align: center;
        font-size: 1.1rem;
        color: #333;
        border-radius: 10px;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .nav-links a:hover {
        background-color: rgba(10, 64, 12, 0.08);
        color: #0A400C;
        transform: translateX(5px);
    }

    .book-counselling {
        margin: 30px auto 20px;
        width: 85%;
        max-width: 220px;
        text-align: center;
        padding: 14px 25px;
        display: block;
        border-radius: 25px;
        font-weight: 600;
        font-size: 1rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}
@media (max-width: 380px) {
    
    .nav-links{
        right: -200%;
    
    }
    .nav-links.active {
        left: 10px;
}
}   


.contact iframe {
    width: 100%;
    max-width: 640px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 1285px; 
    overflow-y: hidden;
}


.form-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}


@media (max-width: 768px) {
    .contact {
        margin-top: 80px;
        padding: 30px 15px;
    }
    
    .contact .content {
        max-width: 95%;
    }
    
    .contact iframe {
        width: 100%;
        height: 1350px; 
    }
}

@media (max-width: 480px) {
    .contact .content h2 {
        font-size: 1.8rem;
        margin-top: 20px;
    }
    
    .contact .content p {
        padding: 15px 2%;
        font-size: 0.95rem;
    }
    
    .contact iframe {
        height: 1400px; 
    }
}




                                                /* Footer section */

.custom-footer {
    background-color: #020202;
    color: #fff;
    padding: 60px 0 0 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: -10px;
    z-index: 999;
    box-sizing: border-box;
    
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-about, .footer-services, .footer-contact {
    flex: 1 1 250px;
    min-width: 220px;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
}

.footer-doctor {
    color: #bbb;
    font-size: 0.95rem;
    margin: 0;
}

.footer-quote {
    color: #bbb;
    margin-bottom: 12px;
}

.footer-desc {
    color: #bbb;
    margin-bottom: 20px;
}


.footer-heading {
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 0px;
    font-size: 1.1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    color: #bbb;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.footer-contact-list p {
    color: #bbb;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 40px;
    padding: 24px 0 16px 0;
    text-align: center;
    color: #bbb;
    font-size: 0.95rem;
}
.footer-logo
{
    height: 48px;           
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;     
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0A400C;
    color: #FEFAE0;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(10, 64, 12, 0.2);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 64, 12, 0.4);
    background: #126b15;
}

.social-links i {
    font-size: 20px;
}

