/*
Theme Name: 4R Tech Solutions
Theme URI: https://4rtechsolutions.com
Author: 4R Tech Solutions
Author URI: https://4rtechsolutions.com
Description: Custom theme for 4R Tech Solutions — Reliable. Responsive. Resilient. Results.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fourr-tech
*/

/* ===== CSS VARIABLES ===== */
:root {
  --deep-navy: #0A2540;
  --white: #FFFFFF;
  --slate-gray: #5A6B7B;
  --accent-teal: #00B8A9;
  --teal-hover: #009E92;
  --teal-glow: rgba(0,184,169,0.25);
  --light-bg: #F4F7FA;
  --border-color: #E2E8F0;
  --navy-light: #0E3158;
  --navy-mid: #112A4A;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.12);
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--slate-gray);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--deep-navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a { color: var(--accent-teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-hover); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 34px; border-radius: 8px; font-weight: 600;
  font-family: var(--font-body); font-size: 1rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-decoration: none;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1); opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--accent-teal); color: var(--white);
  border-color: var(--accent-teal);
  box-shadow: 0 4px 20px rgba(0,184,169,0.35);
}
.btn-primary:hover {
  background: var(--teal-hover); border-color: var(--teal-hover);
  color: var(--white); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,184,169,0.45);
}

.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12); color: var(--white);
  border-color: var(--white); transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent; color: var(--deep-navy);
  border-color: var(--deep-navy);
}
.btn-outline-dark:hover { background: var(--deep-navy); color: var(--white); transform: translateY(-2px); }

/* ===== HEADER & NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 37, 64, 0.85); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 37, 64, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  height: 72px;
}

.site-logo {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  color: var(--white); text-decoration: none; letter-spacing: -0.5px;
}
.site-logo span { color: var(--accent-teal); }

.main-nav ul {
  display: flex; list-style: none; gap: 32px; align-items: center;
}

.main-nav a {
  color: rgba(255,255,255,0.75); font-size: 0.95rem; font-weight: 500;
  text-decoration: none; transition: color var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 2px; background: var(--accent-teal); transition: width var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.nav-cta {
  background: var(--accent-teal) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0,184,169,0.3) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--teal-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,184,169,0.4) !important;
}

/* Mobile Nav */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 6px 0; transition: all var(--transition);
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--deep-navy); padding: 24px;
    transform: translateY(-100%); opacity: 0;
    transition: all var(--transition); pointer-events: none;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .main-nav ul { flex-direction: column; gap: 16px; }
}

/* ===== HERO — CINEMATIC UPGRADE ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--deep-navy);
}

/* Particle canvas sits behind content */
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.6;
}

/* Radial teal glow top-right */
.hero::before {
  content: ''; position: absolute;
  top: -10%; right: -10%; width: 55vw; height: 55vw;
  background: radial-gradient(circle at center, rgba(0,184,169,0.12) 0%, transparent 65%);
  z-index: 1; pointer-events: none;
}
/* Subtle bottom-left glow */
.hero::after {
  content: ''; position: absolute;
  bottom: -5%; left: -5%; width: 35vw; height: 35vw;
  background: radial-gradient(circle at center, rgba(0,184,169,0.06) 0%, transparent 65%);
  z-index: 1; pointer-events: none;
}

.hero .container { position: relative; z-index: 2; padding-top: 72px; }
.hero-content { max-width: 720px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--accent-teal); text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 32px; height: 2px; background: var(--accent-teal);
}

