/* =====================
   ROOT VARIABLES
===================== */
:root {
  --primary: #0b3c5d;
  --secondary: #f4b41a;
  --light: #f8f9fb;
  --dark: #1f2933;
}

/* =====================
   GLOBAL STYLES
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =====================
   TOP BAR
===================== */
.top-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.top-left a {
  margin-right: 20px;
  color: #0f172a;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-btn {
  background: #0f172a;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
}

.free-btn {
  background: #f59e0b;
  color: #000;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
}

/* =====================
   MAIN HEADER
===================== */
.main-header {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.main-container {
  max-width: 1400px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* FULL LOGO (NO CROP) */
.logo img {
  height: 85px;     /* ensures full logo visibility */
  width: auto;
  object-fit: contain;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
}

/* AI BADGE */
.ai-badge {
  background: linear-gradient(135deg, #7c3aed, #f59e0b);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
  .top-left {
    display: none;
  }

  .main-nav {
    display: none; /* add hamburger later if needed */
  }

  .logo img {
    height: 70px;
  }
}


/* =====================
   HERO SECTION
===================== */
/* =====================
   HERO SECTION
===================== */
.hero {
  position: relative;
  min-height: 90vh;
  background: url("graduate-student.png") no-repeat center right;
  background-size: contain;
  display: flex;
  align-items: center;
  padding: 0 24px;
  overflow: hidden;
}

/* DARK GRADIENT OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.95) 40%,
    rgba(15, 23, 42, 0.6) 65%,
    rgba(15, 23, 42, 0.1) 100%
  );
  z-index: 1;
}

/* CONTENT CONTAINER */
.hero-container {
  max-width: 1400px;
  margin: auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* TEXT */
.hero-content {
  max-width: 620px;
  color: #ffffff;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 32px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn.primary {
  background: #f59e0b;
  color: #000;
}

.btn.primary:hover {
  background: #fbbf24;
}

.btn.secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn.secondary:hover {
  background: #ffffff;
  color: #0f172a;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
  .hero {
    background-position: center right;
    background-size: cover;
  }

  .hero-overlay {
    background: rgba(15, 23, 42, 0.85);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
    text-align: center;
  }

  .hero-content {
    margin: auto;
  }

  .hero-buttons {
    justify-content: center;
  }
}



/* =====================
   ABOUT SECTION
===================== */
.about-section {
  padding: 90px 20px;
  background: #f8fafc;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.about-subtitle {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
}

.about-text {
  max-width: 820px;
  margin: 0 auto 50px;
  font-size: 1rem;
  color: #334155;
  line-height: 1.8;
}

/* =====================
   UNIVERSITY LOGO SLIDER
===================== */
.university-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
}

.slider-track img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.slider-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ANIMATION */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .slider-track {
    gap: 40px;
  }

  .slider-track img {
    height: 50px;
  }
}

/* =====================
   GRID & CARDS
===================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

/* =====================
   PROCESS STEPS
===================== */
.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 60px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* =====================
   CTA SECTION
===================== */
.cta {
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 25px 20px;
  font-size: 14px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

  .nav-links {
    display: none;
  }
}
