:root{
  --bg-dark: #05060a;
  --bg-darker: #0b0d12;
  --navy: #0d1320;
  --accent: #af8c2e;     /* gold */
  --accent-2: #c7a764;
  --text: #e9eef5;
  --muted: rgba(233,238,245,.75);
}

*{ box-sizing:border-box; }
body{
  font-family: "Barlow", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:#fff;
  color:#101318;
}

/* Topbar */
.topbar{
  background: #af8c2e;
  color:#fff;
  font-size:14px;
}

.topbar-inner{
  padding:8px 0;
  display:flex;
  flex-direction:column; /* stack rows */
  gap:6px;
}

.topbar-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  text-align:center;
}

.topbar-contact .contact-item{
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:600;
}

.topbar i{ margin-right:0; }

.topbar-social a{
  color:#fff;
  margin:0 6px;
  opacity:.9;
  font-size:15px;
}
.topbar-social a:hover{ opacity:1; }

/* Header */
.site-header{
  background: #0b0f19;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.site-nav{ padding:14px 0; }
.site-logo{
  height:90px;
  width:auto;
}
.brand-text{ line-height:1.05; }
.brand-title{
  font-family:"Rajdhani", sans-serif;
  font-weight:700;
  font-size:22px;
  color:#fff;
}
.brand-sub{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.75);
}
.navbar-dark .navbar-nav .nav-link{
  color:rgba(255,255,255,.85);
  font-weight:600;
  letter-spacing:.02em;
  padding:10px 12px;
}
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover{
  color:#fff;
}
.btn-accent{
  background:var(--accent);
  color:#fff;
  border:0;
  font-weight:700;
  border-radius:0;
  padding:.75rem 1.25rem;
  box-shadow:0 10px 24px rgba(244,124,32,.25);
}
.btn-accent:hover{
  background:var(--accent-2);
  color:#fff;
}

/* Hero */
.hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#000;
}
.hero-slide{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.03);
  transition:opacity 900ms ease, transform 1600ms ease;
}
.hero-slide.active{
  opacity:1;
  transform:scale(1);
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.25));
}
.hero-content{ position:relative; z-index:2; padding:90px 0; }

.eyebrow{
  color:var(--accent);
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:10px;
  font-size:14px;
}
.hero-title{
  font-family:"Rajdhani", sans-serif;
  font-weight:800;
  font-size: clamp(36px, 5vw, 64px);
  color:#fff;
  line-height:1.05;
  margin-bottom:14px;
}
.hero-text{
  color:rgba(255,255,255,.85);
  max-width:650px;
  font-size:18px;
}
.hero-actions{
  margin-top:22px;
  display:flex; gap:12px; flex-wrap:wrap;
}
.hero-controls{
  position:absolute; left:50%; bottom:60px;
  transform:translateX(-50%);
  display:flex; gap:8px; z-index:3;
}
.hero-dot{
  width:26px; height:4px; border:0;
  background:rgba(255,255,255,.35);
}
.hero-dot.active{ background:var(--accent); }

/* Feature blocks */
.features{ margin-top:-60px; position:relative; z-index:5; }
.feature-card{
  background:#0a0c10;
  padding:28px 26px;
  color:#fff;
  border:1px solid rgba(255,255,255,.06);
  height:100%;
}
.feature-icon{
  width:56px; height:56px;
  display:grid; place-items:center;
  background:var(--accent);
  color:#fff;
  font-size:26px;
  margin-bottom:16px;
}
.feature-card h3{
  font-family:"Rajdhani", sans-serif;
  font-weight:700;
  font-size:22px;
}
.feature-card p{ color:rgba(255,255,255,.8); }

