/* ==========================================================================
   CSS Variables & Typography — Brand Palette v2
   ========================================================================== */
:root {
  /* Brand Colours */
  --primary-color:   #30404a; /* User Primary       */
  --primary-hover:   #243037; /* Darker variant     */
  --primary-light:   #ebf0f2; /* Subtle background tint */
  --secondary-color: #3f525e; /* Lighter variant    */

  /* Gold Accent */
  --accent-color:    #D89838; /* Premium Gold     — buttons, icons      */
  --accent-hover:    #A86808; /* Bronze Gold      — button hover        */
  --accent-light:    #F8C868; /* Champagne Gold   — decorative touches  */

  /* Backgrounds */
  --bg-ivory:        #FAF7F0; /* Warm Ivory       — main page bg        */
  --bg-white:        #FFFFFF; /* Clean White      — cards, forms        */
  --bg-light:        #FAF7F0; /* alias → ivory    */
  --bg-dark:         #1e292f; /* Very Dark Slate  — footer              */

  /* Text */
  --text-dark:       #1F2933; /* Charcoal         — body copy           */
  --text-color:      #1F2933;
  --text-light:      #6B7280; /* Grey             — captions, meta      */
  --text-white:      #FFFFFF;

  /* Borders */
  --border-color:    #E5E0D8; /* Soft Border      — cards, separators   */

  /* Transitions & Shadows */
  --transition:      all 0.3s ease;
  --shadow-sm:       0 2px 8px  rgba(8,24,72,0.06);
  --shadow-md:       0 6px 20px rgba(8,24,72,0.10);
  --shadow-lg:       0 16px 40px rgba(8,24,72,0.14);

  /* Typography */
  --font-heading:    'Poppins', sans-serif;
  --font-primary:    'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 14px;
  letter-spacing: -0.1px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(216,152,56,0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  font-weight: 700;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(216,152,56,0.2);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact a {
  color: rgba(255,255,255,0.75);
  margin-right: 15px;
  transition: color 0.2s ease;
}

.top-bar-contact a:hover {
  color: var(--accent-color);
}

.top-bar-contact span {
  color: var(--accent-light);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.header {
  background-color: var(--primary-color);
  box-shadow: 0 2px 20px rgba(8,24,72,0.25);
  border-bottom: 2px solid rgba(216,152,56,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  font-size: 14px;
  display: block;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 14.5px;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
  letter-spacing: 0.1px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-color);
}

.header .btn-primary {
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(216,152,56,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.1px;
}

.header .btn-primary:hover {
  background: var(--accent-hover);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216,152,56,0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-white);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero.modern-hero {
  position: relative;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0;
  text-align: left;
  display: flex;
  align-items: center;
  color: var(--text-white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(30, 48, 62, 0.95) 0%, rgba(30, 48, 62, 0.7) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Trust Banner
   ========================================================================== */
.trust-banner {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-ivory);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  font-size: 20px;
  color: var(--accent-color);
}

.trust-text {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 14px;
}

/* ==========================================================================
   About Preview Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-left {
  text-align: left;
  margin-bottom: 20px;
}

.lead-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mt-20 {
  margin-top: 20px;
}

.about-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.experience-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--primary-color);
  color: white;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

/* ==========================================================================
   Page Headers (Internal Pages)
   ========================================================================== */
.page-header {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.section {
  padding: 80px 0;
}

/* Utility Spacing */
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

.section-bg-light {
  background-color: var(--bg-light);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.section-description {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 18px;
}

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.content-box {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.content-box h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 24px;
}

.content-box h3 {
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
}

.content-box p {
  margin-bottom: 15px;
}

.content-box ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-box ul li {
  margin-bottom: 10px;
  position: relative;
}

.content-box ul li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* ==========================================================================
   Services Grid (Home)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card.modern-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--border-color);
  border-radius: 8px;
  padding: 40px 30px;
  transition: var(--transition);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.service-card.modern-card:hover {
  box-shadow: 0 15px 30px rgba(49, 69, 88, 0.1);
  transform: translateY(-8px);
  border-top-color: var(--primary-color);
}

.card-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.6;
}

.card-link {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.card-link span {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-card.modern-card:hover .card-link span {
  transform: translateX(5px);
}

/* ==========================================================================
   Features Grid (Why Choose Us)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-box {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box:hover {
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(8,24,72,0.08);
  transform: translateY(-5px);
  border-color: rgba(0,0,0,0.08);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  font-size: 36px;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon-wrapper {
  transform: scale(1.1);
}

.feature-box h4 {
  color: var(--primary-color);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-box p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
/* CTA Section — Light/White background */
.cta-section {
  background: var(--bg-ivory);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.cta-content p {
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-btn {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.cta-btn:hover {
  background-color: var(--primary-hover);
  color: white;
}

.cta-btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.cta-btn-outline:hover {
  background-color: rgba(8,24,72,0.1);
  color: var(--primary-color);
}

/* ==========================================================================
   Services Layout (Services Page)
   ========================================================================== */
.services-layout {
  display: flex;
  gap: 40px;
}

.services-sidebar {
  flex: 0 0 300px;
}

.services-nav {
  position: sticky;
  top: 100px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.services-nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  border: none;
  background: none;
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.services-nav-btn:last-child {
  border-bottom: none;
}

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

.services-nav-btn.active {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.services-content-area {
  flex: 1;
}

.service-category-content {
  display: none;
}

.service-category-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.service-item {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.service-item h3 {
  color: var(--primary-color);
  font-size: 26px;
  margin-bottom: 20px;
}

.service-item h4 {
  color: var(--secondary-color);
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Table (Fee Scale)
   ========================================================================== */
.fee-table-container {
  overflow-x: auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
  overflow: hidden;
}

.fee-table th, .fee-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.fee-table th {
  background-color: var(--primary-color);
  color: var(--text-white);
  font-weight: 600;
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.fee-table tr:hover td {
  background-color: var(--primary-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 60px 0 20px;
  border-top: 3px solid var(--accent-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-primary);
}

.footer-col p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(216,152,56,0.15);
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  font-family: var(--font-primary);
}

.iaa-badge-img {
  max-height: 70px;
  width: auto;
  margin-bottom: 8px;
  display: block;
}

.footer-logo-wrap {
  margin-bottom: 20px;
}

.footer-iaa-number {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  display: block;
}

/* Footer External Links — Visual Logo Cards */
.footer-ext-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-ext-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-ext-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(197, 168, 128, 0.4);
  color: white;
  transform: translateX(4px);
}

.footer-ext-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: contain;
  background: white;
  padding: 2px;
  flex-shrink: 0;
}

.social-links a:hover {
  opacity: 1 !important;
  color: var(--accent-color) !important;
}

.footer-ext-links-col {
  min-width: 200px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .services-layout {
    flex-direction: column;
  }
  
  .services-sidebar {
    flex: none;
    width: 100%;
  }
  
  .services-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }
  
  .services-nav-btn {
    width: auto;
    flex: 1 1 auto;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .experience-badge {
    left: 20px;
    bottom: 20px;
  }
}

@media (max-width: 768px) {

  /* Header positioning for dropdown */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .nav-container {
    position: relative;
  }

  /* Hidden nav drawer (FIXED for mobile responsiveness & scrolling) */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px; /* Counteract container padding */
    right: -20px;
    width: calc(100% + 40px);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: var(--primary-color);
    flex-direction: column;
    padding: 15px 0;
    box-shadow: 0 16px 40px rgba(8,24,72,0.35);
    border-top: 2px solid var(--accent-color);
    gap: 0;
    z-index: 9999;
  }

  .nav-menu.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Nav items */
  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 13px 28px;
    font-size: 14.5px;
    color: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  /* Book Appointment button — full width on mobile */
  .nav-menu li:last-child {
    padding: 0;
  }

  .nav-menu li:last-child .btn {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 5px;
  }

  /* Hamburger button */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 5px;
    transition: background 0.2s ease;
    margin-left: auto;
  }

  .mobile-menu-btn:hover {
    background: rgba(255,255,255,0.1);
  }

  .mobile-menu-btn .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  /* Animate hamburger → X */
  .mobile-menu-btn.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.open .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-menu-btn.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .top-bar {
    display: none;
  }

  .hero.modern-hero h1 {
    font-size: 36px;
  }

  .hero.modern-hero {
    padding: 90px 0;
  }

  .hero-buttons, .cta-actions {
    flex-direction: column;
  }

  .trust-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .trust-item {
    flex-direction: column;
    text-align: center;
    padding: 15px 10px;
    gap: 8px;
  }
}

/* ==========================================================================
   Services Page Modern Styles (Grid & Sub-pages Layout)
   ========================================================================== */
.services-hero {
  background-image: url('../images/services-hero.jpg');
  padding: 120px 0;
}

.services-sub-hero {
  background-image: url('../images/services-hero.jpg');
  padding: 80px 0;
  text-align: center;
}

.services-sub-hero h1 {
  font-size: 42px;
  color: white;
  margin-top: 10px;
}

.services-sub-hero p {
  color: #94a3b8;
  font-size: 18px;
  margin-top: 5px;
}

.sub-hero-icon {
  font-size: 48px;
  background: rgba(255, 255, 255, 0.1);
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(5px);
}

/* Horizontal Filter Bar */
.services-filters-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  padding: 10px;
  background: white;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.filter-btn.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 10px rgba(49, 69, 88, 0.2);
}

/* 3-Column Service Grid */
.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding-bottom: 40px;
}

.service-card-modern {
  background: white;
  border: 1px solid var(--border-color);
  border-top: 5px solid transparent;
  border-radius: 16px;
  padding: 30px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
  border-top-color: var(--accent-color);
}

.card-icon-wrapper {
  font-size: 32px;
  margin-bottom: 20px;
  background: var(--bg-light);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.service-card-modern:hover .card-icon-wrapper {
  background: var(--primary-color);
  transform: scale(1.05);
}

.service-card-modern h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: 700;
}

.card-teaser {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.card-highlights li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}

.card-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.card-detail-btn {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  margin-top: auto;
}

.service-card-modern:hover .card-detail-btn {
  background: var(--primary-color);
  color: white;
}

/* 2-Column Detail Layout */
.service-detail-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.service-main-content {
  width: 70%;
}

.service-sidebar-sticky {
  width: 30%;
  position: sticky;
  top: 100px;
}

/* Sidebar CTA Action Card */
.sidebar-action-card {
  background: var(--primary-color);
  color: white;
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.sidebar-action-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.sidebar-action-card h3 {
  color: white;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 15px;
}

.sidebar-action-card p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.sidebar-btn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 15px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.sidebar-btn.btn-primary {
  background: white;
  color: var(--primary-color);
  border: 1px solid white;
}

.sidebar-btn.btn-primary:hover {
  background: #f1f5f9;
  color: var(--primary-color);
}

.sidebar-btn.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  background: transparent;
}

.sidebar-btn.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.05);
}

/* Sidebar Sibling Nav Card */
.sidebar-nav-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-top: 30px;
}

.sidebar-nav-card h3 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
}

.sibling-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sibling-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
  background: var(--bg-light);
  transition: all 0.3s ease;
}

.sibling-nav-link:hover {
  background: #e2e8f0;
  color: var(--primary-color);
  transform: translateX(5px);
}

.sibling-nav-link.active {
  background: var(--primary-color);
  color: white;
}

.sibling-icon {
  font-size: 18px;
}

/* Detailed Content Cards styling */
.service-main-content .service-content-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.service-main-content .service-content-card h3 {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg-light);
}

.service-main-content .service-content-card h4 {
  color: var(--secondary-color);
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-main-content .service-content-card p {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.modern-list {
  padding-left: 0;
  margin-bottom: 20px;
  list-style: none;
}

.modern-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.6;
}

.modern-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--primary-color);
  font-weight: bold;
  background: var(--bg-light);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* Hide animation for filtered cards */
.service-card-modern.hidden {
  display: none !important;
}

@media (max-width: 992px) {
  .service-detail-layout {
    flex-direction: column;
  }
  .service-main-content, .service-sidebar-sticky {
    width: 100%;
  }
  .service-sidebar-sticky {
    position: static;
  }
  .services-sub-hero {
    padding: 60px 0;
  }
  .services-sub-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .services-filters-container {
    border-radius: 20px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* ==========================================================================
   About Page Specifics
   ========================================================================== */
.about-hero {
  background-image: url('../images/about-hero.jpg');
  padding: 100px 0;
}

.company-details {
  background: var(--bg-light);
  padding: 15px 20px;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 4px 4px 0;
}

.company-details p {
  margin-bottom: 5px;
  font-size: 14px;
}

.regulation-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 50px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.regulation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-color);
}

.regulation-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin: 30px 0;
}

.regulation-badge .icon {
  font-size: 32px;
}

.adviser-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.adviser-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-light);
  padding: 15px;
  border-radius: 8px;
}

