/********** Global Theme Colors **********/
:root {
  --primary: #b51264;     /* New Pink (from Telugu text) */
  --secondary: #7a1f4a;   /* Darker shade for hover */
  --light: #ffffff;       /* White */
  --dark: #1d1d27;        /* Dark Gray */
  

}

/********** Global Styles **********/
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #f9f9fb;
  color: var(--primary);   /* all text pink by default */
  line-height: 1.6;
  padding-top: 80px; /* height of fixed navbar */
}

h1, h2, h3, .fw-bold,
h4, h5, h6, .fw-medium {
  font-weight: 700 !important;
  color: var(--primary) !important;
}

a {
  text-decoration: none;
  transition: 0.3s;
  color: var(--primary) !important;
}

a:hover {
  color: var(--secondary) !important;
}
/********** Navbar **********/
.navbar {
  background-color: #fff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-bottom: 0 !important;
  transition: all 0.3s ease;
}

/* Links */
.navbar .nav-link {
  margin-left: 20px;
  color: var(--primary) !important;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover color */
.navbar .nav-link:hover {
  color: var(--secondary) !important;
}

/* Hover underline */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

/********** Brand Text **********/
.hospital-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.tagline {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/********** Hamburger Toggle **********/
.custom-toggler {
  border: none;
  background: transparent;
  outline: none;
}

.toggler-icon {
  width: 25px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.toggler-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Toggle animation */
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* Space between toggle button and mobile dropdown */
@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 10px; /* adds space below the toggle button */
    border-radius: 8px; /* optional, smooth corners */
    overflow: hidden; /* prevent overlap */
    box-shadow: 0 6px 15px rgba(0,0,0,0.08); /* subtle shadow */
  }
}

/* Website link styling */
.website-link {
  color: var(--primary);        /* Matches your brand primary color */
  text-decoration: none;        /* Removes default underline */
  font-weight: 500;
  transition: color 0.3s ease;
}

.website-link:hover {
  color: var(--secondary);      /* Hover color matching your secondary brand color */
  text-decoration: underline;   /* Optional: underline on hover */
}


/********** Mobile Menu **********/
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    transition: all 0.35s ease-in-out;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
  }
  

  .navbar-collapse.show {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav {
    padding: 10px 0;
  }

  .navbar-nav .nav-link {
    margin: 8px 0;
    font-size: 16px;
    padding: 8px 0;
    color: var(--primary) !important;
  }

  .navbar-nav .nav-link:hover {
    color: var(--secondary) !important;
  }
}


/********** Home Hero Slider **********/
/* .hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#heroSlide {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
  height: 100%;
}

#heroSlide img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

/* Hero content overlay */

/* .hero-content {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 5;
  max-width: 900px;
  padding: 0 20px;
  
} */
/* 
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #fff;
}

.hero-content .btn {
  font-weight: 500;
} */ */

/********** Page Hero Sections **********/
/* .hero-header {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.about-hero {
  background: url("img/about-bg.jpg") center center/cover no-repeat;
}

.hero-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-header .content {
  position: relative;
  z-index: 2;
} */

/********** Page-Specific Hero Backgrounds **********/
.services-hero {
  background: url("img/services-bg.jpg") center center/cover no-repeat;
}

.doctors-hero {
  background: url("img/doctors-bg.jpg") center center/cover no-repeat;
}

/********** Departments Section **********/
/* Section Background */
.departments {
  padding: 80px 0;
  background: #f8f9fa; /* light corporate background */
}

/* Section Title */
.section-title h6 {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  color: #0d6efd; /* corporate blue */
}
.section-title h2 {
  font-weight: 700;
  font-size: 36px;
  color: #212529; /* dark gray */
}
.section-title p {
  color: #6c757d; /* muted gray */
  max-width: 700px;
  margin: auto;
}

/* Department Card */
.dept-card {
  background: #fff !important;
  border-radius: 12px;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05) !important;
  transition: all 0.3s ease;
}
.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
}

