/* 
 * Neptune Formation - Style Sheet
 * High-End, Premium Corporate Identity for Global Company Formation
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   1. Design System & CSS Variables
   ========================================== */
:root {
  /* Constant Accent Colors */
  --royal-blue: #0B5FFF;
  --royal-blue-hover: #004BDB;
  --gold: #D4AF37;
  --gold-hover: #BFA02E;
  --accent-glow: rgba(11, 95, 255, 0.15);
  --gold-glow: rgba(212, 175, 55, 0.15);
  
  /* Fonts */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Layout Spacing */
  --header-height: 80px;
  --container-width: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Theme Dependent Variables (Light Default) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-tertiary: #F1F3F5;
  --bg-glass: rgba(255, 255, 255, 0.75);
  
  --text-primary: #222222;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --text-inverse: #FFFFFF;
  
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glass: rgba(255, 255, 255, 0.4);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(11, 95, 255, 0.05);
  --shadow-lg: 0 20px 40px rgba(11, 95, 255, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(11, 95, 255, 0.06);

  --gradient-blue: linear-gradient(135deg, #0B5FFF 0%, #004BDB 100%);
  --gradient-gold: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
  --gradient-dark: linear-gradient(135deg, #1A202C 0%, #0D1117 100%);
  --gradient-hero: linear-gradient(135deg, rgba(11, 95, 255, 0.04) 0%, rgba(255, 255, 255, 0.8) 100%);
}

/* Dark Theme Variables */
body.dark-theme {
  --bg-primary: #0D1117;
  --bg-secondary: #161B22;
  --bg-tertiary: #21262D;
  --bg-glass: rgba(13, 17, 23, 0.75);
  
  --text-primary: #F0F6FC;
  --text-secondary: #C9D1D9;
  --text-muted: #8B949E;
  --text-inverse: #0D1117;
  
  --border-color: rgba(240, 246, 252, 0.1);
  --border-glass: rgba(255, 255, 255, 0.05);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

  --gradient-hero: linear-gradient(135deg, #0B1E36 0%, #0D1117 100%);
}

/* ==========================================
   2. Reset & Typography
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

button {
  font-family: var(--font-primary);
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================
   3. Essential Utilities & Scroll Progress
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient-blue);
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* Custom Cursor (Hidden on touch devices) */
.custom-cursor-dot, .custom-cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--royal-blue);
}

.custom-cursor-outline {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--royal-blue);
  transition: transform 0.1s ease-out, opacity 0.3s ease;
}

@media (pointer: coarse) {
  .custom-cursor-dot, .custom-cursor-outline {
    display: none !important;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--royal-blue);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================
   4. Header & Navigation (Mega Menu)
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), height var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.sticky {
  height: 70px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-primary);
}

.logo span {
  color: var(--royal-blue);
  margin-right: 4px;
}

.logo-accent {
  color: var(--gold) !important;
  font-size: 28px;
  line-height: 0;
  margin-left: 2px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--royal-blue);
  transition: width var(--transition-fast);
}

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

/* Mega Menu */
.has-megamenu {
  position: static;
}

.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: min(100vw - 48px, var(--container-width));
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 99;
}

.has-megamenu:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.megamenu-column h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.megamenu-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.megamenu-column ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.megamenu-column ul li a i {
  color: var(--royal-blue);
  font-size: 12px;
}

.megamenu-column ul li a:hover {
  color: var(--royal-blue);
  transform: translateX(4px);
}

/* Controls (Dark Mode, CTA) */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle-btn {
  font-size: 20px;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.theme-toggle-btn:hover {
  background-color: var(--border-color);
  color: var(--royal-blue);
}

.btn-header {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--gradient-blue);
  color: var(--text-inverse);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--text-primary);
  padding: 8px;
  z-index: 1001;
  transition: color var(--transition-fast);
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal), top var(--transition-normal);
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  header.sticky .nav-links {
    top: 70px;
    height: calc(100vh - 70px);
  }

  header.mobile-menu-active {
    background-color: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-sm);
  }
  
  .has-megamenu {
    position: relative;
    width: 100%;
  }
  
  .megamenu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    grid-template-columns: 1fr;
    padding: 16px 0 0 16px;
    border: none;
    box-shadow: none;
    gap: 16px;
  }
  
  .has-megamenu.active .megamenu {
    display: grid;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-controls {
    margin-left: auto;
    margin-right: 0;
  }

  @media (max-width: 576px) {
    .nav-controls .btn-header {
      display: none !important;
    }
  }
}

