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

:root {
  /* Color Tokens - Dark Mode (Default) - Indigo & Orange */
  --background: #0A0718;
  --surface: #141029;
  --surface-hover: #1F1A3A;
  --primary: #F08038; /* Brand Orange */
  --primary-rgb: 240, 128, 56;
  --primary-hover: #FF9E64;
  --text-primary: #FFFFFF;
  --text-secondary: #8A94A6;
  --text-muted: #515866;
  --border: rgba(240, 128, 56, 0.15);
  --border-hover: rgba(240, 128, 56, 0.3);
  --glass-bg: rgba(20, 16, 41, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 20px rgba(240, 128, 56, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme {
  /* Color Tokens - Light Mode - Cool Indigo & Deeper Orange */
  --background: #FAFAFC;
  --surface: #FFFFFF;
  --surface-hover: #F3F2F8;
  --primary: #C84E0B; /* Darker Brand Orange for contrast */
  --primary-rgb: 200, 78, 11;
  --primary-hover: #F08038;
  --text-primary: #1E173F; /* Deep Brand Indigo for high-end text */
  --text-secondary: #515866;
  --text-muted: #8A94A6;
  --border: rgba(200, 78, 11, 0.2);
  --border-hover: rgba(200, 78, 11, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(0, 0, 0, 0.06);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 0 20px rgba(200, 78, 11, 0.08);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

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

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--surface);
  border: 2px solid var(--background);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: #0D1117 !important; /* Gold needs dark text always */
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-gold-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-gold-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

/* Hover Spotlights */
.spotlight-section {
  position: relative;
  overflow: hidden;
}

.spotlight-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 128, 56, 0.08) 0%, rgba(240, 128, 56, 0) 70%);
  top: var(--mouse-y, 0px);
  left: var(--mouse-x, 0px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

@media (max-width: 1024px) {
  .spotlight-glow {
    display: none !important;
  }
}

.spotlight-section:hover .spotlight-glow {
  opacity: 1;
}

/* Section Standard Layouts */
section {
  padding: 8rem 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
}

.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 3.5rem;
}

/* Animations reveals */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(5px);
  transition: opacity var(--transition-slow), transform var(--transition-slow), filter var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Grid Background */
.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

.radial-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(26, 31, 43, 0.5) 0%, var(--background) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================
   HEADER & NAVBAR STYLING
   ========================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  width: 0%;
  z-index: 1001;
  transition: width 0.05s linear;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 90px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: height var(--transition-normal), background var(--transition-normal), border var(--transition-normal), backdrop-filter var(--transition-normal);
}

.navbar.scrolled {
  height: 70px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.navbar.nav-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
}

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

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  margin-right: 0.75rem;
  background: #ffffff;
  padding: 3px;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast);
}

.nav-logo:hover .logo-img {
  transform: scale(1.05);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

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

/* Mega Menu Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chevron-icon {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 680px;
  padding: 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
  z-index: 1000;
}

.nav-item-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}

.featured-services {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-featured-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.mega-featured-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.mega-featured-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.mega-featured-link:hover {
  text-decoration: underline;
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mega-item:hover {
  background: var(--surface-hover);
}

.mega-item-icon {
  flex-shrink: 0;
}

.mega-item-info {
  display: flex;
  flex-direction: column;
}

.mega-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mega-item-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-action-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.nav-action-btn:hover {
  color: var(--primary);
}

/* Hamburger Trigger */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-normal);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--background);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-link {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mobile-link:hover {
  color: var(--primary);
}

/* Hamburger Trigger Active State */
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay Links Stagger Slide-in */
.mobile-nav-overlay .mobile-link {
  transform: translateY(30px);
  opacity: 0;
  transition: transform var(--transition-normal), color var(--transition-fast), opacity var(--transition-normal);
}

.mobile-nav-overlay.active .mobile-link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-overlay.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav-overlay.active .mobile-link:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-link:nth-child(8) { transition-delay: 0.45s; }

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .hamburger-menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-actions a.btn {
    display: none;
  }
  .logo-img {
    height: 40px;
  }
}

/* ==========================================
   SEARCH MODAL STYLING
   ========================================== */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: 100%;
  max-width: 600px;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 0 1rem;
}

.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.search-input {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  width: 90%;
  outline: none;
  font-family: 'Inter', sans-serif;
}

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

.search-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.search-close:hover {
  color: var(--primary);
}

.search-results {
  max-height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-placeholder, .search-no-results {
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem 0;
  font-size: 0.95rem;
}

.search-result-item {
  display: block;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.15);
}

.search-result-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.search-result-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================
   FOOTER STYLING
   ========================================== */
.footer {
  background: #080B10;
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: 6rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.footer-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('Images /Footer image.png');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: luminosity;
}

body.light-theme .footer {
  background: #F1F3F5;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
}

.footer-logo .logo-img {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
  margin-right: 0.75rem;
  background: #ffffff;
  padding: 3px;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-tagline {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.footer-newsletter-col {
  display: flex;
  flex-direction: column;
}

.newsletter-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--primary);
}

.newsletter-btn {
  padding: 0 1.25rem;
  height: 42px;
}

.newsletter-message {
  display: none;
  font-size: 0.85rem;
  color: var(--primary);
  margin-top: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 5rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--text-muted);
}

body.light-theme .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: #0D1117;
  transform: translateY(-3px);
}