/* Icon Style */
.dept-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7) !important; /* corporate blue gradient */
  color: #fff !important;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.3) !important;
  transition: all 0.3s ease;
}
.dept-card:hover .dept-icon {
  background: linear-gradient(135deg, #0b5ed7, #084298) !important;
  transform: scale(1.1);
}

/* Titles & Text */
.dept-card h5 {
  font-size: 18px;
  font-weight: 700;
  color: #212529 !important;
}
.dept-card p {
  font-size: 14px;
  color: #6c757d !important;
}

/* Responsive */
@media (max-width: 767px) {
  .section-title h2 {
    font-size: 28px;
  }
  .dept-card {
    padding: 20px 15px;
  }
}
/* 
.doctor-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.doctor-img img {
  border: 4px solid #f8f9fc;
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.social-links a {
  color: var(--pink);
  margin: 0 6px;
  font-size: 14px;
  transition: color 0.3s ease;
}
.social-links a:hover {
  color: #007bff;
}
.doctors-section {
  background: linear-gradient(135deg, #f8f9fc, #ffffff);
  padding: 60px 0;
}

.doctor-box {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eee;
  min-height: 200px;
  transition: all 0.3s ease;
}
.doctor-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
.doctor-box h5 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}
.doctor-box ul li {
  font-size: 0.95rem;
  padding: 2px 0;
  color: #444;
}

/* Specialty Colors */
.text-pink { color: #d63384; }
.text-purple { color: #6f42c1; }
.text-teal { color: #20c997; }
.text-orange { color: #fd7e14; } */


/* ===== Doctors Section (Corporate Icons Style) ===== */
.doctors-section {
  background: linear-gradient(135deg, #f8f9fc, #ffffff);
}

.doctors-section .section-title h2 {
  font-size: 32px;
  color: #1d3557;
}

.doctors-section .doctor-box {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e6e9f0;
  transition: all 0.3s ease;
}

.doctors-section .doctor-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.doctors-section .doctor-box h5 {
  font-size: 1.2rem;
  border-bottom: 1px solid #f0f2f5;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.doctors-section .doctor-profile {
  margin-bottom: 15px;
}

.doctors-section .doctor-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #e9f2fb;
  color: #007bff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.doctors-section .doctor-avatar i {
  font-size: 20px;
}

.doctors-section .doctor-info h6 {
  font-size: 1rem;
  color: #212529;
}

.doctors-section .doctor-info small {
  font-size: 0.85rem;
  color: #6c757d;
}

@media (max-width: 767px) {
  .doctors-section .section-title h2 {
    font-size: 26px;
  }
  .doctors-section .doctor-avatar {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}



/********** Sections **********/
/* ============================
   Services Section Styling
   ============================ */
.services-section {
  background: #f7f9fc;
  padding: 60px 0;
}

/* Subtitle */
.services-section .subtitle {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  color: #d81b60 !important; /* Pink accent */
}

/* Title */
.services-section .title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a !important;
  margin-top: 8px;
}




/* Service Item */
.service-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  transition: 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Service Icon */
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: #d81b60; /* Pink */
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(216,27,96,0.25);
  transition: all 0.3s ease;
}
.service-item:hover .service-icon {
  background: #0056b3; /* Blue on hover */
  transform: scale(1.08);
}

/* Service Text */
.service-item h5 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a !important;
  margin-bottom: 10px;
}
.service-item p {
  font-size: 15px;
  color: #555 !important;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .services-section {
    padding: 40px 0;
  }
  .service-item {
    text-align: center;
    padding: 25px 15px;
  }
  .service-icon {
    margin: 0 auto 15px;
  }
  .services-section .title {
    font-size: 24px;
  }
}


/********** Gallery **********/
.gallery img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}
/* Footer Section */
/* Footer Section */
.footer-section {
  position: relative;
  background: linear-gradient(135deg, #0d1a26, #1b2b3d) !important;
  color: #d1d1d1 !important;
  font-family: 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  z-index: 1;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff !important;
  position: relative;
}

.footer-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li,
.footer-links li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #d1d1d1 !important;
}

.footer-list li i {
  color: white !important;
}

.footer-links a {
  text-decoration: none;
  color: #d1d1d1 !important;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ff6b9c;
  padding-left: 4px;
}

.fotter-list .fotter-text{
  color: white !important;
}
/* Footer text color fix */
.footer-section,
.footer-section h5,
.footer-section .footer-list li,
.footer-section .footer-list li i,
.footer-section .footer-list li a {
  color: #ffffff !important;   /* White */
}

.footer-section .footer-list li {
  color: white !important;   /* White */
}
/* Footer Titles (Specialties & Facilities) */
.footer-section .footer-title {
  color: #ffffff !important;
}

/* Footer Lists (Specialties & Facilities) */
.footer-section .footer-links li {
  color: #ffffff !important;
}

/* Footer Links if any */
.footer-section .footer-links li a {
  color: #ffffff !important;
  text-decoration: none;
}

/* Optional: Hover effect for links */
.footer-section .footer-links li a:hover {
  color: #ff6b9c !important;
}

/* Social Icons */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ff6b9c;
  color: #ff6b9c;
  margin-right: 10px;
  transition: 0.3s;
}

 

