:root {
  /* Logo colours */
  --red: #D94350;
  --blue: #5095BF;
  --green: #79A663;
  --yellow: #F2CD5E;

  /* Panel backgrounds */
  --accent-light: #eef5fb;
  --mint-light: #eef7f1;
  --warm-light: #fff6dc;

  --dark: #1f2937;

  --nav-height: 100px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: white;
  color: var(--dark);
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 6px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 100;
}

.navbar.scrolled {
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 80px;
}

.logo img {
  height: 80px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 80px;
  margin-right: 120px;
  margin-top: -12px;
}

.nav-links a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
}

.nav-links a:hover {
  color: #374151;
}

.nav-links a.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 4px;
}

/* MOBILE MENU BUTTON */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #5095BF;
}

@media (max-width: 1024px) {

  /* Navbar layout */
  .navbar {
    justify-content: center;
    padding: 12px 24px;
    z-index: 1000;
  }

  /* Logo centered */
  .logo {
    margin: 0;
  }

  /* Hamburger */
  .menu-toggle {
    display: flex;
    position: absolute;
    right: 24px;
  }

  /* Mobile nav container */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 24px;
    padding: 0;

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-10px);

    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  /* OPEN STATE */
  .nav-links.open {
    max-height: 300px;
    padding: 32px 0;

    opacity: 1;
    transform: translateY(0);
  }

  /* Center nav links */
  .nav-links a {
    margin: 0;
    font-size: 18px;
  }
}
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu-toggle span {
  transition: all 0.3s ease;
}
.menu-toggle {
  z-index: 1001;
}



/* =========================
   HERO (FULL SCREEN)
========================= */

.hero {
  min-height: 100vh;
  background: url("images/hero_child.png") center top / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 40px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 32px 40px;
  border-radius: 24px;
  text-align: center;
  max-width: 640px;
}

.hero-card h1 {
  font-size: 40px;
  margin-bottom: 24px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
}

/* =========================
   FULL-SCREEN PAGE SECTIONS
========================= */

/* Each page section fills the screen but stays WHITE */
#about,
#services,
#contact {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding-top: var(--nav-height);
  scroll-margin-top: var(--nav-height);
    transform: translateY(var(--panel-offset));
}


/* The coloured PANEL inside */
.section {
  max-width: 1100px;
  width: 100%;
  padding: 80px 40px;
  border-radius: 32px;
}

.about-card {
  background: white;
  padding: 32px;
  border-radius: 24px;
}

.about-card h4 {
  color: var(--blue);
  margin-bottom: 8px;
}

.about-card p {
  font-size: 15px;
  line-height: 1.6;
}


/* =========================
   PANEL COLOURS
========================= */

#about .section {
  background: #f0f6fb; /* cooler blue */
}

#services .section {
  background: #e5f8e8; /* fresher green */
}


#contact .section {
  background: var(--warm-light);
}

/* =========================
   TYPOGRAPHY
========================= */

.section h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--blue);
}

.section h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--blue);
  display: block;
  margin-top: 12px;
  border-radius: 999px;
}

.section p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 800px;
}

/* =========================
   SERVICES
========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border-top: 6px solid var(--blue);
}

/* Slight colour variation for visual rhythm */
.service-card:nth-child(2) { border-top-color: var(--green); }
.service-card:nth-child(3) { border-top-color: var(--yellow); }
.service-card:nth-child(4) { border-top-color: var(--red); }
.service-card:nth-child(5) { border-top-color: var(--blue); }

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--dark);
}

.service-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #374151;
}

.service-card ul {
  padding-left: 16px;
  margin: 0;
}

.service-card li {
  font-size: 13.5px;
  line-height: 1.5;
  color: #4b5563;
  margin-bottom: 6px;
}


/* =========================
   CONTACT
========================= */

/* =========================
   CONTACT SECTION
========================= */

#contact h2 {
  margin-bottom: 16px;
}

#contact p {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
}

/* Contact details block */
.contact-details {
  margin: 32px 0;
}