.hero h1 {
  color: var(--white); margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

/* Typewriter cursor */
.hero h1 .cursor {
  display: inline-block; width: 3px; height: 0.85em;
  background: var(--accent-teal); margin-left: 4px;
  vertical-align: middle; animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero p {
  color: rgba(255,255,255,0.72); font-size: 1.2rem;
  margin-bottom: 40px; max-width: 580px; line-height: 1.75;
}

.hero-buttons {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px;
}

/* Audience split line */
.hero-audience {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.9rem; color: rgba(255,255,255,0.45);
}
.hero-audience a {
  color: rgba(255,255,255,0.75); font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px; transition: all var(--transition);
}
.hero-audience a:hover {
  color: var(--accent-teal); border-color: var(--accent-teal);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span {
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
  letter-spacing: 2px; text-transform: uppercase;
}
.scroll-dot {
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-dot::after {
  content: ''; width: 4px; height: 8px;
  background: var(--accent-teal); border-radius: 2px;
  animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 28px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.trust-label {
  font-size: 0.8rem; font-weight: 600; color: var(--slate-gray);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-right: 8px; white-space: nowrap;
}
.trust-logos {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  justify-content: center;
}
.trust-logo {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700;
  color: #B0BEC5; letter-spacing: 0.5px; transition: color var(--transition);
  white-space: nowrap;
}
.trust-logo:hover { color: var(--slate-gray); }

/* ===== SECTION STYLES ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--light-bg); }
.section-dark { background: var(--deep-navy); position: relative; overflow: hidden; }

/* Subtle grid texture on dark sections */
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,184,169,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,169,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header p { color: var(--slate-gray); font-size: 1.1rem; margin-top: 16px; }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* Teal accent line above section headers */
.section-header::before {
  content: ''; display: block;
  width: 40px; height: 3px;
  background: var(--accent-teal);
  margin: 0 auto 20px; border-radius: 2px;
}

/* ===== 4 PILLARS — GLASSMORPHISM ===== */
.pillars-section {
  background: linear-gradient(160deg, var(--deep-navy) 0%, var(--navy-mid) 50%, #0a2a44 100%);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.pillars-section::before {
  content: ''; position: absolute;
  top: 20%; right: -5%; width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(0,184,169,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.pillars-section .section-header h2 { color: var(--white); }
.pillars-section .section-header p { color: rgba(255,255,255,0.6); }
.pillars-section .section-header::before { background: var(--accent-teal); }

.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative; z-index: 1;
}

.pillar-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 36px 28px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
  cursor: default;
}
/* Teal top accent line */
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent-teal), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
/* Glow on hover */
.pillar-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(0,184,169,0.1), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
  border-radius: 16px;
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,184,169,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,184,169,0.15);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover::after { opacity: 1; }

.pillar-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(0,184,169,0.12);
  border: 1px solid rgba(0,184,169,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition);
}
.pillar-card:hover .pillar-icon {
  background: rgba(0,184,169,0.22);
  border-color: rgba(0,184,169,0.5);
  box-shadow: 0 0 20px rgba(0,184,169,0.2);
}
.pillar-icon svg { width: 28px; height: 28px; color: var(--accent-teal); }

.pillar-card h3 {
  margin-bottom: 12px; font-size: 1.1rem;
  color: var(--white);
}
.pillar-card p { font-size: 0.93rem; line-height: 1.65; color: rgba(255,255,255,0.6); }
.pillar-card .pillar-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; font-weight: 600; font-size: 0.88rem;
  color: var(--accent-teal); transition: gap var(--transition);
}
.pillar-card .pillar-link:hover { gap: 12px; }

@media (max-width: 992px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 64px 0;
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); height: 50px; width: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-number {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
  color: var(--accent-teal);
  text-shadow: 0 0 30px rgba(0,184,169,0.3);
  line-height: 1;
}
.stat-label {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  margin-top: 8px; text-transform: uppercase; letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item::after { display: none; }
}

/* ===== WHY SECTION ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-content h2 { margin-bottom: 20px; }
.why-content p { margin-bottom: 28px; font-size: 1.05rem; }
.why-list { list-style: none; }
.why-list li {
  padding: 14px 0 14px 36px; position: relative;
  font-size: 1.02rem; color: var(--deep-navy); font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}
.why-list li:last-child { border-bottom: none; }
.why-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,184,169,0.12);
  border: 1.5px solid var(--accent-teal);
  display: flex; align-items: center; justify-content: center;
}
.why-list li::after {
  content: '✓'; position: absolute; left: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent-teal); font-weight: 700; font-size: 0.75rem;
}

.why-image {
  background: linear-gradient(135deg, var(--light-bg) 0%, #e8eef5 100%);
  border-radius: 20px; padding: 48px;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px; position: relative; overflow: hidden;
}
/* Decorative grid dots */
.why-image::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,184,169,0.15) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.8;
}
.why-image .abstract-shape {
  width: 180px; height: 180px;
  border: 3px solid var(--accent-teal);
  border-radius: 50%; position: relative; z-index: 1;
  box-shadow: 0 0 40px rgba(0,184,169,0.2), inset 0 0 40px rgba(0,184,169,0.05);
  animation: pulse-ring 3s ease infinite;
}
@keyframes pulse-ring {
  0%,100% { box-shadow: 0 0 30px rgba(0,184,169,0.2), inset 0 0 30px rgba(0,184,169,0.05); }
  50% { box-shadow: 0 0 60px rgba(0,184,169,0.35), inset 0 0 40px rgba(0,184,169,0.1); }
}
.why-image .abstract-shape::before {
  content: '4R'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); font-family: var(--font-heading);
  font-size: 2.8rem; font-weight: 700; color: var(--deep-navy);
}
/* Outer rings */
.why-image .abstract-shape::after {
  content: ''; position: absolute; inset: -24px;
  border: 1px solid rgba(0,184,169,0.2); border-radius: 50%;
  animation: pulse-ring-2 3s ease 1.5s infinite;
}
@keyframes pulse-ring-2 {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== PROCESS SECTION ===== */
.process-section { padding: 100px 0; background: var(--white); }
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  position: relative; margin-top: 16px;
}
.process-steps::before {
  content: ''; position: absolute; top: 36px; left: 17%; right: 17%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), rgba(0,184,169,0.2));
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--deep-navy); color: var(--accent-teal);
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  border: 3px solid var(--accent-teal);
  box-shadow: 0 0 0 8px rgba(0,184,169,0.08);
  transition: all 0.4s ease;
}
.process-step:hover .step-number {
  background: var(--accent-teal); color: var(--white);
  box-shadow: 0 0 0 8px rgba(0,184,169,0.15), 0 8px 30px rgba(0,184,169,0.3);
  transform: scale(1.05);
}
.process-step h3 { color: var(--deep-navy); margin-bottom: 10px; font-size: 1.1rem; }
.process-step p { font-size: 0.93rem; line-height: 1.6; }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px;
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 16px; right: 24px;
  font-size: 6rem; color: rgba(0,184,169,0.08); font-family: Georgia, serif;
  line-height: 1; pointer-events: none;
}
.testimonial-card:hover {
  border-color: rgba(0,184,169,0.25);
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.testimonial-stars { color: #FFC107; margin-bottom: 16px; font-size: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  color: rgba(255,255,255,0.82); font-size: 0.97rem; line-height: 1.75;
  font-style: italic; margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), var(--teal-hover));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,184,169,0.3);
  flex-shrink: 0;
}
.testimonial-name { color: var(--white); font-weight: 600; font-size: 0.92rem; }
.testimonial-role { color: rgba(255,255,255,0.45); font-size: 0.82rem; margin-top: 2px; }

