/*
Theme Name: Avenycs Sycom Theme
Theme URI: https://avenycssycom.com/
Author: Antigravity
Author URI: https://avenycssycom.com/
Description: A modern, premium business consulting and technology theme built for Avenycs Sycom.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avenycs-sycom
*/

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

:root {
  --blue: #0F4CFF;
  --dark-blue: #072B6B;
  --navy: #041C45;
  --light-blue: #EAF2FF;
  --white: #FFFFFF;
  --text: #1a1a2e;
  --text-muted: #4a5568;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(7,43,107,0.10);
  --shadow-lg: 0 8px 48px rgba(7,43,107,0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,76,255,0.08);
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 2px 24px rgba(7,43,107,0.12);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 14px;
  letter-spacing: -0.5px;
}
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.logo-text span {
  color: var(--blue);
}

.nav-menu-wrap {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  color: white;
  box-shadow: 0 4px 16px rgba(15,76,255,0.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,76,255,0.38);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}
.btn-white {
  background: white;
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 22px;
}

/* ── HERO ── */
#hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 55%, #1a3a8f 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Page Specific Hero Variations */
.home #hero {
  min-height: 100vh;
  padding: 100px 32px 72px;
}
.page-template-template-about #hero {
  min-height: 90vh;
  padding: 140px 32px 90px;
}
.page-template-template-contact #hero {
  min-height: 88vh;
  padding: 140px 32px 80px;
}

#hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,76,255,0.22) 0%, transparent 68%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,76,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* About/Contact Hero spacing adjustment */
.page-template-template-about .hero-inner,
.page-template-template-contact .hero-inner {
  gap: 72px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,76,255,0.28);
  border: 1px solid rgba(91,155,255,0.4);
  color: #93b8ff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4d90ff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

#hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.16;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
#hero h1 .accent {
  color: #5b9bff;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 500px;
}
.page-template-template-contact .hero-sub {
  margin-bottom: 40px;
}

/* About specific hero body content */
.hero-body {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  margin-bottom: 12px;
  max-width: 510px;
}
.hero-body strong {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.hero-divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), #5b9bff);
  margin-bottom: 40px;
}
.page-template-template-about .hero-divider,
.page-template-template-contact .hero-divider {
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.page-template-template-about .hero-cta {
  margin-top: 36px;
}

/* ── HERO TRUST ── */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.page-template-template-about .hero-trust {
  margin-top: 20px;
}
.page-template-template-contact .hero-trust {
  margin-top: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.trust-item i {
  color: #4ade80;
  font-size: 11px;
}
.trust-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.12);
}

/* ── HERO RIGHT: Capability Pillars (Home) ── */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.cap-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 4px;
  padding-left: 2px;
}

.cap-pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 18px 22px;
  backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  animation: pillarIn 0.6s ease both;
  cursor: default;
}
.cap-pillar:hover {
  background: rgba(15,76,255,0.18);
  border-color: rgba(91,155,255,0.35);
  transform: translateX(6px);
}
.cap-pillar:nth-child(2) { animation-delay: 0.08s; }
.cap-pillar:nth-child(3) { animation-delay: 0.16s; }
.cap-pillar:nth-child(4) { animation-delay: 0.24s; }
.cap-pillar:nth-child(5) { animation-delay: 0.32s; }

.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cap-body {
  flex: 1;
  min-width: 0;
}
.cap-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}
.cap-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.cap-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── HERO RIGHT: Pillars (About) ── */
.about-pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 18px 22px;
  backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  animation: pillarIn 0.6s ease both;
}
.about-pillar:hover {
  background: rgba(15,76,255,0.18);
  border-color: rgba(91,155,255,0.35);
  transform: translateX(6px);
}
.about-pillar:nth-child(1) { animation-delay: 0.06s; }
.about-pillar:nth-child(2) { animation-delay: 0.14s; }
.about-pillar:nth-child(3) { animation-delay: 0.22s; }
.about-pillar:nth-child(4) { animation-delay: 0.30s; }
.about-pillar:nth-child(5) { animation-delay: 0.38s; }

@keyframes pillarIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.pillar-body {
  flex: 1;
}
.pillar-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.pillar-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.pillar-num {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
}