.adviser-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-color);
}

.adviser-info {
  display: flex;
  flex-direction: column;
}

.adviser-info strong {
  color: var(--primary-color);
  font-size: 16px;
}

.adviser-info span {
  color: var(--text-light);
  font-size: 14px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.approach-card {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
}

.approach-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.approach-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.approach-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 20px;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.pill {
  background: white;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pill:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .regulation-card {
    padding: 30px;
  }
}

/* ==========================================================================
   Contact Page Modern Styles
   ========================================================================== */
.contact-hero {
  background-image: url('../images/services-hero.jpg');
  padding: 120px 0;
}

.contact-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.contact-form-card {
  width: 60%;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.contact-form-card h2 {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-form-card p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 35px;
}

.modern-contact-form .form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.modern-contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-light);
  color: var(--text-color);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.modern-contact-form input::placeholder,
.modern-contact-form textarea::placeholder {
  color: #94a3b8;
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(49, 69, 88, 0.05);
}

.modern-contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23314558' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  margin-top: 10px;
}

.contact-info-container {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.contact-info-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.detail-icon {
  font-size: 26px;
  background: var(--bg-light);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.detail-text strong {
  display: block;
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 5px;
}

.detail-text p {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.detail-text p a {
  color: var(--text-color);
  text-decoration: underline;
}

.detail-text p a:hover {
  color: var(--primary-color);
}

.contact-map-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Modern Swapped & Premium Contact Info Styles */
.modern-info-card {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--primary-color) !important;
}

.info-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

.info-card-header h3 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.trust-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(49, 69, 88, 0.08);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.modern-detail-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px;
  border-radius: 12px;
}

.modern-detail-item:hover {
  background: var(--bg-light);
  transform: translateX(5px);
}

.detail-icon-wrapper {
  background: rgba(49, 69, 88, 0.06);
  color: var(--primary-color);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.modern-detail-item:hover .detail-icon-wrapper {
  background: var(--primary-color);
  color: white;
  transform: rotate(5deg) scale(1.05);
}

.trust-validation-banner {
  display: flex;
  gap: 15px;
  background: white;
  border: 1px solid rgba(49, 69, 88, 0.08);
  border-left: 4px solid #22c55e;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
}

.trust-validation-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-logo-circle {
  font-size: 24px;
  background: rgba(34, 197, 94, 0.08);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.trust-content-text strong {
  display: block;
  font-size: 15px;
  color: var(--primary-color);
  margin-bottom: 4px;
  font-weight: 700;
}

.trust-content-text p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .contact-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-form-card,
  .contact-info-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-form-card {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   Modernized Fees Page Styles
   ========================================================================== */
.fees-hero {
  background-image: linear-gradient(135deg, rgba(49, 69, 88, 0.95), rgba(28, 40, 52, 0.95)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Key Values Grid */
.fee-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.fee-value-card {
  background: white;
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(49, 69, 88, 0.06);
  border-top: 4px solid var(--accent-color);
  text-align: center;
  transition: all 0.3s ease;
}

.fee-value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(49, 69, 88, 0.08);
}

.fee-value-card .value-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: inline-block;
}

.fee-value-card h3 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.fee-value-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Live Search Container */
.fee-search-container {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 35px;
  border: 1px solid var(--border-color);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-svg-icon {
  position: absolute;
  left: 20px;
  color: var(--text-light);
  pointer-events: none;
}

#feeSearch {
  width: 100%;
  padding: 16px 50px 16px 55px;
  font-size: 16px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  background: white;
  color: var(--text-dark);
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
}

#feeSearch:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(49, 69, 88, 0.08);
}

#clearSearchBtn {
  position: absolute;
  right: 20px;
  background: #e2e8f0;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--text-dark);
  font-size: 12px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#clearSearchBtn:hover {
  background: #cbd5e1;
}

.search-feedback {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
  padding-left: 5px;
}

/* Redesigned Table Badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
  vertical-align: middle;
}

.badge-business {
  background-color: rgba(49, 69, 88, 0.08);
  color: var(--primary-color);
}

.badge-individual {
  background-color: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.badge-compliance {
  background-color: rgba(245, 158, 11, 0.08);
  color: #d97706;
}

/* Modern Fees Table Layout */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.fee-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 18px 24px;
}

.fee-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  font-size: 15px;
  line-height: 1.5;
  vertical-align: middle;
}

