
:root {
  --primary: #0f4c81;      /* deep blue */
  --primary-2: #13679a;
  --primary-light: #2f6fa7;
  --accent: #f4b41a;       /* subtle accent */
  --bg: #f6f8fb;
  --bg-2: linear-gradient(180deg, rgba(246,248,251,1) 0%, rgba(245,250,255,1) 100%);
  --text: #0f1724;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --hero-text: #ffffff; /* foreground for hero card (dark card background) */
  --nav-cta-text: #ffffff; /* CTA text color */
  --glass: rgba(255,255,255,0.7);
  --border-soft: #e6e9ee;
  --shadow-soft: 0 18px 50px rgba(15, 76, 129, 0.10);
  --shadow-elevate: 0 20px 40px rgba(9, 50, 89, 0.12);
  --radius-sm: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --transition: all 0.28s cubic-bezier(.2,.9,.2,1);
}

/* Dark theme variables - applied when html[data-theme="dark"] is present */
html[data-theme="dark"] {
  --primary: #5fb0ff;
  --primary-2: #2ea3d6;
  --primary-light: #9ad2ff;
  --accent: #f59e0b;
  --bg: #071127;
  --bg-2: linear-gradient(180deg,#041021 0%, #071127 100%);
  --text: #e6eef9;
  --muted: #94a3b8;
  --card-bg: #071827;
  --hero-text: #ffffff;
  --nav-cta-text: #ffffff;
  --glass: rgba(10,18,28,0.6);
  --border-soft: rgba(255,255,255,0.04);
  --shadow-soft: 0 18px 50px rgba(2,6,23,0.6);
  --shadow-elevate: 0 22px 48px rgba(2,6,23,0.6);
}

/* smooth theme transition */
html, body {
  transition: background-color 260ms ease, color 260ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg-2);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.section-subtitle {
  max-width: 620px;
  margin: 0.3rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Navbar */

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--glass);
  backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* increased vertical padding to accommodate larger logo */
  padding: 0.6rem 0;
  gap: 1.5rem;
}

.logo-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
}

.logo-img {
  height: 180px;
  width: 260px;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f4c81, #17a2b8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(15, 76, 129, 0.25);
}

.logo-text-main {
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.1;
}

.logo-text-sub {
  font-size: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  position: relative;
  color: var(--muted);
  gap: 0.25rem; /* space between link text and dropdown arrow */
}

/* small arrow indicator for dropdowns */
.dropdown-icon {
  font-size: 0.8rem;
  line-height: 1;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 160px;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  padding: 0.5rem 0;
  border-radius: 8px;
  display: none;
  z-index: 50;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: var(--text);
  font-size: 0.9rem;
}

.nav-dropdown a:hover {
  background: rgba(15, 76, 129, 0.04);
  color: var(--primary);
}

.nav-item.open .nav-dropdown {
  display: block;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border-radius: 999px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 16px;
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--nav-cta-text);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-elevate);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevate);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .nav-item,
  .nav-links > a,
  .nav-item > a {
    height: auto;
  }

  .nav-dropdown {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0;
  }

  .nav-dropdown a {
    padding-left: 1rem;
  }
}
/* Hero */

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.06);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.3rem, 3.1vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.hero-highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 1.8rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hero-badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid rgba(15, 76, 129, 0.12);
  color: var(--primary-light);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn-primary {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(15, 76, 129, 0.45);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #093259;
  box-shadow: 0 24px 55px rgba(9, 50, 89, 0.65);
}

.btn-ghost {
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(15, 76, 129, 0.12);
  transform: translateY(-1px);
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-right {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(18,78,138,0.92), rgba(5,12,28,0.94));
  color: #f8fafc;
  padding: 2.1rem 2rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/2280547/pexels-photo-2280547.jpeg?auto=compress&cs=tinysrgb&w=1200");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  mix-blend-mode: normal;
  z-index: -1;
}

.hero-tagline {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(226, 232, 240, 0.95);
  margin-bottom: 0.6rem;
}

.hero-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.hero-card-subtitle {
  font-size: 0.92rem;
  color: rgba(241, 245, 249, 0.95);
  margin-bottom: 1.1rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 0.2rem;
}

.metric-value {
  font-size: 1rem;
  font-weight: 600;
}

.hero-chip {
  position: absolute;
  right: -10px;
  top: 32%;
  transform: translateY(-50%);
  background: #fff;
  color: #020617;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.3);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.7rem 1.8rem;
  box-shadow: 0 10px 40px rgba(15, 76, 129, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15, 76, 129, 0.16), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 55px rgba(15, 76, 129, 0.18);
}

.service-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.service-title {
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  font-size: 0.86rem;
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Additional UI polish overrides */
/* Hero adjustments */
.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(135deg, rgba(18,78,138,0.95), rgba(5,12,28,0.96));
  padding: 2.4rem 2.4rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 80px rgba(9, 30, 63, 0.12);
}

