/* GNR Infra Developers Static Website
   Built as a fast static landing website. Later this can be converted into Django templates. */

:root {
  --gnr-blue: #142b4d;
  --gnr-blue-2: #0d1c33;
  --gnr-gold: #c99b32;
  --gnr-gold-soft: #e8d19a;
  --anvaya-purple: #6b2e83;
  --forest: #234d34;
  --text: #172033;
  --muted: #5f697a;
  --surface: #ffffff;
  --surface-soft: #f7f4ee;
  --line: rgba(20, 43, 77, 0.14);
  --shadow: 0 24px 70px rgba(11, 24, 43, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--gnr-gold);
  color: #111;
  padding: 10px 14px;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 43, 77, 0.08);
}

.top-strip {
  background: var(--gnr-blue);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.top-strip__inner {
  min-height: 34px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img {
  width: 155px;
  height: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 0;
  margin: 0;
  font-weight: 650;
  font-size: 14px;
  color: var(--gnr-blue-2);
}

.nav-menu a {
  padding: 8px 0;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gnr-gold);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  width: 100%;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.nav-cta {
  background: var(--gnr-blue);
  color: white;
  box-shadow: 0 10px 24px rgba(20, 43, 77, 0.16);
  white-space: nowrap;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--gnr-blue);
  margin: 5px 0;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--gnr-blue-2);
}

.hero__background {
  position: absolute;
  inset: 0;
}

.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 34, 0.92) 0%, rgba(7, 18, 34, 0.78) 38%, rgba(7, 18, 34, 0.38) 72%, rgba(7, 18, 34, 0.66) 100%),
    radial-gradient(circle at 20% 20%, rgba(201, 155, 50, 0.28), transparent 28%);
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__inner {
  min-height: 760px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  align-items: center;
  gap: 54px;
  padding: 72px 0;
}

.eyebrow {
  color: var(--gnr-gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 850;
  font-size: 12px;
  margin: 0 0 14px;
}

.hero h1,
.section h2,
.section-heading h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 6.4vw, 78px);
}

.hero__lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-primary {
  background: var(--gnr-gold);
  color: #101318;
  box-shadow: 0 18px 32px rgba(201, 155, 50, 0.24);
}

.btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  color: var(--gnr-blue);
  background: #fff;
  border-color: rgba(20, 43, 77, 0.1);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__trust span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.hero__card {
  align-self: end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero__card-media img {
  height: 270px;
  width: 100%;
  object-fit: cover;
}

.hero__card-body {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.hero__card-body img {
  width: 120px;
  flex: 0 0 auto;
}

.hero__card-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  min-height: 118px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 42px rgba(18, 33, 55, 0.12);
}

.stat-card strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gnr-blue);
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.two-col,
.leadership-grid,
.contact-grid,
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.section-copy h2,
.section-heading h2 {
  font-size: clamp(34px, 4.8vw, 56px);
  color: var(--gnr-blue-2);
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 16.5px;
}

.image-panel,
.leader-photo,
.project-card,
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-panel img {
  min-height: 420px;
  width: 100%;
  object-fit: cover;
}

.leader-photo {
  background: linear-gradient(135deg, #fff, #efe9dc);
  border: 1px solid var(--line);
  max-width: 480px;
}

.leader-photo img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: 50% 25%;
}

.quote-card {
  margin-top: 28px;
  padding: 22px;
  border-left: 4px solid var(--gnr-gold);
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 34px rgba(20, 43, 77, 0.08);
}

.quote-card p {
  margin: 0;
  font-weight: 750;
  color: var(--gnr-blue);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.project-section {
  background:
    radial-gradient(circle at 100% 10%, rgba(107, 46, 131, 0.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f9f7f2 100%);
}

.project-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: white;
  border: 1px solid var(--line);
}

.project-card__media img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.project-card__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-logo {
  width: 150px;
  margin-bottom: 18px;
}

.project-card h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  color: var(--gnr-blue-2);
}

.project-card p {
  color: var(--muted);
  margin: 0;
}