.footer-social a:hover {
  background: #ff6b9c;
  color: #fff !important;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 30px;
  font-size: 14px;
  color: #a5a5a5 !important;
}

.footer-bottom a {
  color: #ff6b9c;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Map Styling */
.map-container iframe {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}

/* ✅ Footer Equal Height Fix */
.footer-section .row.g-5 {
  display: flex;
  flex-wrap: wrap;
}

.footer-section .row.g-5 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}


/* Responsive */
@media (max-width: 768px) {
  .footer-section {
    text-align: center;
  }
  .footer-social a {
    margin: 5px;
  }
}
.footer-credit {
  color: #ffffff !important;  /* White */
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.footer-credit:hover {
  color: #ff6b9c !important; /* Accent pink on hover */
  text-decoration: underline;
}

/********** Buttons **********/
.btn-primary {
  background: var(--primary);
  border: none;
  color: var(--light);
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-outline-light {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline-light:hover {
  background: var(--light);
  color: var(--primary);
}

/********** Force Text Update **********/
body, p, li, span, a, .nav-link, .footer, .footer p, .footer a {
  color: var(--primary) !important;
}

/********** Page Height Fix **********/
.container-xxl,
.page-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container-xxl .row,
.page-section .row {
  flex: 1;
}

/********** About Section Images **********/
.about-section img,
img.about-img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}
body.about-page {
  padding-top: 0 !important;
}


.about-section img:hover,
img.about-img:hover {
  transform: scale(1.05);
}
.testimonials-hero {
  background: url("img/testimonials-bg.jpg") center center/cover no-repeat;
}



/********** here iam starting............................. **********/

/********** Corporate Navbar **********/
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
} */

/* .logo {
  height: 55px;
} */

/* .hospital-name h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--dark);
} */

/* .hospital-name p {
  font-size: 13px;
  margin: 0;
  color: #777;
  font-weight: 500;
} */

/* .underline {
  width: 45px;
  height: 2px;
  background-color: var(--primary);
  margin: 4px 0;
} */

/* Navbar Links */
.navbar .nav-link {
  margin-left: 25px;
  font-weight: 500;
  color: var(--dark) !important;
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--primary) !important;
}
@media (max-width: 576px) {
  .hospital-name h1 {
    font-size: 16px;
  }
  .hospital-name .tagline {
    font-size: 11px;
  }
  
}


.navbar .nav-link:hover::after {
  width: 100%;
}
/* Brand Area */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  height: 58px;
  flex-shrink: 0;
}

.hospital-name h1 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.hospital-name .tagline {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin: 2px 0 0;
  line-height: 1.4;
  letter-spacing: 0.3px;
  white-space: normal;
  display: block;
}

/* Optional underline accent (premium look) */
.hospital-name h1::after {
  content: "";
  display: block;
  width:185px;
  height: 2px;
  margin-top: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.hospital-name span::after {
  content: "";
  display: block;
  width:185px;
  height: 2px;
  margin-top: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}


/* Mobile Navbar */
@media (max-width: 991px) {
  .navbar-nav {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .navbar .nav-link {
    margin: 10px 0;
  }
}
/* Hero */
/* Hero Base */
.hero-header {
  position: relative;
  height: 85vh;
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .about-hero {
  background: url("img/about-bg.jpg") center center/cover no-repeat;
} */
/* ================================
   HERO SECTION STYLES
================================ */

/* Dark overlay for better readability */
.hero-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.35));
  z-index: 1;
}