.hero-card::before { opacity: 0.08; }

/* Buttons: stronger, pill-to-soft rounded */
.btn-primary {
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(15,76,129,0.12);
}

.btn-ghost {
  border-radius: 12px;
  padding: 0.6rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border-soft);
}

/* Blog cards */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.blog-card {
  display: flex;
  gap: 1rem;
  background: var(--card-bg);
  border-radius: 14px;
  padding: 0.9rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(9, 30, 63, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(15,76,129,0.04);
}

.blog-thumb {
  width: 120px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.blog-content { flex: 1; }

.blog-title { font-size: 1.02rem; margin: 0.1rem 0; }
.blog-excerpt { color: var(--muted); font-size: 0.92rem; }

.blog-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(9,30,63,0.12); }

/* Footer polish */
.footer {
  background: transparent;
  padding: 2rem 0;
  border-top: 1px solid rgba(15,23,42,0.04);
}

.footer-inner { display:flex; justify-content:space-between; gap:1rem; align-items:center; }

@media (max-width: 900px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .blogs-grid { grid-template-columns: 1fr; }
}


/* Applications / Use cases */

.applications {
  background: linear-gradient(135deg, #0f172a, #0f4c81);
  color: #e5e7eb;
}

.applications .section-header {
  text-align: left;
}

.applications .section-title {
  color: #fff;
}

.applications-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.applications-badge {
  font-size: 0.8rem;
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  margin-bottom: 0.9rem;
}

.applications-list {
  list-style: none;
  margin-top: 1rem;
}

.applications-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.applications-list li::before {
  content: "•";
  position: absolute;
  left: 0.1rem;
  top: 0;
  color: #fbbf24;
  font-size: 1.4rem;
  line-height: 1;
}

.applications-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 1.3rem;
}

.applications-visual {
  position: relative;
}

.applications-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.6), #020617 50%);
  padding: 2rem 1.7rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.5);
  overflow: hidden;
}

.applications-chip {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  margin-bottom: 1rem;
}

.applications-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.applications-dot {
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59,130,246,0.55), rgba(45,212,191,0.8));
  opacity: 0.75;
}

.applications-tagline {
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-top: 1.2rem;
}

/* query page form card */
.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-card label {
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.5rem;
  display: block;
  color: var(--text);
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-card button {
  width: 100%;
}
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.about-text {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.7rem;
  margin-top: 1.4rem;
}

.about-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 2px solid var(--primary);
}

.about-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 1.9rem 1.7rem;
  box-shadow: 0 14px 45px rgba(15, 76, 129, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.about-pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-light);
  margin-bottom: 0.6rem;
}

.about-highlight {
  font-size: 0.95rem;
  margin-top: 0.7rem;
  color: var(--text);
}

/* Contact */

.contact {
  background: #020617;
  color: #e5e7eb;
}

.contact .section-title {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.contact-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.contact-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-role {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.8rem;
}

.contact-line {
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
  color: #e5e7eb;
  word-break: break-word;
}

.contact-form {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
}

.form-row {
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.3rem;
  color: #cbd5f5;
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(75, 85, 99, 0.9);
  padding: 0.65rem 0.8rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-helper {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}

.btn-form {
  width: 100%;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #0f4c81);
  color: #0b1120;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.8rem;
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.5);
  transition: var(--transition);
}

.btn-form:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 24px 60px rgba(56, 189, 248, 0.7);
}

/* Footer */

.footer {
  padding: 1.8rem 0 2rem;
  background: #020617;
  color: #64748b;
  border-top: 1px solid #111827;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .applications-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 0.5rem;
    padding-bottom: 0.7rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 3rem;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-details {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-card {
    padding: 1.8rem 1.5rem;
  }

  .hero-chip {
    display: none;
  }
}
/* Duplicate logo styling removed - see earlier .logo-img definition */

/* hero visual inside the hero card */
.hero-visual-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(2,6,23,0.35);
}

/* when the right column is removed, ensure contact-grid looks fine */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: flex-start;
}

/* keep an empty placeholder hidden on small screens */
.contact-empty {
  display: none;
}

/* If you want the hero card's previous background-image removed,
   ensure this rule is present to avoid overlap with the hero-visual-img */
.hero-card::before {
  display: none;
}

/* Blogs */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.blog-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 35px rgba(15, 76, 129, 0.06);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(15, 76, 129, 0.12);
}

.blog-thumb {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(2,6,23,0.08);
  border: 1px solid rgba(226,232,240,0.9);
}

.blog-content {
  flex: 1 1 auto;
}

.blog-meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  margin-bottom: 0.4rem;
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.btn-primary {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
}
.theme-toggle:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevate); }
