/* CloudLumen — CSS */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Sora:wght@300;400;600;700&display=swap');

:root {
  --navy: #042C53;
  --blue: #185FA5;
  --accent: #378ADD;
  --light-blue: #B5D4F4;
  --pale: #E6F1FB;
  --gold: #EF9F27;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --light-gray: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(4,44,83,0.08);
  --shadow-lg: 0 12px 48px rgba(4,44,83,0.14);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(4,44,83,0.08);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
}

.logo-mark {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.logo-mark svg { width: 22px; height: 22px; }

.logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue) !important; color: var(--white) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}

.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding: 120px 5% 80px;
  display: flex; align-items: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.hero-bg-circle.c1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -100px; right: -100px;
}

.hero-bg-circle.c2 {
  width: 400px; height: 400px;
  background: var(--gold);
  bottom: -50px; left: -50px;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(24,95,165,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,95,165,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  max-width: 700px;
  position: relative; z-index: 1;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pale);
  border: 1px solid var(--light-blue);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.75;
}

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

.btn-primary {
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
}

.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24,95,165,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.hero-stat-num span { color: var(--accent); }

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ─── SECTION BASE ─── */
section { padding: 100px 5%; }

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ─── LOGOS / TRUST BAR ─── */
.trust-bar {
  padding: 40px 5%;
  background: var(--light-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}

.trust-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #94a3b8;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.trust-logo:hover { color: var(--navy); }

/* ─── SERVICES ─── */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

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

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg { width: 26px; height: 26px; stroke: var(--blue); }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-tags {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  margin-top: 1.25rem;
}

.service-tag {
  background: var(--pale);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ─── WHY US ─── */
.why-us { background: var(--navy); color: var(--white); }
.why-us .section-title { color: var(--white); }
.why-us .section-sub { color: rgba(255,255,255,0.65); }
.why-us .section-tag { color: var(--gold); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

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

.why-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.why-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ─── ABOUT ─── */
.about { background: var(--light-gray); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.about-card-main h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.about-card-main p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cert-badges {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}

.cert-badge {
  background: var(--pale);
  color: var(--blue);
  border: 1px solid var(--light-blue);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

.about-card-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-card-float .num {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.about-card-float p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.about-text .section-title { margin-bottom: 1rem; }
.about-text .section-sub { margin-bottom: 2rem; }

.about-values {
  display: flex; flex-direction: column; gap: 1rem;
}

.about-value {
  display: flex; align-items: flex-start; gap: 1rem;
}

.about-value-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.about-value-icon svg { width: 20px; height: 20px; stroke: var(--blue); }

.about-value h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.about-value p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CONTACT ─── */
.contact { background: var(--white); }

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

.contact-info { padding-top: 0.5rem; }
.contact-info .section-title { margin-bottom: 0.75rem; }
.contact-info .section-sub { margin-bottom: 2rem; }

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

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

.contact-detail-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--blue); }

.contact-detail h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-form-wrap {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

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

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(55,138,221,0.12);
}

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

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: var(--transition);
  margin-top: 1.25rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.form-submit:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(24,95,165,0.3);
}

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

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

.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

.footer-links {
  display: flex; gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
  padding: 140px 5% 80px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(55,138,221,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55,138,221,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-header .section-tag { color: var(--gold); }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-header p { color: rgba(255,255,255,0.65); margin-top: 0.75rem; font-size: 1.05rem; max-width: 520px; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ─── SUCCESS MESSAGE ─── */
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  color: #065f46;
  font-weight: 500;
  margin-top: 1rem;
}

/* ─── MOBILE NAV ─── */
.nav-mobile {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%;
  flex-direction: column; gap: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 999;
}

.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem; font-weight: 500; color: var(--text-muted);
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--navy); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-card-float { position: static; margin-top: 1rem; display: inline-block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 70px 5%; }
  .hero { padding: 100px 5% 60px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .trust-logos { gap: 1.5rem; }
}
