/* =========================================================
   NetStepLab — Main Stylesheet
   Fonts loaded via <link> in HTML (Inter via Google Fonts)
   No animations or transitions used per project requirements
   ========================================================= */

/* === CSS VARIABLES === */
:root {
  --navy:       #0B1E3D;
  --teal:       #00BFD8;
  --teal-dark:  #0099B5;
  --teal-light: #E0F7FA;
  --light:      #F2F6FA;
  --white:      #FFFFFF;
  --text:       #1A2B3C;
  --muted:      #566878;
  --border:     #D0DCE8;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 2px 16px rgba(11, 30, 61, 0.07);
  --shadow-md: 0 4px 28px rgba(11, 30, 61, 0.13);

  --max-w:      1200px;
  --pad-section: 96px 0;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; }
body  { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--teal); text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); }

/* === LAYOUT UTILITIES === */
.container {
  max-width: var(--max-w);
  margin:  0 auto;
  padding: 0 28px;
}
.section         { padding: var(--pad-section); }
.section--light  { background-color: var(--light); }
.section--navy   { background-color: var(--navy); }
.text-center     { text-align: center; }

/* === SECTION TYPOGRAPHY === */
.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.section--navy .section-tag {
  background: rgba(0, 191, 216, 0.15);
}
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section--navy .section-title { color: var(--white); }
.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
}
.section--navy .section-desc { color: rgba(255,255,255,0.7); }
.section-header { margin-bottom: 52px; }

/* =========================================================
   ADDITIONAL CENTER ALIGNMENT FOR HOME PAGE
   ========================================================= */
.section .section-header { text-align: center; margin-left: auto; margin-right: auto; }
.section .section-header .section-desc { margin-left: auto; margin-right: auto; }
.contact-inner { text-align: center; justify-items: center; }
.contact-inner > div:first-child { text-align: center; }

/* =========================================================
   BUTTONS
   =========================================================*/
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover  { background: var(--navy); color: var(--white); }
.btn-outline-white  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-sm { padding: 9px 22px; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* === IMAGE PLACEHOLDER === */
.img-ph {
  background: #DDE6EF;
  border: 2px dashed #B2C4D6;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8899AA;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.img-ph svg { opacity: 0.45; width: 36px; height: 36px; }
.hero-image { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.img-ph--hero    { height: 420px; width: 100%; }
.img-ph--feature { height: 360px; width: 100%; }
.img-ph--card    { height: 196px; width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
.img-ph--map     { height: 380px; width: 100%; }

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand-logo  { width: 46px; height: 46px; flex-shrink: 0; }
.brand-name  {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  background: var(--navy);
  padding: 80px 0 100px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,191,216,0.12);
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}
.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   2. STATS BAR
   ========================================================= */
.stats-bar {
  background: var(--teal);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item { }
.stat-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}

/* =========================================================
   3. ABOUT
   ========================================================= */
.about .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}
.about-content {
  text-align: center;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
  align-items: center;
}
.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-direction: column;
  text-align: center;
}
.about-feat-icon {
  width: 42px;
  height: 42px;
  background: var(--teal-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}
.about-feat-icon svg { width: 20px; height: 20px; }
.about-feat-body strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.about-feat-body p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* =========================================================
   4. TOPICS
   ========================================================= */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.topic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.topic-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.topic-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.topic-icon svg { width: 26px; height: 26px; }
.topic-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.topic-card p  { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* =========================================================
   5. VIRTUAL LABS
   ========================================================= */
.vlabs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}
.vlab-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.vlab-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}
.vlab-item-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 9px;
  flex-shrink: 0;
  margin-top: 1px;
}
.vlab-item-body h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.vlab-item-body p  { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* =========================================================
   6. QUIZZES
   ========================================================= */
.quizzes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}
.quiz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.quiz-box {
  padding: 22px 20px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
}
.quiz-box h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.quiz-box p  { font-size: 0.825rem; color: rgba(255,255,255,0.62); line-height: 1.55; }

