/* ============================================================
   KOOLA CAPITAL — Main Stylesheet
   Change the colour values below to update across the entire site.
   ============================================================ */

:root {
  --navy: #21487b;
  --navy-dark: #162f52;
  --navy-light: #2a5a9e;
  --gold: #f1b843;
  --gold-hover: #d9a53b;
  --teal: #418b8f;
  --teal-light: #e8f4f4;
  --coral: #de5941;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --light-grey: #f0f1f5;
  --mid-grey: #6b7280;
  --dark-grey: #374151;
  --text: #1f2937;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --section-pad: 80px;
  --container-width: 1140px;
  --nav-height: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--teal); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p { margin-bottom: 1rem; color: var(--dark-grey); }

/* Utility */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }
.section--grey { background: var(--off-white); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3, .section--navy p, .section--navy li { color: var(--white); }
.section__label { display: inline-block; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section__title { margin-bottom: 20px; }
.section__subtitle { font-size: 1.1rem; color: var(--mid-grey); max-width: 640px; margin-bottom: 48px; }
.text-center { text-align: center; }
.text-center .section__subtitle { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700;
  padding: 14px 28px; border-radius: 8px; border: none; cursor: pointer;
  transition: all 0.25s ease; text-decoration: none; line-height: 1;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(241, 184, 67, 0.35); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: #367574; color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(65, 139, 143, 0.35); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(33, 72, 123, 0.25); }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--off-white); color: var(--navy); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--teal .wa-icon { fill: #ffffff; }
.btn--gold .wa-icon { fill: var(--navy); }
.btn--navy .wa-icon { fill: #ffffff; }
.btn--white .wa-icon { fill: var(--teal); }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(33,72,123,0.08); z-index: 1000; transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav__inner { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo:hover { opacity: 0.9; }
.nav__logo-img { height: 40px; width: auto; }
.nav__logo-tree { height: 32px; width: auto; }
.nav__logo-text { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }

.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--dark-grey); text-decoration: none; transition: color 0.2s; position: relative; }
.nav__links a:hover, .nav__links a.active { color: var(--navy); }
.nav__links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--teal); border-radius: 1px; }
.nav__cta { padding: 10px 20px !important; font-size: 0.85rem !important; color: var(--white) !important; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 6px 0; transition: all 0.3s; border-radius: 2px; }
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Hero */
.hero {
  padding-top: calc(var(--nav-height) + 60px); padding-bottom: 60px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 55%, #0a2a4e 100%);
  position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center;
}
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(65,139,143,0.12) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(241,184,67,0.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero__content { color: var(--white); }
.hero__label { display: inline-block; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.hero__title { color: var(--white); margin-bottom: 20px; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero__title span { color: var(--gold); }
.hero__text { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 480px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__image { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.hero__image img { width: 100%; height: 400px; object-fit: cover; }
.hero__image::after { content: ''; position: absolute; inset: 0; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); pointer-events: none; }

.hero--page { min-height: 320px; padding-top: calc(var(--nav-height) + 48px); padding-bottom: 48px; }
.hero--page .hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 600px; }
.hero--page .hero__text { max-width: 540px; }

/* Stats Badge */
.stats-badge { padding: 32px 0; }
.stats-badge__inner { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.stats-badge__item { display: flex; align-items: center; gap: 14px; background: var(--navy); padding: 18px 28px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
.stats-badge__icon { width: 44px; height: 44px; background: rgba(241,184,67,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stats-badge__icon svg { width: 22px; height: 22px; color: var(--gold); }
.stats-badge__text { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--white); line-height: 1.3; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 16px; }
.step { position: relative; padding: 32px 24px; background: var(--white); border-radius: 12px; border: 1px solid var(--light-grey); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.step:hover { box-shadow: 0 8px 24px rgba(33,72,123,0.08); transform: translateY(-2px); }
.step__number { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--teal-light); color: var(--teal); font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; border-radius: 10px; margin-bottom: 16px; }
.step__title { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.step__text { font-size: 0.9rem; color: var(--mid-grey); margin-bottom: 0; line-height: 1.6; }
.step::after { content: ''; position: absolute; top: 54px; right: -18px; width: 36px; height: 2px; background: var(--light-grey); }
.step:last-child::after { display: none; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature { padding: 36px 28px; background: var(--white); border-radius: 12px; border: 1px solid var(--light-grey); transition: box-shadow 0.3s ease; }
.feature:hover { box-shadow: 0 8px 24px rgba(33,72,123,0.06); }
.feature__icon { width: 48px; height: 48px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature__icon svg { width: 24px; height: 24px; color: var(--gold); }
.feature__title { font-size: 1.1rem; margin-bottom: 8px; }
.feature__text { font-size: 0.92rem; color: var(--mid-grey); margin-bottom: 0; line-height: 1.6; }

/* CTA Banner */
.cta-banner { background: var(--navy); padding: 56px 0; text-align: center; }
.cta-banner__title { color: var(--white); margin-bottom: 12px; }
.cta-banner__text { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 16px; }
.team__member { display: flex; gap: 24px; align-items: flex-start; padding: 32px; background: var(--white); border-radius: 12px; border: 1px solid var(--light-grey); }
.team__photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--light-grey); }
.team__name { font-size: 1.1rem; margin-bottom: 2px; }
.team__role { font-size: 0.85rem; color: var(--teal); font-weight: 600; font-family: var(--font-heading); margin-bottom: 8px; }
.team__bio { font-size: 0.9rem; color: var(--mid-grey); margin-bottom: 0; line-height: 1.6; }

/* Service Detail */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }
.service-detail__image { border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.service-detail__image img { width: 100%; height: 320px; object-fit: cover; }
.service-detail__content ul { list-style: none; margin: 16px 0; }
.service-detail__content li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--dark-grey); font-size: 0.95rem; }
.service-detail__content li::before { content: ''; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; background: var(--teal); border-radius: 50%; opacity: 0.2; }
.service-detail__content li::after { content: '✓'; position: absolute; left: 3px; top: 8px; font-size: 0.7rem; color: var(--teal); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--light-grey); }
.faq-item:first-child { border-top: 1px solid var(--light-grey); }
.faq__question { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 20px 0; background: none; border: none; cursor: pointer; font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--navy); text-align: left; line-height: 1.4; gap: 16px; }
.faq__question:hover { color: var(--teal); }
.faq__icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background 0.3s ease; }
.faq-item.open .faq__icon { transform: rotate(45deg); background: var(--teal-light); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq__answer { max-height: 400px; padding-bottom: 20px; }
.faq__answer p { font-size: 0.95rem; color: var(--mid-grey); line-height: 1.7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 16px; }
.contact-methods { display: flex; flex-direction: column; gap: 24px; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--white); border-radius: 12px; border: 1px solid var(--light-grey); }
.contact-method__icon { width: 44px; height: 44px; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method__icon svg { width: 20px; height: 20px; color: var(--teal); }
.contact-method__label { font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 2px; }
.contact-method__value { font-size: 0.9rem; color: var(--mid-grey); margin-bottom: 0; }
.contact-method__value a { color: var(--teal); }

.contact-form { background: var(--off-white); padding: 36px; border-radius: 12px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; font-family: var(--font-body); font-size: 0.95rem; border: 1px solid #d1d5db; border-radius: 8px; background: var(--white); color: var(--text); transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(65,139,143,0.1); }
.form-group textarea { height: 120px; resize: vertical; }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 40px 0 20px; }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-bottom: 28px; }
.footer__logo { height: 64px; width: auto; margin-bottom: 0; filter: brightness(0) invert(1); }
.footer__brand-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--white); }
.footer__heading { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.footer__legal { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 600px; }
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* Cookie Notice */
.cookie-notice { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy-dark); color: rgba(255,255,255,0.85); padding: 16px 24px; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; gap: 20px; z-index: 9999; transform: translateY(100%); transition: transform 0.4s ease; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); }
.cookie-notice.visible { transform: translateY(0); }
.cookie-notice__btn { background: var(--gold); color: var(--navy); border: none; padding: 8px 20px; border-radius: 6px; font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; cursor: pointer; flex-shrink: 0; }