/* ==========================================
   5. Buttons & Elements
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-blue);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-primary);
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #1A202C;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* ==========================================
   6. Sections General
   ========================================== */
section {
  padding: 100px 0;
  position: relative;
}

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

.section-subtitle {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 36px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ==========================================
   7. Hero Section (Parallax & Globe)
   ========================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding-top: calc(var(--header-height) + 40px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-tagline {
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--royal-blue);
  display: block;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

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

.hero-badge-container {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge i {
  font-size: 24px;
  color: var(--gold);
}

.hero-badge div h4 {
  font-size: 16px;
  font-weight: 600;
}

.hero-badge div p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Floating Globe / Hero Graphic */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-container {
  width: 450px;
  height: 450px;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 95, 255, 0.08) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.globe-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  stroke: var(--royal-blue);
  stroke-width: 0.5;
  fill: none;
  opacity: 0.25;
  animation: rotate 60s linear infinite;
}

.globe-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  border-radius: 50%;
}

.globe-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 50px rgba(11, 95, 255, 0.1),
              0 0 50px rgba(11, 95, 255, 0.05);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badge-container {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .globe-container {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 38px;
  }
}

/* ==========================================
   8. Services Section (Glassmorphism Cards)
   ========================================== */
.services-section {
  background-color: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--royal-blue);
  transition: height var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 95, 255, 0.2);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  color: var(--royal-blue);
  font-size: 24px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-icon {
  background-color: var(--royal-blue);
  color: white;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--royal-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link i {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   9. Why Choose Neptune (Feature Cards)
   ========================================== */
.why-section {
  background-color: var(--bg-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-card-icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================
   10. Global Presence & Map
   ========================================== */
.global-section {
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.map-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.world-map-svg {
  width: 100%;
  height: auto;
  fill: var(--border-color);
  stroke: var(--bg-secondary);
  stroke-width: 0.5px;
}

/* Country Pins styling */
.country-pin {
  cursor: pointer;
  pointer-events: all;
}

.country-pin circle {
  fill: var(--royal-blue);
  stroke: white;
  stroke-width: 1.5;
  transition: transform var(--transition-fast), fill var(--transition-fast);
}

.country-pin:hover circle {
  fill: var(--gold);
  transform: scale(1.3);
}

/* Pulse animation on important nodes like UK */
.country-pin.main-hub circle {
  fill: var(--royal-blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { r: 6; opacity: 1; }
  50% { r: 12; opacity: 0.4; }
  100% { r: 6; opacity: 1; }
}

.country-tooltip {
  position: absolute;
  background-color: var(--gradient-dark);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-primary);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 10;
  border: 1px solid var(--gold);
}

.country-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.country-tag {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.country-tag:hover {
  background-color: var(--royal-blue);
  color: white;
  border-color: var(--royal-blue);
  transform: translateY(-2px);
}

/* ==========================================
   11. Process Section (Timeline)
   ========================================== */
.process-section {
  background-color: var(--bg-primary);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

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

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--royal-blue);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 4px var(--accent-glow);
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-step {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.timeline-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
  }
}

/* ==========================================
   12. Statistics (Counters)
   ========================================== */
.stats-section {
  background: var(--gradient-dark);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: var(--font-primary);
}

.stat-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   13. Testimonials (Professional Reviews)
   ========================================== */
.testimonials-section {
  background-color: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 16px;
}

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

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: var(--royal-blue);
}

.client-details h4 {
  font-size: 16px;
  font-weight: 600;
}

.client-details p {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   14. FAQ Section (Accordion)
   ========================================== */
.faq-section {
  background-color: var(--bg-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question i {
  color: var(--royal-blue);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-inner {
  padding: 0 24px 24px 24px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   15. Contact CTA
   ========================================== */
.cta-section {
  background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-hover) 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section .section-title {
  color: white;
}

.cta-section .section-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -100px;
  left: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  bottom: -200px;
  right: -200px;
}

/* ==========================================
   16. About Us Page Custom
   ========================================== */
.about-hero {
  background: var(--gradient-hero);
  padding: 180px 0 100px 0;
  text-align: center;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

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

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 95, 255, 0.2) 100%);
}

.about-image img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-card {
  padding: 40px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.mv-card i {
  font-size: 36px;
  color: var(--royal-blue);
  margin-bottom: 24px;
}

.mv-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  height: 320px;
  background-color: var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  color: var(--text-muted);
}

.team-info {
  padding: 24px;
}

.team-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-info p {
  color: var(--royal-blue);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.team-socials a:hover {
  background-color: var(--royal-blue);
  color: white;
}

@media (max-width: 992px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ==========================================
   17. Contact Page Custom
   ========================================== */
.contact-hero {
  background: var(--gradient-hero);
  padding: 180px 0 100px 0;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.contact-form-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-container h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-secondary);
  font-size: 14px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

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

.contact-info-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-primary);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--royal-blue);
  font-size: 20px;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.contact-info-details h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-info-details p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* Map Mock Container */
.map-mock-container {
  margin-top: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.map-mock-iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0);
}

body.dark-theme .map-mock-iframe {
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

/* Form Response Messages */
.form-notification {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14.5px;
  display: none;
  font-weight: 500;
}

.form-notification.success {
  background-color: rgba(46, 117, 89, 0.15);
  color: #2E7559;
  border: 1px solid rgba(46, 117, 89, 0.25);
  display: block;
}

.form-notification.error {
  background-color: rgba(229, 62, 62, 0.15);
  color: #E53E3E;
  border: 1px solid rgba(229, 62, 62, 0.25);
  display: block;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .contact-form-container {
    padding: 24px;
  }
}

/* ==========================================
   18. Legal Page Style (Terms & Privacy)
   ========================================== */
.legal-hero {
  background: var(--gradient-hero);
  padding: 180px 0 80px 0;
  text-align: center;
}

.legal-content {
  background-color: var(--bg-primary);
  padding: 60px 0 100px 0;
}

.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section-block {
  margin-bottom: 40px;
}

.legal-section-block h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--royal-blue);
}

.legal-section-block h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-section-block p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-section-block ul {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 15px;
}

.legal-section-block ul li {
  margin-bottom: 8px;
}

/* ==========================================
   19. Custom 404 Page
   ========================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  text-align: center;
  padding: 40px;
}

.error-container h1 {
  font-size: 120px;
  color: var(--royal-blue);
  line-height: 1;
  font-family: var(--font-primary);
  margin-bottom: 10px;
}

.error-container h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.error-container p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   20. Footer & Back-To-Top
   ========================================== */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-container p {
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--royal-blue);
  color: white;
  border-color: var(--royal-blue);
  transform: translateY(-3px);
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column ul li a:hover {
  color: var(--royal-blue);
  padding-left: 4px;
}

.footer-column ul li {
  transition: padding-left var(--transition-fast);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--royal-blue);
  font-size: 16px;
  margin-top: 2px;
}

.footer-newsletter p {
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 13px;
}

.newsletter-input:focus {
  border-color: var(--royal-blue);
  outline: none;
}

.newsletter-btn {
  padding: 10px 16px;
  background-color: var(--royal-blue);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.newsletter-btn:hover {
  background-color: var(--royal-blue-hover);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: var(--royal-blue);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

/* Back To Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: -60px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--royal-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color var(--transition-fast), color var(--transition-fast);
}

#back-to-top.show {
  right: 30px;
}

#back-to-top:hover {
  background-color: var(--royal-blue);
  color: white;
  border-color: var(--royal-blue);
}

/* ==========================================
   21. Animations & Classes
   ========================================== */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left-on-scroll {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-left-on-scroll.appear {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right-on-scroll {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-right-on-scroll.appear {
  opacity: 1;
  transform: translateX(0);
}

.scale-up-on-scroll {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scale-up-on-scroll.appear {
  opacity: 1;
  transform: scale(1);
}
