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

:root {
  /* Vibrant Modern Palette */
  --primary-navy: #0f172a; /* Deep rich navy */
  --primary-brand: #1e3a8a; /* Vibrant blue */
  --accent-red: #ef4444;    /* Pop of red */
  --light-blue: #0ea5e9;    /* Vibrant water blue */
  --bg-color: #f8fafc;
  --surface-color: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  
  /* Modern Effects */
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 25px rgba(14, 165, 233, 0.4);
  
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ====================
   ANIMATIONS
   ==================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ====================
   NAVIGATION & HEADER (GLASSMORPHISM)
   ==================== */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: var(--max-width);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
  z-index: 10;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-brand), var(--light-blue));
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    top: 0;
    left: -200%;
    animation: shine 3s infinite;
}

@keyframes shine {
    to { left: 200%; }
}

.logo-icon svg {
  width: 24px;
  height: 24px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: 0.5px;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-family: 'Inter', sans-serif;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary-brand), var(--light-blue));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
  border-radius: 2px;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--primary-brand);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-navy);
  z-index: 10;
}

/* ====================
   BUTTONS (Dynamic & Vibrant)
   ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 2rem;
  border-radius: 100px; /* Pill shape */
  text-decoration: none;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-brand), #3b82f6);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, var(--light-blue));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: white;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-brand);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--primary-navy);
  border-color: var(--primary-brand);
}

/* ====================
   GLOBAL LAYOUT STYLES
   ==================== */
main {
  flex: 1;
  padding-top: 100px; /* Space for fixed header */
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-subtitle {
  color: var(--accent-red);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
}

/* Modern Card Layouts */
.card {
  background: var(--surface-color);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

/* ====================
   FOOTER (Modern Dark Mode style)
   ==================== */
footer {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 5rem 2rem 2rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red), var(--primary-brand), var(--light-blue));
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.footer-logo h2 {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  background: linear-gradient(135deg, var(--white), var(--light-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-quote {
  font-style: italic;
  opacity: 0.8;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-red);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.footer-contact h3,
.footer-social h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-contact p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

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

.social-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #94a3b8;
}

/* ====================
   RESPONSIVE
   ==================== */
@media (max-width: 992px) {
  header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    font-size: 1.1rem;
  }

  .nav-links a.btn {
    text-align: center;
  }
}
