body {
    background-color: #819067;
    overflow-x: hidden;
}

                                   /* 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;
    height: 100px; 
}

.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-links li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #0f0f0f;
    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;
    cursor: pointer;
    border-radius: 50%;
    padding: 8px;
    display: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000000;
    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;
}

/* Responsive */
@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;
}
}   
                                 /* about section */

body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #FEFAE0;
      padding-top: 120px; /* Space for fixed header */
      overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    .about-section {
      display: flex;
      justify-content: space-between;
      padding: 50px 5%;
      max-width: 1400px;
      margin: 0 auto;
      flex-wrap: wrap;
      flex-direction: row; /* Image first, then text */
    }
    
    .about-cards {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      flex: 1;
      max-width: 40%;
      order: 1; /* Display this first */
    }
    
    .about-text {
      flex: 2;
      max-width: 55%;
      font-size: 19px;
      order: 2; /* Display this second */
      margin-left: 40px;
    }
    
    .about-text h1 {
      font-size: 40px;
      margin-bottom: 20px;
      margin-top: 20px;
      color: #333;
    }
    
    .about-text h2 {
      font-size: 22px;
      margin-bottom: 10px;
      color: #0A400C;
    }
    
    .about-text p {
      line-height: 1.6;
      margin-bottom: 15px;
      text-align: justify;
    }

    .about-img1 
    {
        max-width: 100%;
        height: auto;
        max-height: 650px;
        object-fit: cover;
        margin: 0 auto;
        border-radius: 100px;
        box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
        transition: all 0.3s ease;
    }
    .about-img1:hover 
    {
       transform: scale(1.02);
       transition: all 0.2s ease-in-out;
       box-shadow: 0 0 20px rgba(10, 64, 12, 0.3);
    }

    .about-product 
    {
        max-width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: cover;
        margin-top: 48px;
        margin-left: 0;
        border-radius: 40px;
        box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
        transition: all 0.3s ease;
    }

    .about-product:hover 
    {
       transform: scale(1.02);
       transition: all 0.2s ease-in-out;
       box-shadow: 0 0 20px rgba(10, 64, 12, 0.3);
    }
    .product-text
    {
        font-size: 34px;
        margin: 20px 0;
        text-align: center;
    }
    
    .book-section {
  width: 100%;
  padding: 20px 0 60px;
  background-color: #FEFAE0;
  margin: 40px 0;
}

.container {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  gap: 40px; 
  padding: 50px 5%;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.book-text {
  margin-left: 0;
  text-align: center;
}
    .about-button
    {
        background-color: #0A400C;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 12px 24px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 16px;
        font-weight: 600;
        margin-top: 20px;
    }

    .about-button:hover
    {
        background-color: #0f5f11;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(10, 64, 12, 0.3);
    }


                                                /* Footer section */

.custom-footer {
    background-color: rgb(22, 22, 22);
    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: 0;
}

.footer-heading {
    font-weight: bold;
    margin-bottom: 16px;
    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;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .about-section {
    padding: 40px 4%;
  }
  
  .about-text {
    font-size: 18px;
  }
  
  .about-text h1 {
    font-size: 36px;
  }
  
  .about-img1 {
    max-height: 550px;
    margin-top: 80px;

  }
  
  .container {
    padding: 40px 4%;
    gap: 30px;
  }
  
  .about-product {
    max-width: 45%;
  }
}

@media (max-width: 992px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    padding: 30px 5%;
  }
  
  .about-cards {
    max-width: 80%;
    margin: 0 auto 30px;
    order: 1;
  }
  
  .about-text {
    max-width: 100%;
    font-size: 17px;
    margin-left: 0;
    order: 2;
  }
  
  .about-text h1 {
    font-size: 32px;
    margin-top: 10px;
    text-align: center;
  }
  
  .about-text h2 {
    font-size: 20px;
    text-align: center;
  }
  
  .about-img1 {
    margin: 0 auto;
    max-height: 500px;
    border-radius: 80px;
  }
  
  .book-section {
    padding: 15px 0 40px;
    margin: 30px 0;
  }
  
  .container {
    flex-direction: column;
    padding: 30px 5%;
  }
  
  .about-product {
    max-width: 80%;
    margin: 0 auto 20px;
  }
  
  .product-text {
    font-size: 28px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  

  .about-section {
    padding: 20px 4%;
  }
  
  .about-cards {
    max-width: 90%;
    margin-bottom: 25px;
  }
  
  .about-text {
    font-size: 16px;
  }
  
  .about-text h1 {
    font-size: 28px;
  }
  
  .about-text h2 {
    font-size: 18px;
  }
  
  .about-img1 {
    max-width: 90%;
    display: flex;
    justify-content: center;
  }
  
  .book-section {
    padding: 10px 0 30px;
    margin: 20px 0;
  }
  
  .about-product {
    max-width: 90%;
    border-radius: 34px;
    margin-bottom: 20px;
  }
  
  .product-text {
    font-size: 24px;
  }
  
  .about-button {
    padding: 10px 20px;
    font-size: 14px;
    display: block;
    margin: 20px auto 0;
  }
  
  .custom-footer {
    width: 100%;
    margin: 0;
  }
  
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .footer-about, .footer-services, .footer-contact {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: unset;
  }
  
  .footer-logo { 
    height: 40px; 
  }
}
@media (max-width: 480px) {
  body {
    padding-top: 90px;
  }
  
  .header-container {
    padding: 10px 15px;
  }
  
  .logo {
    height: 65px;
  }
  
  .about-section {
    padding: 15px 4%;
  }
  
  .about-cards {
    max-width: 95%;
    margin-bottom: 20px;
  }
  
  .about-text {
    font-size: 15px;
  }
  
  .about-text h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .about-text h2 {
    font-size: 17px;
  }
  
  .about-img1 {
    max-width: 95%;
    border-radius: 73px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  }
  
  .book-section {
    padding: 5px 0 25px;
    margin: 15px 0;
  }
  
  .container {
    padding: 20px 4%;
    gap: 25px;
  }
  
  .about-product {
    max-width: 95%;
    margin-bottom: 15px;
    border-radius: 22px;
  }
  
  .about-button {
    padding: 8px 18px;
    font-size: 13px;
  }
  
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-grid {
    gap: 30px;
  }
  
  .footer-title {
    font-size: 1.2rem;
  }
  
  .footer-heading {
    font-size: 1rem;
  }
  
  .footer-list li, .footer-contact-list p {
    font-size: 0.9rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  body {
    padding-top: 80px;
  }
  
  .logo {
    height: 60px;
  }
  
  .about-section {
    padding: 10px 3%;
  }
  
  .about-text {
    font-size: 14px;
  }
  
  .about-text h1 {
    font-size: 22px;
  }
  
  .about-text h2 {
    font-size: 16px;
  }
  
  .about-product {
    max-width: 80%;
    border-radius: 15px;
  }

  .about-img1{
    max-width: 80%;
    border-radius: 59px;
  
  }
  
  .container {
    padding: 15px 3%;
    gap: 20px;
  }
  
  .about-button {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
  }
  
  .social-links i {
    font-size: 18px;
  }
}

                                                /* 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;  
}

/* 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;
}

