/* =============================
   CygneVolt 3D Akademia — style.css
   Warm & Friendly theme with brand personality
   Mobile-first, Flexbox only layouts, smooth interactions
   ============================= */

/* ===== CSS RESET & BASELINE ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #2A2A2A;
  line-height: 1.6;
  background: #FFF9F3;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: #0F1B2E; text-decoration: none; }
a:hover { color: #1a8f9a; }
:focus { outline: none; }
:focus-visible { box-shadow: 0 0 0 3px rgba(43, 197, 212, 0.45); border-radius: 8px; }

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --brand-primary: #0F1B2E;
  --brand-secondary: #2BC5D4;
  --brand-accent: #FFFFFF;
  --text: #2A2A2A;
  --muted: #616161;
  --warm-100: #FFF6EF; /* light warm */
  --warm-200: #FFE8D6; /* warm card bg */
  --warm-300: #FFD7BA; /* accents */
  --border: #E8D8CC;
  --shadow-sm: 0 2px 10px rgba(15, 27, 46, 0.06);
  --shadow-md: 0 6px 24px rgba(15, 27, 46, 0.08);
  --shadow-lg: 0 10px 32px rgba(15, 27, 46, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Trebuchet MS", Verdana, Geneva, sans-serif;
  color: var(--brand-primary);
  line-height: 1.25;
  margin: 0 0 16px 0;
}
h1 { font-size: 32px; letter-spacing: -0.2px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p { margin: 0 0 16px 0; color: var(--text); }
small, .muted { color: var(--muted); }

/* ===== GLOBAL LAYOUT HELPERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;              /* Flexbox required */
  flex-direction: column;     /* Mobile-first */
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
section {
  padding: 20px 0;
  background: transparent;
}
section:nth-of-type(even) { background: var(--warm-100); }

/* ===== MANDATORY SPACING & ALIGNMENT PATTERNS ===== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ===== HEADER & NAVIGATION ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img { height: 36px; width: auto; }
header nav {
  display: none; /* hidden on mobile */
  align-items: center;
  gap: 16px;
}
header nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background-color .2s ease, color .2s ease;
  color: var(--brand-primary);
}
header nav a:hover { background: var(--warm-100); color: #0C2A3F; }

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px; /* friendly rounded pill */
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand-secondary);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: white;}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { box-shadow: var(--shadow-md), 0 0 0 3px rgba(43, 197, 212, .45); }

.btn-secondary {
  background: var(--warm-200);
  color: var(--brand-primary);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--warm-300); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-secondary:active { transform: translateY(0); }

/* Trust badges & icon highlights */
.trust-badges, .icon-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-badges span, .icon-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--brand-primary);
}
.trust-badges img, .icon-highlights img { width: 18px; height: 18px; }

/* Stats counters */
.stats-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.stats-counters > div {
  background: var(--warm-200);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--brand-primary);
}

/* Key page links list */
.key-pages-links { display: flex; flex-wrap: wrap; gap: 12px; padding-left: 0; list-style: none; }
.key-pages-links a {
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brand-primary);
}
.key-pages-links a:hover { background: var(--warm-100); }

/* ===== CARDS & FLEX LISTS ===== */
.service-cards, .course-cards-grid, .path-cards-list, .project-summaries-list, .career-transitions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-cards > div, .course-cards-grid > div, .path-cards-list > div, .project-summaries-list > div {
  flex: 1 1 260px; /* responsive columns via flex-wrap */
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-cards > div:hover, .course-cards-grid > div:hover, .path-cards-list > div:hover, .project-summaries-list > div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Testimonials (readable dark text on light bg) */
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-left: 6px solid var(--warm-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.testimonial-card blockquote {
  margin: 0;
  color: var(--brand-primary);
  font-style: italic;
}
.student-info { color: var(--muted); font-weight: 600; }

/* Ratings & notes */
.ratings-breakdown, .short-case-notes {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  background: var(--warm-200);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--brand-primary);
}

/* Lists with friendly bullets */
ul.benefit-list, ul.supporting-points, ul.alumni-list, ul.mentoring-points, ul.milestones {
  list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 10px;
}
ul.benefit-list li, ul.supporting-points li, ul.alumni-list li, ul.mentoring-points li, ul.milestones li {
  display: flex; align-items: flex-start; gap: 8px;
}
ul.benefit-list li::before, ul.supporting-points li::before, ul.alumni-list li::before, ul.mentoring-points li::before, ul.milestones li::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px;
  background: var(--warm-300);
  margin-top: 7px;
}

/* Steps timeline */
.steps-timeline { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 12px; }
.steps-timeline li {
  display: flex; align-items: center; gap: 12px;
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 14px; box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.steps-timeline li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--warm-300); color: #5a320e; font-weight: 700;
}