/* Hero Section */
.hero-header {
  position: relative;
  width: 100%;
  min-height: 90vh; /* Flexible height prevents clipping */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  color: #fff;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  color: #f0f0f0 !important;
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff !important;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #f2f2f2 !important;
  line-height: 1.7;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* Buttons */
.hero-btns .btn {
  font-weight: 600;
  transition: all 0.35s ease;
}

.hero-btns .btn-primary {
  background: var(--primary);
  border: none;
  color: #fff !important;
}

.hero-btns .btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.hero-btns .btn-outline-light {
  border: 2px solid #fff;
}

.hero-btns .btn-outline-light:hover {
  background: #fff;
  color: var(--primary) !important;
  transform: translateY(-3px);
}

/* Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Fixes */
@media (max-width: 992px) {
  .hero-header {
    min-height: 80vh;
  }
}

@media (max-width: 768px) {
  .hero-header {
    min-height: 90vh;
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-btns .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .hero-header {
    min-height: 100vh;
    padding: 50px 10px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.9rem;
  }
}

/* About Section */
.about-section {
  position: relative;
  background: linear-gradient(135deg, #f9f9fb, #ffffff) !important;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Titles */
.about-section .subtitle {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: var(--primary) !important; /* Corporate Blue */
}

.about-section .title {
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a !important;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Paragraphs */
.about-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #444 !important;
  margin-bottom: 14px;
}

/* Feature Points */
.about-section h6 {
  font-size: 15px;
  font-weight: 600;
  color: #2d2d2d !important;
  margin-bottom: 10px;
}

.about-section h6 i {
  color: var(--primary) !important; /* Professional blue icons */
}

/* Right Image */
.about-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.about-section .about-img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.about-section .about-img:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25) !important;
}

/* Optional subtle overlay for image */
.about-img-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0));
  border-radius: 20px;
}

/* Button */
.about-section .btn-primary {
  background: var(--primary) !important;
  border: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
  color: #eee !important;
}

.about-section .btn-primary:hover {
  background: #0056b3 !important;
  transform: translateY(-2px);
}

/* Responsive Fix */
@media (max-width: 768px) {
  .about-section {
    text-align: center;
  }
  .about-text {
    padding: 0 10px;
  }
  .about-img-wrapper {
    margin-top: 20px;
  }
}




/* Carousel Fullscreen Look */
/* Carousel Images */
/* Carousel Images */
.carousel-item img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
  transition: transform 8s ease-in-out;
}
.carousel-item.active img {
  transform: scale(1.05);
}

/* Add gradient overlay at the bottom */
.carousel-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; /* gradient height */
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
  z-index: 1;
}

/* Captions */
.carousel-caption {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 750px;
  width: 90%;
  text-align: center;
  z-index: 2; /* ensures it's above gradient */
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

/* Animate only active captions */
.carousel-item.active .carousel-caption {
  opacity: 1;
  animation: fadeUp 1s ease forwards;
}

/* Heading */
.carousel-caption h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
 color: white !important;
  margin-bottom: 12px;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.6);
}


/* Paragraph */
.carousel-caption p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #dcdcdc; /* light gray */
  margin-bottom: 18px;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Button */
.carousel-caption .btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
}
.carousel-caption .btn-primary {
  background-color: #e75480;
  border: none;
  color: #ffffff !important;

}
.carousel-caption .btn-primary:hover {
  background-color: #c4416d;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(199, 65, 109, 0.4);
  
}

/* Make all carousel text white */
.carousel-caption {
  color: #ffffff !important;  /* forces white for heading, paragraph, and buttons */
}

/* Optional: ensure heading and paragraph are white specifically */
.carousel-caption h1,
.carousel-caption p {
  color: #ffffff !important;
}



/* Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) brightness(200%);
  width: 2.5rem;
  height: 2.5rem;
}

/* Indicators */
.carousel-indicators {
  bottom: 30px;
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.carousel-indicators .active {
  background-color: #e75480;
  opacity: 1;
  transform: scale(1.2);
}

/* Animation */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-caption {
    bottom: 10%;
    max-width: 95%;
  }
  .carousel-caption h1 {
    font-size: 1.6rem;
  }
  .carousel-caption p {
    font-size: 0.95rem;
  }
  .carousel-caption .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* Background with medical pattern */
.stats-section {
  position: relative;
  background: linear-gradient(135deg, #fff5f8, #ffffff); /* soft pink + white */
  font-family: 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  padding: 60px 0;
}

/* Watermark pattern */
.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('') repeat;
  opacity: 0.04;  
  pointer-events: none;
  z-index: 1;
}

/* Keep content above background */
.stats-section .container {
  position: relative;
  z-index: 2;
}

/* Grid Fix: Equal spacing */
.stats-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* equal gap between cards */
  justify-content: center;
}

/* Stat Card */
.stat-item {
  flex: 1 1 calc(25% - 24px); /* 4 per row on desktop */
  max-width: calc(25% - 24px);
  min-height: 240px;
  padding: 30px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* Stat Icon */
.stat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4f81, #ff7aa2); /* pink gradient */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 79, 129, 0.3);
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 79, 129, 0.4);
}

/* Numbers */
.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #000 !important; /* black for professional look */
  margin-bottom: 8px;
  line-height: 1.2;
}

/* Labels */
.stat-label {
  font-size: 15px;
  font-weight: 500;
  color: #555 !important;
  margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .stat-item {
    flex: 1 1 calc(33.333% - 24px); /* 3 per row */
    max-width: calc(33.333% - 24px);
  }
}
@media (max-width: 768px) {
  .stat-item {
    flex: 1 1 calc(50% - 24px); /* 2 per row */
    max-width: calc(50% - 24px);
    min-height: 200px;
  }
  .stat-number { font-size: 28px; }
  .stat-icon { width: 60px; height: 60px; font-size: 22px; }
}
@media (max-width: 480px) {
  .stat-item {
    flex: 1 1 100%; /* 1 per row */
    max-width: 100%;
  }
}

/* about page style */

/* Hero Base */
/* Remove navbar bottom gap */
/* Remove navbar gap */
.navbar {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Hero Section */
.hero-header {
  position: relative;
  height: 60vh; /* smaller, professional look */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 0 !important; /* no gap above */
}

/* Hero Image */
.hero-header .hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* always fits screen */
  object-position: center; /* centers important part */
  z-index: 0;
}

/* Gradient Overlay */
.hero-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.25));
  z-index: 1;
}

/* Content */
.hero-header .content {
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff6b9c;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-text {
  font-size: 17px;
  color: #f1f1f1;
  max-width: 650px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb .breadcrumb-item a {
  color: #ddd;
  transition: 0.3s;
}

.breadcrumb .breadcrumb-item a:hover {
  color: #ff6b9c;
}

.breadcrumb-item.active {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-header {
    height: 45vh; /* smaller for mobile */
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-text {
    font-size: 14px;
    padding: 0 10px;
  }
}
/* ========== ABOUT PAGE FIXES ========== */
/* Hero Section */
.about-page .hero-header {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .about-page .hero-header {
    height: 60vh;
  }
}

/* Hero Image */
.about-page .hero-header .hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.8s ease;
}

.about-page .hero-header .hero-img:hover {
  transform: scale(1.05);
}

/* Overlay */
.about-page .hero-header .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.25));
  z-index: 1;
}

/* Hero Content */
.about-page .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.about-page .hero-subtitle {
  color: #fff !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.95rem;
}

.about-page .hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.about-page .hero-text {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: #f2f2f2 !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 25px;
}

/* Breadcrumb */
.about-page .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.about-page .breadcrumb .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-page .breadcrumb .breadcrumb-item a:hover {
  color: #fff;
}

.about-page .breadcrumb .breadcrumb-item.active {
  color: #fff;
  font-weight: 600;
}