.fee-row {
  transition: background-color 0.2s ease;
}

.fee-row:hover {
  background-color: rgba(49, 69, 88, 0.015);
}

.fee-case-name {
  color: var(--text-dark);
  font-size: 16px;
}

.fee-case-name small {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 500;
}

.fee-our-cost {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 16px;
}

.fee-ho-cost {
  color: var(--text-light);
  font-weight: 500;
  font-size: 14px;
}

.fee-ho-cost small {
  font-size: 11px;
}

.fee-inclusions {
  color: var(--text-light);
  font-size: 14px;
}

.table-disclaimer {
  margin-top: 25px;
  padding: 20px 25px;
  background-color: rgba(245, 158, 11, 0.04);
  border-left: 4px solid #f59e0b;
  border-radius: 0 8px 8px 0;
}

.table-disclaimer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #78350f;
}

/* Accordion Box Styles */
.modern-accordion-box {
  padding: 40px;
}

.accordion-box-header, .table-box-header {
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(49, 69, 88, 0.08);
  padding-bottom: 20px;
}

.accordion-box-header h2, .table-box-header h2 {
  color: var(--primary-color);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.accordion-box-header p, .table-box-header p {
  color: var(--text-light);
  font-size: 15px;
  margin: 0;
}

.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modern-accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-accordion-item[open] {
  border-color: rgba(49, 69, 88, 0.2);
  box-shadow: 0 6px 20px rgba(49, 69, 88, 0.03);
}

.accordion-title {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

/* Custom expand/collapse chevron for modern look */
.accordion-title::-webkit-details-marker {
  display: none;
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}

.accordion-chevron::before, .accordion-chevron::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Vertical line */
.accordion-chevron::before {
  top: 4px;
  bottom: 4px;
  left: 9px;
  width: 2px;
}

/* Horizontal line */
.accordion-chevron::after {
  left: 4px;
  right: 4px;
  top: 9px;
  height: 2px;
}

.modern-accordion-item[open] .accordion-chevron {
  transform: rotate(90deg);
}

.modern-accordion-item[open] .accordion-chevron::before {
  transform: scaleY(0); /* Hide vertical line when open to make it a minus symbol */
}

.accordion-content {
  padding: 0 28px 25px 28px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid rgba(49, 69, 88, 0.05);
  margin-top: 0;
  padding-top: 20px;
}

.accordion-content p {
  margin: 0;
}

/* ============================================================
   Fees Page — Full Mobile Responsiveness
   ============================================================ */
@media (max-width: 768px) {

  /* Value cards */
  .fee-values-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 16px;
  }
  .fee-value-card {
    padding: 24px 20px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .fee-value-card .value-icon {
    font-size: 28px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .fee-value-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .fee-value-card p {
    font-size: 13.5px;
  }

  /* Fee table → card stack */
  .fee-table-container {
    overflow-x: visible;
  }
  .fee-table thead {
    display: none;
  }
  .fee-table,
  .fee-table tbody,
  .fee-table tr,
  .fee-table td {
    display: block;
    width: 100%;
  }
  .fee-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .fee-table tr:nth-child(even) {
    background-color: transparent;
  }
  .fee-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
    position: relative;
  }
  .fee-table td:last-child {
    border-bottom: none;
  }
  .fee-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 4px;
  }
  .fee-table td.fee-case-name {
    background: var(--primary-color);
    color: white;
    border-radius: 0;
  }
  .fee-table td.fee-case-name::before {
    color: rgba(197,168,128,0.8);
  }
  .fee-table td.fee-case-name strong {
    color: white;
  }
  .fee-table td.fee-case-name .badge {
    margin-top: 6px;
    display: inline-block;
  }
  .fee-table td.fee-our-cost {
    background: rgba(197, 168, 128, 0.07);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left !important;
  }
  .fee-table td.fee-ho-cost {
    text-align: left !important;
    font-size: 14px;
  }

  /* Table wrapper / content box */
  .modern-accordion-box,
  .modern-table-box {
    padding: 20px 16px;
    border-radius: 10px;
  }
  .table-box-header h2 {
    font-size: 22px;
  }
  .table-box-header p {
    font-size: 13.5px;
  }

  /* Retainer terms */
  .modern-terms-box {
    padding: 24px 16px !important;
    border-radius: 10px !important;
  }
  .term-title {
    font-size: 15px !important;
  }
  .term-content {
    font-size: 13.5px !important;
  }

  /* Accordion */
  .accordion-title {
    padding: 16px 18px;
    font-size: 14.5px;
  }
  .accordion-content {
    padding: 14px 18px 18px;
    font-size: 13.5px;
  }
}

@media (max-width: 480px) {
  .fee-value-card {
    padding: 20px 16px;
  }
  .modern-terms-box {
    padding: 18px 12px !important;
  }
  .table-box-header h2 {
    font-size: 20px;
  }
  
  .trust-items {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  background: var(--bg-light);
}

.section-header-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 55px;
}

.section-header-center .section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid rgba(197, 168, 128, 0.3);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-header-center h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header-center p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.testimonials-grid {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: scrollContinuous 40s linear infinite;
  padding: 20px 0 40px;
}

.testimonials-grid:hover {
  animation-play-state: paused;
}

@keyframes scrollContinuous {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 14px)); }
}
.testimonial-card {
  width: 350px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

@media (max-width: 992px) {
  .testimonial-card {
  width: 350px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 22px;
  font-size: 90px;
  font-family: Georgia, serif;
  color: var(--accent-color);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 168, 128, 0.4);
}

.testimonial-stars {
  color: var(--accent-color);
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-color);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #253545 100%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.testimonial-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 12px;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

@media (max-width: 768px) {
  .testimonial-card {
  width: 350px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
  .section-header-center h2 {
    font-size: 26px;
  }
}

/* ==========================================================================
   Service CTA Block (inside service content cards)
   ========================================================================== */
.service-cta-block {
  background: linear-gradient(135deg, rgba(49, 69, 88, 0.04) 0%, rgba(197, 168, 128, 0.08) 100%);
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-left: 4px solid var(--accent-color);
  border-radius: 12px;
  padding: 28px 30px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.service-cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 0 0 0 80px;
  background: rgba(197, 168, 128, 0.06);
  pointer-events: none;
}

.service-cta-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.service-cta-heading {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  margin-bottom: 10px !important;
  margin-top: 0 !important;
  line-height: 1.4;
}

.service-cta-sub {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.service-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Pill-style CTA: Gold call button */
.service-cta-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(197, 168, 128, 0.35);
  transition: box-shadow 0.3s ease, transform 0.25s ease;
  text-decoration: none;
  font-size: 0;
}

.service-cta-actions .btn-primary:hover {
  box-shadow: 0 6px 22px rgba(197, 168, 128, 0.55);
  transform: translateY(-2px);
  background: none;
  color: inherit;
}

.service-cta-actions .btn-primary .cta-icon-wrap {
  background: var(--accent-color);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border-radius: 0;
}

.service-cta-actions .btn-primary .cta-label {
  background: var(--primary-color);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 0 20px;
  height: 48px;
  display: flex;
  align-items: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Pill-style CTA: Ghost email button */
.service-cta-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--primary-color);
  transition: box-shadow 0.3s ease, transform 0.25s ease;
  text-decoration: none;
  font-size: 0;
}

.service-cta-actions .btn-outline:hover {
  box-shadow: 0 0 0 2px var(--accent-color);
  transform: translateY(-2px);
  background: none;
  color: inherit;
}

.service-cta-actions .btn-outline .cta-icon-wrap {
  background: var(--primary-color);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.service-cta-actions .btn-outline:hover .cta-icon-wrap {
  background: var(--accent-color);
}

.service-cta-actions .btn-outline .cta-label {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  padding: 0 20px;
  height: 48px;
  display: flex;
  align-items: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.service-cta-actions .btn-outline:hover .cta-label {
  color: var(--primary-color);
}

/* ==========================================================================
   Complaints Page Styles
   ========================================================================== */
.complaints-advisers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.adviser-complaint-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-color);
  border-radius: 12px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.adviser-complaint-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary-color);
}

