/*
Theme Name: Dr. Twinkal Patel Theme
Theme URI: https://drtwinkalpatel.in/
Author: Motherhood Hospital
Description: Custom WordPress theme for Dr. Twinkal Patel
Version: 1.2
/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
/* ===== RESET & GLOBAL ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  /*background: #faf7f2;*/
  color: #333;
}




/* ===========================
   PREMIUM NAVBAR (Dr. Twinkal Patel Theme)
   =========================== */

header {
  width: 100%;
  /*position: fixed;*/
  top: 0;
  left: 0;
  z-index: 1000;
}

/*.announcement-badge {*/
/*  background: #d4af37;*/
/*  color: #ffffff !important;*/
/*  padding: 6px 14px;*/
/*  border-radius: 20px;*/
/*  font-size: 13px;*/
/*  font-weight: 600;*/
/*  text-decoration: none;*/
/*  transition: 0.3s ease;*/
/*}*/

/*.announcement-badge:hover {*/
/*  background: #b8962e;*/
/*  transform: translateY(-2px);*/
/*}*/


.nav-links a i {
    display: none !important;
}

/* HIDE SOCIAL ICONS ON DESKTOP */
.mobile-social {
    display: none;
}
@media (max-width: 768px) {

    /* Show follow icons only in mobile */
    .mobile-social {
        display: block;
        margin-top: auto;
        padding: 25px 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .mobile-social p {
        font-size: 14px;
        color: white;
        margin-bottom: 12px;
        opacity: 0.8;
    }

    .mobile-social a i {
        font-size: 22px;
        color: white;
        margin-right: 15px;
        transition: 0.3s;
    }

    .mobile-social a i:hover {
        transform: scale(1.2);
        opacity: 0.9;
    }

    /* Make menu full-height so icons stay at bottom */
    #nav-links {
       
        flex-direction: column;
        height: 100vh;
    }
}

@media (max-width: 768px) {

  /* Show icons only in mobile */
  .nav-links a i {
      display: inline-block !important;
      font-size: 18px !important;
      margin-right: 10px;
      color: white !important;
  }

  /* Mobile spacing + layout */
  .nav-links a {
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
      font-size: 16px;
      /* HIDE ICONS ON DESKTOP */

  }
  
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(101 106 69);
  padding: 0px 40px;
  border-bottom: 1px solid rgba(101, 106, 69, 0.15);
  z-index: 100;
}
@media (max-width: 992px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    z-index: 9999; /* FIX: menu now shows above banner */
  }
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: rgba(101, 106, 69, 0.95);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}
.nav-links {
  display: none;
}

.nav-links.active {
  display: block;
}


.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: rgba(101, 106, 69, 0.95);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: rgba(101, 106, 69, 1);
}
.nav-links li {
  list-style: none;
  margin-bottom: 25px; /* increase vertical spacing */
}

.nav-links a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  display: flex;          /* allow icon + text */
  align-items: center;
  gap: 10px;              /* space between icon and text */
}



/* =====================================
   BASIC NAVBAR STYLING
===================================== */
/*.navbar {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: space-between;*/
/*  padding: 15px 20px;*/
  /*background: rgb(101, 106, 69); your theme */
/*  position: relative;*/
/*  z-index: 10;*/
/*}*/

.logo-text {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
}

/* --- HAMBURGER BUTTON --- */
.menu-toggle {
  display: none; /* hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.4s;
}

/* X ANIMATION */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- MOBILE MENU --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -260px; /* hidden by default */
    width: 250px;
    height: 100vh;
    background: rgb(101, 106, 69); /* your color */
    flex-direction: column;
    padding-top: 80px;
    padding-left: 20px;
    gap: 20px;
    transition: 0.4s ease;
    border-radius: 0 20px 20px 0;
    z-index: 10000;
  }

  .nav-links.active {
    left: 0; /* slide in */
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    color: white; /* mobile link color */
    font-size: 18px;
    text-decoration: none;
  }
}


/* ===== HOME BANNER SECTION ===== */


