/* ============================================================
   INLINE CERTIFICATION — Website Styles
   Brand colours: Navy #0d1b2e | Blue #1a73c8 | Sky #4db8ff | White #fff
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

.section { padding: 90px 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a73c8;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0d1b2e;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #1a73c8;
  color: #fff;
  border-color: #1a73c8;
}
.btn-primary:hover { background: #1562aa; border-color: #1562aa; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,115,200,0.35); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-full { width: 100%; text-align: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 46, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  display: block;
  filter: brightness(0) invert(1);
}

/* Nav links */
.main-nav { display: flex; gap: 8px; }
.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('assets/house.jpg') center center / cover no-repeat;
  padding-top: 72px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,46,0.92) 0%, rgba(13,27,46,0.75) 60%, rgba(26,115,200,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 0;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4db8ff;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
}
.hero-services-list li {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-services-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text p {
  color: #444;
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-highlights {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #0d1b2e;
  font-size: 0.95rem;
}
.highlight-icon {
  width: 28px;
  height: 28px;
  background: #1a73c8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #1a73c8;
  color: #fff;
  padding: 20px 28px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(26,115,200,0.4);
}
.badge-number {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}

/* ============================================================
   DIRECTOR
   ============================================================ */
.director {
  background: #0d1b2e;
  padding: 90px 0;
}

.director-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.director-photo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.director-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #1a2e4a;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(77,184,255,0.15);
}
.director-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.director-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1a73c8, #4db8ff);
  border-radius: 0 0 8px 8px;
}

.director-info .section-label { color: #4db8ff; }

.director-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.director-title-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a73c8;
  margin-bottom: 24px;
}

.director-bio {
  color: rgba(255,255,255,0.75);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.director-credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.director-credentials li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
}
.director-credentials li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #1a73c8;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 0; background: #f5f8fc; }

.services-hero-img {
  position: relative;
  height: 380px;
  overflow: hidden;
}
.services-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,46,0.55) 0%, rgba(13,27,46,0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
}
.services-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 60px 0 80px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border-top: 4px solid #1a73c8;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0d1b2e;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  position: relative;
  padding-left: 18px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
.service-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: #1a73c8;
  font-size: 0.7rem;
  top: 4px;
}

/* ============================================================
   WHAT WE OFFER
   ============================================================ */
.offer { background: #0d1b2e; }

.offer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: start;
}

.offer-text .section-title { color: #fff; }
.offer-text p { color: rgba(255,255,255,0.65); font-size: 1rem; margin-top: 12px; }

.offer-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.offer-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}
.offer-item:last-child { border-bottom: none; }

.offer-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(26,115,200,0.4);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  padding-top: 2px;
}

.offer-detail h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.offer-detail p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: #fff; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-text p {
  color: #555;
  margin-bottom: 36px;
  font-size: 1rem;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-item:hover { border-color: #1a73c8; box-shadow: 0 4px 16px rgba(26,115,200,0.1); }

.contact-icon {
  width: 44px;
  height: 44px;
  background: #1a73c8;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 3px;
}
.contact-value {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0d1b2e;
}

/* Contact Form */
.contact-form-wrap {
  background: #f5f8fc;
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.form-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0d1b2e;
  margin-bottom: 24px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #dde4ef;
  border-radius: 6px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: #0d1b2e;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1a73c8;
  box-shadow: 0 0 0 3px rgba(26,115,200,0.12);
}
.form-group textarea { resize: vertical; }

.form-note {
  font-size: 0.85rem;
  color: #1a73c8;
  margin-top: 12px;
  text-align: center;
  min-height: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #060e1a;
  padding-top: 56px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand { display: flex; align-items: center; }
.footer-logo-img {
  height: 72px;
  width: auto;
  max-width: 300px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.footer-contact a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-contact a:hover { color: #4db8ff; }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { order: -1; }
  .about-img { height: 320px; }
  .about-badge { bottom: -16px; left: 16px; }

  .director-card { grid-template-columns: 1fr; gap: 36px; }
  .director-photo-wrap { max-width: 220px; }

  .services-grid { grid-template-columns: 1fr; }

  .offer-inner { grid-template-columns: 1fr; gap: 40px; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0d1b2e;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 24px; border-radius: 0; }

  .nav-toggle { display: flex; }

  .hero-title { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }

  .services-hero-img { height: 260px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  .footer-links { gap: 16px; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