/* =========================================================
   7. GLOSSARY
   ========================================================= */
.glossary-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}
.glossary-terms {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.glossary-term {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.term-name  { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.term-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  background: var(--teal-light);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* =========================================================
   8. COURSES (PRODUCTS)
   ========================================================= */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.course-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.course-image { width: 100%; height: 180px; object-fit: cover; display: block; }
.course-body {
  padding: 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-light);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.course-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.course-card .course-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.course-includes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.course-includes li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.825rem;
  color: var(--muted);
}
.course-includes li svg { flex-shrink: 0; width: 16px; height: 16px; }
.course-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  background: var(--light);
}
.course-footer .btn { display: block; text-align: center; }

/* =========================================================
   9. WHY NETSTEPLAB
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  text-align: center;
  padding: 44px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-card:hover { border-color: var(--teal); }
.why-icon {
  width: 68px;
  height: 68px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.why-icon svg { width: 30px; height: 30px; }
.why-card h3  { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.why-card p   { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* =========================================================
   10. CONTACT SECTION
   ========================================================= */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: start;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 22px; height: 22px; }
.contact-item-body strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-item-body a,
.contact-item-body p { font-size: 1rem; font-weight: 500; color: var(--navy); }
.contact-item-body a:hover { color: var(--teal); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy);
  padding: 72px 0 36px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo   { width: 42px; height: 42px; }
.footer-bname  { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; }
.footer-col-head {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-nav a:hover { color: var(--teal); }
.footer-contact-line { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 10px; }
.footer-contact-line a { color: rgba(255,255,255,0.6); }
.footer-contact-line a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy   { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-legal  { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: var(--white); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-inner    { grid-template-columns: 1fr; gap: 48px; }
  .topics-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .vlabs-inner, .quizzes-inner, .glossary-inner,
  .about .section-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  :root { --pad-section: 64px 0; }
  .section-title { font-size: 1.8rem; }
  .hero h1 { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .quiz-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal  { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero h1  { font-size: 1.9rem; }
  .container { padding: 0 18px; }
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  z-index: 9999;
  box-shadow: 0 -2px 16px rgba(11, 30, 61, 0.15);
  display: none;
}
.cookie-banner.active {
  display: block;
}
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-content {
  flex: 1;
  min-width: 300px;
}
.cookie-banner-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}
.cookie-banner-content a {
  color: var(--teal);
}
.cookie-banner-content a:hover {
  color: var(--white);
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner-btn {
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-banner-btn-accept {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.cookie-banner-btn-accept:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}
.cookie-banner-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.3);
}
.cookie-banner-btn-decline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-btn {
    flex: 1;
    text-align: center;
  }
}

/* =========================================================
   COOKIE CUSTOMIZE MODAL
   ========================================================= */
.cookie-customize-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 30, 61, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-customize-modal.active {
  display: flex;
}
.cookie-customize-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(11, 30, 61, 0.25);
}
.cookie-customize-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.cookie-category {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
}
.cookie-category-toggle {
  width: 44px;
  height: 24px;
  background: var(--border);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: background 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.cookie-category-toggle:checked {
  background: var(--teal);
}
.cookie-category-toggle:disabled {
  background: var(--teal);
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-category-toggle::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 10px;
  top: 2px;
  left: 2px;
  transition: transform 0.15s ease;
}
.cookie-category-toggle:checked::before {
  transform: translateX(20px);
}
.cookie-category-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.cookie-category-required {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cookie-customize-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: flex-end;
}
.cookie-customize-btn {
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
}
.cookie-customize-btn-save {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.cookie-customize-btn-save:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

@media (max-width: 480px) {
  .cookie-customize-content {
    padding: 24px;
  }
  .cookie-customize-content h2 {
    font-size: 1.25rem;
  }
  .cookie-customize-actions {
    flex-direction: column;
  }
  .cookie-customize-btn {
    width: 100%;
  }
}