/* ===== BANNER SECTION ===== */
.home-banner {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

/* Banner Image Full Visible */
.home-banner img {
  width: 100%;
      
  height: auto;
  object-fit: contain;   /* FULL VISIBLE – NO CUTTING */
  display: block;
}

/* Banner Title */
.banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.banner-title h1 {
  font-size: 48px;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

/* Responsive Title */
@media (max-width: 768px) {
  .banner-title h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .banner-title h1 {
    font-size: 22px;
  }
}

/*.home-banner {*/
/*  position: relative;*/
/*  width: 100%;*/
/*  height: 100vh;*/
/*  overflow: hidden;*/
/*  background: #000;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*}*/

/*.banner-overlay {*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background: rgba(0, 0, 0, 0.15);*/
/*  backdrop-filter: blur(4px);*/
/*  z-index: 1;*/
/*}*/

/*.banner-content {*/
/*    padding-top: 50px;*/
/*  position: relative;*/
/*  z-index: 2;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  overflow: hidden;*/
/*}*/

/*.banner-content input[type="radio"] {*/
/*  display: none;*/
/*}*/

/*.slides {*/
/*  display: flex;*/
/*  width: 300%;*/
/*  height: 100%;*/
/*  transition: transform 0.6s ease;*/
/*}*/

/*.slides img {*/
/*  width: calc(100% / 3);*/
/*  height: 100%;*/
/*  object-fit: cover;*/
/*  flex-shrink: 0;*/
/*  filter: brightness(0.95) contrast(1.05);*/
/*}*/

/* Slide position based on radio input checked */
/*#slide1:checked ~ .slides { transform: translateX(0); }*/
/*#slide2:checked ~ .slides { transform: translateX(-33.333%); }*/
/*#slide3:checked ~ .slides { transform: translateX(-66.666%); }*/

/* Navigation dots styling */
/*.nav-buttons {*/
/*  position: absolute;*/
/*  bottom: 20px;*/
/*  width: 100%;*/
/*  text-align: center;*/
/*  z-index: 3;*/
/*}*/

/*.nav-dot {*/
/*  display: inline-block;*/
/*  width: 12px;*/
/*  height: 12px;*/
/*  margin: 0 6px;*/
/*  background:  rgba(136, 143, 94, 0.95);*/
/*  border-radius: 50%;*/
/*  cursor: pointer;*/
/*  transition: background-color 0.3s ease;*/
/*}*/

/*.nav-dot:hover {*/
/*  background: rgba(255, 255, 255, 0.8);*/
/*}*/

/* Highlight active dot */
/*#slide1:checked ~ .nav-buttons label[for="slide1"],*/
/*#slide2:checked ~ .nav-buttons label[for="slide2"],*/
/*#slide3:checked ~ .nav-buttons label[for="slide3"] {*/
/*  background: white;*/
/*}*/

/*@media (max-width: 768px) {*/
/*  .home-banner {*/
/*    height: 80vh;*/
/*  }*/
/*}*/







/* ===== HERO SECTION STYLE ===== */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #fffaf6; /* soft warm background */
  padding: 80px 5%;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: auto;
  flex-wrap: wrap;
  /*align-items: center;*/
}

/* IMAGE */
.hero-image {
  flex: 1 1 45%;
  text-align: center;
  border-radius: 25px;
  /*box-shadow: 0 16px 40px rgba(170, 136, 102, 0.2);*/
  overflow: hidden;
  max-width: 480px;
  margin: auto;
}

.hero-image img {
  width: 100%;
  border-radius: 25px;
  object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image img:hover {
  transform: scale(1.07);
  box-shadow: 0 24px 60px rgba(170, 136, 102, 0.35);
}

/* TEXT */
.hero-text {
  flex: 1 1 50%;
  color: #6b514f; /* deep warm brown */
  max-width: 600px;
}

.hero-text h2 span {
    font-family: "Playfair Display", serif;
    font-size: 42px;
  
  font-weight: 800;
  background: linear-gradient(90deg, #ae8f78, #644837);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-text p {
  font-size: 1.15rem;
  line-height: 1.75;
  margin: -20px 0;
  color: #7d6659;
  font-weight: 500;
}

.hero-points {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.hero-points li {
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: #735b4f;
  position: relative;
  padding-left: 32px;
  font-weight: 600;
}

.hero-points li::before {
  /*content: '🌿';*/
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

/* BUTTONS */
.hero-buttons {
  margin: 30px 0 35px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(90deg, #ae8f78, #644837);
  color: #fffaf6;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-right: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: linear-gradient(90deg, #644837, #3f2a1f);
  transform: translateY(-4px);
}

/* SUBTITLE */
.subtitle {
  margin-top: 24px;
  font-size: 1rem;
  font-style: italic;
  color: #987e6b;
  font-weight: 600;
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 22px;
}

.social-icons a {
  display: inline-block;
  color: #ae8f78;
  font-size: 1.4rem;
  margin-right: 22px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #644837;
  transform: scale(1.2);
}

/* QUOTE */
.hero-text > p:last-child {
  font-style: italic;
  font-size: 1.15rem;
  margin-top: 2rem;
  color: rgba(101, 106, 69, 0.97);
  max-width: 520px;
  font-weight: 600;
}

.hero-quote {
  /*font-weight: bold;*/
  /* Optional: additional styling */
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(101, 106, 69, 0.97);
  max-width: 600px;
  margin: 15px auto 0 auto;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-image,
  .hero-text {
    flex: 1 1 100%;
  }
  .hero-text h2 span {
    font-size: 2.4rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 20px;
  }
  .hero-text h2 span {
    font-size: 2rem;
  }
  .hero-text p,
  .hero-points li {
    font-size: 1rem;
  }
  .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}

/* My Story Section */
.my-story {
  padding: 30px 20px;
  font-family: 'Poppins', sans-serif;
}

/* Title */
.my-story h1 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 600; 
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #ae8f78, #644837);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Flex Container */
.story-container {
  display: flex;
 
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}

/* Text Side */
.story-text {
  flex: 1;
}

.story-text h4 {
        font-family: "Cormorant Garamond", serif;
    font-style: italic;
  font-size: 20px;
    line-height: 1.75;
    margin: -20px 0;
    color: #7d6659;
    font-weight: 500;
    
  margin-bottom: 20px;
  
}
.story-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333;
}

/* Image Side */
.story-image {
  flex: 1;
}

.story-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .story-container {
    flex-direction: column;
    text-align: center;
  }

  .story-image img {
    max-width: 90%;
    margin: 0 auto;
  }
}
/* ===== SLIDER TITLE ===== */
.slider_title {
  color: #000;
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.slider_title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.slider_title:hover::after {
  width: 60%;
}

/* ===== SLIDER SECTION ===== */
.slider {
  overflow: hidden;
  width: 100%;
  padding: 60px 10%;
  position: relative;
}

.slide-track {
  display: flex;
  width: max-content;
  animation: scroll 18s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.slide {
  flex: 0 0 auto;
  padding: 20px;
}

.logo-box {
  width: clamp(220px, 22vw, 300px);
  height: clamp(260px, 26vw, 340px);
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.logo-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.logo-box img {
  width: 85%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
}
/* ===== CONTACT SECTION ===== */
.success-message {
  background: #fffaf6;
  color: #80a35e;
  border: 1px solid #80a35e;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.contact {
  width: 100%;
  background: #fff;
  padding: 100px 10%;
  overflow-x: hidden;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

/* --- Left Side --- */
.contact-left {
  flex: 1 1 450px;
  text-align: center;
}

.contact-image img {
  width: 100%;
  max-width: 280px;
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}

.contact-image img:hover {
  transform: scale(1.05);
}

.contact-details h2 {
    font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  color: #ae8f78;
  margin-bottom: 10px;
}

.contact-details .subtitle {
  color: #333;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.contact-details p {
  color: #444;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* --- Right Side --- */
.contact-right {
  flex: 1 1 450px;
}

.contact-right h3 {
  color: #80a35e;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-right input,
.contact-right textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-right input:focus,
.contact-right textarea:focus {
  border-color: #80a35e;
  box-shadow: 0 0 8px rgba(0, 153, 109, 0.2);
  outline: none;
}

.contact-right button {
  background: #80a35e;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-right button:hover {
  background: #80a35e;
  transform: translateY(-2px);
}

/* --- Animation --- */
.contact-container {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-right h3 {
    margin-top: 30px;
  }

  .contact-image img {
    max-width: 230px;
  }
}

/* --- Small Screens --- */
@media (max-width: 600px) {
  .contact {
    padding: 70px 6%;
  }

  .contact-details h2 {
    font-size: 2rem;
  }
}

/* --- Extra Large Screens (27" and above) ---*

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  color: #fff;
  padding: 50px 10% 20px;
  margin-top: 50px;
  width: 100%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #ae8f78;
}

.footer-left p {
  color: #ccc;
  font-size: 0.95rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 8px;
  text-align: center;
}

.footer-nav ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: #80a35e;
}

.footer-right p {
  margin-bottom: 10px;
  font-weight: bold;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.2);
  filter: brightness(0) saturate(100%) invert(39%) sepia(100%) saturate(300%) hue-rotate(120deg) brightness(95%) contrast(90%);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #bbb;
}
/* ===== DESKTOP DEFAULT MENU (NEEDED FIX) ===== */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

/* Make hamburger hidden on desktop */
.menu-toggle {
  display: none;
}



/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin-bottom: 4px;
  border-radius: 2px;
}

/* ===== RESPONSIVE MENU (Slide-in) ===== */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
    z-index: 10001;
  }

  /* REMOVE your old "absolute top:70px display:none" menu */
  .nav-links {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100vh;
    width: 240px;
    background: rgb(101, 106, 69);
    flex-direction: column;
    padding-top: 80px;
    gap: 20px;
    transition: left 0.3s ease;
    z-index: 10000;
    border-radius: 0 18px 18px 0;
  }

  .nav-links.active {
    left: 0;
  }

  

  /* Prevent page scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* ===== SMALL DEVICES ===== */
@media (max-width: 576px) {
  .logo-text {
    font-size: 1.3rem;
  }

  .nav-links li a {
    font-size: 1rem;
  }
}

  .logo-box {
    width: clamp(280px, 18vw, 360px);
    height: clamp(320px, 22vw, 420px);
  }

  .site-footer {
    padding: 70px 15% 30px;
  }




/* ---- Events Section ---- */
.events-section {
  padding: 80px 10%;
  text-align: center;
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-title span {
  color: #00996d;
}

.section-subtitle {
  color: #555;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.events-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.event-card {
  background: #f9f9f9;
  border-radius: 15px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-content {
  padding: 20px;
  text-align: left;
}

.event-content h3 {
  font-size: 1.2rem;
  color: #80a35e;
  margin-bottom: 8px;
}

.event-content p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.event-date {
  color: #888;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .events-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .event-card {
    width: 100%;
    max-width: 450px;
  }
}




.awards-section {
  padding: 80px 10%;
  text-align: center;
  background: #faf7f2;
  font-family: 'Poppins', sans-serif;
}

/* Title and Subtitle in white */
.section-title {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.section-title span {
  color: rgba(101, 106, 69, 0.97);
}

.section-subtitle {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 50px;
  font-family: 'Poppins', sans-serif;
}

/* Grid Container, 3 cards per row */
.awards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;  /* equal spacing for rows and columns */
  margin-bottom: 40px;
}


/* Award Card with padding around the image */
.award-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  padding: 15px; /* padding inside each card */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image with 3:4 aspect ratio and fills container minus padding */
.award-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 10px; /* optionally round image corners */
  transition: filter 0.4s ease, transform 0.5s ease;
}

.award-card:hover img {
  filter: brightness(60%); /* darken image */
  transform: scale(1.05);
}

/* Caption text on hover: white, no background */
.award-caption {
  position: absolute;
  left: 50%;
  top: 75%;
  transform: translate(-50%, 80%);
  width: 90%;
  color: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  background: none;
  padding: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  transition: color 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  border: none;
  user-select: none;
}

.award-card:hover .award-caption {
  color: #fff;
  transform: translate(-50%, 0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .awards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .awards-container {
    grid-template-columns: 1fr;
  }
}

/* ---- Owner & Director Section ---- */
.owner-director-section {
  padding: 80px 10%;
  background: #faf7f2;
  text-align: center;
  overflow: hidden;
}

.section-header {
  margin-bottom: 40px;
}

.owner-title {
  color: #000;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.owner-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 60%;
  height: 2px;
  background-color: #80a35e;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.owner-title:hover::after {
  width: 100%;
}

.owner-subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-top: 10px;
}

/* ---- Logo Slider ---- */
.branch-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.branch-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollLogos 20s linear infinite;
}

.branch-card {
  width: 180px;              /* Adjust as needed */
  display: flex;
  flex-direction: column;
  align-items: center;       /* Center everything */
  justify-content: center;
  text-align: center;
}

.branch-card img {
  width: 120px;              /* Final uniform width */
  height: 120px;             /* Final uniform height */
  object-fit: contain;       /* Prevent distortion */
  display: block;
  
  background: #ffffff;       /* Optional clean background */
  padding: 10px;
  border-radius: 12px;       /* Optional rounded edges */

  /* Helps center irregular logos */
  box-sizing: border-box;  
}


@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.branch-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  width: 230px;
  text-align: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.branch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.branch-card img {
  width: 90%;
  max-width: 160px;
  height: auto;
  margin-bottom: 10px;
  object-fit: contain;
}

.branch-card p {
  font-weight: 600;
  /* color: #000000; */
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .owner-title { font-size: 1.5rem; }
  .branch-card { width: 180px; padding: 15px; }
  .branch-track { gap: 20px; animation-duration: 16s; }
}


/* ===== GLOBAL RESPONSIVE ENHANCEMENTS ===== */

/* --- General Fixes --- */
img {
  max-width: 100%;
  height: auto;
  /*display: block;*/
}

section {
  overflow-x: hidden;
}

/* --- Navbar Fixes for Smaller Devices --- */
@media (max-width: 600px) {
  header {
    /*padding: 10px 20px;*/
  }

  .navbar {
    padding: 12px 25px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 18px;
  }

 

  .nav-links li a {
    font-size: 16px;
  }
}

/* --- Hero Section --- */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-image img {
    width: 80%;
    max-width: 340px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 5%;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* --- About Section Improvements --- */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-text {
    width: 100%;
  }

  .about-image img {
    width: 85%;
    max-width: 320px;
  }
}

/* --- Events & Achievements Cards --- */
@media (max-width: 768px) {
  .events-container,
  .achievements-container {
    flex-direction: column;
    align-items: center;
  }

  .event-card,
  .achievement-card {
    width: 90%;
    max-width: 360px;
  }
}

/* --- Owner & Director Slider --- */
@media (max-width: 992px) {
  .owner-title {
    font-size: 1.8rem;
  }

  .branch-card {
    width: 180px;
    padding: 15px;
  }

  .branch-track {
    gap: 25px;
    animation-duration: 18s;
  }
}

@media (max-width: 480px) {
  .owner-title {
    font-size: 1.4rem;
  }

  .branch-card {
    width: 150px;
  }

  .branch-card p {
    font-size: 0.9rem;
  }
}

/* --- Contact Section Enhancements --- */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    text-align: center;
  }

  .contact-right form {
    width: 100%;
  }

  .contact-image img {
    max-width: 220px;
  }
}

@media (max-width: 600px) {
  .contact {
    padding: 60px 6%;
  }

  .contact-details h2 {
    font-size: 1.8rem;
  }

  .contact-right h3 {
    font-size: 1.4rem;
  }
}

/* --- Footer --- */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    display: inline-block;
  }

  .footer-left h3 {
    font-size: 1.2rem;
  }

  .footer-left p {
    font-size: 0.9rem;
  }
}

/* --- 4K & Ultra-wide Screen Optimization --- */
@media (min-width: 1920px) {
  .hero, .about, .events-section, .achievements-section, .owner-director-section, .contact {
    padding: 120px 20%;
  }

  .hero-text h1 {
    font-size: 68px;
  }

  .hero-text p {
    font-size: 24px;
  }

  .about-text h2 {
    font-size: 3rem;
  }

  .event-card, .achievement-card {
    width: 340px;
  }
}



/* ===== PORTFOLIO SECTION ===== */
.portfolio {
  
  background: #fffaf6;
  text-align: center;
}

.portfolio-container {
  max-width: 1300px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: #ae8f78;
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: #a67c52;
  margin-bottom: 20px;
}

.section-intro {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #444;
  margin-bottom: 50px;
}

/* Portfolio Grid */
/* ===== PORTFOLIO SECTION ===== */
.portfolio {
  padding: 60px 80px;
  background: #fdfdfd;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio .section-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 600;
  color: #ae8f78;
  margin-bottom: 10px;
}

.portfolio .section-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: #7d6659;
  margin-bottom: 50px;
  font-style: italic;
}

/* === PORTFOLIO CUSTOM OVERRIDES (5 columns + smaller height) === */



/* === GRID === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* === CARD === */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
 
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.portfolio-item img {
  width: 100%;
  height: 1000%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-link {
  display: block;
  text-decoration: none;
  color: inherit;
}


/* === OVERLAY TEXT === */
/* === OVERLAY TEXT (UPDATED) === */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background:linear-gradient(to top, rgba(101, 106, 69, 0.97) 10%, rgba(0,0,0,0.1) 70%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* push content to bottom */
  align-items: flex-start;   /* align to left */
  border-radius: 16px;
  padding: 25px 30px;
  text-align: left;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-overlay h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.portfolio-overlay p {
  font-size: 15px;
  color: #f8f8f8;
  line-height: 1.5;
  max-width: 90%;
  margin-bottom: 10px;
}

/* === TEXT BELOW GRID === */
.portfolio-details {
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  color: #333;
}

.portfolio-details h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 8px;
  color: #111;
}

.portfolio-details ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 10px;
}

.portfolio-details li {
  font-size: 15px;
  margin-bottom: 4px;
  color: #444;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio {
    padding: 70px 30px;
  }
}


 /*===== GLOBAL STYLES ===== */
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  color: #2e2e2e;
}