/* Section shared */
.section-pad{ padding:80px 0; }
.section-eyebrow{
  color:var(--accent);
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:13px;
  margin-bottom:8px;
}
.section-title{
  font-family:"Rajdhani", sans-serif;
  font-weight:800;
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom:12px;
}
.muted{ color:#5e6672; }

/* About */
.about-image{ position:relative; }
.about-image img{
  width:100%;
  border-radius:2px;
}
.about-badge{
  position:absolute; left:18px; bottom:18px;
  background:var(--accent);
  color:#fff; padding:16px 18px;
  display:flex; align-items:center; gap:10px;
}
.badge-num{
  font-weight:900; font-size:42px; line-height:1;
}
.badge-text{
  font-weight:700; font-size:14px; letter-spacing:.08em; text-transform:uppercase;
}
.progress-block{ margin-top:14px; }
.progress-label{
  display:flex; justify-content:space-between;
  font-weight:700; margin-bottom:6px;
}
.progress{
  height:8px; border-radius:0;
  background:#e9edf3;
}
.progress-bar{
  background:var(--accent);
}

/* Services */
.services{ background:#f6f7fa; }
.service-card{
  background:#fff;
  border:1px solid #eceff4;
  height:100%;
  transition:transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(16,20,30,.08);
}
.service-img{
  height:210px;
  background-size:cover;
  background-position:center;
}
.service-body{ padding:20px; }
.service-body h3{
  font-family:"Rajdhani", sans-serif;
  font-weight:700; font-size:22px;
}
.service-link{
  font-weight:800; color:var(--accent); text-decoration:none;
}

/* Stats band */
.stats-band{
  background:#0a0c10;
  color:#fff;
  padding:60px 0;
}
.stat-num{
  font-family:"Rajdhani", sans-serif;
  font-weight:800; font-size:44px;
}
.stat-label{
  color:rgba(255,255,255,.8);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
}

/* Projects */
.project-card{
  position:relative; display:block; overflow:hidden;
}
.project-img{
  height:260px;
  background-size:cover;
  background-position:center;
  transition:transform .6s ease;
}
.project-overlay{
  position:absolute; inset:0;
  background:rgba(0,0,0,.45);
  display:flex; flex-direction:column;
  justify-content:flex-end;
  padding:18px;
  color:#fff;
  opacity:0;
  transition:opacity .3s ease;
}
.project-card:hover .project-img{ transform:scale(1.06); }
.project-card:hover .project-overlay{ opacity:1; }
.project-title{
  font-weight:800; font-size:18px;
}
.project-sub{
  color:var(--accent);
  font-weight:800; letter-spacing:.12em; text-transform:uppercase; font-size:12px;
}

/* Testimonials */
.testimonials{ background:#f6f7fa; }
.test-card{
  background:#fff;
  padding:22px;
  border:1px solid #eceff4;
  height:100%;
}
.test-top{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:12px;
}
.test-avatar{
  width:56px; height:56px; border-radius:50%; object-fit:cover;
  border:3px solid #fff; box-shadow:0 5px 12px rgba(0,0,0,.08);
}
.test-stars i{ color:#ffb400; }
.test-text{ color:#333a45; font-size:16px; }
.test-name{ font-weight:800; margin-top:10px; }

/* CTA band */
.cta-band{
  background:var(--accent);
  color:#fff;
  padding:36px 0;
}
.cta-inner{
  display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap;
}
.cta-title{
  font-family:"Rajdhani", sans-serif;
  font-weight:800; font-size:28px; line-height:1.1;
}
.cta-sub{ opacity:.95; }

/* Footer */
.site-footer{
  background:#0b0f19;
  color:#fff;
  padding:60px 0 0;
}
.footer-brand{
  font-family:"Rajdhani", sans-serif;
  font-weight:800; font-size:26px;
}
.footer-title{
  font-weight:800; margin-bottom:12px;
}
.footer-links,
.footer-contact{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin-bottom:8px; }
.footer-links a{ color:rgba(255,255,255,.8); text-decoration:none; }
.footer-links a:hover{ color:#fff; }
.footer-contact li{ margin-bottom:8px; color:rgba(255,255,255,.8); }
.footer-contact i{ margin-right:8px; color:var(--accent); }

.footer-bottom{
  margin-top:30px;
  border-top:1px solid rgba(255,255,255,.08);
  padding:16px 0;
  text-align:center;
  color:rgba(255,255,255,.7);
  font-size:14px;
}

/* Responsive tweaks */
@media (max-width: 991px){
  .features{ margin-top:0; padding-top:30px; }
}

/* Mobile spacing fixes */
@media (max-width: 575.98px){

  /* Give everything a little side air */
  .container{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Topbar stacks nicer */
  .topbar-inner{
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .topbar-contact{
    width:100%;
    justify-content:space-between;   /* left & right */
    gap:10px;
  }
  .topbar-contact .contact-item{
    font-size:13px;
    white-space:nowrap;
  }
  .topbar-row{
    width: 100%;
    justify-content: center;
  }
  .topbar-social{
    width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
  }
  .topbar-row{
    width: 100%;
  }

  /* Hero text needs room */
  .hero-content{
    padding: 72px 0 80px;
  }
  .hero-title{
    font-size: 34px;
    line-height: 1.1;
  }
  .hero-text{
    font-size: 16px;
  }

  /* Buttons shouldn't feel glued to edge */
  .hero-actions .btn{
    width: auto;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Mobile header layout: logo ~2/3 width, toggler on right */
@media (max-width: 991.98px){

  .navbar-brand{
    max-width: 68%;
  }

  .site-logo{
    height: 75px;  /* smaller logo on mobile */
    width:auto;
  }

  .navbar-toggler{
    margin-left:auto; /* pushes hamburger to far right */
    border:1px solid rgba(255,255,255,.25);
    border-radius:0;
    padding:6px 8px;
  }
}

/* Footer four column layout tweaks */
.footer-logo{
  height:85px;
  width:auto;
}

.footer-text{
  font-size:15px;
  line-height:1.6;
  color:rgba(255,255,255,.8);
}

/* Footer gallery grid */
.footer-gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:8px;
  margin-top:10px;
}

.footer-thumb{
  display:block;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
}

.footer-thumb img{
  width:100%;
  height:70px;
  object-fit:cover;
  transition:transform .25s ease, opacity .25s ease;
}

.footer-thumb:hover img{
  transform:scale(1.06);
  opacity:.9;
}

/* Lightbox */
.lightbox-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:20px;
}

.lightbox-overlay.active{
  display:flex;
}

.lightbox-image{
  max-width:95vw;
  max-height:90vh;
  border:3px solid rgba(255,255,255,.15);
  box-shadow:0 20px 60px rgba(0,0,0,.6);
}

.lightbox-close{
  position:absolute;
  top:14px;
  right:18px;
  background:transparent;
  border:0;
  color:#fff;
  font-size:38px;
  line-height:1;
  cursor:pointer;
  opacity:.9;
}

.lightbox-close:hover{
  opacity:1;
}

/* Footer bottom dot separation */
.footer-dot{
  margin:0 8px;
  opacity:.7;
}

/* Mobile footer gallery thumbs taller */
@media (max-width: 575.98px){
  .footer-thumb img{
    height:78px;
  }
}

@media (min-width: 992px){
  .footer-text {
    padding-right: 20px;   /* pushes the text inward */
    max-width: 90%;        /* keeps text from stretching too far */
  }
}

/* About page hero */
.page-hero{
  background:#0b0f19;
  color:#fff;
  padding:70px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.page-title{
  font-family:"Rajdhani", sans-serif;
  font-weight:800;
  font-size: clamp(32px, 4vw, 52px);
  margin:6px 0 10px;
}
.page-subtitle{
  color:rgba(255,255,255,.85);
  max-width:700px;
  font-size:18px;
}

/* About content */
.about-text{
  font-size:17px;
  line-height:1.75;
  color:#2f3640;
  margin-bottom:14px;
}

/* Side card */
.about-side-card{
  background:#0b0f19;
  color:#fff;
  padding:22px;
  border:1px solid rgba(255,255,255,.08);
  position:sticky;
  top:110px;
}
.about-side-title{
  font-family:"Rajdhani", sans-serif;
  font-weight:800;
  font-size:22px;
  margin-bottom:12px;
}
.about-side-list{
  list-style:none;
  padding:0;
  margin:0;
}
.about-side-list li{
  padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.85);
  font-weight:600;
}
.about-side-cta-title{
  font-weight:800;
  font-size:16px;
}

/* Services hero with image */
.services-hero{
  position:relative;
  background-size:cover;
  background-position:center;
}
.page-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
}
.page-hero-inner{
  position:relative;
  z-index:2;
  padding:70px 0;
}

/* Services page cards */
.service-page-img{
  height:220px;
}
.service-page-card p{
  color:#4a525e;
  font-size:15.5px;
  line-height:1.6;
}

/* Two box band */
.services-band{
  background:#0a0c10;
  color:#fff;
  padding:70px 0;
}
.band-box{
  background:#0b0f19;
  border:1px solid rgba(255,255,255,.08);
  padding:24px;
  height:100%;
}
.band-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  background:var(--accent);
  font-size:26px;
  margin-bottom:12px;
}
.band-box h3{
  font-family:"Rajdhani", sans-serif;
  font-weight:800;
  font-size:22px;
  margin-bottom:8px;
}
.band-box p{
  color:rgba(255,255,255,.85);
  line-height:1.6;
}

/* Quote modal styling */
.quote-modal-content{
  background:#0b0f19;
  color:#fff;
  border-radius:0;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

.quote-modal-header{
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:22px 24px;
  background:linear-gradient(90deg, #0b0f19, #121a2c);
}

.quote-eyebrow{
  color:var(--accent);
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:4px;
}

.quote-modal-title{
  font-family:"Rajdhani", sans-serif;
  font-weight:800;
  font-size:24px;
  margin:0;
}

.quote-modal-body{
  padding:24px;
  background:#0a0c10;
}

.quote-form .form-label{
  font-weight:700;
  font-size:14px;
  color:rgba(255,255,255,.9);
}

.quote-input{
  background:#0b0f19;
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  border-radius:0;
  padding:12px 12px;
}
.quote-input:focus{
  background:#0b0f19;
  color:#fff;
  border-color:var(--accent);
  box-shadow:0 0 0 .15rem rgba(244,124,32,.15);
}

/* Honeypot hidden */
.quote-honeypot{
  position:absolute;
  left:-9999px;
  opacity:0;
  height:0;
  width:0;
}

/* Status text */
.quote-status{
  font-weight:700;
  font-size:14px;
  color:rgba(255,255,255,.8);
}

/* Success state */
.quote-success{
  text-align:center;
  padding:28px 18px;
  border:1px solid rgba(255,255,255,.08);
  background:#0b0f19;
  margin-bottom:10px;
}
.quote-success-icon{
  font-size:42px;
  color:var(--accent);
  margin-bottom:8px;
}
.quote-success-title{
  font-family:"Rajdhani", sans-serif;
  font-weight:800;
  font-size:26px;
  margin-bottom:4px;
}
.quote-success-text{
  color:rgba(255,255,255,.85);
  font-size:16px;
}

/* Small screens */
@media (max-width: 575.98px){
  .quote-modal-title{ font-size:20px; }
  .quote-modal-body{ padding:18px; }
}

.quote-fade-out .modal-dialog{
  opacity:0;
  transform:translateY(10px);
  transition:all .6s ease;
}

/* Make modal placeholder text lighter */
.quote-input::placeholder {
  color: rgba(255,255,255,.45);  /* soft, readable white */
  opacity: 1;                    /* Firefox fix */
}

/* Masonry Gallery */
.gallery-masonry{
  column-count: 3;
  column-gap: 18px;
}

.gallery-item{
  display: block;
  position: relative;
  margin: 0 0 18px;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid #eceff4;
  background: #0b0f19;
}

.gallery-item img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s ease, opacity .35s ease;
}

.gallery-hover{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  display: grid;
  place-items: center;
  transition: opacity .25s ease;
}

.gallery-hover-text{
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  border: 2px solid rgba(255,255,255,.8);
  padding: 10px 14px;
}

.gallery-item:hover img{
  transform: scale(1.05);
  opacity: .95;
}
.gallery-item:hover .gallery-hover{
  opacity: 1;
}

/* Responsive columns */
@media (max-width: 991.98px){
  .gallery-masonry{ column-count: 2; }
}
@media (max-width: 575.98px){
  .gallery-masonry{ column-count: 1; }
}

/* Contact page */
.contact-section .contact-card{
  background:#fff;
  border:1px solid #eceff4;
  padding:26px;
  height:100%;
}

.contact-info-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.contact-info-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.contact-info-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:#fff;
  font-size:20px;
  flex:0 0 auto;
}

.contact-info-label{
  font-weight:800;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#111;
}

.contact-info-text{
  font-size:16px;
  color:#2f3640;
  margin-top:2px;
}

.contact-form .form-label{
  font-weight:700;
  font-size:14px;
  color:#111;
}

.contact-input{
  border-radius:0;
  padding:12px;
  border:1px solid #e5e8ee;
}

.contact-input:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 .15rem rgba(175,140,46,.15);
}

/* Honeypot hidden */
.contact-honeypot{
  position:absolute;
  left:-9999px;
  opacity:0;
  height:0;
  width:0;
}

/* Full width map */
.contact-map{
  width:100%;
  height:420px;
  background:#0a0c10;
}
.contact-map iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

@media (max-width: 575.98px){
  .contact-map{ height:320px; }
}

/* Contact ajax feedback */
.contact-status{
  font-weight:700;
  font-size:14px;
}

.contact-success{
  background:#0b0f19;
  color:#fff;
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
}

.contact-success-icon{
  font-size:34px;
  color:var(--accent);
  margin-bottom:6px;
}
.contact-success-title{
  font-family:"Rajdhani", sans-serif;
  font-weight:800;
  font-size:22px;
  margin-bottom:4px;
}
.contact-success-text{
  color:rgba(255,255,255,.85);
  font-size:15px;
}

.contact-fade-out{
  opacity:0;
  transition:opacity .6s ease;
}

/* ============================================================
   GALLERY PAGE – MOBILE FIX (REAL MASONRY BEHAVIOR ON PHONES)
   ============================================================ */

.gallery-masonry {
  column-count: 3;
  column-gap: 16px;
}

.gallery-item {
  display: block;
  margin-bottom: 16px;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* Hover overlay */
.gallery-hover {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  opacity:0;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  padding:12px;
  transition:opacity .25s ease;
}
.gallery-item:hover .gallery-hover {
  opacity:1;
}
.gallery-hover-text {
  color:#fff;
  font-weight:700;
  font-size:15px;
  letter-spacing:.05em;
}


/* ==== MOBILE FIX ==== */
@media (max-width: 575.98px) {

  .gallery-masonry {
    column-count: 2 !important;      /* prevents giant images */
    column-gap: 10px !important;
  }

  .gallery-item {
    margin-bottom: 10px !important;
  }

  .gallery-item img {
    height: auto !important;         /* ensures images scale naturally */
  }

  /* if image containers accidentally have fixed heights elsewhere */
  .project-img,
  .gallery-img,
  .gallery-card img {
    height: auto !important;
  }
}