@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --purple: #7B2FBE;
  --purple-dark: #5A1F8A;
  --purple-light: #9B59D0;
  --blue: #4A6CF7;
  --blue-light: #6B8FF8;
  --gradient: linear-gradient(135deg, #7B2FBE 0%, #4A6CF7 100%);
  --gradient-dark: linear-gradient(135deg, #5A1F8A 0%, #3355D4 100%);
  --white: #FFFFFF;
  --off-white: #F8F7FF;
  --gray: #6B7280;
  --light-gray: #F3F4F6;
  --dark: #1A1035;
  --border: #E5E0F0;
  --shadow: 0 4px 24px rgba(123,47,190,0.10);
  --shadow-lg: 0 12px 48px rgba(123,47,190,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  box-shadow: 0 2px 16px rgba(123,47,190,0.10);
  border-bottom: 2px solid transparent;
  border-image: var(--gradient) 1;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--purple); background: rgba(123,47,190,0.06); }
.nav-links a.active { color: var(--purple); font-weight: 600; }

.nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(123,47,190,0.25) !important;
}
.nav-cta:hover { opacity: 0.9 !important; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  background: var(--gradient);
  padding: 7rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('/images/hero.jpg') no-repeat center;
  background-size: contain;
  opacity: 0.15;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(74,108,247,0.15) 0%, transparent 50%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  position: relative;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  position: relative;
}

.hero h1 span { color: rgba(255,255,255,0.99); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 6px; }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 700;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: 'Open Sans', sans-serif;
}

.btn-primary {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-purple {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(123,47,190,0.3);
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123,47,190,0.4); }

/* ── AWARD BANNER ── */
.award-banner {
  background: var(--off-white);
  border-top: 3px solid;
  border-image: var(--gradient) 1;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
}

.award-banner p {
  font-size: 0.92rem;
  color: var(--dark);
  font-weight: 600;
}

.award-banner span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--off-white); }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-body {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(123,47,190,0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.service-card p { font-size: 0.93rem; color: var(--gray); line-height: 1.65; }

/* ── ABOUT / CTA SPLIT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-img {
  background: var(--gradient);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 5rem;
  color: rgba(255,255,255,0.8);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Shows entire image */
}

.split-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 60%);
}

/* ── AUDIT DEFENSE ── */
.audit-box {
  background: var(--gradient);
  border-radius: 16px;
  padding: 3rem;
  color: var(--white);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.audit-box .amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  line-height: 1;
  white-space: nowrap;
}

.audit-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.audit-box p { color: rgba(255,255,255,0.80); font-size: 0.95rem; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.stars {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--dark);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
}

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(123,47,190,0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 2px; }
.contact-item-text a { color: var(--dark); text-decoration: none; }
.contact-item-text a:hover { color: var(--purple); }

/* ── FORM ── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123,47,190,0.10);
}

.form-group textarea { height: 120px; resize: vertical; }

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 820px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 3rem 2rem 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 1.5rem;
}

.footer-brand h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; }

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--purple-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-bottom a { color: var(--purple-light); text-decoration: none; }

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(123,47,190,0.08); }
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* Animate to X when open */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

  /* Nav bar */
  nav {
    padding: 0 1rem;
    flex-wrap: wrap;
    height: auto;
    min-height: 68px;
    align-items: center;
  }

  .nav-logo { height: 40px; }

  /* Show hamburger */
  .nav-hamburger { display: flex; }

  /* Mobile menu — hidden by default, slides down when open */
  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--border);
    gap: 0;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0;
    order: 3;
  }

  .nav-links.is-open {
    max-height: 500px;
    padding: 0.75rem 0 1rem;
    box-shadow: 0 8px 24px rgba(123,47,190,0.10);
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a { border-bottom: none; }

  /* CTA button full-width in mobile menu */
  .nav-links .nav-cta {
    margin: 0.75rem 1rem 0;
    display: block;
    text-align: center;
    border-radius: 8px !important;
  }

  /* Page layouts */
  .hero { padding: 4rem 1rem 3rem; }
  .section { padding: 3rem 1rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .audit-box { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── PAGE-SPECIFIC ── */
.page-hero {
  background: var(--gradient);
  padding: 2rem 2rem 3.5rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}

.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }

/* ── RESOURCES PAGE ── */
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.25s;
  text-decoration: none;
  color: var(--dark);
  margin-bottom: 1rem;
}

.resource-card:hover { box-shadow: var(--shadow); transform: translateX(4px); border-color: var(--purple); }

.resource-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(123,47,190,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.resource-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.resource-card p { font-size: 0.85rem; color: var(--gray); }
.resource-card .arrow { margin-left: auto; color: var(--purple); font-size: 1.2rem; }

/* ── ALERTS / SUCCESS ── */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
