/* ========================================
   PATIS CHEMISTRY - REDESIGNED STYLES
   Color Scheme: Professional Blue/Teal
   ======================================== */

:root {
  --primary: #0077b6;
  --primary-dark: #023e8a;
  --primary-light: #00b4d8;
  --secondary: #48cae4;
  --accent: #90e0ef;
  --dark: #0a1628;
  --text-dark: #1e3a5f;
  --text-muted: #64748b;
  --light-bg: #f0f9ff;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
  --gradient-dark: linear-gradient(135deg, #023e8a 0%, #0077b6 100%);
  --cta-red: #dc3545;
  --cta-red-dark: #c82333;
}

body {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Text Gradients */
.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-dark {
  background: var(--gradient-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav bar fix margin */
section {
  scroll-margin-top: 70px;
}

/* ========================================
   NAVBAR STYLES
   ======================================== */
.navbar {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--primary);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.15);
}

.brand-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.navbar .nav-link {
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  padding: 8px 16px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
}

.navbar .nav-link.active {
  color: var(--text-dark) !important;
  background: transparent;
  box-shadow: none;
}

.navbar .nav-link:hover {
  color: var(--text-dark) !important;
  background: transparent;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -6px;
  width: 30px;
  height: 3px;
  background: #10b981;
  border-radius: 999px;
  transform: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  opacity: 1;
}

.nav-call-btn {
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}

.phone-icon {
  font-size: 1rem;
  margin-right: 6px;
}

/* Mobile Menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: linear-gradient(180deg, #1aa5d5 0%, #0f93c8 100%);
    border-radius: 0 0 16px 16px;
    width: 100%;
    padding: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .navbar-collapse.show {
    max-height: 500px;
    padding: 10px 0;
  }

  .navbar-nav .nav-link {
    color: #eaf6ff !important;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    text-align: left;
  }

  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link:hover {
    background: rgba(173, 224, 246, 0.25);
    color: #ffffff !important;
  }

  .brand-logo {
    height: 38px;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.section-hero {
  padding-top: 7rem;
  padding-bottom: 5rem;
  background: #f0f7fa;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-badge {
  display: inline-block;
  background: #10b981;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.45rem;
  font-weight: 800;
  color: #003d7a;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-title .line-nowrap {
  white-space: nowrap;
}

.hero-title .text-highlight {
  color: #10b981;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: #10b981;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-hero-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: #059669;
  border-radius: 50%;
  transform: scale(0);
  transform-origin: top left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-hero-primary:hover::before {
  transform: scale(30);
  border-radius: 0;
}

.btn-hero-primary:hover {
  color: var(--white);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: #1e3a5f;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-hero-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: #152d47;
  border-radius: 50%;
  transform: scale(0);
  transform-origin: top left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-hero-secondary:hover::before {
  transform: scale(30);
  border-radius: 0;
}

.btn-hero-secondary:hover {
  color: var(--white);
}

/* Hero Image Blob */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 520px;
  height: 520px;
  margin: 0 auto;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  right: -10px;
  top: -10px;
  background: #298f6a;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 0;
}

.hero-blob-shape {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
}

.hero-doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: block;
}

/* Contact Form in Hero */
.contact-form {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  overflow: hidden;
}

.contact-form-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 20px;
  text-align: center;
}

.contact-form-header h5 {
  font-weight: 700;
  margin: 0;
  font-size: 1.2rem;
}

.contact-form-body {
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.contact-form input.form-control,
.contact-form select.form-select {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  height: 52px;
  font-size: 1rem;
  background: var(--white);
  color: var(--text-dark);
  padding-left: 14px;
  transition: all 0.3s ease;
}

.contact-form select.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='%231e3a5f' d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}

.contact-form textarea.form-control.form-message {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background: var(--white);
  color: var(--text-dark);
  padding: 12px 14px;
  min-height: 96px;
  resize: vertical;
}

.contact-form input.form-control:focus,
.contact-form select.form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15) !important;
}

.contact-form textarea.form-control.form-message:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15) !important;
}

.contact-form .form-control::placeholder {
  color: var(--text-muted);
}

/* ========================================
   SERVICES STRIP
   ======================================== */
.services-strip {
  background: var(--white);
  padding: 40px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.service-box {
  text-align: center;
  padding: 20px 15px;
  transition: all 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3);
  transition: all 0.3s ease;
}

.service-box:hover .service-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 119, 182, 0.4);
}

.service-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  background: var(--gradient-primary);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.section-about {
  padding: 80px 0;
  background: var(--white);
}

