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

:root {
  --primary: #004a99;
  /* KENET Blue */
  --secondary: #f37021;
  /* CHUJI Orange */
  --accent: #00a8e8;
  --text-dark: #1a1a1a;
  --text-light: #4a4a4a;
  --bg-light: #ffffff;
  --bg-alt: #f8fafc;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  --glass: rgba(255, 255, 255, 0.8);
}

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

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

h1,
h2,
h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  min-height: 140px;
  /* Ensure space for the large logo */
  background: var(--glass);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

body nav.navbar .nav-logos img {
  height: 180px !important;
  width: auto !important;
  min-height: 180px !important;
  max-height: none !important;
  max-width: none !important;
  display: block !important;
  object-fit: contain !important;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.nav-links .btn-login {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
}

.nav-links .btn-login:hover {
  background: var(--primary);
  color: var(--white);
}

/* Hero Section */
.hero {
  padding: 320px 5% 100px;
  /* Increased to 320px to clear the 180px logo and navbar */
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  background: radial-gradient(circle at 80% 20%, rgba(0, 74, 153, 0.05) 0%, transparent 40%);
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-content p a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-content p a:hover {
  color: var(--accent);
}

.btn-get-started {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(0, 74, 153, 0.2);
  transform: translateY(0);
}

.btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 74, 153, 0.3);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  /* Reduced from taking full column width */
  margin-left: auto;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* How To Register Section */
.how-to-register {
  padding: 100px 5%;
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.step-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 74, 153, 0.1);
  border-color: var(--primary);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 74, 153, 0.1);
  /* Light Blue background */
  color: var(--primary);
  /* KENET Blue */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.step-card:hover .step-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(10deg);
}

.step-icon svg {
  width: 40px;
  height: 40px;
}

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

.step-card p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
  flex-grow: 1;
}

.step-link {
  padding: 0.8rem 1.8rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.step-link:hover {
  background: var(--accent);
  box-shadow: 0 5px 15px rgba(0, 168, 232, 0.3);
}

.step-btn-static {
  padding: 0.8rem 1.8rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  cursor: default;
}

.step-badge {
  padding: 0.6rem 1.2rem;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

/* Footer */
.footer {
  background: var(--bg-alt);
  padding: 80px 5% 40px;
  border-top: 1px solid #e2e8f0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 60px;
}

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

.footer-col p,
.footer-col a {
  color: var(--text-light);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  display: block;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: flex-start;
    padding-top: 380px;
    /* More padding for mobile stack */
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    margin: 0 auto 2.5rem;
  }

  .steps-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem 2%;
  }

  .nav-logos {
    gap: 1rem;
  }

  .navbar .nav-logos img {
    height: 100px !important;
  }

  .nav-links {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
  }

  .nav-links .btn-login {
    padding: 0.4rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}