/* ===================================
   LAW FIRM WEBSITE - DARK THEME
   Premium Design System
   =================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================
   CSS CUSTOM PROPERTIES
   =================================== */
:root {
  /* Color Palette - Dark Theme */
  --primary-dark: #0a0e27;
  --secondary-dark: #1a1f3a;
  --accent-gold: #d4af37;
  --accent-gold-light: #f0d678;
  --accent-gold-dark: #b8941f;

  --navy-deep: #0f1729;
  --navy-medium: #1e2a47;
  --navy-light: #2d3e5f;

  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-muted: #8a9ab0;

  --border-color: rgba(212, 175, 55, 0.2);
  --border-hover: rgba(212, 175, 55, 0.4);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f0d678 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(10, 14, 39, 0.9) 0%, rgba(26, 31, 58, 0.95) 100%);

  /* Glassmorphism */
  --glass-bg: rgba(26, 31, 58, 0.7);
  --glass-border: rgba(212, 175, 55, 0.15);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===================================
   GLOBAL RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--gradient-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  z-index: -1;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-gold-light);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(10, 14, 39, 0.98);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-gold) !important;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.navbar-brand:hover {
  color: var(--accent-gold-light) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  position: relative;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

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

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

.navbar-toggler {
  border-color: var(--accent-gold);
  padding: 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212, 175, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
}

.dropdown-item {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--navy-medium);
  color: var(--accent-gold);
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
  background: var(--gradient-gold);
  border: none;
  color: var(--primary-dark);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition-slow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  color: var(--primary-dark);
}

.btn-outline-primary {
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  transition: var(--transition-normal);
}

.btn-outline-primary:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.4s backwards;
  display: flex;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero-buttons {
    gap: 1.5rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ===================================
   SECTIONS
   =================================== */
section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  color: var(--accent-gold);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1.5rem auto 0;
}

.bg-dark-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

/* ===================================
   PAGE HEADER
   =================================== */
.page-header {
  padding: 8rem 0 4rem;
  background: var(--gradient-primary);
  text-align: center;
  position: relative;
}

.page-header h1 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--accent-gold);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

/* ===================================
   CARDS
   =================================== */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-normal);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary-dark);
  transition: var(--transition-normal);
}

.card:hover .card-icon {
  transform: rotate(360deg) scale(1.1);
}

.card h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card h4 {
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.card ul {
  color: var(--text-primary);
}

.card ul li {
  color: var(--text-primary);
}

/* ===================================
   CONTACT PLATFORM CARDS
   =================================== */
.contact-platform-card {
  display: block;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--text-primary);
  height: 100%;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}

.contact-platform-card {
  cursor: pointer !important;
}

.contact-platform-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
}

.platform-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  position: relative;
}

.platform-icon svg {
  transition: all var(--transition-normal);
}

