/* Basic Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background-color: #f5f7fa;
  line-height: 1.6;
}

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

/* Layout Helpers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background: #0b1726;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  position: relative;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 46px;
  width: auto;
}

.site-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.brand-line1 {
  color: #f7b500;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-line2 {
  color: #e5e7eb;
  font-weight: 700;
  font-size: 0.78rem;
  opacity: 0.95;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  margin-left: 1.25rem;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: #f7b500;
}

.nav-quote-link {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #f7b500;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(229, 231, 235, 0.6);
  color: #f9fafb;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 1.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Hero with Video */
.hero {
  position: relative;
  min-height: 60vh;
  color: #f9fafb;
  display: flex;
  align-items: center;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
  background: #0b1726;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.75),
    rgba(11, 23, 38, 0.9)
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  max-width: 600px;
  margin-bottom: 1.5rem;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #f7b500;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  background: #ffffff;
}

.section-highlight .btn-secondary {
  color: #f9fafb;
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(249, 250, 251, 0.08);
}

.hero-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(249, 250, 251, 0.12);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.2rem;
}

.hero-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f7b500;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background-color: #e5ebf3;
}

.section-highlight {
  background: linear-gradient(135deg, #0b1726, #1f2937);
  color: #f9fafb;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.section-subtitle {
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.section-highlight .section-subtitle {
  color: #e5e7eb;
}

.section-subtitle.small-note {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.5rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  border: 1px solid #d1d9e6;
}

.section-highlight .card {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(156, 163, 175, 0.6);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.96rem;
  color: #4b5563;
}

.small-card {
  padding: 1.25rem;
}

.highlight-card {
  border-left: 4px solid #f7b500;
}

.list {
  list-style: disc;
  margin-left: 1.3rem;
  margin-top: 0.5rem;
}

.list li {
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
}

.note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #374151;
}

/* Gallery */
.gallery-item {
  background: #ffffff;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  border: 1px solid #d1d9e6;
}

.gallery-item img {
  width: 100%;
  display: block;
  height: 220px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

/* About, Quote, Contact layouts */
.about-layout {
  display: grid;
  gap: 2rem;
}

.about-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quote-layout {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.contact-only-info {
  max-width: 720px;
}

.contact-info p {
  margin-bottom: 0.35rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Forms */
.contact-form {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.9rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  border: 1px solid #d1d9e6;
}

.section-highlight .contact-form {
  background: rgba(15, 23, 42, 0.9);
}

.form-group {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #111827;
}

.section-highlight label {
  color: #e5e7eb;
}

input,
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  font-family: inherit;
}

.section-highlight input,
.section-highlight textarea {
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  border-color: #4b5563;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #f7b500;
  box-shadow: 0 0 0 1px rgba(247, 181, 0, 0.3);
}

.full-width {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.section-highlight .form-note {
  color: #d1d5db;
}

/* Footer */
.footer {
  background: #0b1726;
  color: #9ca3af;
  padding: 1.5rem 0;
  margin-top: 1rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.88rem;
}

.footer-small {
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  z-index: 150;
}

.whatsapp-icon {
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
}

/* Desktop layout tweaks */
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 3fr 2fr;
  }

  .quote-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.2fr);
  }

  .section-title {
    text-align: left;
  }
}

/* Tablet & mobile */
@media (max-width: 768px) {
  .header-inner {
    gap: 0.75rem;
  }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b1726;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
    display: none;
  }

  .nav a {
    margin: 0.35rem 0;
  }

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

  .hero {
    padding-top: 2.5rem;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-card {
    margin-top: 0.5rem;
  }

  .section {
    padding: 2.25rem 0;
  }

  .footer-inner {
    padding: 0 0.5rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.4rem;
  }
  .hero-text h1 {
    font-size: 1.4rem;
  }
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}


/* Enhanced services + gallery + leadership (keeps original layout) */
.services-detailed-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-card h3 { margin-top: 0.65rem; margin-bottom: 0.5rem; }
.service-media img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(0,0,0,0.08); }
.list { padding-left: 1.1rem; margin-top: 0.5rem; }
.list li { margin: 0.25rem 0; }