/* Scroll Animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* Tablet */
@media (max-width: 960px) {
  :root { --section-pad: 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__image { max-width: 500px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .service-detail, .service-detail--reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .team { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .stats__number { font-size: 1.3rem; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --section-pad: 40px; --nav-height: 64px; }
  .nav__links { position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--light-grey); transform: translateY(-120%); transition: transform 0.3s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav__links.open { transform: translateY(0); }
  .nav__toggle { display: block; }
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 40px); padding-bottom: 40px; }
  .hero__image { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats-badge__inner { flex-direction: column; align-items: stretch; }
  .stats-badge__item { justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; }
  .team__member { flex-direction: column; align-items: center; text-align: center; }
  .cookie-notice { flex-direction: column; text-align: center; gap: 12px; }
}

/* Trust Badge */
.trust-badge { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid rgba(241,184,67,0.35); border-radius: 20px; background: rgba(241,184,67,0.08); }
.trust-badge__icon { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.trust-badge__text { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600; color: var(--gold); letter-spacing: 0.3px; white-space: nowrap; }

/* Decorative tree */
.hero-tree-decor { position: fixed; top: 12px; right: -8px; width: 70px; height: auto; opacity: 0.14; pointer-events: none; z-index: 999; }
@media (max-width: 768px) { .hero-tree-decor { display: none; } }

/* Case Studies */
.case-study { max-width: 760px; margin: 0 auto; }
.case-study__header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.case-study__tag { display: inline-block; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; padding: 5px 14px; border-radius: 20px; }
.case-study__tag--teal { background: var(--teal-light); color: var(--teal); }
.case-study__tag--coral { background: #fbeae7; color: var(--coral); }
.case-study__location { font-size: 0.8rem; color: var(--mid-grey); font-weight: 500; }
.case-study__title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 24px; line-height: 1.3; }
.case-study__body p { font-size: 1rem; line-height: 1.75; color: var(--dark-grey); }
.case-study__result { margin-top: 24px; padding: 24px 28px; background: var(--teal-light); border-radius: 12px; border-left: 4px solid var(--teal); }
.case-study__result h3 { font-size: 1rem; color: var(--teal); margin-bottom: 8px; }
.case-study__result p { font-size: 0.95rem; color: var(--dark-grey); margin-bottom: 0; line-height: 1.7; }