.platform-icon.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.platform-icon.email {
  background: linear-gradient(135deg, #4285F4 0%, #0F9D58 100%);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

.platform-icon.linkedin {
  background: linear-gradient(135deg, #0077B5 0%, #00A0DC 100%);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.3);
}

.contact-platform-card:hover .platform-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-platform-card:hover .platform-icon.whatsapp {
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.contact-platform-card:hover .platform-icon.email {
  box-shadow: 0 12px 35px rgba(66, 133, 244, 0.5);
}

.contact-platform-card:hover .platform-icon.linkedin {
  box-shadow: 0 12px 35px rgba(0, 119, 181, 0.5);
}

.contact-platform-card h4 {
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-platform-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 1rem;
}

/* ===================================
   SERVICE CARDS
   =================================== */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: var(--transition-slow);
}

.service-card:hover::before {
  left: 100%;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
  background: var(--navy-medium);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  margin: 1rem;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 5rem;
  color: var(--accent-gold);
  opacity: 0.3;
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.author-info h5 {
  margin-bottom: 0.25rem;
  color: var(--accent-gold);
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--accent-gold);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  font-size: 1.25rem;
}

.social-link:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* ===================================
   CONTACT FORM
   =================================== */
.form-control {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.875rem 1.25rem;
  border-radius: 10px;
  transition: var(--transition-fast);
}

.form-control:focus {
  background: var(--secondary-dark);
  border-color: var(--accent-gold);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  border-radius: 10px;
  overflow: hidden;
}

.accordion-button {
  background: var(--navy-light);
  color: var(--accent-gold);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: var(--navy-medium);
  color: var(--accent-gold);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--accent-gold);
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem;
  color: var(--text-secondary);
  background: var(--secondary-dark);
}

/* ===================================
   TIMELINE
   =================================== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-gold);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-content {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  width: calc(50% - 40px);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  color: var(--accent-gold);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 1000;
  display: flex;
  align-items: center;

  img {
    max-width: 100%;
    height: auto;
  }

  @media (max-width: 991px) {
    .timeline::before {
      left: 30px;
    }

    .timeline-content {
      width: calc(100% - 80px);
      margin-left: 80px !important;
    }

    .timeline-dot {
      left: 30px;
    }
  }

  /* Mobile Devices (< 768px) */
  @media (max-width: 768px) {

    /* Typography Adjustments */
    h1 {
      font-size: 2.25rem;
    }

    h2 {
      font-size: 1.75rem;
    }

    h3 {
      font-size: 1.5rem;
    }

    h4 {
      font-size: 1.25rem;
    }

    p {
      font-size: 1rem;
    }

    /* Layout & Spacing */
    section {
      padding: 3rem 0;
    }

    .hero-section {
      padding: 5rem 0 3rem;
      text-align: center;
      min-height: auto;
    }

    .hero-content h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .hero-buttons {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      align-items: center;
    }

    .hero-buttons .btn {
      width: 100%;
      max-width: 280px;
      margin: 0 !important;
    }


    .stat-number {
      font-size: 2.5rem;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 3rem 0 1rem;
    }

    .footer-section {
      margin-bottom: 2.5rem;
    }

    .social-links {
      justify-content: center;
    }

    .form-label {
      border-radius: 10px;
      overflow: hidden;
    }

    .accordion-button {
      background: transparent;
      color: var(--text-primary);
      font-weight: 600;
      padding: 1.25rem 1.5rem;
      border: none;
    }

    .accordion-button:not(.collapsed) {
      background: var(--navy-medium);
      color: var(--accent-gold);
      box-shadow: none;
    }

    .accordion-button:focus {
      box-shadow: none;
      border-color: var(--accent-gold);
    }

    .accordion-button::after {
      filter: brightness(0) invert(1);
    }

    .accordion-body {
      padding: 1.5rem;
      color: var(--text-secondary);
      background: var(--secondary-dark);
    }

    /* ===================================
   TIMELINE
   =================================== */
    .timeline {
      position: relative;
      padding: 2rem 0;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--accent-gold);
      transform: translateX(-50%);
    }

    .timeline-item {
      position: relative;
      margin-bottom: 3rem;
    }

    .timeline-content {
      background: var(--glass-bg);
      backdrop-filter: blur(10px);
      border: 1px solid var(--glass-border);
      border-radius: 15px;
      padding: 2rem;
      width: calc(50% - 40px);
    }

    .timeline-item:nth-child(odd) .timeline-content {
      margin-left: auto;
    }

    .timeline-dot {
      position: absolute;
      left: 50%;
      top: 30px;
      width: 20px;
      height: 20px;
      background: var(--accent-gold);
      color: var(--accent-gold);
    }

    .text-secondary {
      color: var(--text-secondary);
    }

    .text-muted {
      color: var(--text-muted);
    }

    /* ===================================
   BACK TO TOP BUTTON
   =================================== */
    #backToTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background: var(--gradient-gold);
      color: var(--primary-dark);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition-normal);
      z-index: 1000;
      display: flex;
      align-items: center;

      img {
        max-width: 100%;
        height: auto;
      }

      @media (max-width: 991px) {
        .timeline::before {
          left: 30px;
        }

        .timeline-content {
          width: calc(100% - 80px);
          margin-left: 80px !important;
        }

        .timeline-dot {
          left: 30px;
        }
      }

      /* Mobile Devices (< 768px) */
      @media (max-width: 768px) {

        /* Typography Adjustments */
        h1 {
          font-size: 2.25rem;
        }

        h2 {
          font-size: 1.75rem;
        }

        h3 {
          font-size: 1.5rem;
        }

        h4 {
          font-size: 1.25rem;
        }

        p {
          font-size: 1rem;
        }

        /* Layout & Spacing */
        section {
          padding: 3rem 0;
        }

        .hero-section {
          padding: 5rem 0 3rem;
          text-align: center;
          min-height: auto;
        }

        .hero-content h1 {
          font-size: 2.5rem;
          margin-bottom: 1rem;
        }

        .hero-buttons {
          display: flex;
          flex-direction: column;
          gap: 1rem;
          padding: 0 2rem;
        }


        .stat-number {
          font-size: 2.5rem;
        }

        /* Footer */
        footer {
          text-align: center;
          padding: 3rem 0 1rem;
        }

        .footer-section {
          margin-bottom: 2.5rem;
        }

        .social-links {
          justify-content: center;
        }

        .footer-section ul li a:hover {
          transform: translateX(0) scale(1.05);
        }

        .card {
          margin-bottom: 2rem;
        }
      }

      /* Navbar Mobile/Tablet Fix (< 992px) */
      @media (max-width: 991.98px) {
        .navbar-brand {
          font-size: 1.5rem;
        }

        .navbar-collapse {
          background: var(--primary-dark);
          padding: 1rem;
          border-radius: 10px;
          margin-top: 1rem;
          border-color: var(--accent-gold);
        }

        .accordion-button::after {
          filter: brightness(0) invert(1);
        }

        .accordion-body {
          padding: 1.5rem;
          color: var(--text-secondary);
          background: var(--secondary-dark);
        }

        /* ===================================
   TIMELINE
   =================================== */
        .timeline {
          position: relative;
          padding: 2rem 0;
        }

        .timeline::before {
          content: '';
          position: absolute;
          left: 50%;
          top: 0;
          bottom: 0;
          width: 2px;
          background: var(--accent-gold);
          transform: translateX(-50%);
        }

        .timeline-item {
          position: relative;
          margin-bottom: 3rem;
        }

        .timeline-content {
          background: var(--glass-bg);
          backdrop-filter: blur(10px);
          border: 1px solid var(--glass-border);
          border-radius: 15px;
          padding: 2rem;
          width: calc(50% - 40px);
        }

        .timeline-item:nth-child(odd) .timeline-content {
          margin-left: auto;
        }

        .timeline-dot {
          position: absolute;
          left: 50%;
          top: 30px;
          width: 20px;
          height: 20px;
          background: var(--accent-gold);
          color: var(--accent-gold);
        }

        .text-secondary {
          color: var(--text-secondary);
        }

        .text-muted {
          color: var(--text-muted);
        }

        /* ===================================
   BACK TO TOP BUTTON
   =================================== */
        #backToTop {
          position: fixed;
          bottom: 30px;
          right: 30px;
          width: 50px;
          height: 50px;
          background: var(--gradient-gold);
          color: var(--primary-dark);
          border: none;
          border-radius: 50%;
          cursor: pointer;
          opacity: 0;
          visibility: hidden;
          transition: var(--transition-normal);
          z-index: 1000;
          display: flex;
          align-items: center;

          img {
            max-width: 100%;
            height: auto;
          }

          @media (max-width: 991px) {
            .timeline::before {
              left: 30px;
            }

            .timeline-content {
              width: calc(100% - 80px);
              margin-left: 80px !important;
            }

            .timeline-dot {
              left: 30px;
            }
          }

          /* Mobile Devices (< 768px) */
          @media (max-width: 768px) {

            /* Typography Adjustments */
            h1 {
              font-size: 2.25rem;
            }

            h2 {
              font-size: 1.75rem;
            }

            h3 {
              font-size: 1.5rem;
            }

            h4 {
              font-size: 1.25rem;
            }

            p {
              font-size: 1rem;
            }

            /* Layout & Spacing */
            section {
              padding: 3rem 0;
            }

            .hero-section {
              padding: 5rem 0 3rem;
              text-align: center;
              min-height: auto;
            }

            .hero-content h1 {
              font-size: 2.5rem;
              margin-bottom: 1rem;
            }

            .hero-buttons {
              display: flex;
              flex-direction: column;
              gap: 1rem;
              padding: 0 2rem;
            }


            .stat-number {
              font-size: 2.5rem;
            }

            /* Footer */
            footer {
              text-align: center;
              padding: 3rem 0 1rem;
            }

            .footer-section {
              margin-bottom: 2.5rem;
            }

            .social-links {
              justify-content: center;
            }

            .footer-section ul li a:hover {
              transform: translateX(0) scale(1.05);
            }

            .card {
              margin-bottom: 2rem;
            }
          }

          /* Navbar Mobile/Tablet Fix (< 992px) */
          @media (max-width: 991.98px) {
            .navbar-brand {
              font-size: 1.5rem;
            }

            .navbar-collapse {
              background: var(--primary-dark);
              padding: 1rem;
              border-radius: 10px;
              margin-top: 1rem;
              border: 1px solid var(--border-color);
              max-height: 80vh;
              overflow-y: auto;
            }

            .navbar-nav .dropdown-menu {
              position: static;
              float: none;
              background: transparent;
              border: none;
              padding-left: 1rem;
              margin-top: 0;
              box-shadow: none;
              display: none;
              /* Default hidden */
            }

            .navbar-nav .dropdown-menu.show {
              display: block !important;
              /* Force show when toggled */
            }

            .navbar-nav .dropdown-item {
              color: var(--text-secondary);
              padding: 0.5rem 0;
            }

            .navbar-nav .dropdown-item:hover {
              background: transparent;
              color: var(--accent-gold);
              transform: translateX(5px);
            }
          }