/* About Section Alignment */
.about-page .about-section {
  text-align: left;
  padding: 60px 15px;
}

@media (max-width: 768px) {
  .about-page .about-section {
    text-align: center;
  }

  .about-page .about-section img {
    margin-top: 20px;
  }
}
/* .card{
  background-color: pink !important;
  
} */

/* Team / Doctors Grid */
.about-page .team-item {
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.about-page .team-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about-page li{
color: #7a1f4a !important;
}

/* General Text Colors */
/* .about-page p, */
/* .about-page li, */
/* .about-page a, */
.about-page .nav-link,
.about-page .footer,
.about-page .footer p,
.about-page .footer a {
  color: #444 !important;
}
/* Section Headers */
.section-header .subtitle {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header .title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1d1d27;
}

/* About */
.about-section {
  background: #fff !important;
}
.about-img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.about-img:hover {
  transform: scale(1.03);
}

/* Facilities */
.facilities-section {
  background: #f8f9fc ;
}
.facility-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.facility-card h5 {
  font-weight: 600;
  margin-bottom: 15px;
}
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.facility-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.facility-card li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Specialities */
.specialities-section {
  background: linear-gradient(135deg, #f9f9fb, #fff);
}
.speciality-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.speciality-card .icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.speciality-card p {
  font-weight: 500;
}
.speciality-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 768px) {
  .section-header .title {
    font-size: 1.6rem;
  }
  .facility-card,
  .speciality-card {
    padding: 20px;
  }
}
/* Section Header */
.section-header .subtitle {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-header .title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #1d1d27 !important;
}

/* Team Cards */
.team-card {
  border-radius: 12px;
  background: #fff !important;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1) !important;
}

/* Image & Overlay */
.team-img {
  position: relative;
  overflow: hidden;
}
.team-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-card:hover .team-img img {
  transform: scale(1.08);
}
.team-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team-card:hover .team-overlay {
  opacity: 1;
}
/* ✅ Add this below your existing .team-card styles */
.team-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* makes all cards equal height in Bootstrap rows */
}

