/* ─────────────────────────────────────────────────────────────────
   1) IMPORT “Poppins” FROM GOOGLE FONTS
   ───────────────────────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ─────────────────────────────────────────────────────────────────
   2) DECLARE COLOR PALETTE AS CSS VARIABLES
   ───────────────────────────────────────────────────────────────── */
:root {
  /* Black for “edu” in logo, headings, etc. */
  --black:        #040404;

  /* Primary Green (“Sushi”) */
  --sushi:        #91c23c;

  /* Darker Green for hover/active (“Fern-Frond”) */
  --fern-frond:   #577424;

  /* Mid-tone Green accent (“Wasabi”) */
  --wasabi:       #749b30;

  /* White & neutrals */
  --white:        #ffffff;
  --gray-100:     #f7fafc;
  --gray-200:     #edf2f7;
  --gray-300:     #e2e8f0;
  --gray-400:     #cbd5e0;
  --gray-500:     #a0aec0;
}

/* ─────────────────────────────────────────────────────────────────
   3) GLOBAL FONT RESET TO “Poppins” ONLY
   ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, a, input, textarea, button,
ul, ol, li {
  font-family: "Poppins", sans-serif !important;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

/* ─────────────────────────────────────────────────────────────────
   4) GENERIC COLOR OVERRIDES FOR ELEMENTS
   ───────────────────────────────────────────────────────────────── */
/* Links default to primary green */
a {
  color: var(--sushi) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--fern-frond) !important;
}

/* Buttons or elements with Tailwind’s .bg-green-400 should use “Sushi” */
.bg-green-400 {
  background-color: var(--sushi) !important;
}
/* On hover, .bg-green-400 → “Fern-Frond” */
.bg-green-400:hover {
  background-color: var(--fern-frond) !important;
}

/* Text utilities: .text-green-400 → “Sushi” */
.text-green-400 {
  color: var(--sushi) !important;
}
/* On hover, .text-green-400 → “Fern-Frond” */
.text-green-400:hover {
  color: var(--fern-frond) !important;
}

/* White text stays white */
.text-white {
  color: var(--white) !important;
}

/* Background utilities: .bg-white remains white */
.bg-white {
  background-color: var(--white) !important;
}

/* Neutral backgrounds (e.g., .bg-gray-100 / .bg-gray-200) */
.bg-gray-100 {
  background-color: var(--gray-100) !important;
}
.bg-gray-200 {
  background-color: var(--gray-200) !important;
}
.bg-gray-300 {
  background-color: var(--gray-300) !important;
}
.bg-gray-400 {
  background-color: var(--gray-400) !important;
}
.bg-gray-500 {
  background-color: var(--gray-500) !important;
}

/* Border colors: .border-gray-200 / .border-gray-300 */
.border-gray-200 {
  border-color: var(--gray-200) !important;
}
.border-gray-300 {
  border-color: var(--gray-300) !important;
}

/* Text-gray utilities */
.text-gray-500 {
  color: var(--gray-500) !important;
}

/* HEADINGS default to black unless otherwise specified */
h1, h2, h3, h4, h5, h6 {
  color: var(--black) !important;
}

/* Form inputs default border to gray-300 and background to gray-100 */
input,
textarea {
  border: 1px solid var(--gray-300) !important;
  background-color: var(--gray-100) !important;
  color: var(--black) !important;
}
/* On focus, inputs outline with Sushi green ring */
input:focus,
textarea:focus {
  border-color: var(--sushi) !important;
  box-shadow: 0 0 0 3px rgba(145, 194, 60, 0.2) !important;
  outline: none !important;
}

/* DISABLED BUTTONS (using Tailwind’s .opacity-50) */
.opacity-50 {
  opacity: 0.5 !important;
  cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────────
   5) LOGIN BUTTON (OVERRIDE ONLY COLORS & FONT)
   ───────────────────────────────────────────────────────────────── */
/*
   In your Blade/HTML, ensure your login link has:
     class="login-btn flex items-center px-3 py-2 text-sm font-medium text-white rounded"
*/
.login-btn {
  background-color: var(--sushi) !important;
  color: var(--white) !important;
  font-family: "Poppins", sans-serif !important;
}
/* Hover → darker “Fern-Frond” */
.login-btn:hover {
  background-color: var(--fern-frond) !important;
}
/* Ensure any icon inside stays white */
.login-btn svg {
  fill: var(--white) !important;
  stroke: var(--white) !important;
}

/* ─────────────────────────────────────────────────────────────────
   6) LOGO TEXT COLORS (OVERRIDE)
   ───────────────────────────────────────────────────────────────── */
.logo.text-white {
  color: var(--white) !important;
}
a.logo .logo-edu {
  color: var(--black) !important;
}
a.logo .logo-syms,
a.logo .logo-dot {
  color: var(--sushi) !important;
}

/* ─────────────────────────────────────────────────────────────────
   7) REMOVE MENU BACKGROUND
   ───────────────────────────────────────────────────────────────── */

/* 1) Force the primary nav container to be fully transparent */
nav.flex-col.items-center,
nav.flex-col.items-center.bg-white {
  background-color: transparent !important;
  box-shadow: none !important;
}
/* 2) In case Tailwind’s “bg-white” utility is applied, override it */
nav.bg-white {
  background-color: transparent !important;
}
/* 3) Retain padding but no background */
nav.flex-col.items-center > a,
nav.flex-col.items-center > .relative > a {
  background-color: transparent !important;
}
/* 4) Mobile‐overlay (when menu toggles open) keeps dark overlay */
nav.flex-col.items-center.flex.fixed {
  background-color: rgba(0, 0, 0, 0.9) !important;
}

/* ─────────────────────────────────────────────────────────────────
   8) HERO SECTION (RESPONSIVE / PRODUCTION-READY)
   ───────────────────────────────────────────────────────────────── */

/* Full-viewport Hero background */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay to ensure text contrast */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* Centered content container */
.hero-content {
  position: relative;
  max-width: 800px;
  width: 90%;
  text-align: center;
  padding: 1rem;
  z-index: 1;
}

/* Main heading: fluid font-size with clamp */
.hero-heading {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

/* Subheading: slightly smaller fluid font-size */
.hero-subheading {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Primary CTA button */
.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  background-color: var(--sushi);
  color: var(--white);
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
}
.hero-cta:hover {
  background-color: var(--fern-frond);
}

/* Responsive adjustments for small screens */
@media (max-width: 480px) {
  .hero-content {
    padding: 0.5rem;
  }
  .hero-cta {
    font-size: 0.875rem;
    padding: 0.6rem 1.2rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-content {
    width: 95%;
  }
}

/*─────────────────────────────────────────────────────────────────
   9) UTILITY CLASSES / FOCUS STYLES
   ───────────────────────────────────────────────────────────────── */
:focus {
  outline: 2px solid var(--sushi);
  outline-offset: 2px;
}

/* Container utility for centering content */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* End of CSS */