/* ===== HEADINGS ===== */
/*h1, h2, h3, h4, h5, h6 {*/
/*  font-family: 'Playfair Display', serif;*/
/*  font-weight: 600;*/
/*  color: #1a1a1a;*/
/*  letter-spacing: 0.5px;*/
/*}*/

/* ===== NAVBAR ===== */
/* header {
  width: 100%;
  padding: 20px 50px;
  background: transparent;
  position: relative;
  z-index: 1000;
} */

/* ===== PREMIUM NAVBAR ===== */
.elegant-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

/* ===== LOGO TEXT ===== */
.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 26px;
  color: #ffffff;
  letter-spacing: 1px;
}

/* ===== NAV LINKS ===== */
.nav-links a {
 font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    margin: 0 18px;
    transition: color 0.3s 
ease;
    margin-top: 22px;
}

.nav-links a:hover {
  color: #a67c52; /* Elegant gold tone */
}

/* ===== BUTTONS ===== */
button, .btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 10px 10px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #f3d8be, #6b4a3c);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

/*button:hover, .btn:hover {*/
/*  background: linear-gradient(135deg, #a67c52, #8b633f);*/
/*  transform: translateY(-2px);*/
/*}*/

/* ===== PARAGRAPHS ===== */
footer-bottom p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #444;
  margin-bottom: 1em;
  /*padding-top: 50px;*/
  font-size: 20px;
}