.feature-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 650;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--forest);
  font-weight: 900;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.section-dark-mini {
  background:
    linear-gradient(135deg, rgba(13, 28, 51, 0.98), rgba(20, 43, 77, 0.96)),
    url("../img/web/community-aerial.webp") center/cover;
  color: white;
}

.section-dark-mini h2 {
  color: white;
}

.section-dark-mini p {
  color: rgba(255, 255, 255, 0.78);
}

.track-cards {
  display: grid;
  gap: 14px;
}

.track-cards div {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.track-cards span {
  display: inline-flex;
  color: var(--gnr-gold-soft);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.track-cards strong {
  display: block;
  font-size: 18px;
}

.track-cards p {
  margin: 8px 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 250px;
  background: #111;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.gallery-item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.88;
}

.gallery-item span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gnr-blue);
  font-weight: 800;
  font-size: 13px;
}

.contact-section {
  background: var(--surface-soft);
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-cards > * {
  display: block;
  padding: 18px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--line);
}

.contact-cards span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 850;
}

.contact-cards strong {
  display: block;
  margin-top: 4px;
  color: var(--gnr-blue);
  font-size: 20px;
}

.enquiry-form {
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.enquiry-form h3 {
  margin: 0 0 18px;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--gnr-blue);
}

.enquiry-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--gnr-blue);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 850;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafafa;
  border-radius: 13px;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  outline: none;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--gnr-gold);
  box-shadow: 0 0 0 4px rgba(201, 155, 50, 0.14);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  background: var(--gnr-blue-2);
  color: white;
}

.footer-grid {
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 42px;
}

.site-footer img {
  width: 160px;
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h4 {
  margin: 0 0 14px;
  color: var(--gnr-gold-soft);
}

.site-footer a,
.site-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  margin: 8px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-menu.is-open {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 108px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open a {
    padding: 13px 12px;
  }

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 76px 0 52px;
  }

  .hero__card {
    align-self: auto;
  }

  .stats-grid,
  .two-col,
  .leadership-grid,
  .contact-grid,
  .track-grid,
  .project-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    margin-top: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .project-card__media img {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .top-strip__inner {
    justify-content: flex-start;
    padding: 8px 0;
  }

  .brand img {
    width: 130px;
  }

  .navbar__inner {
    min-height: 70px;
  }

  .nav-menu.is-open {
    top: 104px;
    left: 14px;
    right: 14px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero__lead {
    font-size: 15.5px;
  }

  .hero__actions,
  .button-row {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero__card-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .section {
    padding: 66px 0;
  }

  .project-card__content,
  .enquiry-form {
    padding: 26px;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .gallery-item img {
    transition: none;
  }
}

/* Final corrections: mobile trust strip, gallery as static preview, floating contact buttons */
.top-strip__inner span {
  white-space: nowrap;
}

.gallery-item {
  cursor: default;
}

.floating-actions {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  pointer-events: none;
}

.float-btn {
  position: absolute;
  bottom: 0;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 14px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
}

.float-btn--call {
  left: 0;
  background: var(--gnr-blue);
  color: #fff;
}

.float-btn--whatsapp {
  right: 0;
  background: #25d366;
  color: #06230f;
}

.float-btn span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.float-btn--call span::before {
  content: "☎";
}

.float-btn--whatsapp span::before {
  content: "✆";
}

@media (max-width: 640px) {
  .top-strip {
    font-size: 10.5px;
  }

  .top-strip__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    min-height: 32px;
    scrollbar-width: none;
  }

  .top-strip__inner::-webkit-scrollbar {
    display: none;
  }

  .top-strip__inner span {
    flex: 0 0 auto;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
  }

  .hero__trust span {
    font-size: 12px;
    padding: 8px 10px;
  }

  .floating-actions {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .float-btn {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 13px;
  }

  body {
    padding-bottom: 70px;
  }
}

.form-note.is-error {
  color: #a32525;
  font-weight: 700;
}

.enquiry-form button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.optional-field {
  font-size: 0.82em;
  font-weight: 500;
  color: rgba(15, 29, 50, 0.58);
}
