:root {
  --bg: #0b1220;
  --panel: #0f172a;
  --card: #121a2e;
  --text: #e6ebff;
  --muted: #a5b1d6;
  --brand: #3da5ff;
  --brand-2: #4ade80; /* accent (subtle) */
  --gold: #f4c95d;
  --shadow: 0 10px 30px rgba(0, 0, 0, .25);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
}

/* Reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #070b14, #0b1220 40%);
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

.logo-img {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Utilities */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: rgba(255, 255, 255, 0.02); }
.page-hero.small { padding: 72px 0 24px; border-bottom: 1px solid rgba(255,255,255,.06); }
.section-head { text-align: center; margin-bottom: 32px; }
.highlight { color: var(--gold); }
.lead { font-size: 1.125rem; color: var(--muted); }
.muted { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.two-col.reverse { grid-template-columns: .9fr 1.1fr; }
.two-col.reverse .media-frame { order: 2; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Founder Cards Styling */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #0d1b2a;
  border-radius: 15px;
  overflow: hidden;       /* ensures image corners match card radius */
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;          /* fill full width */
  height: 300px;        /* uniform height */
  object-fit: cover;    /* crop to fill */
  object-position: center;
  display: block;
}


.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}


.card:hover img {
  transform: scale(1.05); /* Slight zoom on hover */
}

.card-body {
  padding: 1.5rem;
  text-align: center;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.card-body .muted {
  font-size: 0.9rem;
  color: #a8b2c1;
}

.card-body p {
  color: #dbe2ef;
  font-size: 0.95rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0; z-index: 100;
  background: rgba(127, 144, 197, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 700; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg,var(--brand),var(--gold));
  color: #001122; font-weight: 800;
}
.brand-text { letter-spacing: .3px; }

.nav { display: block; }
.nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a {
  color: var(--text); text-decoration: none;
  padding: 8px 12px; border-radius: 8px; opacity: .9;
}
.nav a:hover { background: rgba(255,255,255,.06); opacity: 1; }
.nav a.active { background: rgba(61,165,255,.14); border: 1px solid rgba(61,165,255,.35); }
.nav .btn.btn-small { padding: 8px 14px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  min-height:90vh;
  display: grid;
  align-items: center;
  overflow: visible;
  background: url('HERO.jpg')
}

.hero {
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Darkness adjust yahan se */
  z-index: 1;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
}

.hero-inner { padding: 80px 0 40px; }
.hero h1 { font-size: clamp(2rem,5vw,3.2rem); line-height: 1.1; margin: 0 0 12px; }
.hero .lead { max-width: 720px; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 18px; }
.hero .hero-image {
  position: absolute; right: -10%; bottom: -15%; width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, rgba(61,165,255,.25), transparent 70%),
              radial-gradient(closest-side, rgba(244,201,93,.15), transparent 60%);
  filter: blur(50px); pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-block;
  border: 1px solid rgba(61,165,255,.5);
  background: rgba(61,165,255,.12);
  padding: 12px 18px; border-radius: 12px;
  color: var(--text); text-decoration: none; font-weight: 600;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn-light { background: #fff; color: #0a1020; border-color: #fff; }

/* Cards & media */
.card { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img {
  width: 100%;
  height: 230px;      /* increased height */
  object-fit: contain; /* prevents cropping */
  background: #0b1220; /* optional: fills empty space */
  display: block;
}
.card-body { padding: 18px; }
.card-icon { font-size: 1.6rem; margin-bottom: 8px; }
.hover-up { transition: transform .15s, box-shadow .2s; }
.hover-up:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.35); }

.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }

.stat { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: #fff; }
.stat-label { color: var(--muted); }

/* Products */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  border: 1px solid rgba(255,255,255,.25);
  background: transparent; border-radius: 999px;
  padding: 8px 12px; color: var(--text); cursor: pointer;
}
.chip.active, .chip:hover { background: rgba(61,165,255,.14); border-color: rgba(61,165,255,.35); }
.product-grid .product h3 { margin: 6px 0 6px; }

/* Contact */
.contact-form { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 20px; }
.form-row { display: flex; flex-direction: column; margin-bottom: 12px; }
label { font-weight: 600; margin-bottom: 6px; }
input, textarea {
  background: #0a1122; border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; color: var(--text); padding: 12px;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand); }
.map-frame { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); height: 300px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* CTA strip */
.cta {
  padding: 60px 0;
  background: linear-gradient(90deg, rgba(61,165,255,.16), rgba(244,201,93,.16));
  margin-bottom: 40px; /* fix spacing above footer */
}
.cta-inner { text-align: center; }
.cta .btn-light { margin-top: 10px; }

.section.alt {
  background-color: #0d1117;
  padding: 60px 20px;
  color: #ffffff;
}

.container.grid-3-fixed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat {
  background-color: #161b22;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.stat-text {
  font-size: 1rem;
  color: #c9d1d9;
  line-height: 1.6;
}

.logo-img {
  height: 60px;
  vertical-align: middle; /* aligns it nicely with text */
  display: inline-block; /* better control */
  margin-right: 8px; /* small spacing, adjust if needed */
}

.brand-text {
  vertical-align: middle; /* align with image */
  display: inline-block;
  margin: 0;  /* remove any default margin */
  font-weight: 800 ;}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  background: #0b1220;
  padding-bottom: 40px; /* fix bottom cutoff */
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; padding: 24px 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 6px 0; }
.footer-links a { color: var(--text); opacity: .85; text-decoration: none; }
.footer-links a:hover { opacity: 1; }
.footer-bottom { text-align: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-brand { margin-bottom: 8px; }

/* Animations */
.animate-up { opacity: 0; transform: translateY(16px); transition: .6s; }
.animate-fade { opacity: 0; transition: .8s; }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.inview { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 64px 0 auto 0;
    background: rgba(9,14,26,.98); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; padding: 10px 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: 68vh; }
  .hero .cta-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* iPhone / Safari safe-area fix */
body {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Footer fix */
.site-footer {
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

