/* ============================================================
   AS SIMPLE AS GENAI, INC. — Main Stylesheet
   McKinsey-inspired, Mobile-First Design
   ============================================================ */

/* Custom Code */


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

:root {
  --color-black: #0a0a0a;
  --color-dark: #1a1a1a;
  --color-charcoal: #2c2c2c;
  --color-mid-gray: #6b6b6b;
  --color-light-gray: #d4d4d4;
  --color-off-white: #f5f5f3;
  --color-white: #ffffff;
  --color-accent: #0057a8;
  --color-accent-light: #e8f0fb;
  --color-accent-hover: #003d7a;
  --color-gold: #c9a84c;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Helvetica Neue', 'Arial', sans-serif;
  --max-width: 1200px;
  --section-padding: 5rem 1.5rem;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.02em; }

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-charcoal);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-light-gray);
}

.section--gray {
  background: var(--color-off-white);
}

.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn--outline-dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
}

#navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 1.3;
  display: none;
}

.nav-links {
  display: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-charcoal);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--color-accent); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: none;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  background: var(--color-white);
  z-index: 999;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--color-dark);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-light-gray);
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--color-accent);
}

.nav-mobile .nav-mobile-cta {
  margin-top: 2rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
  border: 2px solid var(--color-accent);
}

.nav-mobile .nav-mobile-cta:hover {
  color: var(--color-white);
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-black);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,30,70,0.6) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  width: 100%;
}

.hero-content h1 {
  color: var(--color-white);
  max-width: 700px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
#stats-strip {
  background: var(--color-accent);
  padding: 2.5rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.stat-item .stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-white);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  padding: var(--section-padding);
}

.about-grid {
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
}

.about-image-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.25rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--color-off-white);
  padding: 1.5rem;
  border-left: 3px solid var(--color-accent);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-card .value-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-mid-gray);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  padding: var(--section-padding);
  background: var(--color-off-white);
}

.services-header {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
}

.services-header p {
  max-width: 600px;
  margin-top: 1rem;
}

/* Service Tabs */
.services-tabs {
  max-width: var(--max-width);
  margin: 0 auto;
}

.tab-nav {
  display: flex;
  overflow-x: auto;
  gap: 0;
  border-bottom: 2px solid var(--color-light-gray);
  margin-bottom: 2.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: 1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-mid-gray);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--color-accent);
}

.tab-btn.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.service-panel-grid {
  display: grid;
  gap: 2.5rem;
}

.service-panel-image {
  position: relative;
  overflow: hidden;
}

.service-panel-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-panel-image:hover img {
  transform: scale(1.03);
}

.service-panel-content h3 {
  margin-bottom: 1rem;
}

.service-panel-content p {
  margin-bottom: 1.5rem;
}

.capabilities-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.capabilities-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-charcoal);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.capabilities-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* Service Cards (Mobile Overview) */
.service-cards-grid {
  display: grid;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 3rem auto 0;
}

.service-card {
  background: var(--color-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

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

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--color-mid-gray);
  margin-bottom: 1rem;
}

.service-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.service-card:hover .service-card-link::after {
  transform: translateX(4px);
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
#why-us {
  padding: var(--section-padding);
}

.why-us-header {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
}

.why-us-grid {
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-us-image {
  overflow: hidden;
}

.why-us-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.reasons-grid {
  display: grid;
  gap: 1.5rem;
}

.reason-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-light-gray);
}

.reason-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.reason-content h4 {
  margin-bottom: 0.4rem;
  color: var(--color-dark);
}

.reason-content p {
  font-size: 0.9rem;
  color: var(--color-mid-gray);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
#cta-section {
  position: relative;
  padding: 6rem 1.5rem;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,10,30,0.88) 0%, rgba(0,40,90,0.82) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  padding: var(--section-padding);
  background: var(--color-off-white);
}

.contact-grid {
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-info h2 {
  margin-bottom: 1.25rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
}

.contact-detail-text {
  font-size: 0.9rem;
  color: var(--color-charcoal);
  line-height: 1.6;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mid-gray);
  margin-bottom: 0.2rem;
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mid-gray);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-dark);
  background: var(--color-off-white);
  border: 1px solid var(--color-light-gray);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
}

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

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

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--color-accent-hover);
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-field-error,
.form-submit-error {
  display: none;
  color: #a61b1b;
}

.form-field-error[data-fs-active] {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

.form-submit-error[data-fs-active] {
  display: block;
  padding: 0.875rem 1rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid #a61b1b;
  background: #fff0f0;
  font-size: 0.9rem;
}

[data-fs-field][aria-invalid="true"] {
  border-color: #a61b1b;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
}

.footer-nav h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-address {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

.footer-address strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-legal {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   MODAL (Service Detail)
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  overflow-y: auto;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-box {
  background: var(--color-white);
  max-width: 700px;
  width: 100%;
  margin: 2rem auto;
  position: relative;
  animation: modalIn 0.35s ease;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-mid-gray);
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--color-dark);
}

.modal-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.modal-content {
  padding: 2rem;
}

.modal-content h2 {
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 1.5rem;
}

.modal-capabilities h4 {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-mid-gray);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s 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; }

/* ============================================================
   RESPONSIVE — TABLET (640px+)
   ============================================================ */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  :root {
    --section-padding: 7rem 2rem;
  }

  .nav-logo-text {
    display: block;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: block;
  }

  .nav-hamburger {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .about-image-wrap img {
    height: 480px;
  }

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

  .service-panel-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .service-panel-image img {
    height: 380px;
  }

  .service-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .why-us-image img {
    height: 500px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  border: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--color-accent-hover);
}

#back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
}


/* ===================================================================
   SUBPAGE STYLES
=================================================================== */

.subpage-hero {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 8rem 1.5rem;
}

.subpage-hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.subpage-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.subpage-hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 700px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.breadcrumbs {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  display: none;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .subpage-grid {
    grid-template-columns: 2.5fr 1fr;
  }
}

.content-block {
  margin-bottom: 2.5rem;
}

.content-block h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.benefits-list li::before {
  content: "\2713"; /* Checkmark */
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-accent);
  font-weight: bold;
}

.subpage-sidebar .sidebar-widget {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid #eee;
}

.sidebar-widget h4 {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.capabilities-list-sidebar {
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
}

.capabilities-list-sidebar li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.capabilities-list-sidebar li::before {
  content: "\2023"; /* Bullet */
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.related-links {
  list-style: none;
  padding: 0;
}

.related-links li a {
  display: block;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 500;
  transition: all 0.3s;
}

.related-links li a:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateX(5px);
}

.subpage-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.subpage-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s;
}

.subpage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.subpage-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.subpage-card-content {
  padding: 1.5rem;
}

.subpage-card-content h4 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.subpage-card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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


/* ===================================================================
   CAPABILITY LINKS
=================================================================== */
.capabilities-list .capability-link {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px dashed var(--color-accent);
  transition: color 0.3s, border-color 0.3s;
  font-weight: 600;
}

.capabilities-list .capability-link:hover {
  color: var(--color-accent);
  border-bottom-style: solid;
}