.adviser-avatar-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  border: 2px solid var(--accent-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.adviser-complaint-card h4 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-weight: 700;
  font-family: var(--font-primary);
}

.adviser-complaint-card .title {
  font-size: 13px;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 20px;
}

.adviser-contact-links {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border-top: 1px dashed var(--border-color);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.adviser-contact-links li {
  font-size: 14.5px;
  color: var(--text-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.adviser-contact-links strong {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
}

.adviser-contact-links a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.2s ease;
}

.adviser-contact-links a:hover {
  color: var(--accent-color);
}

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

.content-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color);
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 6px var(--accent-color);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0 20px;
}

.timeline-step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 35px 25px 25px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.timeline-badge {
  position: absolute;
  top: -18px;
  left: 20px;
  background: var(--primary-color);
  color: var(--accent-color);
  font-weight: 800;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(49, 69, 88, 0.15);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1.5px solid var(--accent-color);
}

.timeline-step-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

.investigation-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.investigation-item {
  display: flex;
  gap: 20px;
  padding: 22px 25px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.investigation-item:hover {
  transform: translateX(8px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
  background: #fafbfc;
}

.investigation-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  border: 1.5px solid rgba(197, 168, 128, 0.2);
}

.investigation-content {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-color);
  flex-grow: 1;
}