/* ===== FOOTER ===== */
footer {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #666;
  background: #f4efe9;
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid #e2d7cc;
}

/* ===== HEADER ===== */
.main-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}

.logo a {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #e91e63;
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  border-radius: 6px;
  overflow: hidden;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #333;
}

.dropdown-content a:hover {
  background: #f3f3f3;
  color: #e91e63;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ===== FOOTER ===== */
.main-footer {
  background: #222;
  color: #eee;
  text-align: center;
  padding: 20px 5%;
  margin-top: 40px;
}

.footer-note {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 5px;
}

/*gallery*/ 


.gallery-banner-content p{ font-size: 24px; } 
.gallery { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr);
    gap: 16px; padding: 30px; 
    background: rgb(255, 250, 246); 
    
} 
.gallery-item { position: relative; 
    cursor: pointer; 
    border-radius: 10px; 
    overflow: hidden;
    /*background: #222;*/ 
    /*box-shadow: 0 4px 24px 0 rgba(0,0,0,0.2);*/ 
    display: flex; flex-direction: column; align-items: 
    center; transition: transform .2s, box-shadow .2s; } 
    .gallery-item:hover { transform: scale(1.04); 
    /*box-shadow: 0 8px 32px 0 rgba(0,0,0,0.26);*/ 
        
} 
.gallery-item img { width: 100%; 
    height: auto; 
    border-radius: 10px 10px 0 0;
    display: block; } 
    