/* Address styling */
address { font-style: normal; background: #58585849; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }
address a { color: var(--brand-primary); text-decoration: underline; }

/* ===== TABLES ===== */
table { width: 100%; border-collapse: collapse; background: #FFFFFF; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #F0E6DC; }
th { background: var(--warm-200); color: var(--brand-primary); font-weight: 700; }
tr:nth-child(even) td { background: #FFFAF6; }
tr:hover td { background: var(--warm-100); }

/* ===== FOOTER ===== */
footer { background: var(--brand-primary); color: #EAF6F7; }
footer a { color: #EAF6F7; }
footer a:hover { color: #9BE8F0; }
footer .container { padding-top: 28px; padding-bottom: 28px; }
footer .content-wrapper { display: flex; flex-direction: column; gap: 16px; }
.footer-links, .footer-policy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.newsletter { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-md); padding: 12px 14px; }
.social-links { display: flex; gap: 12px; }
.social-links a { display: inline-flex; padding: 8px; background: rgba(255,255,255,0.08); border-radius: 999px; transition: transform .2s ease, background-color .2s ease; }
.social-links a:hover { transform: translateY(-2px); background: rgba(255,255,255,0.18); }

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;               /* overlay uses flex */
  flex-direction: column;
  background: #FFFFFF;
  transform: translateX(100%);
  transition: transform .35s ease;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute; /* allowed for overlay control */
  top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border);
  background: #FFFFFF; color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.mobile-nav { display: flex; flex-direction: column; gap: 12px; padding: 72px 24px 24px; }
.mobile-nav a { padding: 12px 14px; border-radius: 10px; background: var(--warm-100); border: 1px solid var(--border); color: var(--brand-primary); }
.mobile-nav a:hover { background: var(--warm-200); }

/* Hide desktop nav and CTA on mobile, show on desktop */
@media (min-width: 992px) {
  header nav { display: flex; }
  header .cta-buttons { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 2500;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn-primary { padding: 10px 16px; }
.cookie-banner .btn-secondary { padding: 10px 16px; }
.cookie-banner .btn-tertiary { background: transparent; border: 1px dashed var(--border); color: var(--brand-primary); border-radius: 999px; padding: 10px 16px; }

/* Cookie modal overlay */
.cookie-modal {
  position: fixed; inset: 0; /* top0 right0 bottom0 left0 */
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 27, 46, 0.55);
  z-index: 3000;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal .cookie-dialog {
  width: 100%; max-width: 680px;
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: 16px; padding: 20px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 14px;
}
.cookie-dialog .cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F0E6DC; }
.cookie-dialog .cookie-row:last-child { border-bottom: none; }
.cookie-toggle { display: inline-flex; align-items: center; gap: 8px; }
.cookie-toggle input[type="checkbox"] { width: 18px; height: 18px; }
.cookie-dialog .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ===== UTILITIES ===== */
.hr { height: 1px; background: var(--border); margin: 12px 0; }
.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: var(--warm-200); border: 1px solid var(--border); color: var(--brand-primary); }

/* ===== RESPONSIVE TWEAKS ===== */
@media (min-width: 600px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
}
@media (min-width: 768px) {
  .text-image-section { flex-direction: row; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
}

/* ===== PAGE-SPECIFIC ENHANCEMENTS ===== */
/* Course cards labels */
.course-cards-grid > div span { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--warm-100); border: 1px solid var(--border); color: var(--brand-primary); margin-right: 8px; margin-bottom: 8px; }

/* Career transitions wrapper that contains a UL and P */
.career-transitions-list { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-sm); }
.career-transitions-list ul { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.career-transitions-list li { display: flex; gap: 8px; }
.career-transitions-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--warm-300); margin-top: 7px; }

/* Ratings emphasis */
.ratings-breakdown span { font-weight: 600; }

/* Newsletter paragraphs spacing */
.newsletter p { margin: 0; color: #EAF6F7;}

/* ===== HOVER MICRO INTERACTIONS ===== */
.service-cards a.btn-primary, .course-cards-grid a.btn-primary, .path-cards-list a.btn-primary, .project-summaries-list a.btn-primary { align-self: flex-start; }

/* ===== ACCESSIBILITY & CONTRAST NOTES ===== */
/* Testimonials and reviews use light backgrounds with dark text for legibility */

/* ===== PRINT SAFE ===== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #FFFFFF; color: #000; }
}

/* ===== ENSURE NO OVERLAPPING & CONSISTENT GAPS ===== */
section .container > * + * { margin-top: 0; }

/* ===== END ===== */
