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

:root {
  /* Core Brand */
  --blue: #ffd900;
  --blue-dark: #85cc00;
  --blue-deep: #64a300;
  --blue-tint: #DEE2FB;
  --blue-fade: rgba(0, 26, 255, 0.08);
  --blue-fade2: rgba(0, 26, 255, 0.14);
  --blue-border: rgba(0, 26, 255, 0.15);

  /* Dark Surfaces */
  --navy-mid: #550634;
  --navy-card: #3b0a4a;
  --navy-hover: #0E2060;
  --navy: #0a1628;

  /* Alert */
  --red: #FF0000;
  --red-fade: rgba(255, 0, 0, 0.08);
  --red-border: rgba(255, 0, 0, 0.2);

  /* Neutrals */
  --bg: #F7F8FE;
  --bg-alt: #f8fafc;
  --surface: #FFFFFF;
  --ink: #0A0D1E;
  --ink2: rgba(10, 13, 30, 0.60);
  --ink3: rgba(10, 13, 30, 0.35);
  --ink4: rgba(10, 13, 30, 0.18);
  --gray: #6b7280;
  --light: #f9f7f3;

  /* Utility */
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(0, 26, 255, 0.07);
  --shadow: 0 4px 28px rgba(0, 26, 255, 0.10);
  --shadow-lg: 0 12px 48px rgba(0, 26, 255, 0.14);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --border: rgba(201, 168, 76, 0.25);

  /* Success */
  --green: #0d7a3e;
  --green-fade: rgba(13, 122, 62, 0.08);

  /* Secondary Brand */
  --deep: #001aff1e;
  --sec-color: #ff0000b2;
  --sec-color-light: #e8c96e;
  --cream: #f5f0e8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-alt);
  color: var(--white);
  overflow-x: hidden;
}

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: .4;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 90px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  background: radial-gradient(circle at top left, rgba(38, 56, 217, 0.08), transparent 35%), var(--bg);
}

.hero-left {
  position: relative;
  z-index: 3;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.hero-left h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -2px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-left h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero-left p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 38px;
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: .35s ease;
  box-shadow: 0 15px 35px rgba(38, 56, 217, 0.18);
}

.btn-primary:hover {
  transform: translateY(-4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 16px;
  background: #fff;
  color: var(--primary);
  border: 1px solid #dbe4ff;
  text-decoration: none;
  font-weight: 600;
  transition: .35s ease;
}

.btn-ghost:hover {
  background: var(--primary-soft);
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-stat .label {
  color: var(--muted);
  font-size: 14px;
}

.hero-right {
  position: relative;
  z-index: 2;
}

.hero-card-main {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

.hero-card-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.hero-card-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.05));
}

.floating-badge {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  color: var(--text);
  font-weight: 600;
}

.floating-badge span {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
}

/* SECTION WRAPPER */
section {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
}

section.light {
  background: var(--cream);
  color: var(--navy);
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sec-color);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sec-color);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--white);
}

.section-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
}

section.light .section-sub {
  color: rgba(10, 22, 40, 0.6);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(201, 168, 76, 0.5);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sec-color), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.service-icon-wrap svg {
  height: 25px;
  width: 25px;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--pri-color-deep);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--pri-color-deep);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pri-color-light);
  color: var(--pri-color-deep);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.service-requirements {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 24px;
}

.req-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sec-color);
  margin-bottom: 16px;
}

.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.req-list li {
  font-size: 0.85rem;
  color: var(--pri-color-deep);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.req-list li::before {
  content: '✓';
  color: var(--sec-color);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-big-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  color: rgba(10, 22, 40, 0.08);
  line-height: 1;
  position: absolute;
  top: -30px;
  left: -20px;
  pointer-events: none;
  user-select: none;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.about-feature {
  background: white;
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature-icon svg {
  height: 18px;
  width: 18px;
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.82rem;
  color: rgba(10, 22, 40, 0.55);
  line-height: 1.5;
}

.about-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.about-stat {
  background: var(--navy);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.about-stat .n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat .l {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 28px;
}

.tab {
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: rgba(10, 22, 40, 0.5);
}

.tab.active {
  background: var(--navy);
  color: white;
}

.tab-content {
  display: none;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(10, 22, 40, 0.65);
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WHY US */
 /* ── WHY US ── */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
  }
 /* MAIN CARD */
.why-card {
  width: 100%;
  height: 250px;
  perspective: 1000px;
}

/* INNER FLIP WRAPPER */
.why-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

/* FLIP ON HOVER */
.why-card:hover .why-card-inner {
  transform: rotateY(180deg);
}

/* FRONT + BACK COMMON STYLE */
.why-card-front,
.why-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 40px 32px;
  box-sizing: border-box;
  border-radius: 16px;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  text-align: center;
}

/* FRONT */
.why-card-front {
  background: #ffffff;
  color: #333333;
  border: 1px solid rgba(201,168,76,0.15);
}

/* BACK */
.why-card-back {
  background: #000EA3;
  color: #ffffff;
  border: 1px solid rgba(201,168,76,0.4);

  transform: rotateY(180deg);
}

/* FORCE ALL TEXT ON BACK TO WHITE */
.why-card-back,
.why-card-back * {
  color: #ffffff !important;
}

/* ICON SIZE */
.why-icon svg {
  width: 25px;
  height: 25px;
  margin-bottom: 16px;
}

/* FRONT ICON */
.why-card-front .why-icon svg path {
 fill:none
}

/* BACK ICON */
.why-card-back .why-icon svg path {
  fill: #FFFFFF;
  color:var(--cream)
}
  .why-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .why-icon{height: 20px; width: 20px;}
  .why-card h3 { color: var(--black-fade); font-family: 'Playfair Display',serif; font-size: 1.2rem; margin-bottom: 12px; }
  .why-card p { font-size: 0.88rem; color: var(--black-fade); line-height: 1.7; }


/* STATS STRIP */
.stats-strip {
  background: var(--pri-color);
  padding: clamp(40px, 5vw, 60px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item .big {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .small {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(10, 22, 40, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--deep);
  border: 1px solid var(--blue-border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.stars {
  color: var(--sec-color);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--sec-color), #8b6914);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.author-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--sec-color) 0%, #8b301448 100%);
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(10, 22, 40, 0.65);
  font-size: 1.05rem;
  margin-bottom: 40px;
  position: relative;
}

.btn-dark {
  background: var(--navy);
  color: white;
  padding: 16px 40px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CONTACT FORM */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info h3 {
  color: var(--black-fade);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--black-fade);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-text-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black-fade);
  margin-bottom: 2px;
}

.contact-text-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black-fade);
}

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--black-fade);
  display: block;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--black-fade);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sec-color);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  background: var(--pri-color);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.2s;
  font-family: 'DM Sans', sans-serif;
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--pri-color-dark);
  transform: translateY(-1px);
}

/* ANIMATE IN */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE OVERRIDES */
@media(max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media(max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 120px 6% 90px;
  }

  .hero-right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }

  .hero-card-main {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) brightness(0.45);
  }

  .hero-card-main::after {
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.88), rgba(248, 250, 252, 0.96));
  }

  .floating-badge {
    display: none;
  }

  .hero-left {
    position: relative;
    z-index: 5;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }

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

  .service-card {
    padding: 1.4rem;
  }

  .service-requirements {
    padding: 0.4rem;
  }

  .service-card.featured {
    grid-template-columns: 1fr;
  }

  .about-feature {
    padding: 0.8rem 1rem;
  }

  .about-grid {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .form {
    padding: 1rem;
  }

  .nav-links,
  .topbar {
    display: none;
  }
}