.contact-details p {
  margin-bottom: 16px;
  font-size: 15px;
  color: #374151;
}

/* Addresses */
.contact-addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 24px 0 32px;
}

.address {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

/* Instagram line */
.contact-social {
  font-size: 15px;
  color: #374151;
  margin-bottom: 40px;
}

/* =========================
   CONTACT SOCIAL ICONS
========================= */

.contact-social-icons {
  display: flex;
  gap: 16px;
  margin: 16px 0 32px;
}

.contact-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(80, 149, 191, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: background 0.2s ease;
}


/* =========================
   SMALL CONTACT FORM
========================= */

.form-intro {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
  max-width: 360px;
}

.contact-form.compact {
  max-width: 360px;
}

.contact-form.compact input,
.contact-form.compact textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  margin-bottom: 10px;
  font-family: inherit;
}

.contact-form.compact textarea {
  resize: none;
}

.contact-form.compact button {
  padding: 10px 18px;
  font-size: 14px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

/* =========================
   CONTACT — MOBILE TWEAKS
========================= */

@media (max-width: 768px) {
  .contact-addresses {
    grid-template-columns: 1fr;
  }

  .contact-form.compact {
    max-width: 100%;
  }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .navbar {
    padding: 16px 24px;
    background: white;
  }

  .logo {
    margin-left: 0;
  }

  .logo img {
    height: 64px;
  }

  .hero-card h1 {
    font-size: 28px;
  }

  #about,
  #services,
  #contact {
    min-height: auto;
    padding: 60px 20px;
  }

  .section {
    padding: 60px 24px;
  }
}

/* Desktop hero image adjustment */
@media (min-width: 1024px) {
  .hero {
    background-position: center -60px;
  }
}

/* SECTION ICONS */
.section-icon {
  margin-bottom: 24px;
}

.section-icon.blue {
  color: var(--blue);
}

.section-icon.green {
  color: var(--green);
}

.section-icon.yellow {
  color: var(--yellow);
}

.section-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.section-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.section-icon.blue {
  background: rgba(80, 149, 191, 0.15);
  color: var(--blue);
}

.section-icon.green {
  background: rgba(121, 166, 99, 0.15);
  color: var(--green);
}

.section-icon.yellow {
  background: rgba(242, 205, 94, 0.2);
  color: #b58a00;
}

/* SERVICE CARD ICONS */
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.service-icon.blue {
  background: rgba(80, 149, 191, 0.15);
  color: var(--blue);
}

.service-icon.green {
  background: rgba(121, 166, 99, 0.15);
  color: var(--green);
}

.service-icon.yellow {
  background: rgba(242, 205, 94, 0.25);
  color: #b58a00;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
}

.contact-info {
  max-width: 520px;
}

.contact-map {
  display: flex;
  align-items: stretch;
}


/* =========================
   FOOTER — PREMIUM
========================= */

.footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 100px 24px 0;
}

/* Main grid */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.5fr;
  gap: 64px;
}

/* Brand */
.footer-brand img {
  height: 52px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 440px;
}

/* Social */
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: rgba(80, 149, 191, 0.15);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Links */
.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--blue);
}

/* Contact */
.footer-contact p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

/* CTA */
.footer-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  margin-top: 64px;
  padding: 32px 24px;
  text-align: center;
}
.footer-credit {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 8px;
}

.footer-credit a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.footer-credit a:hover {
  text-decoration: underline;
}


/* =========================
   FOOTER — MOBILE
========================= */

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-accreditation {
    flex-direction: column;
    gap: 8px;
  }
}

/* =========================
   CONDITIONS
========================= */

.conditions {
  margin-top: 64px;
  max-width: 900px;
}

.conditions h3 {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 16px;
}

.conditions-intro {
  font-size: 16px;
  color: #374151;
  margin-bottom: 32px;
  max-width: 700px;
}

.conditions-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 32px;
  padding: 0;
  margin-bottom: 32px;
}

.conditions-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #4b5563;
}

.conditions-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

.conditions-note {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 700px;
}
@media (max-width: 1024px) {
  .footer-brand {
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }
}
