/* ===========================================================
   BISTA PVT LTD — MAIN STYLESHEET
   =========================================================== */
:root {
  --navy: #0D1B4B;
  --navy-light: #16235E;
  --orange: #E85D04;
  --orange-dark: #C44D00;
  --orange-light: #FFF3EC;
  --gold: #C9A227;
  --charcoal: #1A1A1A;
  --gray: #5A5A5A;
  --light-bg: #F7F7F5;
  --white: #FFFFFF;
  --border: #E2E0D8;
  --green: #25D366;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}



* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ===================== TOP BAR ===================== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-left { display: flex; gap: 24px; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 16px; }
.topbar-right a { color: rgba(255,255,255,0.75); transition: color .2s; }
.topbar-right a:hover { color: var(--orange); }

/* ===================== NAVBAR ===================== */
nav.main-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
nav.main-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 7px;
  border: 1px solid var(--border);
  box-shadow: 0 3px 10px rgba(13,27,75,0.08);
  transition: box-shadow .25s ease, transform .25s ease;
}
.logo:hover .logo-icon { box-shadow: 0 6px 16px rgba(13,27,75,0.14); transform: translateY(-1px); }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; }
.logo-text span { display: block; font-size: 10px; font-weight: 600; color: var(--orange); letter-spacing: 1.8px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 10px 16px; font-size: 14.5px; font-weight: 600;
  color: var(--charcoal); border-radius: 6px; transition: all .2s;
}
.nav-links > li > a:hover, .nav-links > li.active > a { color: var(--orange); background: var(--orange-light); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; background: var(--white);
  min-width: 260px; box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-radius: 10px; padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s; border: 1px solid var(--border);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--charcoal);
  transition: all .15s;
}
.dropdown-menu li a:hover { background: var(--orange-light); color: var(--orange); padding-left: 16px; }
.dropdown-menu li a .dd-icon { font-size: 16px; width: 22px; text-align: center; }

.nav-cta {
  background: var(--orange); color: #fff !important; padding: 11px 22px !important;
  border-radius: 8px; font-weight: 700 !important; transition: background .2s !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; z-index: 210; position: relative; }
.mobile-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== HERO SLIDER (animated, 4 services) ===================== */
.hero-slider { position: relative; overflow: hidden; height: 640px; background: var(--navy); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s;
  background-size: cover; background-position: center; z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,18,45,0.90) 32%, rgba(8,18,45,0.45) 75%, rgba(8,18,45,0.25) 100%);
}
.hero-slide-content { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.hero-slide-content .container { max-width: 620px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(232,93,4,0.18);
  color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 20px; margin-bottom: 22px; border: 1px solid rgba(232,93,4,0.35);
}
.hero-slide-content h1 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.18; margin-bottom: 18px; }
.hero-slide-content h1 span { color: var(--orange); }
.hero-slide-content p { color: rgba(255,255,255,0.72); font-size: 15.5px; line-height: 1.75; margin-bottom: 30px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; width: 100%; padding: 0 26px; z-index: 5; pointer-events: none; }
.hero-arrow {
  pointer-events: all; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 20px; transition: all .2s; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all .25s; }
.hero-dot.active { background: var(--orange); width: 30px; border-radius: 6px; }
.hero-progress { position: absolute; bottom: 0; left: 0; height: 4px; background: var(--orange); z-index: 5; width: 0%; }

/* small service labels strip along the bottom edge of the slider */
.hero-tabs { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; display: flex; background: rgba(8,18,45,0.55); backdrop-filter: blur(6px); }
.hero-tab {
  flex: 1; text-align: center; padding: 14px 8px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.6);
  cursor: pointer; border-bottom: 3px solid transparent; transition: all .25s; letter-spacing: 0.3px;
}
.hero-tab.active { color: #fff; border-bottom-color: var(--orange); background: rgba(232,93,4,0.12); }
.hero-tab:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px;
  font-weight: 700; font-size: 14.5px; cursor: pointer; border: none; transition: all .2s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,93,4,0.3); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #b08e1f; transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; padding: 14px; }

.hero-cards { display: grid; gap: 16px; }
.hero-division-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px; padding: 22px; display: flex; gap: 16px; align-items: flex-start;
  transition: all .25s; cursor: pointer;
}
.hero-division-card:hover { background: rgba(255,255,255,0.12); transform: translateX(6px); }
.hdc-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.hdc-text h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.hdc-text p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.5; }

