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

:root {
  /* Brand Colors */
  --primary-blue: #0090ff;
  --secondary-green: #1dbe70;
  --text-dark: #080808;
  --text-light: #6b7280;
  --background-light: #f8fafc;
  --background-white: #ffffff;
  --border-light: #e2e8f0;
  --shadow-light: rgba(0, 144, 255, 0.1);
  --shadow-dark: rgba(8, 8, 8, 0.1);
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-white);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Modern Hero Section */
.hero-bg {
  /*  background: linear-gradient(
      135deg,
      rgba(0, 144, 255, 0.08) 0%,
      rgba(29, 190, 112, 0.05) 100%
    ),
    url("../assets/images/hero.jpg"); */
  /* change the above */
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-bg h1 {
  color: var(--text-dark);
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.8);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-bg p {
  color: var(--text-light);
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
}

/* Modern Navigation */
header {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-light);
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

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

/* Modern Buttons */
.btn-primary {
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px var(--shadow-light);
}

.btn-primary:hover {
  background: #0077cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-light);
}

.btn-secondary {
  background: var(--secondary-green);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(29, 190, 112, 0.2);
}

.btn-secondary:hover {
  background: #17a85a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 190, 112, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

/* Hero CTA Button */
.hero-cta-btn {
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 20px 40px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px var(--shadow-light);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta-btn:hover {
  background: #0077cc;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px var(--shadow-light);
}

/* Modern Cards */
.stat-card {
  background: var(--background-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px var(--shadow-dark);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-dark);
}

/* Modern Section Styling */
section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 12px;
}

p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 16px;
}

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

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

/* Modern Form Styling */
input,
textarea,
select {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--background-white);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 144, 255, 0.1);
}

label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: block;
}

/* Countdown Timer Styling */
.countdown-container {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-green)
  );
  border-radius: 20px;
  padding: 40px;
  color: white;
  text-align: center;
}

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

.countdown-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.countdown-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

/* Modern Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Dropdown Menu */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background-white);
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--shadow-dark);
  border: 1px solid var(--border-light);
  min-width: 200px;
  z-index: 100;
  padding: 8px 0;
}

.dropdown.active {
  display: block;
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown a:hover {
  background: var(--background-light);
  color: var(--primary-blue);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--background-white);
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--primary-blue);
  padding-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero-cta-btn {
    padding: 16px 32px;
    font-size: 16px;
  }

  .stat-card {
    padding: 24px;
  }

  .countdown-container {
    padding: 30px 20px;
  }

  .countdown-number {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .countdown-number {
    font-size: 1.8rem;
  }

  .hero-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Success/Error Messages */
.message-success {
  background: rgba(29, 190, 112, 0.1);
  color: var(--secondary-green);
  border: 1px solid rgba(29, 190, 112, 0.3);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.message-error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
}

/* Loading Animation */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Dropdown Styles */
.dropdown-container {
  position: relative;
}

.dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 192px; /* w-48 */
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  padding: 8px 0;
  z-index: 50;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover {
  background-color: #f9fafb;
  color: var(--primary-blue);
}

.dropdown-arrow {
  transition: transform 0.2s ease;
}

/* Mobile Dropdown Styles */
.mobile-dropdown-content {
  margin-left: 16px;
}

.mobile-dropdown-content a {
  display: block;
  padding: 8px 0;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-dropdown-content a:hover {
  color: var(--primary-blue);
}

.mobile-dropdown-arrow {
  transition: transform 0.2s ease;
}