/* ── HERO RIGHT: Floating Contact Cards ── */
.hero-visual-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.msg-stack {
  position: relative;
}
.comm-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(10px);
  animation: cardFloat 0.6s ease both;
  transition: background 0.3s, border-color 0.3s;
}
.comm-card:hover {
  background: rgba(15,76,255,0.16);
  border-color: rgba(91,155,255,0.3);
}
.comm-card:nth-child(1) { animation-delay: 0.06s; }
.comm-card:nth-child(2) { animation-delay: 0.14s; }
.comm-card:nth-child(3) { animation-delay: 0.22s; }
.comm-card:nth-child(4) { animation-delay: 0.30s; }

@keyframes cardFloat {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.comm-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.comm-body {
  flex: 1;
}
.comm-title {
  font-size: 13.5px;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}
.comm-text {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ── SECTIONS COMMON ── */
section {
  padding: 96px 32px;
}
.page-template-template-about section,
.page-template-template-contact section {
  padding: 100px 32px;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.eyebrow-blue,
#services .section-eyebrow,
#trusted .section-eyebrow {
  background: rgba(15,76,255,0.08);
  color: var(--blue);
}
.eyebrow-white {
  background: rgba(255,255,255,0.1);
  color: #93b8ff;
  border: 1px solid rgba(255,255,255,0.12);
}

.section-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-template-template-about .section-heading,
.page-template-template-contact .section-heading {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.22;
}

/* ── SECTION 2: TRUSTED PARTNER (Home) ── */
#trusted {
  background: linear-gradient(135deg, var(--light-blue) 0%, #d4e8ff 100%);
  text-align: center;
}
#trusted .inner {
  max-width: 780px;
  margin: 0 auto;
}
#trusted p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 680px;
  margin: 0 auto;
}
#trusted p + p {
  margin-top: 18px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── SECTION 3: SERVICES (Home) ── */
#services {
  background: var(--white);
}
#services .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
#services .section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 400px;
  text-align: right;
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border: 1px solid rgba(15,76,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.28s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #5b9bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15,76,255,0.18);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(15,76,255,0.25);
}
.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: gap 0.2s;
}
.service-card:hover .service-link {
  gap: 10px;
}

/* ── SECTION 4: WHY US (Home features vs Contact why-us) ── */
#why {
  background: var(--light-blue);
}
.home #why {
  background: var(--light-blue);
}
.page-template-template-contact #why {
  background: var(--white);
}

#why .section-header {
  text-align: center;
  margin-bottom: 56px;
}
#why .section-sub-center {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* Home Page Why Us Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(15,76,255,0.06);
  box-shadow: var(--shadow);
  transition: all 0.25s;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(15,76,255,0.1), rgba(15,76,255,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 18px;
  flex-shrink: 0;
}
.feature-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact Page Why Us Grid */
#why .why-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
#why .section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  background: white;
  border: 1px solid rgba(15,76,255,0.08);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.26s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #5b9bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.why-card:hover::before {
  transform: scaleX(1);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(15,76,255,0.1), rgba(15,76,255,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 20px;
}
.why-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

#why .why-statement {
  text-align: center;
  margin-top: 48px;
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ── SECTION: OUR STORY (About) ── */
#story {
  background: var(--white);
}

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

.story-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.story-content p:last-of-type {
  margin-bottom: 0;
}

.story-highlight {
  background: linear-gradient(135deg, var(--light-blue), #d4e8ff);
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.7;
}

.story-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-stat-card {
  background: white;
  border: 1px solid rgba(15,76,255,0.08);
  border-radius: var(--radius);
  padding: 28px 28px;
  box-shadow: var(--shadow);
  transition: all 0.26s;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.story-stat-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), #5b9bff);
}
.story-stat-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(15,76,255,0.25);
}
.stat-text-num {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-text-label {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.story-badge {
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  box-shadow: 0 8px 28px rgba(15,76,255,0.32);
}
.story-badge i {
  font-size: 24px;
  opacity: 0.9;
}
.story-badge-text {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
}
.story-badge-text strong {
  display: block;
  font-size: 17px;
  margin-bottom: 3px;
}

/* ── SECTION: WHAT MAKES US DIFFERENT (About) ── */
#different {
  background: var(--light-blue);
}
#different .diff-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
#different .section-sub {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(15,76,255,0.08);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.28s;
  position: relative;
  overflow: hidden;
}
.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #5b9bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.diff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.diff-card:hover::before {
  transform: scaleX(1);
}