/* ===================== STRIP / MARQUEE ===================== */
.strip {
  background: var(--orange); padding: 11px 0; overflow: hidden;
}
.strip-inner { display: flex; gap: 50px; animation: marquee 22s linear infinite; width: max-content; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.strip-inner span { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; }
.strip-inner span::before { content: '⬥  '; }

/* ===================== STATS BAR ===================== */
.stats-bar { background: var(--white); padding: 44px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .num { font-size: 36px; font-weight: 800; color: var(--orange); }
.stat-item .label { font-size: 13.5px; color: var(--gray); margin-top: 6px; }

/* ===================== SECTIONS ===================== */
.section { padding: 80px 0; }
.section.alt { background: var(--light-bg); }
.section.dark { background: var(--navy); color: #fff; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label {
  font-size: 12.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.section-title { font-size: 34px; font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.section.dark .section-title { color: #fff; }
.section-sub { font-size: 16px; color: var(--gray); line-height: 1.7; }
.section.dark .section-sub { color: rgba(255,255,255,0.65); }

/* ===================== DIVISION CARDS (3 business units) ===================== */
.divisions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.division-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  transition: all .3s; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.division-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.1); transform: translateY(-6px); }
.division-banner {
  height: 130px; display: flex; align-items: center; justify-content: center; font-size: 52px;
  color: #fff;
}
.division-banner.b1 { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.division-banner.b2 { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.division-banner.b3 { background: linear-gradient(135deg, var(--gold), #8a6f1a); }
.division-body { padding: 28px; }
.division-body h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.division-body p { font-size: 14px; color: var(--gray); line-height: 1.65; margin-bottom: 18px; min-height: 64px; }
.division-list { margin-bottom: 20px; }
.division-list li { font-size: 13px; color: var(--gray); padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.division-list li::before { content: '✓'; color: var(--orange); font-weight: 800; }
.division-link { font-size: 14px; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.division-link:hover { gap: 10px; }

/* ===================== FEATURE / WHY CARDS ===================== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px;
  transition: all .2s;
}
.feature-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.feature-icon {
  width: 50px; height: 50px; background: var(--orange-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px;
}
.feature-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* ===================== PRODUCT / CATEGORY GRID ===================== */
.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.cat-tab {
  padding: 9px 20px; border-radius: 24px; border: 1.5px solid var(--border);
  background: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.cat-tab.active, .cat-tab:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: all .2s; cursor: default;
}
.product-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); transform: translateY(-4px); }
.product-thumb {
  height: 140px; display: flex; align-items: center; justify-content: center; font-size: 50px;
  background: var(--light-bg);
}
.product-info { padding: 18px; }
.product-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.product-info p { font-size: 12.5px; color: var(--gray); line-height: 1.5; margin-bottom: 10px; }
.product-tag {
  display: inline-block; background: var(--orange-light); color: var(--orange);
  font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 20px;
}

/* ===================== PROPERTY LISTING CARDS (Nirmana) ===================== */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.property-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transition: all .25s;
}
.property-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.1); transform: translateY(-5px); }
.property-thumb {
  height: 170px; background: linear-gradient(135deg, var(--light-bg), #ece9e2);
  display: flex; align-items: center; justify-content: center; font-size: 56px; position: relative;
}
.property-badge {
  position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px;
}
.property-badge.sale { background: #2C8C3C; }
.property-badge.rent { background: #2F6FB5; }
.property-body { padding: 20px; }
.property-body h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.property-loc { font-size: 13px; color: var(--gray); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.property-specs { display: flex; gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.property-specs span { font-size: 12.5px; color: var(--gray); display: flex; align-items: center; gap: 5px; }
.property-price { font-size: 19px; font-weight: 800; color: var(--orange); }
.property-price small { font-size: 12px; color: var(--gray); font-weight: 500; }

/* ===================== PROCESS STEPS ===================== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.7,.3,1) .1s;
}
.process-steps.in-view::before { transform: scaleX(1); }
.step { text-align: center; padding: 0 14px; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; background: var(--orange); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800;
  margin: 0 auto 18px; box-shadow: 0 6px 18px rgba(232,93,4,0.28);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.step:hover .step-num { transform: scale(1.1) rotate(-6deg); box-shadow: 0 10px 26px rgba(232,93,4,0.4); }
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--gray); line-height: 1.55; }

/* ===================== SCROLL-REVEAL ANIMATION UTILITY ===================== */
/* Applied automatically by main.js to content cards across the site. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .process-steps::before { transform: scaleX(1); transition: none; }
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.stars { color: var(--orange); font-size: 16px; margin-bottom: 14px; }
.testimonial p { font-size: 14px; color: var(--gray); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px;
}
.reviewer-name { font-size: 14px; font-weight: 700; }
.reviewer-role { font-size: 12px; color: var(--gray); }

/* ===================== TABLE ===================== */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare-table th { background: var(--navy); color: #fff; font-weight: 700; }
.compare-table tr:nth-child(even) { background: var(--light-bg); }

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 64px 0; text-align: center;
}
.cta-banner h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 30px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================== FORM / CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px; background: var(--orange-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0;
}
.contact-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.contact-item p { font-size: 13.5px; color: var(--gray); line-height: 1.55; }

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; transition: border-color .2s; background: #fff; color: var(--charcoal);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--orange); }
.form-group textarea { height: 110px; resize: vertical; }

.map-box {
  background: var(--light-bg); border: 1px solid var(--border); border-radius: 14px;
  height: 260px; display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 10px; margin-top: 22px; font-size: 34px;
}
.map-box p { font-size: 13.5px; color: var(--gray); }
.map-box strong { font-size: 14.5px; }

/* ===================== PAGE HERO (sub pages) ===================== */
/* --hero-img is set per page via inline style on the .page-hero element, e.g.
   <section class="page-hero" style="--hero-img:url('../images/about-hero.jpg')">
   Changing it on one page never affects any other page or the homepage. */
.page-hero {
  --hero-img: url("../images/port-night.jpg");
  background: linear-gradient(120deg, rgba(10,14,26,0.78), rgba(10,14,26,0.5)), var(--hero-img);
  background-size: cover; background-position: center;
  padding: 68px 0; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -60px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,93,4,0.18) 0%, transparent 70%);
}
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; position: relative; z-index: 2; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }
.page-hero h1 { font-size: 36px; font-weight: 800; color: #fff; position: relative; z-index: 2; text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 15.5px; margin-top: 10px; max-width: 600px; position: relative; z-index: 2; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }

/* ===================== TIMELINE / MILESTONES ===================== */
.milestones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.milestone { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.milestone .year { font-size: 26px; font-weight: 800; color: var(--orange); }
.milestone p { font-size: 13.5px; color: var(--gray); margin-top: 8px; line-height: 1.5; }

/* ===================== TEAM ===================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center; }
.team-avatar {
  width: 70px; height: 70px; border-radius: 50%; background: var(--navy); display: flex;
  align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 700; margin: 0 auto 14px;
}
.team-card h4 { font-size: 15px; font-weight: 700; }
.team-card .role { font-size: 12.5px; color: var(--orange); margin-top: 4px; }

/* ===================== FOOTER ===================== */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,0.5); max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo .logo-icon { background: #fff; border-radius: 12px; padding: 7px; border: none; box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.footer-logo .logo-text strong { color: #fff; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 13.5px; color: rgba(255,255,255,0.55); margin-bottom: 11px; cursor: pointer; transition: color .15s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex;
  justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px;
}
.footer-bottom span.brand { color: var(--orange); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all .2s;
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ===================== TOAST ===================== */
.toast {
  position: fixed; bottom: 28px; right: 28px; background: var(--navy); color: #fff; padding: 15px 22px;
  border-radius: 10px; font-size: 14px; border-left: 4px solid var(--orange);
  transform: translateY(80px); opacity: 0; transition: all .3s; z-index: 999; max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===================== FLOATING ACTION BUTTONS (bottom-right) ===================== */
.float-stack {
  position: fixed; bottom: 26px; right: 22px; display: flex; flex-direction: column; gap: 14px; z-index: 998;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; cursor: pointer; transition: transform .2s; color: #fff; text-decoration: none;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn.wa { background: var(--green); box-shadow: 0 8px 24px rgba(37,211,102,0.45); }
.float-btn.call { background: var(--orange); box-shadow: 0 8px 24px rgba(232,93,4,0.45); }
.float-btn svg { width: 26px; height: 26px; fill: #fff; }

/* ===================== PAIN POINTS ===================== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.pain-card {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--orange);
  border-radius: 12px; padding: 24px; display: flex; gap: 14px; align-items: flex-start;
  transition: all .2s;
}
.pain-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.08); transform: translateY(-3px); }
.pain-icon { font-size: 26px; flex-shrink: 0; }
.pain-card p { font-size: 14px; color: var(--gray); line-height: 1.6; margin: 0; }

/* ===================== SOLVE LIST (checklist) ===================== */
.solve-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.solve-list { display: flex; flex-direction: column; gap: 16px; }
.solve-item {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
}
.solve-check {
  width: 30px; height: 30px; background: var(--orange-light); color: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; font-size: 14px;
}
.solve-item p { font-size: 14.5px; color: var(--charcoal); font-weight: 600; margin: 0; line-height: 1.5; }
.solve-visual {
  border-radius: 18px; overflow: hidden; min-height: 380px; background-size: cover; background-position: center;
  background-color: var(--light-bg);
  background-image: url("../images/homehero.jpeg");
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  position: relative;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .5s ease;
}
.solve-visual:hover { transform: scale(1.015); box-shadow: 0 26px 60px rgba(0,0,0,0.2); }
/* A hairline inner border keeps photos crisp and framed without tinting their colors */
.solve-visual::after {
  content: ''; position: absolute; inset: 0; border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), inset 0 -60px 70px -40px rgba(0,0,0,0.22);
  pointer-events: none;
}

/* ===================== PROCESS — 6 STEP GRID ===================== */
.process-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.process-grid-6 .step { text-align: left; padding: 0; }
.process-grid-6 .step-num { margin: 0 0 16px; }

/* ===================== DIRECTOR SECTION ===================== */
.director-wrap {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center;
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  border-radius: 22px; padding: 48px; position: relative; overflow: hidden;
}
.director-wrap::before {
  content: ''; position: absolute; top: -100px; right: -100px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,93,4,0.18) 0%, transparent 70%);
}
.director-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: 16px; background-size: cover; background-position: center;
  background-image: linear-gradient(160deg, rgba(13,27,75,0.15), rgba(13,27,75,0.55)), url("../images/port-day.jpg");
  position: relative; z-index: 2;
}
.director-title { font-size: px; color: var(--orange); font-weight: 700; margin-bottom: 6px; position: relative; z-index: 2;
 }
.director-quote {
  font-size: 22px; font-weight: 700; color: #fff; line-height: 1.5; font-style: italic; margin-bottom: 20px;
  position: relative; z-index: 2;
}
.director-wrap p.director-sub { color: rgba(255,255,255,0.68); font-size: 14.5px; line-height: 1.75; margin-bottom: 24px; position: relative; z-index: 2; }
.director-names { color: var(--orange); font-weight: 700; font-size: 14px; margin-bottom: 24px; position: relative; z-index: 2; }

/* ===================== SERVICES — CONTINUOUS ANIMATED CAROUSEL ===================== */
.service-carousel { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.18); }
.service-track { display: flex; transition: transform .7s cubic-bezier(.65,0,.35,1); }
.service-slide {
  min-width: 100%; min-height: 420px; display: flex; align-items: center;
  padding: 60px; position: relative;
  background-size: cover; background-position: center;
}
.service-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,27,75,0.92) 35%, rgba(13,27,75,0.45) 100%); }
.service-slide-inner { position: relative; z-index: 2; max-width: 560px; }
.service-slide-num { color: var(--orange); font-weight: 800; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; margin-bottom: 14px; }
.service-slide-icon { font-size: 40px; margin-bottom: 16px; }
.service-slide-inner h3 { color: #fff; font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.service-slide-inner p { color: rgba(255,255,255,0.72); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.service-slide-inner .btn-primary { }
.service-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.service-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: all .25s; }
.service-dot.active { background: var(--orange); width: 28px; border-radius: 6px; }
.service-arrows { position: absolute; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; width: 100%; padding: 0 18px; z-index: 3; pointer-events: none; }
.service-arrow {
  pointer-events: all; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; transition: all .2s; backdrop-filter: blur(4px);
}
.service-arrow:hover { background: var(--orange); border-color: var(--orange); }

/* ===================== FAQ ACCORDION ===================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  padding: 18px 22px; font-size: 15px; font-weight: 700; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .faq-plus { flex-shrink: 0; font-size: 20px; color: var(--orange); transition: transform .25s; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 22px; }
.faq-item.open .faq-a { max-height: 220px; padding: 0 22px 20px; }
.faq-a p { font-size: 14px; color: var(--gray); line-height: 1.7; margin: 0; }

/* ===================== LEAD FORM MODAL ===================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(8,12,30,0.7); display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 16px; padding: 34px; max-width: 440px; width: 100%; position: relative; max-height: 92vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 18px; font-size: 22px; cursor: pointer; color: var(--gray); }
.modal-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.modal-box p.modal-sub { font-size: 13.5px; color: var(--gray); margin-bottom: 22px; }

/* ===================== TRUST BADGES / CERT GRID ===================== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 18px; text-align: center;
}
.cert-card .cert-icon { font-size: 34px; margin-bottom: 10px; }
.cert-card h5 { font-size: 13.5px; font-weight: 700; }

/* ===================== SERVICES — PHOTO CARD GRID ===================== */
.service-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-photo-card {
  background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  transition: all .25s; text-decoration: none; display: block;
}
.service-photo-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,0.1); }
.service-photo-card .photo { height: 170px; background-size: cover; background-position: center; position: relative; }
.service-photo-card .photo::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(13,27,75,0) 50%, rgba(13,27,75,0.35) 100%); }
.service-photo-card .num { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; z-index: 2; }
.service-photo-card .body { padding: 20px; }
.service-photo-card h4 { font-size: 15.5px; margin-bottom: 8px; color: var(--charcoal); }
.service-photo-card p { font-size: 13px; color: var(--gray); margin-bottom: 14px; line-height: 1.6; }
.service-photo-card .link { font-size: 13px; font-weight: 700; color: var(--orange); }