.escalation-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e2d3d 100%);
  color: var(--text-white);
  border-radius: 16px;
  padding: 45px 40px;
  margin-top: 50px;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}

.escalation-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.03);
  pointer-events: none;
}

.escalation-box h3 {
  color: var(--text-white);
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 15px;
}

.escalation-box p {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 30px;
}

.escalation-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  background: rgba(255,255,255,0.03);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.escalation-item h5 {
  color: var(--accent-color);
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-weight: 700;
}

.escalation-item p {
  font-size: 14px;
  margin: 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.escalation-item a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
  transition: all 0.2s ease;
}

.escalation-item a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* ==========================================================================
   Trust Bar Section (Matches workpermitcloud classes)
   ========================================================================== */
.trust-bar-container {
  margin: 40px auto;
  position: relative;
  z-index: 10;
}

.trust-bar {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
  align-items: start;
}

@media (min-width: 768px) {
  .trust-bar {
    padding: 20px 24px;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .trust-item {
    flex-direction: row;
    align-items: center;
  }
}

.trust-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .trust-logo {
    width: 60px;
    height: 60px;
  }
}

.trust-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.trust-text p {
  line-height: 1.25;
  margin-bottom: 3px;
}

.trust-title {
  font-size: 11px;
  color: #6b7280;
}