.section-badge {
  display: inline-block;
  background: rgba(0, 119, 182, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title span {
  color: var(--primary);
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.feature-list li i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

/* About Card (Key Highlights) */
.about-card {
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 30px;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(0, 119, 182, 0.3);
}

.about-card h6 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.key-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  color: var(--white);
}

.key-points li:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(5px);
}

.key-points li i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ========================================
   PROFILE ABOUT SECTION
   ======================================== */
.section-profile-about {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

.profile-photo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.profile-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-help-box {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.profile-help-box h6 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--text-dark);
}

.profile-help-box p {
  font-size: 1.02rem;
  margin: 0;
  color: #1f9a77;
  font-weight: 700;
}

.profile-help-box span {
  color: var(--text-muted);
  font-weight: 600;
}

.profile-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.profile-qualifications {
  margin-bottom: 20px;
}

.profile-qualifications p {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-qualifications p i {
  color: var(--primary);
  font-size: 1rem;
}

.profile-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.profile-points li i {
  color: var(--primary);
  margin-top: 4px;
  font-size: 0.92rem;
}

@media (max-width: 991px) {
  .profile-photo {
    height: 470px;
  }

  .profile-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 575px) {
  .section-profile-about {
    padding: 60px 0;
  }

  .profile-photo {
    height: 420px;
  }

  .profile-help-box {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 16px;
  }

  .profile-help-box h6 {
    font-size: 1.1rem;
  }

  .profile-help-box p {
    font-size: 0.95rem;
  }

  .profile-title {
    font-size: 1.9rem;
  }

  .profile-qualifications p {
    font-size: 1rem;
  }

  .profile-points li {
    font-size: 0.95rem;
  }

  .section-profile-about .section-badge,
  .section-profile-about .profile-title,
  .section-profile-about .profile-qualifications,
  .section-profile-about .profile-points {
    text-align: left;
  }
}

/* ========================================
   COURSES SECTION
   ======================================== */
.section-courses {
  padding: 80px 0;
  background: var(--gradient-dark);
  position: relative;
}

.section-courses::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/banner.jpg") center/cover no-repeat;
  opacity: 0.1;
}

.section-courses .section-badge {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.section-courses .section-title {
  color: var(--white);
}

.section-courses .section-title span {
  color: var(--secondary);
}

.section-courses .section-desc {
  color: rgba(255,255,255,0.85);
}

.course-card {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  overflow: visible;
  height: 100%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.course-card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card h5 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.course-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.course-points {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.course-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #0077b6;
  padding: 8px 0;
}

.course-points li i {
  color: #0077b6;
  font-size: 0.8rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.course-tag {
  display: block;
  background: transparent;
  color: #0077b6;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 0 0 0;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
}

.course-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 30px);
  font-size: 0.95rem;
  padding: 16px 14px;
  margin: 0 15px 15px;
  border-radius: 10px;
}

.form-submit-btn {
  width: 100%;
  margin: 4px 0 0;
  border-radius: 12px;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.section-gallery {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 119, 182, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(41, 181, 194, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  width: 74px;
  height: 74px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #18a55d;
  margin-bottom: 26px;
  transform: scale(0.85);
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-icon {
  transform: scale(1);
}

.gallery-caption {
  color: var(--white);
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0;
  transform: translateY(8px);
  transition: transform 0.35s ease 0.05s;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

@media (max-width: 575px) {
  .gallery-icon {
    width: 58px;
    height: 58px;
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .gallery-caption {
    font-size: 1.55rem;
  }
}

/* Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.lightbox-modal.active .lightbox-content img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
  color: var(--white);
  font-size: 1rem;
  margin-top: 15px;
  font-weight: 500;
}

.lightbox-counter {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.section-testimonials {
  padding: 90px 0;
  background: #edf5f9;
}

.section-testimonials .section-title {
  margin-bottom: 10px;
}

.testimonial-carousel .carousel-item {
  padding: 8px 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 26px 20px 22px;
  box-shadow: 0 10px 28px rgba(25, 60, 95, 0.08);
  border-bottom: 8px solid #24976d;
  min-height: 100%;
}

.testimonial-quote {
  font-size: 3.3rem;
  color: #24976d;
  line-height: 0.8;
  margin-bottom: 12px;
  display: inline-block;
}

.testimonial-text {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0;
}

.testimonial-dots {
  gap: 8px;
}

.testimonial-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #24976d;
  background: transparent;
  opacity: 1;
  margin: 0 4px !important;
}

.testimonial-dots button.active {
  background: #24976d;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.section-contact {
  padding: 80px 0 30px;
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

.branches-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.branch-divider {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid #d7e5ef;
}

.branch-card {
  background: var(--white);
  border-radius: 20px;
  padding: 18px;
  height: 100%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0, 119, 182, 0.1);
  transition: all 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 119, 182, 0.15);
}

.branch-title {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.branch-title i {
  color: var(--primary);
}

.address-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--light-bg);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.address-box i {
  color: var(--cta-red);
  font-size: 1.2rem;
  margin-top: 2px;
}

.address-box p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.4;
  flex: 1;
}

.address-direction {
  color: #0077b6;
  font-size: 1.05rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 119, 182, 0.12);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.25s ease;
}

.address-direction:hover {
  color: #10b981;
  background: rgba(16, 185, 129, 0.16);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
  align-items: flex-start;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-chip i {
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-chip:hover {
  color: #10b981;
  transform: translateX(4px);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #1e3a5f;
  color: rgba(255,255,255,0.9);
  padding: 30px 0;
  font-size: 0.9rem;
  border-top: 3px solid #10b981;
}

.footer a {
  color: #c6ffe8;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
  cursor: pointer;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.scroll-top-btn i {
  transform: rotate(-45deg);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.bg-primary-custom { background: var(--gradient-primary) !important; }

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background: rgba(0, 119, 182, 0.2);
  color: var(--primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-dark);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 991px) {
  .hero-image-wrapper {
    width: 420px;
    height: 420px;
  }

  .hero-blob-shape {
    width: 100%;
    height: 100%;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }

  .hero-image-wrapper {
    width: 340px;
    height: 340px;
  }
  
  .hero-blob-shape {
    width: 100%;
    height: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section-hero {
    text-align: left;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-badge {
    margin-bottom: 1rem;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .services-strip {
    padding: 30px 0;
  }

  .service-box {
    padding: 15px 10px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.7rem;
  }
  
  .section-hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  
  .contact-form-body {
    padding: 16px;
  }
  
  .branch-card {
    padding: 25px;
  }

  .hero-image-wrapper {
    width: clamp(260px, 88vw, 345px);
    height: clamp(260px, 88vw, 345px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-blob-shape {
    width: 100%;
    height: 100%;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 12px 20px;
    font-size: 0.8rem;
  }

  .scroll-top-btn {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .testimonial-text {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .testimonial-name {
    font-size: 1.1rem;
  }

  .hero-subtitle {
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

}