.diff-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 10px 28px rgba(15,76,255,0.28);
}
.diff-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.diff-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── SECTION: VISION & MISSION (About) ── */
#purpose {
  background: var(--white);
}
#purpose .purpose-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vm-card {
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s;
}
.vm-card:hover {
  transform: translateY(-4px);
}
.vm-card.vision {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
  box-shadow: 0 12px 48px rgba(4,28,69,0.35);
}
.vm-card.mission {
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
  box-shadow: 0 12px 48px rgba(15,76,255,0.3);
}
.vm-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.vm-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  position: relative;
  z-index: 1;
}
.vm-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.vm-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.vm-card p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ── SECTION: CORE VALUES (About) ── */
#values {
  background: var(--light-blue);
}
#values .values-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(15,76,255,0.08);
  padding: 36px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.26s;
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #5b9bff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.value-card:hover::after {
  transform: scaleX(1);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.value-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.value-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── SECTION: PARTNERSHIP APPROACH (About) ── */
#partnership {
  background: var(--white);
}

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

.partner-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.partner-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--light-blue);
  border-radius: 10px;
  border: 1px solid rgba(15,76,255,0.07);
  transition: all 0.22s;
}
.feature-row:hover {
  background: white;
  box-shadow: var(--shadow);
  border-color: rgba(15,76,255,0.14);
}
.feature-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(15,76,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 13px;
}
.feature-row-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  padding-top: 4px;
}

.partner-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.partner-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 12px 48px rgba(4,28,69,0.3);
  position: relative;
  overflow: hidden;
}
.partner-panel::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,76,255,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.partner-panel h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.partner-panel p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.partner-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.p-stat {
  text-align: center;
}
.p-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #5b9bff;
  line-height: 1;
}
.p-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
  font-weight: 500;
}

.partner-quote {
  background: white;
  border-radius: var(--radius);
  padding: 28px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,76,255,0.06);
  position: relative;
}
.partner-quote::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 22px;
  font-size: 56px;
  color: rgba(15,76,255,0.1);
  font-family: Georgia, serif;
  line-height: 1;
}
.partner-quote p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  padding-top: 16px;
}
.partner-quote-attr {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-top: 14px;
}

/* ── SECTION: CONTACT INFORMATION (Contact) ── */
#info {
  background: var(--white);
  text-align: center;
}
#info .info-header {
  max-width: 600px;
  margin: 0 auto 52px;
}
#info .section-sub {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: white;
  border: 1px solid rgba(15,76,255,0.08);
  border-radius: var(--radius);
  padding: 40px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.28s;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #5b9bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15,76,255,0.16);
}
.info-card:hover::before {
  transform: scaleX(1);
}

.info-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin: 0 auto 24px;
  box-shadow: 0 10px 28px rgba(15,76,255,0.28);
}
.info-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.info-card .info-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
  word-break: break-word;
}
.info-card .info-value a {
  color: var(--blue);
  text-decoration: none;
}
.info-card .info-value a:hover {
  text-decoration: underline;
}
.info-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── SECTION: CONTACT FORM (Contact) ── */
#form-section {
  background: var(--light-blue);
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.form-intro h2 {
  color: var(--navy);
  margin-bottom: 18px;
}
.form-intro p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.form-intro p + p {
  margin-top: 0;
  margin-bottom: 36px;
}

.form-trust-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,76,255,0.06);
}
.form-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(15,76,255,0.1), rgba(15,76,255,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 16px;
}
.form-trust-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.form-trust-item p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 8px 48px rgba(7,43,107,0.13);
  border: 1px solid rgba(15,76,255,0.06);
}

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

.field-group {
  position: relative;
  margin-bottom: 20px;
}
.field-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  transition: color 0.2s;
}
.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(15,76,255,0.14);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: #f8faff;
  transition: all 0.22s;
  outline: none;
  appearance: none;
}
.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #a0aec0;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(15,76,255,0.08);
}
.field-group:focus-within label {
  color: var(--blue);
}

.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

