:root {
  --bg: #0b0e12;
  --surface: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.18);
  --text: #e9eef7;
  --muted: #b8c2d6;
  --accent: #4da3ff;
  --accent-2: #72e3a3;
  --danger: #ff6b6b;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --blur: saturate(140%) blur(10px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;       /* allows badges to move to next line */
  gap: 12px;             /* spacing between badges */
  margin-top: 15px;
}

.badge {
  background: #f5f5f5;   /* light background for visibility */
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  flex: 1 1 220px;       /* responsive width */
  min-width: 180px;
  box-sizing: border-box;
   /* ensures long text wraps */
  display: flex;
  align-items: center;
  gap: 6px;              /* space between bullet and text */
}

.badge span {
  font-weight: bold;
  color: #0077cc;        /* accent color for bullet */
}
.feature-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* spacing between boxes */
  padding: 10px;
  overflow: hidden;
  max-width: 100%;
}

.feature-box {
  flex: 1 1 200px; /* responsive width */
  min-width: 120px;
  box-sizing: border-box;
  word-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;   /* allows wrapping on small screens */
  justify-content: space-between;
  padding: 10px;
}

.site-header .logo img {
  max-height: 500px;
  width: auto;
}

@media (max-width: 600px) {
  .logo img {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .site-header nav {
    flex-direction: column;   /* stack menu vertically */
    align-items: flex-start;
  }

  .site-header .logo img {
    max-height: 40px;
  }

  body {
    font-size: 14px;          /* smaller text for mobile */
  }
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* spacing between boxes */
}

.box {
  flex: 1 1 200px; /* allows boxes to shrink/grow */
  padding: 20px;
  box-sizing: border-box;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.box {
  padding: 20px;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .container {
    flex-direction: column;
  }
}

.logo img {
  height: 150px;
  width: 150;
  object-fit: contain;
  padding: 5px 10px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="light"] {
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.7);
  --card: rgba(255, 255, 255, 0.9);
  --border: rgba(0, 0, 0, 0.08);
  --text: #1a2433;
  --muted: #506080;
  --accent: #0b77f5;
  --accent-2: #1dbb74;
  --danger: #d44c4c;
  --shadow: 0 6px 24px rgba(10, 25, 60, 0.12);
  --blur: saturate(120%) blur(6px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, #12203a 0%, var(--bg) 60%) no-repeat fixed;
  line-height: 1.6;
}

/* Layout */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: var(--blur);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px; font-weight: 700;
}
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #8fb9ff);
  box-shadow: var(--shadow);
}
.nav-links {
  display: flex; align-items: center; gap: 18px;
}
.nav-links a {
  text-decoration: none; color: var(--text); font-weight: 600; opacity: 0.9;
}
.nav-actions {
  display: flex; align-items: center; gap: 10px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); text-decoration: none; font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #86b9ff); border: none; color: #0b1a2f; }
.btn-success { background: linear-gradient(135deg, var(--accent-2), #9df3c4); border: none; color: #0b1a2f; }
.btn-outline { background: transparent; border: 1px solid var(--border); }

/* Hero */
.hero {
  position: relative; padding: 60px 0 40px;
}
.hero-wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px;
}
.hero-card {
  padding: 24px; border-radius: 16px; background: var(--card); backdrop-filter: var(--blur);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.tagline {
  font-family: "Noto Sans Devanagari", Inter, sans-serif;
  font-size: 26px; font-weight: 700; letter-spacing: 0.2px;
}
.sub {
  color: var(--muted); margin-top: 8px;
}
.hero-cta { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.hero-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.badge {
  padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; color: var(--text);
}
.hero-media {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(135deg, #1b2945, #0f1524);
  display: grid; place-items: center;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.9;
}

/* Sections */
section { padding: 40px 0; }
.section-title {
  font-size: 24px; font-weight: 700; margin-bottom: 14px;
}
.section-sub { color: var(--muted); margin-bottom: 16px; }

/* Cards grid */
.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) { .hero-wrap { grid-template-columns: 1fr; } .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.card img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.card h4 { margin: 12px 0 6px; font-size: 18px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.features {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.chip {
  font-size: 13px; padding: 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text);
}

/* Advantages strip */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
@media (max-width: 900px) { .strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .strip { grid-template-columns: 1fr; } }
.strip .tile {
  padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}

/* Gallery */
.gallery { column-count: 3; column-gap: 14px; }
@media (max-width: 900px) { .gallery { column-count: 2; } }
@media (max-width: 600px) { .gallery { column-count: 1; } }
.gallery img {
  width: 100%; margin: 0 0 14px; border-radius: 12px; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Form */
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }
.input, .select, .textarea {
  width: 100%; padding: 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  outline: none;
}
.textarea { min-height: 110px; resize: vertical; }

/* Footer */
footer {
  backdrop-filter: var(--blur);
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 26px 0;
  margin-top: 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 18px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.small { color: var(--muted); font-size: 14px; }

/* Animations */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* ===========================
   Mobile Optimization Styles
   =========================== */

/* Ensure images and containers scale */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
img {
  max-width: 100%;
  height: auto;
}

/* Mobile Navigation */
nav .menu-icon {
  display: none;
}
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  nav .menu-icon {
    display: block;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
  }
}

/* Quote Form Styling */
form input,
form select,
form button {
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  font-size: 16px;
  box-sizing: border-box;
}

/* Typography & Spacing */
@media (max-width: 600px) {
  h1, h2, h3 {
    font-size: 1.2em;
  }
  p {
    font-size: 1em;
    line-height: 1.5;
  }
}

/* Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
/* Footer mobile optimization */
@media (max-width: 600px) {
  footer {
    padding: 15px 10px;   /* reduce padding */
    text-align: center;   /* center align for neatness */
  }

  footer h4 {
    font-size: 14px;      /* smaller headings */
    margin-bottom: 8px;
  }

  footer p, footer a {
    font-size: 13px;      /* shrink text size */
    line-height: 1.4;
  }

  footer .footer-section {
    margin-bottom: 12px;  /* reduce spacing between sections */
  }

  footer .quick-links {
    display: flex;
    flex-direction: column; /* stack links vertically */
    gap: 6px;
  }
}
/* Footer brand text fix */
@media (max-width: 600px) {
  footer .brand-text {
    font-size: 16px;       /* smaller, balanced size */
    font-weight: 600;      /* keep it bold but not overwhelming */
    text-align: center;    /* center align for neatness */
    letter-spacing: 0.5px; /* improve readability */
    margin: 8px 0;         /* reduce vertical spacing */
  }
}
header .logo img {
  max-width: 120px;   /* controls size */
  height: auto;       /* keeps proportions */
}

@media (max-width: 600px) {
  header .logo img {
    max-width: 80px;  /* smaller on mobile */
  }
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 12px 24px;
  background: var(--card);
}

.nav-logo img {
  height: 36px !important;
  width: auto !important;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-links a {
  font-size: 16px;
  line-height: 36px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .nav-logo img {
    height: 28px !important;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 12px;
  }
}
.map-container {
  width: 100%;
  max-width: 800px;     /* limits map width */
  margin: 0 auto;       /* centers the map */
  border: 2px solid var(--border); /* or use #ccc or any color */
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 300px;        /* adjust height as needed */
  display: block;
  border: none;         /* removes default iframe border */
}
.logo-header {
  text-align: center;
  padding: 10px 0;
  background-color: #fff; /* Match your site’s theme */
}

.site-logo {
  height: 100px;
  max-width: auto;
}
.logo-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
}