/* ===================== SOCIAL ICON LINKS ===================== */
.social-link { display: flex; align-items: center; justify-content: center; transition: all .2s; }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.topbar-right a.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.topbar-right a.social-icon svg { width: 14px; height: 14px; fill: currentColor; }
.sector-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.sector-tag { background: var(--orange-light); color: var(--orange); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 20px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .divisions-grid, .features-grid, .products-grid, .property-grid, .testimonials-grid,
  .milestones-grid, .team-grid, .pain-grid, .process-grid-6, .cert-grid, .service-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 560px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .solve-wrap { grid-template-columns: 1fr; }
  .solve-visual { min-height: 260px; order: -1; }
  .director-wrap { grid-template-columns: 1fr; padding: 36px; }
  .director-photo { max-width: 260px; aspect-ratio: 1/1; margin: 0 auto; }
  .service-slide { padding: 44px 30px; min-height: 380px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  nav.main-nav .container { position: relative; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    background: #fff;
    padding: 10px 20px 18px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 40px rgba(13,27,75,0.18);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-links.mobile-open { display: flex; animation: navSlideDown .28s ease; }
  @keyframes navSlideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { width: 100%; padding: 13px 14px; }
  .dropdown > a { display: flex; align-items: center; justify-content: space-between; }
  .dropdown > a::after { content: '⌄'; font-size: 13px; transition: transform .25s ease; margin-left: 8px; }
  .dropdown.mobile-dropdown-open > a::after { transform: rotate(180deg); }
  .dropdown:hover .dropdown-menu { opacity: 1; visibility: hidden; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: hidden; max-height: 0; overflow: hidden;
    transform: none; box-shadow: none; border: none; border-radius: 0;
    padding: 0 0 0 12px; min-width: 0; transition: max-height .3s ease;
  }
  .dropdown.mobile-dropdown-open .dropdown-menu { visibility: visible; max-height: 320px; padding: 6px 0 6px 12px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .mobile-toggle { display: flex; }
  .topbar-left span:nth-child(2) { display: none; }
  .topbar-left span:nth-child(3) { display: none; }
  .hero-slider { height: 520px; }
  .hero-slide-content h1 { font-size: 25px; }
  .hero-slide-content p { font-size: 13.5px; margin-bottom: 22px; }
  .hero-tag { font-size: 10.5px; padding: 6px 12px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 16px; }
  .hero-tabs { overflow-x: auto; }
  .hero-tab { font-size: 10.5px; padding: 10px 6px; white-space: nowrap; flex: none; min-width: 25%; }
  .section { padding: 48px 0; }
  .section-title { font-size: 25px; }
  .divisions-grid, .features-grid, .products-grid, .property-grid, .testimonials-grid,
  .milestones-grid, .team-grid, .pain-grid, .process-grid-6, .cert-grid, .service-photo-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .service-slide-inner h3 { font-size: 22px; }
  .service-slide-inner p { font-size: 13.5px; }
  .service-slide { min-height: 420px; padding: 36px 24px; }
  .service-arrow { width: 36px; height: 36px; font-size: 15px; }
  .director-quote { font-size: 17px; }
  .float-stack { bottom: 18px; right: 16px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; font-size: 22px; }
  .float-btn svg { width: 22px; height: 22px; }
}
@media (max-width: 480px) {
  .hero-slider { height: 480px; }
  .hero-slide-content h1 { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal-box { padding: 26px 20px; }
}
