@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');

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

:root {
  --primary-blue: #002D72;
  --royal-blue: #0057D9;
  --gold: #C99A2E;
  --white: #FFFFFF;
  --dark-bg: #0B1120;
  --dark-card: rgba(15, 23, 42, 0.65);
  --dark-border: rgba(255, 255, 255, 0.08);
  --blue-gradient: linear-gradient(135deg, #002D72 0%, #0057D9 100%);
  --gold-gradient: linear-gradient(135deg, #C99A2E 0%, #E6BA5E 100%);
  --text-muted: #E2E8F0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

.text-muted {
  color: #CBD5E1 !important;
}


/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--royal-blue), var(--gold));
  border-radius: 5px;
}

body {
  background-color: var(--dark-bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

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

/* Custom Cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--royal-blue);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  mix-blend-mode: screen;
}
.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
}

/* Canvas Background */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 10000;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--royal-blue), var(--gold));
}

/* Glassmorphism Classes */
/* Premium Navigation Bar */
.premium-nav {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-nav.scrolled {
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-link-custom {
  position: relative;
  color: #E2E8F0 !important;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 6px 16px !important;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--gold) !important;
}

/* Glassmorphism Dropdown */
.glass-dropdown {
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--dark-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  margin-top: 15px !important;
  padding: 8px 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  display: block !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown:hover .glass-dropdown,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  color: #CBD5E1 !important;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 24px !important;
  transition: all 0.2s ease !important;
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--gold) !important;
  transform: translateX(4px);
}
.glass-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 87, 217, 0.1) 0%, rgba(201, 154, 46, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 154, 46, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 87, 217, 0.2);
}
.glass-card:hover::before {
  opacity: 1;
}
.glass-card:hover img {
  transform: scale(1.08);
}

/* Gold Gradient Text */
.text-gradient-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Blue Gradient Text */
.text-gradient-blue {
  background: linear-gradient(135deg, #0057D9 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow Elements */
.glow-effect {
  position: relative;
}
.glow-effect::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 87, 217, 0.15) 0%, transparent 70%);
  top: -50px;
  right: -50px;
  pointer-events: none;
}

/* Buttons Styling */
.btn-primary-custom {
  background: var(--blue-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 87, 217, 0.3);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 87, 217, 0.5);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-gold-custom {
  background: var(--gold-gradient);
  border: none;
  color: #0b1120;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201, 154, 46, 0.3);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-gold-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 154, 46, 0.5);
  color: #0b1120;
}

.btn-outline-custom {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* Timeline Process Styling */
.process-line {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--royal-blue) 0%, var(--gold) 100%);
  z-index: 1;
}
.process-node {
  width: 50px;
  height: 50px;
  background: var(--dark-bg);
  border: 2px solid var(--royal-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin: 0 auto 20px auto;
  position: relative;
  transition: all 0.3s ease;
}
.process-step:hover .process-node {
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold);
  transform: scale(1.1);
}

/* Hero Section Specifics */
.hero-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

/* Background Gradients Glow */
.bg-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 87, 217, 0.15) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  z-index: -1;
  pointer-events: none;
}
.bg-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 154, 46, 0.08) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  z-index: -1;
  pointer-events: none;
}

/* Swiper Overrides */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
}
.swiper-pagination-bullet-active {
  background: var(--gold) !important;
  width: 20px !important;
  border-radius: 4px !important;
  transition: all 0.3s ease;
}
.swiper-button-next, .swiper-button-prev {
  color: var(--gold) !important;
}

/* Auto-scrolling Testimonials Row */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.3);
  padding: 20px 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.ticker {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker:hover {
  animation-play-state: paused;
}
.ticker-item {
  flex-shrink: 0;
  width: 320px;
  padding: 20px;
  margin: 0 15px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
}
@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Navigation hover animations */
.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--gold) !important;
}

/* Active Timeline in About section */
.about-timeline {
  position: relative;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--royal-blue) 0%, var(--gold) 100%);
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .about-timeline::before {
    left: 20px;
  }
}

/* Footer style */
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.footer-link:hover {
  color: var(--gold);
  transform: translateX(4px);
}

/* Watermark Background Styles */
.watermark-bg {
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 75vh;
  background-image: url('../images/watermark.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05; /* Made slightly darker / more visible */
  mix-blend-mode: screen; /* Blends the black background away */
  pointer-events: none;
  z-index: -2;
  animation: swayWatermark 25s ease-in-out infinite alternate;
}

@keyframes swayWatermark {
  0% {
    transform: translate(-65%, -50%) rotate(-8deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.02);
  }
  100% {
    transform: translate(-35%, -50%) rotate(8deg) scale(1);
  }
}

/* Premium Button Shimmer & Active Micro-Animations */
.btn-gold-custom, .btn-primary-custom, .btn-outline-custom {
  position: relative;
  overflow: hidden;
}

.btn-gold-custom::before, .btn-primary-custom::before, .btn-outline-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-gold-custom:hover::before, .btn-primary-custom:hover::before, .btn-outline-custom:hover::before {
  left: 150%;
  transition: 0.75s;
}

/* Micro-interactions for grid cards */
.hover-lift-effect {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.hover-lift-effect:hover {
  transform: translateY(-10px) scale(1.02) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 20px 40px rgba(0, 87, 217, 0.25), 0 0 20px rgba(201, 154, 46, 0.15) !important;
}

/* Animated icon wraps inside Why Choose Us Cards */
.animated-icon-wrap {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift-effect:hover .animated-icon-wrap {
  transform: scale(1.2) rotate(10deg);
}

/* Trust stat card subtle glow */
.trust-stat-card {
  border-color: rgba(201, 154, 46, 0.15) !important;
  transition: all 0.3s ease;
}

.trust-stat-card:hover {
  border-color: var(--gold) !important;
  background: rgba(15, 23, 42, 0.8) !important;
  transform: scale(1.05);
}

