/* ===== VARIABLES ===== */
:root {
  --bg: #111c2e;
  --bg2: #172035;
  --bg3: #1c273d;
  --accent: #00c8ff;
  --accent2: #0077ff;
  --text: #edf2fa;
  --text-muted: #94a8c4;
  --border: rgba(255,255,255,0.1);
  --card-bg: rgba(255,255,255,0.06);
  --card-hover: rgba(0,200,255,0.08);
  --gradient: linear-gradient(135deg, #00c8ff, #0077ff);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
.accent { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== CONTAINER ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 30px rgba(0,200,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,200,255,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(0,200,255,0.3);
}
.btn-ghost:hover {
  background: rgba(0,200,255,0.08);
  border-color: var(--accent);
}
.btn-full { width: 100%; justify-content: center; }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(7,11,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.logo-icon {
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ===== HERO BACKGROUND ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0077ff, transparent 70%);
  top: -100px; right: -100px;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #00c8ff, transparent 70%);
  bottom: -50px; left: -80px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 2.5rem 5rem;
  max-width: 1140px;
  margin: 0 auto;
}
.hero-content { max-width: 680px; animation: fadeUp 0.8s ease both; }
.hero h1 { margin-bottom: 1.3rem; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.2s ease both;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  padding: 10rem 2.5rem 5rem;
  text-align: center;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* ===== ABOUT STRIP ===== */
.about-strip { padding: 6rem 0; }
.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.strip-text h2 { margin-bottom: 1rem; }
.strip-text p { color: var(--text-muted); margin-bottom: 2rem; }
.mini-card {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: background 0.25s;
}
.mini-card:hover { background: var(--card-hover); }
.mini-icon { font-size: 1.5rem; flex-shrink: 0; }
.mini-card strong { display: block; font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 0.3rem; }
.mini-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ===== SERVICES PREVIEW ===== */
.services-preview { padding: 6rem 0; background: var(--bg2); }
.services-preview h2 { margin-bottom: 3rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: rgba(0,200,255,0.2); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== SERVICES FULL PAGE ===== */
.services-full { padding: 5rem 0 6rem; }
.service-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-detail.reverse { }
.service-detail-icon {
  font-size: 3rem;
  padding: 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.service-detail-text h2 { margin-bottom: 1rem; }
.service-detail-text p { color: var(--text-muted); margin-bottom: 1rem; }
.service-detail-text ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}
.service-detail-text ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}
.service-detail-text ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ===== ABOUT FULL PAGE ===== */
.about-full { padding: 5rem 0; }
.about-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.about-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  padding-top: 0.3rem;
  overflow: visible;
  width: 100px;
  margin-left: -3rem;
}
.about-content h2 { margin-bottom: 1rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1rem; }
.approach-steps {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.step {
  padding: 0.6rem 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}
.step span { color: var(--accent); margin-right: 0.4rem; }
.step-arrow { color: var(--accent); opacity: 0.5; }

/* ===== VALUES ===== */
.values-section { padding: 5rem 0 6rem; background: var(--bg2); }
.values-section h2 { margin-bottom: 3rem; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.25s;
}
.value-card:hover { transform: translateY(-4px); background: var(--card-hover); }
.value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }

/* ===== CONTACT ===== */
.contact-section { padding: 5rem 0 7rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ci-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

/* ===== FORM ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(0,200,255,0.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #445; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg3); }
.form-group textarea { resize: vertical; min-height: 120px; }
.hidden { display: none; }

/* ===== THANK YOU ===== */
.thankyou-icon { font-size: 4rem; margin-bottom: 1rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-brand .logo-icon { font-size: 1.5rem; }
.footer-brand strong { font-family: var(--font-head); font-size: 0.95rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.footer-links { display: flex; gap: 1.8rem; align-items: center; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 2.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== HERO CENTERED ===== */
.hero-centered {
  align-items: center;
  text-align: center;
}
.hero-centered .hero-content {
  max-width: 780px;
  margin: 0 auto;
}
.hero-centered .hero-sub {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}
.hero-centered .hero-btns {
  justify-content: center;
}
.hero-centered .hero-stats {
  justify-content: center;
  width: 100%;
}

/* ===== SERVICE CARD FEATURED ===== */
.service-card-featured {
  border-color: rgba(0,200,255,0.25);
  background: linear-gradient(135deg, rgba(0,119,255,0.08), rgba(0,200,255,0.04));
  grid-column: span 1;
}
.service-card-featured::before { opacity: 1 !important; }

/* ===== RED HAT SECTION ===== */
.redhat-section {
  padding: 6rem 0;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.redhat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.redhat-text h2 { margin-bottom: 1.2rem; }
.redhat-text > p { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.8; }
.redhat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.rh-badge {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  background: rgba(0,200,255,0.07);
  border: 1px solid rgba(0,200,255,0.18);
  border-radius: 50px;
  color: var(--text-muted);
}
.redhat-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.rh-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: flex-start;
  transition: all 0.25s;
}
.rh-card:hover {
  background: var(--card-hover);
  border-color: rgba(0,200,255,0.2);
  transform: translateX(4px);
}
.rh-card-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rh-card h3 { margin-bottom: 0.4rem; font-size: 1rem; width: 100%; }
.rh-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; width: 100%; }

@media (max-width: 960px) {
  .redhat-grid { grid-template-columns: 1fr; gap: 3rem; }
}


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

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .about-strip .container,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 70px 1fr; gap: 1.5rem; }
  .about-block { grid-template-columns: 90px 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
  .navbar { padding: 1rem 1.2rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(7,11,20,0.97);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 7rem 1.2rem 3rem; }
  .hero-stats { gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .service-detail, .about-block { grid-template-columns: 1fr; }
  .service-detail-text ul { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .approach-steps { flex-direction: column; align-items: flex-start; }
  .step-arrow { transform: rotate(90deg); }
}