.form-submit {
  margin-top: 8px;
}
.btn-form {
  width: 100%;
  justify-content: center;
  padding: 15px 28px;
  font-size: 15px;
  border-radius: 10px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-success.show {
  display: block;
}
.form-success i {
  font-size: 48px;
  color: #22c55e;
  margin-bottom: 16px;
  display: block;
}
.form-success h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.form-success p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.field-group input.invalid,
.field-group select.invalid,
.field-group textarea.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.field-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 5px;
  display: none;
}
.field-error.show {
  display: block;
}

/* ── SECTION: FAQ (Contact) ── */
#faq {
  background: var(--light-blue);
}
#faq .faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(15,76,255,0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq-item.open {
  box-shadow: var(--shadow-lg);
  border-color: rgba(15,76,255,0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.faq-question:hover {
  background: rgba(15,76,255,0.02);
}
.faq-item.open .faq-question {
  background: rgba(15,76,255,0.03);
}

.faq-question span {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  padding-right: 20px;
}
.faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(15,76,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 13px;
  transition: background 0.25s, transform 0.3s;
}
.faq-item.open .faq-chevron {
  background: var(--blue);
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.3s ease;
  padding: 0 28px;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 28px 22px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── SECTION: CTA (Home/About cta vs Contact orb cta) ── */
#cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 60%, #1a3a8f 100%);
  text-align: center;
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
}
.page-template-template-contact #cta {
  padding: 100px 32px;
}

/* Orbs animation for Contact CTA */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.cta-orb-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(15,76,255,0.2) 0%, transparent 65%);
}
.cta-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(91,155,255,0.14) 0%, transparent 65%);
  animation-delay: 3s;
}
.cta-orb-3 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: 8%;
  background: radial-gradient(circle, rgba(15,76,255,0.12) 0%, transparent 65%);
  animation-delay: 6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, -18px) scale(1.04); }
}
.cta-orb-2, .cta-orb-3 {
  animation: orbFloat2 8s ease-in-out infinite;
}
@keyframes orbFloat2 {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06) translateY(-10px); }
}

/* Default simple gradient orb for Home/About */
#cta::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,76,255,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.page-template-template-contact #cta::before {
  display: none; /* replaced by custom .cta-orbs */
}

#cta .inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

#cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  color: white;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-template-template-about #cta h2 {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.22;
}
.page-template-template-contact #cta h2 {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.22;
  margin-bottom: 18px;
}

#cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.7;
}

#cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 72px 32px 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* override column structure on home.html slightly (1.5fr vs 1.4fr, merging layout cleanly) */
.home .footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.social-icon:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li + li {
  margin-top: 10px;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #5b9bff;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.contact-item i {
  color: var(--blue);
  margin-top: 3px;
  width: 14px;
  flex-shrink: 0;
}
.contact-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 13px;
}
.footer-bottom a:hover {
  color: #5b9bff;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .about-pillar,
  .cap-pillar,
  .comm-card {
    animation: none;
  }
  .cta-orb {
    animation: none;
  }
}

/* ── RESPONSIVE / MOBILE OVERRIDES ── */
@media (max-width: 1100px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .form-trust-items {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .form-trust-item {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .vm-grid {
    grid-template-columns: 1fr;
  }
  .diff-grid {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu-wrap {
    display: none;
  }
  .hamburger {
    display: block;
  }
  nav.mobile-open .nav-menu-wrap {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px 32px;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }
  nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  nav.mobile-open .nav-menu-wrap .btn {
    display: inline-flex;
    margin: 10px 0 0 0;
    width: 100%;
    justify-content: center;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-sub {
    max-width: 100%;
  }
  .hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
  }
  .page-template-template-contact .hero-cta {
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-divider {
    margin: 0 auto 20px;
  }
  .cap-pillar:hover,
  .about-pillar:hover {
    transform: none;
  }
  .hero-visual {
    order: -1;
  }
  .stat-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid,
  .home .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  #services .section-header {
    flex-direction: column;
  }
  #services .section-sub {
    text-align: left;
  }
  section {
    padding: 64px 20px;
  }
  .page-template-template-about section,
  .page-template-template-contact section {
    padding: 64px 20px;
  }
  #hero {
    padding: 100px 20px 64px;
  }
  .page-template-template-about #hero,
  .page-template-template-contact #hero {
    padding: 110px 20px 60px;
    min-height: auto;
  }
  .partner-stats {
    grid-template-columns: 1fr 1fr;
  }
  .contact-form {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid,
  .home .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-trust-item {
    min-width: 100%;
  }
}