.trust-desc {
  font-size: 11px;
  color: #6b7280;
}

.trust-bold {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

@media (min-width: 768px) {
  .trust-title, .trust-desc {
    font-size: 12px;
  }
  .trust-bold {
    font-size: 14px;
  }
}

/* ==========================================================================
   Booking Page Styles
   ========================================================================== */
.booking-container {
  max-width: 900px;
  margin: 0 auto;
}

.adviser-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .adviser-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.adviser-card {
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.adviser-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 168, 128, 0.3);
}

.adviser-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.adviser-title h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.adviser-title span {
  font-size: 0.9rem;
  color: #6b7280;
}

.adviser-desc {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 20px;
  min-height: 60px;
}

.adviser-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #374151;
  text-decoration: none;
  background: #f9fafb;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.3s;
}

.quick-contact:hover {
  background: #f3f4f6;
  color: var(--accent-color);
}

.booking-form-wrapper {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Inner Pages Hero Height Reduction (Strict Uniform Sizing)
   ========================================================================== */
.about-hero, .services-hero, .services-sub-hero, .contact-hero, .fees-hero {
  height: 250px !important;
  min-height: 250px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

@media (min-width: 768px) {
  .about-hero, .services-hero, .services-sub-hero, .contact-hero, .fees-hero {
    height: 320px !important;
    min-height: 320px !important;
  }
}

/* ==========================================================================
   Mega Menu Styles
   ========================================================================== */
.mega-menu-item {
  position: static !important; /* Allow mega menu to span width */
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 95vw;
  max-width: 1300px;
  background-color: var(--primary-color);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  border-top: 3px solid var(--accent-color);
  border-radius: 0 0 12px 12px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.mega-menu-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-menu-col h4 {
  color: var(--accent-light);
  font-size: 1.05rem;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-col ul li {
  margin-bottom: 10px;
}

.mega-menu-col ul li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-menu-col ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.dropdown-icon {
  font-size: 0.7em;
  margin-left: 4px;
  opacity: 0.7;
}

@media (max-width: 992px) {
  .mega-menu {
    position: static;
    width: 100%;
    max-width: none;
    left: auto;
    border-radius: 0;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 10px 20px;
    display: none; /* Hide by default in mobile accordion */
    gap: 15px;
    border-top: none;
    background: rgba(0,0,0,0.1);
  }
  
  /* Only show via JS toggle on mobile to prevent accidental hover issues */
  .mega-menu-item.mobile-expanded .mega-menu {
    display: grid;
    transform: none;
  }
  
  .mega-menu-col h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
}

/* Trust Indicators Marquee */
.trust-grid-marquee {
  display: flex;
  width: max-content;
  animation: scrollTrust 30s linear infinite;
}

.trust-grid-marquee:hover {
  animation-play-state: paused;
}

.trust-grid-content {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-right: 50px;
}

@keyframes scrollTrust {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-33.3333%)); }
}

.trust-grid-marquee .trust-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  width: 240px; /* Force all boxes to be same size on desktop */
}

