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

:root {
  /* Brand Colors */
  --primary-dark: #0A192F;    /* Deep navy blue */
  --primary-light: #48CAE4;   /* Vibrant light blue */
  --primary-mid: #0077B6;     /* Mid blue for transitions/gradients */
  --accent: #90E0EF;          /* Soft cyan for highlights */
  
  /* Background & Text Variables */
  --bg-color: #F8FAFC;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(10, 25, 47, 0.1);
  
  /* Structural Variables */
  --nav-height: 80px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography Utility */
.text-gradient {
  background: linear-gradient(to right, var(--primary-light), var(--primary-mid));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-mid));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================
   NAVIGATION (Glassmorphism)
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: var(--transition);
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand span {
  color: var(--primary-mid);
}

.nav-logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-light);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--primary-mid);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--primary-mid);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  margin: 5px;
  transition: var(--transition);
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(10, 25, 47, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.3);
  background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(72, 202, 228, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 202, 228, 0.6);
  background: var(--accent);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--nav-height) + 2rem) 5% 2rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #031429 100%);
  position: relative;
  overflow: hidden;
  text-align: left;
  flex-wrap: wrap;
  gap: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-mid) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  opacity: 0.3;
  border-radius: 50%;
  animation: float 10s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  opacity: 0.2;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite alternate-reverse;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.hero-image {
  position: relative;
  z-index: 10;
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 80%;
  max-height: 450px;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.2s;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  color: var(--accent);
  animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.4s;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.6s;
}

/* =========================================
   GENERIC PAGE HEADER
   ========================================= */
.page-header {
  padding: calc(var(--nav-height) + 5rem) 5% 4rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--accent);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   CONTENT SECTIONS
   ========================================= */
.section {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Standard Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(10, 25, 47, 0.1);
  border-color: var(--primary-light);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(72, 202, 228, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-mid);
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.footer-col p {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--accent);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

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

/* =========================================
   ANIMATIONS & KEYFRAMES
   ========================================= */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: var(--nav-height);
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    width: 60%;
    height: calc(100vh - var(--nav-height));
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
  .hamburger.toggle .line2 { opacity: 0; }
  .hamburger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

  .hero {
    text-align: center;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 4rem);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  

  .hero h1 {
    font-size: 3rem;
  }
}