.gallery-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(0,0,0,0.08); }
.gallery-item figcaption { margin-top: 0.5rem; font-weight: 700; color: #111827; }

.leadership-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.leader-top { display: flex; gap: 0.9rem; align-items: center; }
.leader-photo { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; border: 2px solid rgba(215, 155, 30, 0.55); }
.leader-role { margin: 0.15rem 0 0; color: #374151; font-size: 0.95rem; }

.about-card { margin-top: 12px; }
@media (max-width: 520px) {
  .service-media img { height: 150px; }
  .gallery-item img { height: 160px; }
  .leader-photo { width: 64px; height: 64px; }
}


/* Hero points */
.hero-points{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  margin: 16px 0 18px;
}
.hero-points .point{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: #f9fafb;
  font-size: 0.98rem;
  line-height: 1.35;
}
.hero-points .point span{
  display:block;
  font-weight: 900;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.92);
}

/* Leadership photos */
.leadership-grid{ grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.leader-top{ display:flex; gap:0.9rem; align-items:center; margin-bottom: 0.8rem; }
.leader-photo{
  width:72px; height:72px; border-radius:999px; object-fit:cover;
  border: 2px solid rgba(215,155,30,0.55);
}
.leader-text{ color:#4b5563; font-size:0.98rem; }

@media (max-width: 520px){
  .leader-photo{ width:64px; height:64px; }
  .hero-points .point{ font-size: 0.95rem; }
}

/* ===== Final Hero Alignment Fix ===== */
.hero .container{ position: relative; }
.hero-content{
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.hero-text{
  max-width: 780px;
}
.hero h1{
  line-height: 1.12;
  margin: 0 0 18px;
}
.hero p{
  margin: 0 0 30px;
  font-size: 1.05rem;
}
.hero-cards{
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.hero-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 16px 18px;
  backdrop-filter: blur(4px);
}
.hero-card strong{
  display: block;
  letter-spacing: .4px;
  margin-bottom: 6px;
}
.hero-actions{
  margin-top: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
}
/* Remove any old side feature blocks if still present */
@media (max-width: 900px){
  .hero-content{ padding: 96px 18px 64px; }
  .hero-text{ max-width: 100%; }
}
@media (max-width: 600px){
  .hero-actions{ flex-direction: column; align-items: flex-start; width: fit-content; }
}
/* ===== End Fix ===== */

/* ===== Hero layout to match reference screenshot ===== */
.hero-content.hero-two-col{
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 44px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.hero-left .hero-text{
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.hero-right .hero-cards{
  margin-top: 0;
  gap: 18px;
}

.hero-right .hero-card{
  background: rgba(255,255,255,0.88);
  color: #0b1220;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.hero-right .hero-card strong{
  color: rgba(15,23,42,0.55);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero-actions{
  justify-content: flex-start;
}

@media (max-width: 980px){
  .hero-content.hero-two-col{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 96px 18px 64px;
  }
  .hero-left .hero-text{ text-align: left; }
  .hero-actions{ flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 600px){
  .hero-actions{ flex-direction: column; align-items: flex-start; width: fit-content; }
}
/* ===== End hero reference layout ===== */

/* ===== Hero two-column fixed (reference style) ===== */
.hero .container{ position: relative; }
.hero-content.hero-two-col{
  display:grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 24px 80px;
}

.hero-left .hero-text{
  max-width: 760px;
  text-align: left;
  margin: 0;
}

.hero-desc{ margin-top: 14px; font-size: 1.05rem; line-height: 1.6; padding-top: 30px; }
.hero-metrics{ margin-top: 12px; font-size: 1rem; line-height: 1.6; opacity: .95; }

.hero-actions{
  margin-top: 22px;
  display:flex;
  gap: 14px;
  justify-content:flex-start;
  align-items:center;
}

.hero-right .hero-cards{
  margin-top: 10px;
  display:grid;
  gap: 18px;
}

.hero-card.light-card{
  background: rgba(255,255,255,0.90);
  color: #0b1220;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.hero-card.light-card strong{
  display:block;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: .85rem;
  color: rgba(15,23,42,0.55);
  margin-bottom: 8px;
}

@media (max-width: 980px){
  .hero-content.hero-two-col{
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 96px 18px 64px;
  }
  .hero-actions{ flex-wrap: wrap; }
}

@media (max-width: 600px){
  .hero-actions{ flex-direction: column; align-items:flex-start; width: fit-content; }
}
/* ===== End hero two-column fixed ===== */


/* Ensure hero right column is visible */
.hero-right{display:block !important;}


/* ===== Spacing & layout polish (desktop + mobile) ===== */
:root{
  --container-pad: 20px;
  --header-h: 72px;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Header height normalization */
.header{
  min-height: var(--header-h);
}
.header .container{
  padding-top: 10px;
  padding-bottom: 10px;
}

/* HERO: reduce big top/bottom whitespace and side gaps */
.hero-content.hero-two-col{
  padding-top: calc(var(--header-h) + 36px) !important;
  padding-bottom: 60px !important;
  gap: 36px !important;
}

.hero-left .hero-text{
  margin-top: 30px; 
  max-width: 700px !important;
}

.hero h1{
  font-size: 30px;
  margin-bottom: 14px !important;
}

.hero-desc, .hero-metrics{
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
}

.hero-right .hero-cards{
  margin-top: 0 !important;
}

/* Make right cards feel tighter */
.hero-card.light-card{
  padding: 16px 16px !important;
}

/* Buttons compact */
.hero-actions{
  margin-top: 18px !important;
}

/* Improve mobile: reduce left/right empty space and bring content up */
@media (max-width: 980px){
  :root{ --header-h: 64px; --container-pad: 14px; }
  .hero-content.hero-two-col{
    padding-top: calc(var(--header-h) + 22px) !important;
    padding-bottom: 46px !important;
    gap: 18px !important;
  }
  .hero-left .hero-text{ max-width: 100% !important; }
}

@media (max-width: 600px){
  :root{ --container-pad: 12px; }
  .hero h1{ font-size: 28px !important; }
  .hero-actions{ width: 100% !important; }
  .hero-actions a{ width: 100% !important; text-align: center !important; }
}
/* ===== End polish ===== */


/* ===== Mobile nav fix ===== */
@media (max-width: 768px){
  .nav{
    display:none;
    position: fixed;
    top: var(--header-h, 64px);
    left: 0;
    right: 0;
    background: rgba(6,18,32,0.98);
    padding: 14px 16px;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  body.nav-open .nav{ display:flex; }
  body.nav-open{ overflow:hidden; } /* prevent background scroll while menu open */
}
/* ===== End mobile nav fix ===== */


/* ===== Header/Menu + Section spacing fix ===== */

/* If header is fixed/sticky, prevent big gaps and improve anchor scrolling */
html{ scroll-behavior: smooth; }
section{ scroll-margin-top: 90px; }

/* Reduce top padding for sections (except hero) */
.section{
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}
.section-alt{
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

/* HERO: remove excessive top padding if present */
.hero-content.hero-two-col{
  padding-top: calc(var(--header-h, 72px) + 22px) !important;
}

/* Header: avoid extra bottom margin/padding causing whitespace */
.header{
  padding: 0 !important;
}
.header-inner{
  margin: 0 !important;
}

/* Hamburger visibility rules */
.menu-toggle{
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

@media (max-width: 768px){
  .menu-toggle{ display: inline-flex !important; }
  /* keep nav hidden until hamburger click (nav-open) */
  .nav{ display: none; }
  body.nav-open .nav{ display: flex; }
}

/* Desktop: show nav inline */
@media (min-width: 769px){
  .nav{
    display: flex !important;
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
  }
}
/* ===== End fix ===== */


/* ===== Header center alignment ===== */
.header .container.header-inner{
  display:flex;
  align-items:center;
  gap: 18px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.header .nav{
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 769px){
  .header .nav{
    justify-content:center;
  }
}
/* ===== End header center alignment ===== */

/* ===== Fullscreen mobile menu overlay ===== */
@media (max-width: 768px){
  .nav{
    position: fixed !important;
    inset: 0 !important;            /* top/right/bottom/left = 0 */
    height: 100vh !important;
    width: 100vw !important;
    background: rgba(6,18,32,0.98) !important;
    backdrop-filter: blur(6px);
    padding: 96px 22px 40px !important;
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    z-index: 99999 !important;
  }

  body.nav-open .nav{ display:flex !important; }

  /* Hide page behind completely */
  body.nav-open{ overflow:hidden; }
  body.nav-open .header{ position: relative; z-index: 1; } /* header stays but nav covers it */
  body.nav-open main, 
  body.nav-open section, 
  body.nav-open footer{ filter: blur(0px); }

  .nav a{
    font-size: 1.15rem;
    padding: 10px 14px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    border-radius: 12px;
  }
}
/* ===== End fullscreen mobile menu overlay ===== */

/* ===== Hero actions after cards ===== */
.hero-actions-row{
  grid-column: 1 / -1;
  margin-top: 18px;
  display:flex;
  gap: 14px;
  justify-content: flex-start;
  padding-top: 15px
}

@media (max-width: 980px){
  .hero-actions-row{
    margin-top: 10px;
  }
}

@media (max-width: 600px){
  .hero-actions-row{
    flex-direction: column;
    width: 100%;
  }
  .hero-actions-row a{
    width: 100%;
    text-align:center;
  }
}
/* ===== End hero actions after cards ===== */


/* ===== Production: sticky header + clean spacing ===== */
:root{
  --header-h: 72px;
  --container-pad: 20px;
}

body{ margin:0; }

/* Sticky header */
.header{
  position: sticky !important;
  top: 0;
  z-index: 10000;
  background: linear-gradient(180deg, #061523, #071a2d);
}

.header .container.header-inner{
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Standard container */
.container{
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Consistent section spacing */
.section, .section-alt, .section-highlight{
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (max-width: 768px){
  :root{ --header-h: 64px; --container-pad: 14px; }
  .section, .section-alt, .section-highlight{
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* Anchor alignment under sticky header */
section{ scroll-margin-top: calc(var(--header-h) + 16px); }

/* Hero: remove large top gaps; keep centered */
.hero{
  padding-top: 24px !important;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}
.hero-content.hero-two-col{
  padding-top: 0 !important;
  padding-bottom: 36px !important;
  gap: 32px !important;
}

/* Desktop nav aligned right (match reference header) */
@media (min-width: 769px){
  .header .nav{
    margin-left: auto;
    justify-content: flex-end;
  }
}

@media (max-width: 480px){
  .site-title{ white-space: normal; }
  .brand-line1{ font-size: 0.98rem; }
  .brand-line2{ font-size: 0.72rem; }
}

/* Brand (two-line) */
.site-title{ display:flex; flex-direction:column; gap:2px; line-height:1.05; white-space:nowrap; }
.brand-line1{ color:#f7b500; font-weight:800; font-size:1.05rem; letter-spacing:0.6px; }
.brand-line2{ color:#ffffff; font-weight:600; font-size:0.75rem; letter-spacing:0.8px; }

@media (max-width: 480px){
  .site-title{ white-space:normal; }
  .brand-line1{ font-size:0.95rem; }
  .brand-line2{ font-size:0.72rem; }
}

/* Mobile fullscreen menu overlay (covers page) */
@media (max-width: 768px){
  .menu-toggle{ display:inline-flex !important; }
  .nav{
    position: fixed !important;
    inset: 0 !important;
    height: 100vh !important;
    width: 100vw !important;
    background: linear-gradient(180deg, #061523, #071a2d) !important;
    backdrop-filter: blur(6px);
    padding: 96px 22px 40px !important;
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    z-index: 99999 !important;
  }
  body.nav-open .nav{ display:flex !important; }
  body.nav-open{ overflow:hidden; }
  body.nav-open .whatsapp-float{ display:none !important; } /* hide WA while menu open */
  .nav a{
    font-size: 1.15rem;
    padding: 12px 14px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    border-radius: 12px;
  }
}

/* Hero actions row after values/cards */
.hero-actions-row{
  grid-column: 1 / -1;
  margin-top: 18px;
  display:flex;
  gap: 14px;
  justify-content: flex-start;
}
@media (max-width: 600px){
  .hero-actions-row{
    flex-direction: column;
    width: 100%;
  }
  .hero-actions-row a{
    width: 100%;
    text-align:center;
  }
}
/* ===== End production fixes ===== */


/* ===== Ensure hamburger visible on mobile ===== */
@media (max-width: 900px){
  .menu-toggle{ display:inline-flex !important; }
  /* Hide desktop inline nav when not open */
  body:not(.nav-open) .nav{
    display:none !important;
  }
}
/* Keep desktop nav on large screens */
@media (min-width: 901px){
  .menu-toggle{ display:none !important; }
  .nav{ display:flex !important; position: static !important; height:auto !important; width:auto !important; }
}
/* ===== End ensure hamburger ===== */


/* ===== Mobile sticky header (fixed) ===== */
@media (max-width: 900px){
  .header{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
  }
  body{
    padding-top: var(--header-h) !important; /* keep content visible below fixed header */
  }
  .hero{
    min-height: calc(100vh - var(--header-h)) !important;
    padding-top: 24px !important; /* body padding already offsets header */
  }
}
/* ===== End mobile sticky header ===== */


/* ===== Final header + mobile menu + VASURAM Chat floating button overrides ===== */
.header{
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.header-inner{
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 12px 20px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 18px !important;
}

.logo-wrap{
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.brand{
  line-height: 1.05 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.brand .brand-title{
  display: block !important;
}

.brand .brand-sub{
  display: block !important;
}

.nav{
  justify-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav a{ white-space: nowrap !important; }

@media (min-width: 769px){
  .menu-toggle{ display:none !important; }
  .nav{ position: static !important; background: transparent !important; height:auto !important; width:auto !important; }
}

/* Mobile header: brand in center and 2 lines */
@media (max-width: 768px){
  .header-inner{ padding: 10px 14px !important; gap: 10px !important; }
  .brand{ text-align: center !important; white-space: normal !important; }
  .brand .brand-title{ font-size: 14px !important; }
  .brand .brand-sub{ font-size: 10px !important; opacity: .9 !important; letter-spacing: .08em !important; }

  /* Hamburger visible */
  .menu-toggle{ display:inline-flex !important; }

  /* Hide inline nav until opened */
  .nav{ display:none !important; }

  /* When open: show header + full-screen menu below it */
  body.nav-open .nav{
    display:flex !important;
    position: fixed !important;
    top: var(--header-h, 72px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - var(--header-h, 72px)) !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 18px !important;
    background: radial-gradient(1200px 600px at 50% -10%, rgba(40,80,120,.25), rgba(0,0,0,0)),
                linear-gradient(180deg, #061726, #040e17) !important;
    z-index: 999 !important;
  }

  /* Hide floating chat while menu is open */
  body.nav-open .whatsapp-float{ display:none !important; }
}

/* VASURAM Chat floating button */
.whatsapp-float{
  width: auto !important;
  height: auto !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: #25d366;
  color: #111 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.25) !important;
  right: 24px !important;
  bottom: 24px !important;
}

.whatsapp-icon{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  line-height: 1.0 !important;
}

.whatsapp-icon .wa-title{ font-size: 12px !important; }
.whatsapp-icon .wa-sub{ font-size: 10px !important; font-weight: 700 !important; }

/* Make header background consistent while sticky */
.header{
  background: rgba(4, 14, 23, 0.92) !important;
  backdrop-filter: blur(10px) !important;
}

.service-card img{object-fit:cover !important;}

/* ===== Desktop header alignment fix (do NOT change mobile) ===== */
@media (min-width: 769px){
  /* Left logo + right nav (prevents overlap and keeps header centered in container) */
  .header-inner{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 22px !important;
  }

  .logo-wrap{
    flex: 0 0 auto !important;
  }

  .nav{
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 18px !important;
    margin-left: auto !important;
  }

  .nav a{ margin-left: 0 !important; }
}
/* ===== End desktop header fix ===== */

/* ===== Patch: remove mobile top whitespace + move hamburger to right corner ===== */
@media (max-width: 900px){
  body{ padding-top: 0 !important; }
}
@media (max-width: 768px){
  /* Use flex on mobile header to prevent any overlap and keep hamburger at far right */
  .header-inner{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .logo-wrap{
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .site-title{
    min-width: 0 !important;
    line-height: 1.1 !important;
    gap: 3px !important;
  }
  .brand-line1, .brand-line2{ display: block !important; }
  .brand-line1{ font-size: 0.98rem !important; }
  .brand-line2{ font-size: 0.72rem !important; }

  .menu-toggle{
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
}
/* ===== End patch ===== */