.trust-grid-marquee .trust-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Responsive Gaps for Trust Marquee */
@media (max-width: 992px) {
  .trust-grid-content {
    gap: 30px;
    padding-right: 30px; /* Must perfectly match gap for seamless loop */
  }
}

@media (max-width: 768px) {
  .trust-grid-content {
    gap: 15px;
    padding-right: 15px;
  }
  
  .trust-grid-marquee .trust-item {
    width: calc(33.333vw - 15px); /* Exactly 3 boxes on mobile screen */
    flex-direction: column; /* Stack icon and text */
    text-align: center;
    justify-content: center;
    padding: 15px 10px;
  }

  /* Make sure text fits in small 3-box width */
  .trust-grid-marquee .trust-item .trust-title {
    font-size: 11px;
    margin-bottom: 2px;
  }
  .trust-grid-marquee .trust-item .trust-desc {
    font-size: 10px;
  }
  .trust-grid-marquee .trust-item .trust-bold {
    font-size: 11px;
  }
  
  .testimonials-grid {
    gap: 15px;
  }
}

/* Coming Soon Page Styles */
.coming-soon-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background-color: var(--bg-ivory);
    text-align: center;
}

.coming-soon-content {
    background: white;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    max-width: 600px;
    width: 100%;
    border-top: 5px solid var(--accent-color);
}

.coming-soon-icon {
    font-size: 65px;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.coming-soon-content h1 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.coming-soon-content p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.coming-soon-content .btn {
    padding: 14px 35px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .coming-soon-content { padding: 40px 20px; }
    .coming-soon-content h1 { font-size: 28px; }
}