@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #007A73 0%, var(--accent-teal) 50%, #00D4C4 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; font-size: clamp(2rem, 4vw, 2.8rem); }
.cta-banner p {
  color: rgba(255,255,255,0.88); font-size: 1.15rem; margin-bottom: 36px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}

/* ===== STICKY FLOATING CTA ===== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 990;
  background: var(--deep-navy);
  border-top: 1px solid rgba(0,184,169,0.3);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  transform: translateY(100%); transition: transform 0.4s ease;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta p {
  color: rgba(255,255,255,0.8); font-size: 0.95rem; margin: 0;
}
.sticky-cta strong { color: var(--white); }
.sticky-cta .btn { padding: 10px 24px; font-size: 0.9rem; }
.sticky-cta-close {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.4);
  cursor: pointer; font-size: 1.2rem; line-height: 1;
  transition: color var(--transition);
}
.sticky-cta-close:hover { color: var(--white); }

@media (max-width: 640px) {
  .sticky-cta { flex-direction: column; gap: 10px; padding: 16px; text-align: center; }
  .sticky-cta-close { top: 12px; transform: none; }
}

/* ===== ABOUT PAGE ===== */
.about-hero { padding: 160px 0 80px; background: var(--deep-navy); text-align: center; position: relative; overflow: hidden; }
.about-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,184,169,0.06) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
}
.about-hero h1 { color: var(--white); position: relative; z-index: 1; }
.about-hero p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 16px auto 0; font-size: 1.1rem; position: relative; z-index: 1; }

.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mv-card {
  background: var(--white); border-radius: 16px; padding: 40px;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
}
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,37,64,0.1); }
.mv-card h3 { color: var(--accent-teal); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.82rem; }
.mv-card p { font-size: 1.05rem; color: var(--deep-navy); font-weight: 500; line-height: 1.7; }

@media (max-width: 768px) { .mission-vision { grid-template-columns: 1fr; } }

/* ===== SERVICES PAGE ===== */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail h3 { font-size: 1.7rem; margin-bottom: 16px; }
.service-detail p { margin-bottom: 24px; }
.service-features { list-style: none; }
.service-features li {
  padding: 10px 0 10px 32px; position: relative; font-weight: 500;
  color: var(--deep-navy); border-bottom: 1px solid var(--border-color);
  font-size: 0.97rem;
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
  content: '→'; position: absolute; left: 0; color: var(--accent-teal); font-weight: 700;
}

.service-visual {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy-mid) 100%);
  border-radius: 20px; padding: 48px;
  display: flex; align-items: center; justify-content: center;
  min-height: 300px; position: relative; overflow: hidden;
}
.service-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,184,169,0.08) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}

@media (max-width: 768px) {
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail:nth-child(even) { direction: ltr; }
}

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form label {
  display: block; font-weight: 600; color: var(--deep-navy);
  margin-bottom: 6px; font-size: 0.88rem; letter-spacing: 0.5px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--border-color);
  border-radius: 10px; font-family: var(--font-body); font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: 20px; background: var(--white); color: var(--deep-navy);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent-teal);
  box-shadow: 0 0 0 4px rgba(0,184,169,0.1);
}
.contact-form textarea { resize: vertical; min-height: 150px; }

