/* ═══════════════════════════════════════════════
   DIGIINK — ACADEMIC GUIDANCE IRELAND
   style.css | Poppins | #0b3a6f + #1ed693
═══════════════════════════════════════════════ */

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fb;
  color: #333;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Display heading font — distinct from body, used deliberately on major headings only */
.hero-left h1,
.section-header h2,
.expertise-right h2,
.cta-left h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-left h1 { font-style: italic; }

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  width: 100%;
  background: #0b3a6f;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 12px 0;
  gap: 16px;
}

/* Logo — circular image */
.logo { flex-shrink: 0; }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;          /* ← circular logo */
  border: 2px solid rgba(255,255,255,0.25);
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}
.nav-menu a {
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  transition: 0.3s;
}
.nav-menu a:hover { color: #1ed693; background: rgba(255,255,255,0.06); }

/* WA Icon */
.nav-icons { display: flex; align-items: center; flex-shrink: 0; }
.whatsapp-btn {
  background: #25d366;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}
.whatsapp-btn:hover { background: #1faf56; transform: scale(1.08); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  width: 25px; height: 3px;
  background: white;
  display: block;
  border-radius: 2px;
  transition: 0.35s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 998; opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.mobile-overlay.active { opacity: 1; pointer-events: all; }

/* ── HERO ───────────────────────────────────── */
.hero {
  background: linear-gradient(135deg,#0b3a6f,#0f4d8c);
  padding: 120px 0 160px;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2790%27%20height%3D%2790%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%271.6%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M45%2034%20C40%2027%2030%2027%2028%2035%20C26%2043%2034%2047%2045%2040%20C56%2047%2064%2043%2062%2035%20C60%2027%2050%2027%2045%2034%20Z%27/%3E%3Cline%20x1%3D%2745%27%20y1%3D%2740%27%20x2%3D%2745%27%20y2%3D%2758%27/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 90px 90px;
  opacity: 0.07;
  pointer-events: none;
}
.hero-container { position: relative; z-index: 1; }
.hero-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.hero-left { flex: 1; }
.hero-left h1 {
  font-size: clamp(1.8rem, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-left p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; max-width: 520px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
.primary-btn {
  background: #1ed693; color: #05201a;
  padding: 12px 28px; border-radius: 30px;
  font-weight: 600; transition: 0.3s;
  display: inline-flex; align-items: center;
}
.primary-btn:hover { background: #18ab76; transform: translateY(-2px); }
.secondary-btn {
  border: 2px solid white; padding: 12px 28px;
  border-radius: 30px; color: white;
  display: inline-flex; align-items: center;
  transition: 0.3s;
}
.secondary-btn:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat h3 { font-size: 28px; font-weight: 700; color: #1ed693; }
.stat p  { font-size: 14px; opacity: 0.8; }
.hero-offer-banner {
  margin-top: 34px;
  max-width: 480px;
  padding: 20px 24px;
  background: linear-gradient(135deg,#eafbf3,#f2fbf6);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}
.hero-offer-banner .offer-tag {
  font-weight: 700; font-size: 15px;
  color: #0c7a52; margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.hero-offer-banner .offer-desc { font-size: 13px; color: #55705f; margin-bottom: 10px; }
.hero-offer-banner .offer-list { display: flex; flex-direction: column; gap: 6px; }
.hero-offer-banner .offer-list li { font-size: 13px; color: #33443a; display: flex; align-items: flex-start; gap: 8px; }
.hero-offer-banner .offer-list i { color: #0c7a52; margin-top: 2px; font-size: 11px; }

.hero-right { flex: 1; display: flex; justify-content: center; }
.consult-form {
  background: white; padding: 30px;
  border-radius: 10px; width: 380px;
  color: #333;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.consult-form h3 { margin-bottom: 20px; color: #0b3a6f; font-size: 1.1rem; }
.consult-form input,
.consult-form textarea,
.consult-form select {
  width: 100%; padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ddd; border-radius: 6px;
  font-size: 14px; outline: none; transition: 0.3s;
}
.consult-form input:focus,
.consult-form textarea:focus,
.consult-form select:focus { border-color: #0b3a6f; }
.consult-form textarea { resize: vertical; min-height: 80px; }
.consult-form select { appearance: none; cursor: pointer; }
.consent-check {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: #555; line-height: 1.5;
  margin-bottom: 14px; cursor: pointer;
}
.consent-check input[type="checkbox"] {
  width: auto; margin: 2px 0 0 0; flex-shrink: 0; cursor: pointer;
}
.consent-check a { color: #0c7a52; font-weight: 600; text-decoration: underline; }
.consult-form button {
  width: 100%; background: #0b3a6f; color: white;
  padding: 12px; border-radius: 6px;
  font-weight: 600; font-size: 15px; transition: 0.3s;
}
.consult-form button:hover { background: #06294f; }
.hero-wave {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 80px;
  background: #f5f7fb;
  clip-path: ellipse(60% 100% at 50% 100%);
}

/* ── EXPERTISE ──────────────────────────────── */
.expertise-section { padding: 100px 0; background: #ffffff; }
.expertise-container {
  width: 90%; max-width: 1200px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.expertise-container--no-image { justify-content: center; }
.expertise-container--no-image .expertise-right {
  max-width: 720px; text-align: center;
}
.expertise-container--no-image .section-eyebrow { text-align: center !important; }
.expertise-container--no-image .progress-wrapper { text-align: left; }
.expertise-container--no-image .details-btn { margin: 0 auto; }
.expertise-right { flex: 1; }
.expertise-right h2 { font-size: clamp(1.6rem,2.5vw,34px); margin-bottom: 20px; color: #0b3a6f; }
.expertise-right > p { margin-bottom: 30px; color: #555; line-height: 1.7; }
.progress-wrapper { display: flex; flex-direction: column; gap: 0; }
.progress-item { margin-bottom: 20px; }
.progress-item span { font-weight: 500; display: block; margin-bottom: 8px; font-size: 14px; color: #333; }
.progress-bar { width: 100%; height: 8px; background: #eee; border-radius: 20px; overflow: hidden; }
.progress-fill {
  height: 100%; background: #1ed693; border-radius: 20px;
  width: 0; transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.fill1.animated { width: 85%; }
.fill2.animated { width: 90%; }
.fill3.animated { width: 80%; }
.details-btn {
  display: inline-block; margin-top: 20px;
  background: #0b3a6f; color: #fff;
  padding: 12px 28px; border-radius: 30px;
  font-weight: 500; transition: 0.3s;
}
.details-btn:hover { background: #06294f; transform: translateY(-2px); }

/* Section Header */
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #0c7a52; margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.6rem,2.5vw,34px); color: #0b3a6f; margin-bottom: 15px; }
.section-header p  { color: #666; max-width: 650px; margin: auto; line-height: 1.7; }

/* ── GUIDANCE ───────────────────────────────── */
.guidance-section { padding: 100px 0; background: #f7f9fc; }
.guidance-container { width: 90%; max-width: 1200px; margin: auto; }
.guidance-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 30px;
}
.guidance-card {
  background: white; padding: 35px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center; transition: 0.3s;
}
.guidance-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.guidance-card i   { font-size: 36px; color: #0c7a52; margin-bottom: 20px; display: block; }
.guidance-card h3  { margin-bottom: 12px; font-size: 18px; color: #0b3a6f; }
.guidance-card p   { font-size: 14px; color: #555; line-height: 1.6; }

/* ── PROCESS ────────────────────────────────── */
.process-section { padding: 110px 0; background: white; }
.process-container { width: 90%; max-width: 1200px; margin: auto; }
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; margin-top: 60px;
}
.process-card {
  background: #f8f9fc; padding: 35px; border-radius: 14px;
  text-align: center; transition: 0.3s; position: relative;
}
.process-number {
  position: absolute; top: 18px; right: 22px;
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 26px; color: rgba(11,58,111,0.14);
}
.process-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.process-icon {
  width: 70px; height: 70px; margin: 0 auto 20px;
  border-radius: 50%; background: #0b3a6f;
  display: flex; align-items: center; justify-content: center;
}
.process-icon i { color: white; font-size: 28px; }
.process-card h3 { font-size: 16px; margin-bottom: 10px; color: #0b3a6f; font-weight: 600; }
.process-card p  { font-size: 14px; color: #555; line-height: 1.6; }

/* ── TRUST ──────────────────────────────────── */
.trust-section { padding: 110px 0; background: #f6f8fc; }
.trust-container { width: 90%; max-width: 1200px; margin: auto; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 60px; }
.trust-card {
  background: white; padding: 35px; border-radius: 12px;
  text-align: center; transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.trust-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.trust-card i  { font-size: 36px; color: #0c7a52; margin-bottom: 18px; display: block; }
.trust-card h3 { font-size: 18px; margin-bottom: 10px; color: #0b3a6f; }
.trust-card p  { font-size: 14px; color: #555; line-height: 1.6; }

/* ── DOMAINS ────────────────────────────────── */
.domains-section { padding: 110px 0; background: white; }
.domains-container { width: 90%; max-width: 1200px; margin: auto; }
.domains-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; margin-top: 60px;
}
.domain-card {
  background: #f7f9fc; padding: 35px; border-radius: 14px;
  text-align: center; transition: 0.4s; position: relative; overflow: hidden;
}
.domain-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); background: #0b3a6f; color: white; }
.domain-card i   { font-size: 36px; color: #0c7a52; margin-bottom: 15px; display: block; }
.domain-card:hover i { color: #8ff0c7; }
.domain-card h3  { font-size: 16px; margin-bottom: 10px; color: #0b3a6f; font-weight: 600; }
.domain-card:hover h3 { color: white; }
.domain-card p   { font-size: 14px; color: #666; line-height: 1.6; }
.domain-card:hover p  { color: #ddd; }

/* ── TESTIMONIALS ───────────────────────────── */
.testimonial-section { padding: 110px 0; background: #f7f9fc; }
.testimonial-container { width: 90%; max-width: 1200px; margin: auto; }
.testimonial-slider {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 60px;
}
.testimonial-card {
  background: white; padding: 35px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: 0.3s;
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.stars  { color: #0c7a52; font-size: 18px; margin-bottom: 15px; }
.testimonial-card p  { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 20px; font-style: italic; }
.testimonial-card h4 { color: #0b3a6f; margin-bottom: 5px; font-size: 15px; }
.testimonial-card span { font-size: 13px; color: #777; }

/* ── STATS ──────────────────────────────────── */
.stats-section {
  padding: 100px 0; background: #0b3a6f;
  position: relative; color: white; overflow: hidden;
}
.stats-section::before {
  content: ""; position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
  top: -100px; left: -100px;
}
.stats-section::after {
  content: ""; position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
  bottom: -100px; right: -80px;
}
.stats-container {
  width: 90%; max-width: 1200px; margin: auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 30px; text-align: center; position: relative; z-index: 2;
}
.stat-box { padding: 20px; }
.stat-box i  { font-size: 38px; color: #1ed693; margin-bottom: 15px; display: block; }
.stat-box h2 { font-size: 40px; font-weight: 700; margin-bottom: 10px; }
.stat-box p  { font-size: 16px; opacity: 0.9; }

/* ── FAQ ────────────────────────────────────── */
.faq-section { padding: 110px 0; background: #f7f9fc; }
.faq-container { width: 90%; max-width: 900px; margin: auto; }
.faq-wrapper { margin-top: 50px; }
.faq-item {
  background: white; border-radius: 10px;
  margin-bottom: 15px; overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.faq-question {
  width: 100%; padding: 18px 25px;
  border: none; background: #eef1ff;
  font-size: 15px; font-weight: 600; text-align: left;
  cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  color: #0b3a6f; transition: 0.3s;
}
.faq-question:hover { background: #e0e5ff; }
.faq-icon { font-size: 20px; color: #0b3a6f; transition: transform 0.3s; flex-shrink: 0; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  background: white; padding: 0 25px;
}
.faq-answer p { padding: 18px 0; color: #555; line-height: 1.6; font-size: 14px; }

/* ── CTA + CONTACT ──────────────────────────── */
.cta-contact-section {
  padding: 110px 0;
  background: linear-gradient(135deg,#0b3a6f,#0f4d8c);
  color: white;
  position: relative; overflow: hidden;
}
.cta-contact-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2790%27%20height%3D%2790%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%271.6%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M45%2034%20C40%2027%2030%2027%2028%2035%20C26%2043%2034%2047%2045%2040%20C56%2047%2064%2043%2062%2035%20C60%2027%2050%2027%2045%2034%20Z%27/%3E%3Cline%20x1%3D%2745%27%20y1%3D%2740%27%20x2%3D%2745%27%20y2%3D%2758%27/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 90px 90px;
  opacity: 0.07;
  pointer-events: none;
}
.cta-container { position: relative; z-index: 1; }
.cta-container {
  width: 90%; max-width: 1200px; margin: auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 60px;
}
.cta-left { flex: 1; }
.cta-left h2 { font-size: clamp(1.6rem,2.5vw,36px); margin-bottom: 20px; }
.cta-left p  { line-height: 1.7; margin-bottom: 25px; opacity: 0.9; }
.cta-left ul { list-style: none; }
.cta-left li { margin-bottom: 10px; font-size: 15px; }
.cta-left i  { color: #1ed693; margin-right: 8px; }
.cta-form {
  flex: 1; background: white; color: #333;
  padding: 35px; border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.cta-form h3 { margin-bottom: 20px; color: #0b3a6f; font-size: 1.1rem; }
.cta-form input,
.cta-form textarea,
.cta-form select {
  width: 100%; padding: 12px; margin-bottom: 15px;
  border: 1px solid #ddd; border-radius: 6px;
  font-size: 14px; outline: none; transition: 0.3s;
}
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus { border-color: #0b3a6f; }
.cta-form textarea { height: 100px; resize: none; }
.cta-form select { appearance: none; cursor: pointer; }
.cta-form button {
  width: 100%; padding: 12px; background: #1ed693; color: #05201a;
  border: none; border-radius: 6px;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: 0.3s;
}
.cta-form button:hover { background: #18ab76; }

/* ── FOOTER ─────────────────────────────────── */
.footer-section {
  background: #0b3a6f; color: white;
  position: relative; padding-top: 0; overflow: hidden;
}
.footer-section::before {
  content: ""; position: absolute; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 20% 40%, rgba(255,255,255,0.07) 2px, transparent 2px),
    radial-gradient(circle at 60% 60%, rgba(255,255,255,0.05) 2px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.06) 2px, transparent 2px);
  background-size: 120px 120px; opacity: 0.4;
}
.footer-wave { position: relative; line-height: 0; }
.footer-wave svg { display: block; width: 100%; height: 120px; }
.footer-container {
  width: 90%; max-width: 1200px; margin: auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 40px; position: relative; z-index: 2;
  padding: 20px 0 60px;
}
.footer-col h3 {
  margin-bottom: 20px; font-size: 16px;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  padding-bottom: 6px;
}
.footer-col p { font-size: 14px; margin-bottom: 10px; opacity: 0.85; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: white; text-decoration: none; opacity: 0.88; font-size: 14px; transition: 0.2s; }
.footer-col ul li a:hover { opacity: 1; padding-left: 4px; }
.newsletter {
  display: flex; margin-bottom: 20px;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}
.newsletter input {
  flex: 1; padding: 10px 14px; border: none;
  background: rgba(255,255,255,0.1);
  color: white; font-size: 14px; outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter button {
  border: none; background: #1ed693;
  padding: 10px 15px; cursor: pointer;
  font-size: 15px; transition: 0.3s;
}
.newsletter button:hover { background: #18ab76; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: 0.3s; color: white; font-size: 15px;
}
.social-icons a:hover { background: #1ed693; color: black; transform: translateY(-3px); }
.footer-bottom {
  margin-top: 0; text-align: center;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px; position: relative; z-index: 2;
  opacity: 0.85;
}

/* ── FLOATING WA + SCROLL TOP ───────────────── */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 52px; height: 52px; background: #25d366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem; z-index: 999;
  box-shadow: 0 6px 22px rgba(37,211,102,0.44);
  transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,0.55); }
.scroll-top {
  position: fixed; bottom: 90px; right: 26px;
  width: 42px; height: 42px;
  background: #0b3a6f; color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; z-index: 999;
  opacity: 0; transform: translateY(20px);
  transition: 0.3s; box-shadow: 0 4px 16px rgba(0,0,0,0.2); pointer-events: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover   { background: #06294f; transform: translateY(-2px); }

/* ── DISSERTATION STRUCTURE FLOWCHART ────────── */
.structure-section {
  padding: 110px 0 100px; background: #f7f9fc;
  position: relative; overflow: hidden;
}
.structure-section::before {
  content: ""; position: absolute; width: 380px; height: 380px;
  background: rgba(11,58,111,0.04); border-radius: 50%;
  top: -140px; right: -120px; pointer-events: none;
}
.structure-section::after {
  content: ""; position: absolute; width: 320px; height: 320px;
  background: rgba(30,214,147,0.06); border-radius: 50%;
  bottom: -100px; left: -100px; pointer-events: none;
}
.structure-container { width: 90%; max-width: 1100px; margin: auto; position: relative; z-index: 2; }

.flow-wrapper { position: relative; padding: 30px 0 10px; }

/* Animated flowing spine */
.flow-spine {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 4px;
  transform: translateX(-50%); border-radius: 4px; z-index: 1;
  background: repeating-linear-gradient(180deg, #0b3a6f 0 10px, rgba(11,58,111,0.15) 10px 22px);
  background-size: 4px 44px;
  animation: flowSpineMove 1.1s linear infinite;
}
@keyframes flowSpineMove { from { background-position: 0 0; } to { background-position: 0 44px; } }

.flow-pulse {
  position: absolute; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  background: #1ed693; border-radius: 50%; z-index: 2; top: 0;
  box-shadow: 0 0 0 4px rgba(30,214,147,0.18), 0 0 16px 4px rgba(30,214,147,0.55);
  animation: pulseTravel 7s linear infinite;
}
.flow-pulse.p2 { animation-delay: -2.33s; }
.flow-pulse.p3 { animation-delay: -4.66s; }
@keyframes pulseTravel {
  0%   { top: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Endpoint nodes: Abstract / References / Appendices */
.flow-endpoint {
  position: relative; z-index: 3; width: 240px; margin: 0 auto 44px;
  background: linear-gradient(135deg,#0b3a6f,#123f7a); color: #fff;
  border-radius: 16px; padding: 22px 22px; text-align: center;
  box-shadow: 0 15px 36px rgba(11,58,111,0.28); border: 3px solid #f7f9fc;
}
.flow-endpoint i { font-size: 24px; color: #1ed693; margin-bottom: 8px; display: block; }
.flow-endpoint h3 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.flow-endpoint p { font-size: 12px; color: rgba(255,255,255,0.72); line-height: 1.5; }
.flow-endpoint.chained { margin-bottom: 0; }
.flow-endpoint-gap { height: 44px; }

/* Chapter rows */
.flow-chapter {
  display: grid; grid-template-columns: 1fr 92px 1fr; align-items: center;
  column-gap: 22px; margin-bottom: 54px; position: relative; z-index: 3;
}
.flow-node-col { position: relative; display: flex; justify-content: center; grid-column: 2; }
.flow-chapter.right .chapter-card { grid-column: 3; }
.flow-chapter.left  .chapter-card { grid-column: 1; }

.chapter-node {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(145deg,#0b3a6f,#123f7a);
  display: flex; align-items: center; justify-content: center; position: relative;
  box-shadow: 0 10px 26px rgba(11,58,111,0.4); border: 4px solid #f7f9fc;
  transition: 0.3s;
}
.flow-chapter:hover .chapter-node { transform: scale(1.07); box-shadow: 0 14px 34px rgba(11,58,111,0.5); }
.chapter-node i { color: #fff; font-size: 24px; }
.chapter-node .node-num {
  position: absolute; top: -8px; right: -8px; background: #1ed693; color: #05201a;
  font-size: 11px; font-weight: 700; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25); border: 2px solid #f7f9fc;
}

.flow-chapter.right .flow-node-col::after,
.flow-chapter.left  .flow-node-col::before {
  content: ""; position: absolute; top: 50%; height: 2px; width: 22px;
  background: linear-gradient(90deg,#0b3a6f,#1ed693); transform: translateY(-50%);
}
.flow-chapter.left .flow-node-col::before { background: linear-gradient(270deg,#0b3a6f,#1ed693); }
.flow-chapter.right .flow-node-col::after { left: 100%; }
.flow-chapter.left  .flow-node-col::before { right: 100%; }

.chapter-card {
  background: #fff; border-radius: 14px; padding: 26px 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.07); transition: 0.3s;
}
.chapter-card:hover { transform: translateY(-6px); box-shadow: 0 18px 42px rgba(0,0,0,0.12); }
.chapter-card h3 {
  color: #0b3a6f; font-size: 16.5px; font-weight: 600; margin-bottom: 13px;
  padding-bottom: 12px; border-bottom: 1px dashed #e2e6ee;
}
.chapter-card ul { display: flex; flex-direction: column; gap: 8px; }
.chapter-card ul li {
  font-size: 13.3px; color: #555; line-height: 1.5; padding-left: 22px; position: relative;
}
.chapter-card ul li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #0c7a52;
  font-size: 10px; position: absolute; left: 0; top: 4px;
}
.chapter-card.align-right { text-align: right; }
.chapter-card.align-right ul li { padding-left: 0; padding-right: 22px; }
.chapter-card.align-right ul li::before { left: auto; right: 0; }

.structure-cta { text-align: center; margin-top: 20px; position: relative; z-index: 3; }
.structure-cta p { color: #666; margin-bottom: 18px; font-size: 14.5px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .domains-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 1000px) {
  .guidance-grid    { grid-template-columns: repeat(2,1fr); }
  .process-grid     { grid-template-columns: repeat(2,1fr); }
  .trust-grid       { grid-template-columns: repeat(2,1fr); }
  .stats-container  { grid-template-columns: repeat(2,1fr); }
  .testimonial-slider { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .hero-container   { flex-direction: column; }
  .hero-right       { display: none; }
  .expertise-container { flex-direction: column; text-align: center; }
  .cta-container    { flex-direction: column; text-align: center; }
  .cta-left ul      { padding-left: 0; }
  .footer-container { grid-template-columns: repeat(2,1fr); }
  .domains-grid     { grid-template-columns: repeat(2,1fr); }

  /* Structure flowchart collapses to a single left-aligned rail */
  .flow-spine, .flow-pulse { left: 28px; }
  .flow-endpoint { width: 200px; }
  .flow-chapter {
    grid-template-columns: 56px 1fr; column-gap: 16px; margin-bottom: 40px;
  }
  .flow-node-col { grid-column: 1 !important; justify-content: flex-start; }
  .flow-chapter.right .chapter-card,
  .flow-chapter.left  .chapter-card { grid-column: 2 !important; text-align: left; }
  .chapter-card.align-right { text-align: left; }
  .chapter-card.align-right ul li { padding-left: 22px; padding-right: 0; }
  .chapter-card.align-right ul li::before { left: 0; right: auto; }
  .flow-chapter.right .flow-node-col::after,
  .flow-chapter.left  .flow-node-col::before { display: none; }
  .chapter-node { width: 56px; height: 56px; }
  .chapter-node i { font-size: 18px; }
  .chapter-node .node-num { width: 20px; height: 20px; font-size: 10px; top: -6px; right: -6px; }
  .chapter-card { padding: 20px 20px; }
}

@media (max-width: 768px) {
  /* Hamburger visible */
  .hamburger { display: flex; }
  /* WA icon hidden on mobile — floating btn handles it */
  .nav-icons { display: none; }

  /* Nav drawer — slides from right */
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(280px, 80vw); height: 100vh;
    background: #0b3a6f;
    flex-direction: column; align-items: flex-start;
    padding: 80px 22px 28px;
    gap: 2px; z-index: 999;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -6px 0 40px rgba(0,0,0,0.4);
    margin-left: 0;
  }
  .nav-menu.open { right: 0; }
  .mobile-overlay { display: block; }
  .nav-menu li { width: 100%; }
  .nav-menu li a {
    display: block; padding: 12px 14px;
    font-size: 15px; border-radius: 8px;
    color: rgba(255,255,255,0.85);
  }
  .nav-menu li a:hover { background: rgba(255,255,255,0.08); color: #1ed693; }

  .hero { padding: 80px 0 120px; }
  .hero-stats { gap: 20px; }
  .hero-left h1 { font-size: 1.9rem; }
}

@media (max-width: 600px) {
  .guidance-grid    { grid-template-columns: 1fr; }
  .process-grid     { grid-template-columns: 1fr; }
  .trust-grid       { grid-template-columns: 1fr; }
  .domains-grid     { grid-template-columns: 1fr; }
  .testimonial-slider { grid-template-columns: 1fr; }
  .stats-container  { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .social-icons     { justify-content: center; }
  .newsletter       { justify-content: center; }
  .hero-buttons     { flex-direction: column; }
  .section-header h2 { font-size: 1.5rem; }
}
/* ── FOOTER LEGAL LINKS ──────────────────────── */
.footer-legal-links { margin-top: 6px; font-size: 13px; opacity: 0.75; }
.footer-legal-links a { text-decoration: underline; }
.footer-legal-links a:hover { color: #1ed693; }

/* ── COOKIE CONSENT BANNER ───────────────────── */
.cookie-consent {
  position: fixed; left: 20px; right: 20px; bottom: -200px;
  max-width: 720px; margin: 0 auto;
  background: #0b1f38; color: #fff;
  border-radius: 12px; padding: 20px 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  z-index: 3000; transition: bottom 0.5s ease;
}
.cookie-consent.visible { bottom: 20px; }
.cookie-consent p { flex: 1; min-width: 240px; font-size: 13.5px; line-height: 1.6; opacity: 0.9; }
.cookie-consent p a { color: #1ed693; text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 18px; border-radius: 6px; font-weight: 600;
  font-size: 13.5px; cursor: pointer; transition: 0.3s; border: none;
}
.cookie-btn-solid { background: #1ed693; color: #05201a; }
.cookie-btn-solid:hover { background: #18ab76; }
.cookie-btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.cookie-btn-outline:hover { border-color: #fff; }

@media (max-width: 600px) {
  .cookie-consent { flex-direction: column; align-items: stretch; left: 12px; right: 12px; padding: 18px; }
  .cookie-consent-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* ── LEGAL PAGES (Privacy Policy / Terms) ────── */
.legal-page { padding: 140px 0 90px; background: #fff; }
.legal-container { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.legal-page h1 {
  font-family: 'Fraunces', serif; font-weight: 600;
  color: #0b3a6f; font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}
.legal-updated { color: #888; font-size: 13.5px; margin-bottom: 30px; }
.legal-page h2 {
  color: #0b3a6f; font-size: 1.15rem; font-weight: 700;
  margin: 34px 0 12px;
}
.legal-page p { color: #444; line-height: 1.8; margin-bottom: 14px; }
.legal-page ul { margin: 0 0 14px 4px; }
.legal-page ul li {
  color: #444; line-height: 1.8; padding-left: 22px; position: relative; margin-bottom: 8px;
}
.legal-page ul li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: #0c7a52; font-size: 11px; position: absolute; left: 0; top: 6px;
}
.legal-page a { color: #0c7a52; font-weight: 600; text-decoration: underline; }
.legal-note {
  margin-top: 40px; padding: 16px 18px; background: #f7f9fc;
  border-left: 4px solid #1ed693; border-radius: 8px;
  font-size: 13px; color: #666; font-style: italic;
}
