/* Dalal Enterprises Murbad – Professional Slate + Teal Theme */
:root {
  --primary: #0F172A;
  --secondary: #0F766E;
  --secondary-dark: #0D5C56;
  --accent: #C2410C;
  --accent-soft: #FFF7ED;
  --white: #FFFFFF;
  --light: #F1F5F9;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #1E293B;
  --muted: #64748B;
  --success: #16A34A;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(15, 23, 42, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Noto Sans Devanagari", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.mr {
  font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: var(--secondary); transition: color var(--transition); }
a:hover { color: var(--secondary-dark); }

img { max-width: 100%; height: auto; }

.section { padding: 88px 0; }
.section-light {
  background:
    linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  margin-bottom: 0.45rem;
}
.section-sub {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 2.4rem;
  font-size: 0.98rem;
}

/* Buttons – refined, not pill-shaped */
.btn-primary-custom,
.btn-accent,
.btn-outline-custom,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  padding: 0.72rem 1.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
}
.btn-primary-custom:hover {
  background: #1E293B;
  color: var(--white);
}

.btn-accent {
  background: var(--secondary);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

.btn-outline-custom {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-whatsapp {
  background: var(--success);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #15803D;
  color: var(--white);
}

.btn-call {
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.62rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-call:hover { background: #9A3412; color: var(--white); }

/* Top bar */
.top-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  padding: 0.4rem 0;
  letter-spacing: 0.02em;
}
.top-bar a { color: rgba(255, 255, 255, 0.88); }
.top-bar a:hover { color: #5EEAD4; }

/* Navbar */
.navbar-dalal {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.navbar-dalal.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: transparent;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--primary) !important;
  font-weight: 700;
}
.navbar-brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}
.brand-text { line-height: 1.15; font-size: 1rem; }
.brand-text small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.navbar-nav .nav-link:hover { color: var(--secondary) !important; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--secondary) !important; font-weight: 600; }

.nav-actions { display: flex; gap: 0.45rem; align-items: center; }

/* Page hero */
.page-hero {
  background:
    linear-gradient(135deg, #0F172A 0%, #134E4A 55%, #0F766E 100%);
  color: var(--white);
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(194, 65, 12, 0.18), transparent 42%),
    radial-gradient(ellipse at 10% 90%, rgba(94, 234, 212, 0.08), transparent 40%);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255, 255, 255, 0.88); max-width: 680px; }
.breadcrumb-nav { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.breadcrumb-nav a { color: #99F6E4; }

/* Home hero */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
  padding: 118px 0 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: grayscale(0.15);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.82) 45%, rgba(13, 92, 86, 0.72) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}
.hero-content .lead {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}
.hero-content p { color: rgba(255, 255, 255, 0.82); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 118, 110, 0.25);
  border: 1px solid rgba(94, 234, 212, 0.35);
  color: #99F6E4;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.hero-image-card {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.hero-image-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

/* Cards */
.card-soft {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  height: 100%;
}
.card-soft:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-lg);
}

.trust-card {
  text-align: center;
  padding: 1.85rem 1.3rem;
}
.trust-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: #ECFDF5;
  color: var(--secondary);
  border: 1px solid #CCFBF1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card { padding: 1.45rem; }
.service-card .icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.95rem;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.7rem; }
.service-card .more {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--secondary);
}
.service-card .more i { transition: transform var(--transition); }
.service-card:hover .more i { transform: translateX(3px); }
.service-card:hover .icon-box {
  background: #ECFDF5;
  border-color: #99F6E4;
  color: var(--secondary-dark);
}

.office-card { overflow: hidden; }
.office-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.office-card .body { padding: 1.45rem; }
.office-card .meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.office-card .meta i { color: var(--secondary); width: 18px; }

/* Why choose */
.why-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  transition: border-color var(--transition);
}
.why-item:hover { border-color: #99F6E4; }
.why-item .num {
  min-width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #5EEAD4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
.gallery-item:hover .overlay { opacity: 1; }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.gallery-filters .filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.42rem 0.95rem;
  font-weight: 500;
  font-size: 0.85rem;
}
.gallery-filters .filter-btn.active,
.gallery-filters .filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 82vh;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

/* Contact */
.contact-card { padding: 1.65rem; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.form-control, .form-select {
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--border);
  background: #F8FAFC;
}
.form-control:focus, .form-select:focus {
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.map-embed {
  border: 0;
  border-radius: var(--radius);
  width: 100%;
  height: 280px;
  border: 1px solid var(--border) !important;
}

/* Legal */
.legal-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 1.7rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 1.2rem; }

/* CTA band */
.cta-band {
  background:
    linear-gradient(125deg, #0F172A 0%, #134E4A 50%, #0F766E 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.6rem 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); }

/* Footer */
.site-footer {
  background: #020617;
  color: rgba(255,255,255,0.78);
  padding-top: 68px;
}
.site-footer h5 {
  color: var(--white);
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.site-footer a {
  color: rgba(255,255,255,0.68);
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.9rem;
}
.site-footer a:hover { color: #5EEAD4; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-brand img {
  height: 50px;
  background: white;
  border-radius: 6px;
  padding: 3px;
}
.footer-brand span {
  color: white;
  font-weight: 700;
  font-size: 1.02rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2.4rem;
  padding: 1.2rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.social-link {
  display: inline-flex !important;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  align-items: center;
  justify-content: center;
  margin-right: 0.45rem;
  margin-bottom: 0 !important;
}
.social-link:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white) !important;
}

/* Floating buttons */
.float-btns {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
}
.float-whatsapp { background: var(--success); }
.float-top {
  background: var(--primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.float-top.show { opacity: 1; pointer-events: auto; }

/* Category */
.category-block { margin-bottom: 2.8rem; }
.category-block .cat-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}
.category-block .cat-head i {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #5EEAD4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notice-box {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.15rem;
  color: var(--text);
  font-size: 0.9rem;
  border: 1px solid #FFEDD5;
  border-left-width: 3px;
}

/* About */
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.mission-card {
  background: linear-gradient(145deg, #0F172A, #134E4A);
  color: white;
  border-radius: var(--radius);
  padding: 2rem;
}
.mission-card h3 { color: #5EEAD4; }

/* 404 */
.error-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 100px 0;
  background: var(--light);
}
.error-wrap .code {
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.text-accent { color: var(--accent) !important; }
.bg-soft { background: var(--light); }
.rounded-16 { border-radius: var(--radius); }
.text-primary { color: var(--secondary) !important; }

@media (max-width: 991.98px) {
  .nav-actions { width: 100%; margin-top: 0.75rem; }
  .nav-actions .btn-call,
  .nav-actions .btn-whatsapp { flex: 1; justify-content: center; }
  .hero { min-height: auto; padding: 108px 0 56px; }
  .hero-image-card { margin-top: 1.75rem; }
  .hero-image-card img { height: 270px; }
  .section { padding: 64px 0; }
}

@media (max-width: 575.98px) {
  .navbar-brand img { height: 40px; }
  .brand-text { font-size: 0.92rem; }
  .float-btn { width: 46px; height: 46px; }
  .cta-band { padding: 1.7rem 1.15rem; }
}