.contact-info-card {
  background: linear-gradient(160deg, var(--deep-navy) 0%, var(--navy-mid) 100%);
  border-radius: 20px; padding: 44px;
  color: var(--white); position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,184,169,0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.contact-info-card > * { position: relative; z-index: 1; }
.contact-info-card h3 { color: var(--white); margin-bottom: 28px; }
.contact-info-item {
  display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start;
}
.contact-info-item .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0,184,169,0.15);
  border: 1px solid rgba(0,184,169,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .icon svg { width: 20px; height: 20px; color: var(--accent-teal); }
.contact-info-item h4 { color: var(--white); font-size: 0.88rem; margin-bottom: 4px; letter-spacing: 0.5px; }
.contact-info-item p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--deep-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0 32px;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,184,169,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,169,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px; position: relative; z-index: 1;
}
.footer-brand p { color: rgba(255,255,255,0.5); margin-top: 16px; font-size: 0.9rem; line-height: 1.75; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 1;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.83rem; }
/* ===== FOOTER ===== */
.site-footer {
  background: #060F1A; color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .site-logo { font-size: 1.3rem; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: all var(--transition);
  font-size: 0.85rem;
}
.footer-social a:hover {
  background: rgba(0,184,169,0.15); border-color: rgba(0,184,169,0.4);
  color: var(--accent-teal);
}
.footer-col h4 {
  color: var(--white); font-size: 0.88rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent-teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent-teal); }

/* ===== INNER PAGES ===== */
.page-hero {
  background: linear-gradient(160deg, var(--deep-navy) 0%, var(--navy-mid) 100%);
  padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,184,169,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* ===== SERVICE DETAILS ===== */
.service-detail {
  padding: 60px; background: var(--white);
  border: 1px solid var(--border-color); border-radius: 16px;
  margin-bottom: 24px; transition: all var(--transition);
}
.service-detail:hover { border-color: rgba(0,184,169,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.service-detail-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(0,184,169,0.08); border: 1px solid rgba(0,184,169,0.2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
}
.service-detail-icon svg { width: 32px; height: 32px; color: var(--accent-teal); }
.service-detail h3 { margin-bottom: 16px; font-size: 1.4rem; }
.service-detail p { font-size: 1rem; margin-bottom: 24px; }
.service-features { list-style: none; }
.service-features li {
  padding: 10px 0 10px 28px; position: relative;
  font-size: 0.97rem; color: var(--deep-navy); border-bottom: 1px solid var(--border-color);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(0,184,169,0.1); border: 1.5px solid var(--accent-teal);
}
.service-features li::after {
  content: '✓'; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  color: var(--accent-teal); font-size: 0.65rem; font-weight: 700;
}

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info-card {
  background: var(--deep-navy); border-radius: 16px; padding: 48px; color: rgba(255,255,255,0.7);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card > p { margin-bottom: 36px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,184,169,0.12); border: 1px solid rgba(0,184,169,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; color: var(--accent-teal); }
.contact-detail strong { display: block; color: var(--white); font-size: 0.88rem; margin-bottom: 4px; }
.contact-detail span { font-size: 0.95rem; }
.contact-form { background: var(--white); border-radius: 16px; padding: 48px; border: 1px solid var(--border-color); }
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { margin-bottom: 32px; font-size: 0.97rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--deep-navy); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--border-color); border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem; color: var(--deep-navy);
  background: var(--white); transition: border-color var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-teal); box-shadow: 0 0 0 3px rgba(0,184,169,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#form-status { margin-top: 12px; font-size: 0.9rem; min-height: 20px; }

/* ===== ABOUT PAGE ===== */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.mv-card { padding: 36px; border-radius: 16px; text-align: center; border: 1px solid var(--border-color); transition: all var(--transition); }
.mv-card:hover { border-color: rgba(0,184,169,0.3); transform: translateY(-4px); }
.mv-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(0,184,169,0.08); border: 1px solid rgba(0,184,169,0.15);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.mv-card-icon svg { width: 28px; height: 28px; color: var(--accent-teal); }
.mv-card h3 { margin-bottom: 12px; }
.mv-card p { font-size: 0.95rem; }

/* ===== UTILITIES ===== */
.mt-40 { margin-top: 40px; }
.text-teal { color: var(--accent-teal); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 576px) {
  .section { padding: 64px 0; }
  .pillars-section, .process-section { padding: 64px 0; }
  .hero-buttons { flex-direction: column; }
  .mv-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