.play-button { 
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translate(-50%,-50%); 
    font-size: 44px; color: #fff;
    background: rgba(0,0,0,0.4); 
    border-radius: 50%; 
    padding: 10px 16px; pointer-events: none; } 
    
.title-btn { 
    display: block;
    width: 100%; 
    text-align: center; 
    padding: 10px 0; 
    color: #fff; 
    background: rgba(101, 106, 69, 0.97); 
    text-decoration: none; 
    border-radius: 0 0 10px 10px; 
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    transition: background 0.3s; } 
    
.title-btn:hover { 
    background: #555; }

.lightbox { display: none; 
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.86); 
    justify-content: center; 
    align-items: center;
    z-index: 9999; 
    animation: fadeIn 0.35s; } 
.lightbox .close {
    position: absolute; 
    top: 25px; right: 40px; 
    font-size: 40px; 
    color: #fff; 
    cursor: pointer; 
    z-index: 20; } 
    #lightbox-content { 
        max-width: 80vw; 
        max-height: 80vh; } 
        
        @keyframes fadeIn { 
            from { opacity: 0;} to { opacity: 1;} 
    
} 

/* ===== GALLERY BANNER ===== */ 
.gallery-banner { position: relative; 
    height: 250px; 
    background: url('images/gallery-banner.jpg') center/cover no-repeat; 
    display: flex; 
    justify-content: center; 
    align-items: center; } 
    
