:root {
  --ink: #15233a;
  --muted: #637084;
  --line: #dbe5ee;
  --paper: #f4f8fb;
  --surface: #ffffff;
  --navy: #14345a;
  --blue: #2166a5;
  --teal: #178f8a;
  --mint: #dff5ed;
  --gold: #d8a83e;
  --shadow: 0 18px 45px rgba(20, 52, 90, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans Bengali", "Nirmala UI", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  background:
    linear-gradient(120deg, rgba(23, 143, 138, 0.08), transparent 36%),
    linear-gradient(0deg, rgba(20, 52, 90, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 32px 32px;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

.container,
.nav-wrap,
.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 50px;
  height: 50px;
  border: 1px solid #cddfeb;
  border-radius: 14px;
  background: #fff;
  object-fit: cover;
}

.brand-name,
.brand-subtitle {
  display: block;
  line-height: 1.25;
}

.brand-name {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 8px;
  color: #38475c;
  font-size: 14px;
  font-weight: 850;
  padding: 10px 12px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--navy);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #eaf5f4;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 248, 251, 0.96) 0%, rgba(244, 248, 251, 0.86) 46%, rgba(244, 248, 251, 0.1) 100%),
    url("../img/building-front.jpeg") right center / cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: 36px;
  align-items: center;
  min-height: 640px;
  padding: 72px 0;
}

.hero-content h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--mint);
  color: #0b6b67;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 12px;
  text-transform: uppercase;
}

.hero-content p {
  max-width: 680px;
  color: #4e5f73;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-secondary {
  border-color: rgba(33, 102, 165, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(20, 52, 90, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: left center;
}

.hero-card div {
  padding: 22px;
}

.hero-card strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.hero-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 800;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1160px, calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-info div {
  min-height: 110px;
  background: #fff;
  padding: 22px;
}

.quick-info span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.quick-info strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.66);
  border-block: 1px solid rgba(20, 52, 90, 0.08);
}

.section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-title h2,
.legal-content h2 {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 46px);
}

.section-title p,
.panel p,
.service-card p,
.gallery-card p,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.panel,
.service-card,
.gallery-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(20, 52, 90, 0.08);
}

.panel-pad {
  padding: 30px;
}

.feature-photo,
.mosaic img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-photo {
  height: 420px;
}

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

.feature-list li {
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  padding: 15px 18px;
}

.feature-list strong {
  display: block;
  color: var(--navy);
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mosaic img {
  height: 250px;
}

.mosaic img:first-child {
  grid-column: span 2;
  height: 360px;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(20, 52, 90, 0.92), rgba(23, 143, 138, 0.64)),
    url("../img/office-wide.jpeg") center / cover;
  color: #fff;
  padding: 86px 0;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.services-hero {
  background:
    linear-gradient(90deg, rgba(20, 52, 90, 0.92), rgba(216, 168, 62, 0.52)),
    url("../img/cash-counter.jpeg") center / cover;
}

.gallery-hero {
  background:
    linear-gradient(90deg, rgba(20, 52, 90, 0.9), rgba(23, 143, 138, 0.52)),
    url("../img/building-front.jpeg") center / cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-height: 210px;
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover,
.gallery-card:hover,
.gallery-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(20, 52, 90, 0.14);
}

.service-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e9f4ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 18px 0 10px;
  color: var(--navy);
}

.service-highlight {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 42px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 30px;
}

.service-highlight h2 {
  color: #fff;
  font-size: 30px;
}

.service-highlight p:last-child {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.gallery-status {
  min-height: 28px;
  margin: -12px 0 22px;
  color: var(--teal);
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card div {
  padding: 18px 20px 20px;
}

.gallery-card h3 {
  color: var(--navy);
  margin-bottom: 6px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 18, 34, 0.94);
  padding: 28px;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 8px;
  object-fit: contain;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  position: absolute;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 0;
}

.gallery-lightbox-close {
  top: 18px;
  right: 18px;
}

.gallery-lightbox-close::before,
.gallery-lightbox-close::after,
.gallery-lightbox-arrow::before {
  content: "";
  position: absolute;
}

.gallery-lightbox-close::before,
.gallery-lightbox-close::after {
  width: 12px;
  height: 2px;
  background: currentColor;
}

.gallery-lightbox-close::before {
  transform: rotate(45deg);
}

.gallery-lightbox-close::after {
  transform: rotate(-45deg);
}

.gallery-lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-arrow::before {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.gallery-lightbox-prev {
  left: 18px;
}

.gallery-lightbox-prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.gallery-lightbox-next {
  right: 18px;
}

.gallery-lightbox-next::before {
  transform: translateX(-2px) rotate(45deg);
}

.gallery-lightbox-caption {
  position: absolute;
  right: 28px;
  bottom: 22px;
  left: 28px;
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
}

.contact-list dt {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.contact-list dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fcff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

.field textarea {
  min-height: 136px;
  resize: vertical;
}

.form-note {
  min-height: 24px;
  color: var(--teal);
  font-weight: 900;
}

.map-section {
  margin: 34px 0 -82px;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.legal-content {
  max-width: 920px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 26px;
}

.site-footer {
  border-top: 6px solid var(--teal);
  background: #0f2b48;
  color: #fff;
  padding: 42px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.55fr) minmax(280px, 0.72fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  gap: 14px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #fff;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.footer-brand p,
.footer-credit,
.footer-copy {
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand p {
  margin: 8px 0 0;
}

.footer-heading,
.footer-contact > span {
  display: block;
  margin-bottom: 12px;
  color: #8ce2d4;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 850;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-address {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0;
}

.footer-credit a,
.copy-brand {
  color: #8ce2d4;
  font-weight: 900;
}

@media (max-width: 820px) {
  .nav-wrap {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .hero-inner,
  .quick-info,
  .split,
  .contact-layout,
  .service-grid,
  .gallery-grid,
  .footer-grid,
  .service-highlight,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 58px 0;
  }

  .quick-info {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .feature-photo,
  .mosaic img,
  .mosaic img:first-child {
    height: 300px;
  }

  .footer-brand {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .brand-name {
    font-size: 14px;
  }

  .brand-subtitle {
    display: none;
  }

  .section,
  .hero-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-content p,
  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .panel-pad,
  .service-highlight {
    padding: 22px;
  }
}