/* ✅ Add this below your existing .team-info styles (or at the end of file) */
.team-info {
  flex-grow: 1; /* ensures text section stretches to fill available space */
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* Buttons */
.btn-square {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-square i {
  font-size: 1rem;
  color: var(--primary);
}

/* Info */
.team-info h5 {
  font-size: 1.1rem;
}
.team-info p {
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .team-img img {
    height: 280px;
  }
}
/* Section Header */
.section-header .subtitle {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.subtitle{
  color: var(--primary) !important;
}
.section-header .title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #1d1d27;
}
/* Facilities & Specialities */
.about-page .p-4 {
  transition: all 0.3s ease;
}

.about-page .p-4:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
  
}

.about-page .fa {
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-page .p-4:hover .fa {
  transform: scale(1.2);
  color: var(--secondary);
}

/* Team Cards */
.team-card {
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
 
}

/* Image & Overlay */
.team-img {
  position: relative;
  overflow: hidden;
}
.team-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-card:hover .team-img img {
  transform: scale(1.08);
}
.i:hover .icon{
  color: var(--secondary) !important;
}

.team-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team-card:hover .team-overlay {
  opacity: 1;
}

/* Buttons */
.btn-square {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-square i {
  font-size: 1rem;
  color: var(--primary);
}

/* Info */
.team-info h5 {
  font-size: 1.1rem;
}
.team-info p {
  font-size: 0.95rem;
}
.facilites-text{
  color:black !important;
}

/* Responsive */
@media (max-width: 768px) {
  .team-img img {
    height: 280px;
  }
}
/* Testimonials Section */
.testimonials-section {
  background: #f8faff !important;
  padding-top: 80px;
  padding-bottom: 60px;
}

.testimonials-section .subtitle {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials-section .title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1d1d27 !important;
}

/* Flip Card Styles */


.flip-inner {
  position: relative;
  width: 100%;
  height: 350px;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}
/* Desktop & tablet flip (normal) */
.testimonial-flip {
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 320px;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.testimonial-flip:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  backface-visibility: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: #fff;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Flip back side correction */
.flip-back {
  transform: rotateY(180deg); /* Flip back content so text is readable */
}


/* Image */
.flip-img-large {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.testimonial-flip:hover .flip-img-large {
  transform: scale(1.1);
}

/* Text */
.flip-front h5 {
  font-weight: 700;
  font-size: 18px;
}

.flip-front span {
  color: #6c757d !important;
  font-size: 14px;
}

.flip-img {
  backface-visibility: hidden;
  transform: rotateY(0deg) !important; /* force normal, no mirror */
}

.flip-back p {
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
  color: #333 !important;
  text-align: center;
}

.flip-back h6 {
  font-size: 15px;
  color: black !important;
  font-weight: 600;
}

/* Mobile Responsive: show back side directly */
/* @media (max-width: 768px) {
  .flip-inner {
    transform: rotateY(180deg) !important;
    height: auto;
    min-height: 300px;
  }
  .flip-front, .flip-back {
    position: relative;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    margin-bottom: 20px;
  }
} */
@media (max-width: 768px) {
  .flip-inner {
    transform: none !important;
    height: auto;
  }

  .flip-front {
    position: relative;
    transform: none;
    backface-visibility: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .flip-back {
    position: relative;
    transform: none;
    backface-visibility: visible;
    margin-top: 15px;
  }
}

.reviews-section {
  background: linear-gradient(135deg, #f8f9fc 0%, #eef3f8 100%) !important;
}

.reviews-wrapper {
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-left 40s linear infinite;
}

.review-card {
  min-width: 320px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(6px);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(0,0,0,0.05) !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08) !important;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.reviewer {
  font-weight: 700;
  font-size: 16px;
  color: black !important;
  margin-bottom: 5px;
}

.stars {
  font-size: 16px;
  color: #f4b400; /* Google-style golden stars */
  margin-bottom: 12px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333 !important;
}

/* Scrolling Animation */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause on hover */
.reviews-track:hover {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .review-card {
    min-width: 250px;
    max-width: 270px;
    padding: 15px;
  }
  .review-text {
    font-size: 14px;
  }
}

/* ================== Contact Section ================== */
.contact-section {
  background: linear-gradient(135deg, #f8faff, #eef3f9);
  border-radius: 12px;
  position: relative;
  z-index: 1;
  padding-top: 80px !important;
}

.contact-section .section-title {
  margin-bottom: 40px;
}

.contact-section .subtitle {
  color:var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.contact-section .subtitle::after {
  /* content: "";
  width: 40px;
  height: 3px; */
  background: #0d6efd;
  display: block;
  margin: 8px auto 0;
  border-radius: 2px;
}

.contact-section .title {
  font-size: 32px;
  font-weight: 700;
  color: #1d1d27 !important;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.contact-section .title:hover {
  color: #0d6efd;
}

.contact-section .description {
  font-size: 15px;
  color: #555 !important;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.contact-section .contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
}

.contact-section .contact-form:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.12);
}

.contact-section .form-floating > .form-control {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 14px 18px;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-section .form-floating > label {
  color: #777;
  font-size: 14px;
}

.contact-section .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.15);
}

.contact-section button {
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-section button:hover {
  background-color: #0b5ed7;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 18px rgba(13,110,253,0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding-top: 60px !important;
  }
  .contact-section .contact-form {
    padding: 25px;
  }
  .contact-section .title {
    font-size: 26px;
  }
}

/* ================= Video Section Styles ================= */
.video-section {
  background: #f9f9f9;
}

/* Scoped only to .video-section to avoid conflicts */
.video-section .video-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-section .video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.video-section .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

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

.video-section .video-info {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-section .video-info h5 {
  font-size: 1.1rem;
  font-weight: 600;
}

.video-section .video-info p {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Make only the video section columns equal height */
.video-section .row.g-4 > [class*="col-"] {
  display: flex;
}

@media (max-width: 768px) {
  .video-section .video-card {
    margin-bottom: 20px;
  }
}

.hover-box {
  position: relative;
}

.hover-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.hover-box:hover .hover-text {
  opacity: 1;
}