.gallery-banner .banner-overlay { 
    position: absolute; inset: 0; } 
.gallery-banner .gallery-banner-content { 
    position: relative; 
    z-index: 2; 
    text-align: center; } 
    
.gallery-banner h1 { color: #a67c52; 
    font-size: 24px; 
    font-weight: 700; 
    letter-spacing: 1px; }


/*awards and certificate*/



.awards-heading {
  text-align: center;
  margin-bottom: 30px;
}
.awards-heading p{
    padding-top: 50px;
    /*padding-bottom: 50px;*/
}
.awards-grid {
    padding-top: 46px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 1200px;
  margin: auto;
}

.award-card {
  flex: 1 1 calc(25% - 15px);
  max-width: calc(25% - 15px);
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform 0.2s;
}

.award-card:hover {
  transform: scale(1.03);
}

.award-thumb {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px 10px 0 0;
}

.award-title {
  padding: 10px;
  text-align: center;
  font-weight: 600;
  background: #fff;
  color: #333;
  border-radius: 0 0 10px 10px;
}

.award-link {
  display: block;
  text-align: center;
  padding: 10px;
  background: rgba(101, 106, 69, 0.97);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
}

.award-link:hover {
  background: rgba(101, 106, 69, 0.95);
}

@media (max-width: 900px) {
  .award-card {
    flex: 1 1 calc(33.33% - 15px);
    max-width: calc(33.33% - 15px);
  }
}

@media (max-width: 600px) {
  .award-card {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

@media (max-width: 400px) {
  .award-card {
    flex: 1 1 calc(100% - 15px);
    max-width: calc(100% - 15px);
  }
}

/*link and youtube section on media and press*/

.video-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 20px auto;
}

/* Responsive YouTube iframe */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


