/* Custom Variable Setup matching the UI theme colors */
:root {
  /* Primary Brand Colors */
  --primary: #26A9E0;
  --primary-dark: #1A75BA;
  --primary-light: #EAF8FE;

  /* Main Theme */
  --navy: #0A192F;
  --dark-blue: #102845;
  --text-navy: #102845;
  --light-bg: #F7FAFC;

  /* Accent Colors (Replace Gold) */
  --accent: #26A9E0;
  --accent-dark: #1A75BA;
  --accent-light: #EDF9FF;

  /* Luxury Variables */
  --lux-navy: #0A192F;
  --lux-blue: #26A9E0;
  --lux-blue-dark: #1A75BA;
  --lux-border: #D7EAF6;
  --lux-soft-blue: #F3FBFF;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #4A5568;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography Overrides */
.text-navy {
  color: var(--text-navy) !important;
}

.bg-navy {
  background-color: var(--navy) !important;
}

.bg-dark-blue {
  background-color: var(--dark-blue) !important;
}

.fw-extrabold {
  font-weight: 800;
}

.fs-7 {
  font-size: 0.75rem;
}

.text-xs {
  font-size: 0.8rem;
}

.text-sm {
  font-size: 0.9rem;
}

.tracking-wider {
  letter-spacing: 1.5px;
}

.max-w-xl {
  max-width: 570px;
}

.max-w-md {
  max-width: 450px;
}

/* Button Styles */
.btn-gold {
  background-color: var(--accent);
  color: var(--navy);
  border: none;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background-color: #1A75BA;
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-navy {
  background-color: var(--navy);
  color: white;
  border: none;
}

.btn-navy:hover {
  background-color: var(--dark-blue);
  color: white;
}

/* Header & Topbar */
.top-bar {
  background-color: #050E1A;
  font-size: 0.85rem;
  
}

.top-box{
 display: flex;
 flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.top-con{
  display: flex;
  gap: 20px;
}
.social-links{
   display: flex;
   gap: 10px;
}


/* Card Enhancements & Hover Effects */
.service-card,
.feature-card,
.review-card,
.intro-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.feature-card:hover,
.intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .125) !important;
}



.gold-line {
  width: 60px;
  height: 3px;
  background-color: var(--accent);
}

/* Section 4: Construction Process Timeline Logic */
.process-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 20px;
  height: 90%;
  width: 2px;
  background: repeating-linear-gradient(to bottom,
      transparent,
      transparent 4px,
      var(--accent) 4px,
      var(--accent) 8px);
}

.process-step {
  position: relative;
  z-index: 1;
}

/* Floating Utility Controls */
.floating-container {
  right: 20px;
  bottom: 20px;
}

.floating-container .btn:hover {
  transform: scale(1.1);
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .border-md-none {
    border: none !important;
  }

  .process-timeline::before {
    left: 27px;
  }
}

.project-card {
  background: #132844;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Contact Custom Section Styles */
.custom-contact-sec {
  background-color: #FFFFFF;
  position: relative;
}

.text-gold-accent {
  color: var(--primary) !important;
}

.contact-eyebrow {
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
}

.contact-title-main {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--lux-navy);
  font-size: 2rem;
}

.mini-badge-box {
  background: #F8F9FA;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid var(--lux-border);
}

.mini-badge-icon {
  width: 40px;
  height: 40px;
  background: #EDF9FF;
  color: #1A75BA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.msg-form-card {
  background: #FFFFFF;
  border: 1px solid var(--lux-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.info-right-panel {
  background-color: var(--soft);
  border: 1px solid #EDF9FF;
  border-radius: 16px;
}

.info-circle-icon {
  width: 44px;
  height: 44px;
  background: #EDF9FF;
  color: #1A75BA;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.form-floating-custom {
  position: relative;
}

.form-floating-custom i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #A0AEC0;
}

.form-floating-custom:has(textarea) i {
  top: 16px;
  transform: none;
}

.form-input-lux {
  width: 100%;
  border: 1px solid var(--lux-border);
  border-radius: 8px;
  padding: 12px 15px 12px 42px;
  font-size: 0.95rem;
  color: var(--lux-navy);
  transition: all 0.3s;
}

.form-input-lux:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.15);
}

.btn-msg-submit {
  background: var(--primary);
  color: var(--lux-navy);
  font-weight: 600;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  transition: all 0.3s;
}

.btn-msg-submit:hover {
  background: #1A75BA;
  transform: translateY(-1px);
}


/* Footer Custom Section Styles */
.lux-footer-dark {
  background: linear-gradient(rgba(10, 25, 47, 0.96), rgba(10, 25, 47, 0.98)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80') no-repeat center center / cover;
  color: #A0AEC0;
}

.footer-brand-box {
  border: 2px solid var(--primary);
  padding: 6px 12px;
  font-weight: 700;
  color: var(--primary);
  border-radius: 6px;
  font-size: 1.3rem;
}

.footer-sub-links {
  color: #A0AEC0;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  margin-bottom: 12px;
}

.footer-sub-links:hover {
  color: var(--primary);
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: background 0.3s;
}

.footer-social-btn:hover {
  background: var(--primary);
  color: var(--lux-navy);
}

.newsletter-box-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.newsletter-box-wrapper input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 12px 15px;
}

.newsletter-box-wrapper input:focus {
  outline: none;
  box-shadow: none;
}

.newsletter-submit-arrow {
  background: var(--primary);
  border: none;
  padding: 0 20px;
  color: var(--lux-navy);
  font-size: 1.1rem;
}

.footer-bottom-bar {
  background: #050E1A;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Testimonials Slide Smooth Transition Adjustment */
#testimonialCarousel .carousel-item {
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

#testimonialCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
}

/* Contact Section Right Panel Alignment Fixes */
.info-right-panel {
  background-color: var(--soft);
  border: 1px solid #EDF9FF;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.info-circle-icon {
  width: 46px;
  height: 46px;
  background: #EDF9FF;
  color: #1A75BA;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.d-flex:hover .info-circle-icon {
  background: #1A75BA;
  color: #FFFFFF;
}

.info-text-box {
  display: flex;
  flex-direction: column;
}

.info-text-box span.text-muted {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.info-text-box .text-sm {
  font-size: 0.95rem !important;
  line-height: 1.4;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.navbar-logo {
  height: 60px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

/* ========= VOOMI BRAND COLOR OVERRIDE ========= */
.text-warning,
.text-gold-accent,
.contact-eyebrow {
  color: #26A9E0 !important;
}

.bg-warning,
.btn-warning {
  background: #26A9E0 !important;
  border-color: #26A9E0 !important;
  color: #fff !important;
}

.border-warning {
  border-color: #26A9E0 !important;
}

.btn-gold,
.btn-msg-submit,
.newsletter-submit-arrow {
  background: linear-gradient(135deg, #26A9E0, #1A75BA);
  color: #fff !important;
  border: none;
}

.btn-gold:hover,
.btn-msg-submit:hover,
.newsletter-submit-arrow:hover {
  background: linear-gradient(135deg, #1A75BA, #0E5C97);
  color: #fff !important;
}

.gold-line {
  background: #26A9E0;
}

.mini-badge-icon,
.info-circle-icon {
  background: #EAF8FE;
  color: #1A75BA;
}

.footer-social-btn:hover {
  background: #26A9E0;
  color: #fff;
}

.form-input-lux:focus {
  border-color: #26A9E0;
  box-shadow: 0 0 0 .25rem rgba(38, 169, 224, .20);
}

/* ========= MANAGING DIRECTOR MODERN LAYOUT ENGINE ========= */
.md-premium-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(10, 25, 47, 0.04) !important;
  border: 1px solid var(--lux-border) !important;
}

.md-profile-sidebar {
  background: linear-gradient(145deg, #F8FAFC 0%, var(--primary-light) 100%);
  border-right: 1px solid var(--lux-border);
}

.md-avatar-wrapper {
  position: relative;
  padding: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.15);
  display: inline-block;
}

.md-avatar-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.md-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--lux-navy);
  font-size: 1.5rem;
}

.md-designation {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
  background: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--lux-border);
}

.md-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--lux-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--lux-border);
  font-size: 0.95rem;
}

.md-social-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(38, 169, 224, 0.25);
}

.md-message-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--lux-navy);
  font-size: 1.8rem;
  line-height: 1.3;
}

.md-quote-line {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

.md-quote-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #4A5568;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 400;
}

.md-signature {
  font-family: 'Outfit', sans-serif;
}

@media (max-width: 767.98px) {
  .md-profile-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--lux-border);
    padding: 40px 20px !important;
  }
  .md-message-title { font-size: 1.5rem; }
  .md-quote-text { font-size: 0.95rem; }
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.info-links span {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.info-links i {
  flex-shrink: 0;
}

/* ===================================================
   🆕 DYNAMIC BOOTSTRAP SCROLLSPY CORE ENGINE OVERRIDES
   =================================================== */

/* HTML Layout Scrolling Smoothness Linkage */
html {
  scroll-behavior: smooth;
}

/* Scrollspy Active Link Engine Styling */
.navbar-nav .nav-item .nav-link {
  color: #4A5568 !important; /* Normal unselected state link color */
  transition: color 0.25s ease-in-out, font-weight 0.2s ease;
}

/* Screen automatic intersection trigger point selector */
.navbar-nav .nav-item .nav-link.active {
  color: #26A9E0 !important; /* Voomi Blue selection active color */
  font-weight: 700 !important;
}

.navbar-nav .nav-item .nav-link:hover {
  color: #1A75BA !important; /* Hover state color */
}

/* Responsive Structural Breakpoints Media Layouts */
@media(max-width:575px){}
@media(min-width:576px) and (max-width:767px){}
@media(min-width:768px) and (max-width:991px){}
@media(min-width:992px) and (max-width:1199px){}
@media(min-width:1200px){}

/* Contact panel ke image wrapper ke liye styling */
.contact-panel-img-box {
    width: 100%;
    overflow: hidden;
}

.contact-panel-img-box img {
    transition: transform 0.3s ease;
}

/* Chaho toh hover animation bhi add kar sakte ho (optional) */
.contact-panel-img-box img:hover {
    transform: scale(1.03);
}

/* Gold Premium Button Style */
.btn-gold {
    background-color: #D4AF37;
    color: #0a192f !important;
    border: 1px solid #D4AF37;
    transition: all 0.3s ease-in-out;
}
.btn-gold:hover {
    background-color: #bfa030;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-2px);
}

/* Outline Button Animation */
.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Stats Card Overlay Adjustment */
.bg-navy {
    background-color: #0a192f;
}
.stats-container-offset {
    margin-top: -50px;
    z-index: 10;
}

@media (max-width: 768px) {
    .stats-container-offset {
        margin-top: 20px; /* मोबाइल पर कार्ड नीचे शिफ्ट हो जायेगा */
    }
    .border-md-none {
        border-right: none !important;
    }
}

/* Max-width Utility */
.max-w-xl {
    max-width: 550px;
}
.text-xs {
    font-size: 0.78rem;
}

/* ===================================================
   RESPONSIVE LAYOUT SYSTEM
   Mobile, tablet, laptop and desktop optimizations
   =================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 92px;
}

body {
  width: 100%;
  min-width: 0;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  overflow-wrap: break-word;
}

.row > *,
.d-flex > *,
.info-text-box,
.newsletter-box-wrapper input {
  min-width: 0;
}

/* Top bar: all contact items remain readable without horizontal overflow. */
.top-bar {
  width: 100%;
  line-height: 1.45;
}

.top-box.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.top-con {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  min-width: 0;
}

.top-con > span,
.top-hours,
.top-hours > span {
  display: flex;
  align-items: center;
  min-width: 0;
}

.top-con a {
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.social-links a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #26A9E0 !important;
  outline: none;
}

/* Header and navigation */
.navbar > .container {
  gap: 12px;
}

.navbar-toggler {
  padding: 0.45rem 0.6rem;
  border-color: rgba(10, 25, 47, 0.22);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 169, 224, 0.2);
}

.navbar-nav .nav-link {
  border-radius: 8px;
}

/* Fluid type and media keep the page balanced between breakpoints. */
.display-4 {
  font-size: clamp(2.15rem, 4.5vw, 3.5rem);
}

.display-5,
.section-title,
.contact-title-main {

  line-height: 1.15;
}

.display-6 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.project-card img {
  height: clamp(210px, 24vw, 270px);
}

.process-img-box img,
.contact-panel-img-box img {
  width: 100%;
  object-fit: cover;
}

.form-input-lux,
.newsletter-box-wrapper input {
  max-width: 100%;
}

.newsletter-box-wrapper {
  width: 100%;
}

.newsletter-submit-arrow {
  flex: 0 0 auto;
}

.info-text-box a,
.info-text-box span,
.footer-sub-links {
  overflow-wrap: anywhere;
}

.floating-container {
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  padding: 0 !important;
}

/* Mobile phones */
@media (max-width: 575.98px) {
  html {
    scroll-padding-top: 76px;
  }

  .top-bar {
    font-size: 0.78rem;
    padding-block: 0.65rem !important;
  }

  .top-box.container,
  .top-con {
    flex-direction: column;
    align-items: stretch;
  }

  .top-box.container {
    gap: 7px;
  }

  .top-con {
    gap: 7px;
  }

  .top-con > span,
  .top-hours {
    width: 100%;
    justify-content: flex-start;
  }

  .social-links {
    width: 100%;
    justify-content: center;
    padding-top: 5px;
    margin-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar {
    padding-block: 0.65rem !important;
  }

  .navbar-logo,
  .navbar-brand .navbar-logo[style] {
    height: 44px !important;
    max-width: 180px;
  }

  nav.navbar:not(.navbar-expand-lg) > .container {
    flex-wrap: nowrap;
  }

  nav.navbar:not(.navbar-expand-lg) .btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .navbar-collapse {
    width: 100%;
  }

  main section.py-5 > .container.py-5,
  main section.py-5 > .container.py-4 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .services-section,
  .projects-preview,
  .company-intro,
  .why-choose-us,
  .construction-process,
  .director,
  .testimonials,
  .clients-section,
  .custom-contact-sec,
  #faq {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  .services-section .row.mb-5 > *,
  .testimonials .row.mb-5 > * {
    text-align: left !important;
  }

  .services-section .row.mb-5 .btn {
    width: 100%;
  }

  .project-card img {
    height: 220px;
  }

  .intro-stats-card {
    padding: 1.25rem 0.5rem !important;
  }

  .intro-stats-card > [class*="col-"] {
    padding-inline: 0.55rem;
  }

  .process-img-strip {
    gap: 10px;
    overflow-x: auto;
    justify-content: flex-start !important;
  }

  .process-img-strip > div {
    flex: 0 0 72px;
  }

  .process-step {
    gap: 0.75rem !important;
  }

  .process-step .step-number {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    font-size: 0.78rem;
  }

  .process-timeline::before {
    left: 22px;
  }

  .process-step .step-content {
    padding: 0.85rem !important;
  }

  .director .card,
  .msg-form-card,
  .info-right-panel,
  .bottom-cta-banner,
  .review-card {
    padding: 1.25rem !important;
  }

  .director blockquote p,
  section.py-5 p[style*="text-align: justify"] {
    text-align: left !important;
  }

  .bottom-cta-banner,
  .bottom-cta-banner > div {
    width: 100%;
  }

  .bottom-cta-banner > .d-flex {
    align-items: flex-start !important;
  }

  .bottom-cta-banner .btn {
    width: 100%;
  }

  .accordion-button {
    padding: 1rem;
    font-size: 0.92rem;
  }

  .inner-hero {
    padding: 64px 0 !important;
    background-position: center !important;
  }

  .inner-hero .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .lux-footer-dark .row > .col-6 {
    width: 100%;
  }

  .newsletter-submit-arrow {
    padding-inline: 16px;
  }

  .footer-bottom-bar p {
    line-height: 1.6;
  }

  .floating-container .btn {
    width: 44px !important;
    height: 44px !important;
  }
}

/* Large phones */
@media (min-width: 576px) and (max-width: 767.98px) {
  .top-box.container {
    justify-content: center;
    gap: 8px 18px;
  }

  .top-con {
    flex: 1 1 100%;
    justify-content: center;
  }

  .inner-hero {
    padding: 76px 0 !important;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
  .top-box.container {
    justify-content: center;
  }

  .top-con {
    flex: 1 1 100%;
    justify-content: center;
  }

  .project-card img {
    height: 230px;
  }

  .inner-hero {
    padding: 88px 0 !important;
  }
}

/* Collapsed navigation shared by phones and tablets */
@media (max-width: 991.98px) {
  .navbar-logo {
    height: 52px;
  }

  .navbar-collapse {
    flex-basis: 100%;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: #f8fbfd;
    border: 1px solid #e7f2f8;
    border-radius: 12px;
  }

  .navbar-nav {
    gap: 0.15rem !important;
  }

  .navbar-nav .nav-link {
    padding: 0.7rem 0.8rem;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: #eaf8fe;
  }
}

/* Laptops */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .top-box.container {
    gap: 8px 14px;
  }

  .top-con {
    gap: 12px;
  }

  .navbar-nav {
    gap: 0.6rem !important;
  }

  .navbar-nav .nav-link {
    padding-inline: 0.45rem;
  }

}

/* Wide desktops */
@media (min-width: 1200px) {
  .top-box.container {
    flex-wrap: nowrap;
  }

  main section > .container,
  footer > .container {
    max-width: 1200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ===================================================
   STICKY NAVBAR LOGO SAFE AREA
   Keeps the complete wide logo visible while scrolling.
   =================================================== */
.navbar {
  --logo-display-height: 56px;
  --logo-safe-space: 5px;
  overflow: visible !important;
  isolation: isolate;
}

.navbar > .container,
.navbar-brand {
  overflow: visible;
}

.navbar-brand {
  flex: 0 1 auto;
  align-self: center;
  min-width: 0;
  margin: 0;
  padding: var(--logo-safe-space);
  line-height: 0;
  background-color: #fff;
  border-radius: 6px;
}

.navbar-logo,
.navbar-brand .navbar-logo[style] {
  display: block;
  width: auto;
  height: var(--logo-display-height) !important;
  max-width: min(260px, calc(100vw - 112px));
  max-height: none;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  transform: none !important;
  clip-path: none;
}

.sticky-top.navbar {
  top: 0;
}

@media (max-width: 575.98px) {
  .navbar {
    --logo-display-height: 40px;
    --logo-safe-space: 4px;
    min-height: 66px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .navbar {
    --logo-display-height: 44px;
    --logo-safe-space: 4px;
    min-height: 72px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar {
    --logo-display-height: 48px;
    --logo-safe-space: 5px;
    min-height: 78px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar {
    --logo-display-height: 52px;
    min-height: 86px;
  }
}

@media (min-width: 1200px) {
  .navbar {
    --logo-display-height: 56px;
    min-height: 92px;
  }
}

/* ===================================================
   RESPONSIVE INFORMATION STRIPS AND CONTACT GRID
   =================================================== */
.testimonial-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.75rem;
  text-align: left;
}

.testimonial-trust-strip > span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.75rem !important;
  line-height: 1.4;
  border-radius: 10px;
  background: #f7fbfe;
}

.testimonial-trust-strip > span > i {
  flex: 0 0 auto;
  margin-right: 0 !important;
  font-size: 1.05rem;
}

.value-strip > [class*="col-"] {
  display: flex;
  padding-block: 0.65rem;
}

.value-strip > [class*="col-"] > .d-flex {
  width: 100%;
  min-width: 0;
  justify-content: flex-start !important;
  text-align: left;
}

.value-strip i {
  width: 36px;
  flex: 0 0 36px;
  text-align: center;
}

.value-strip h6 {
  line-height: 1.35;
}

.value-strip p {
  line-height: 1.45;
}

#contact > .container > .row.g-5 {
  align-items: stretch;
}

#contact .msg-form-card,
#contact .info-right-panel {
  width: 100%;
}

.contact-info-list > .d-flex {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start !important;
  gap: 1rem !important;
}

.contact-info-list .info-circle-icon {
  width: 46px;
  height: 46px;
  margin-top: 0 !important;
}

.contact-info-list .info-text-box {
  width: 100%;
  min-width: 0;
}

.contact-info-list .info-text-box a,
.contact-info-list .info-text-box span,
.contact-info-list .info-text-box small {
  overflow-wrap: normal;
  word-break: normal;
}

.contact-info-list a[href^="tel:"] {
  white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .testimonial-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-strip > [class*="col-"] {
    width: 50%;
  }

  .value-strip > [class*="col-"]:nth-child(2) {
    border-right: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .testimonial-trust-strip {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .testimonial-trust-strip > span {
    width: 100%;
  }

  .value-strip {
    padding: 0.85rem 1rem !important;
    text-align: left !important;
  }

  .value-strip > [class*="col-"] {
    width: 100%;
    padding: 0.85rem 0;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .value-strip > [class*="col-"]:last-child {
    border-bottom: 0;
  }

  .value-strip > [class*="col-"] > .d-flex {
    justify-content: flex-start !important;
  }
}

@media (max-width: 575.98px) {
  .testimonial-trust-strip {
    padding: 0.75rem !important;
  }

  .testimonial-trust-strip > span {
    padding: 0.7rem 0.75rem !important;
    font-size: 0.82rem;
  }

  #contact .info-right-panel {
    padding: 1rem !important;
  }

  .contact-info-list {
    gap: 1.25rem !important;
  }

  .contact-info-list > .d-flex {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.8rem !important;
  }

  .contact-info-list .info-circle-icon {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

.contact-info-list .info-text-box .text-sm {
  font-size: clamp(0.8rem, 3.7vw, 0.93rem) !important;
}
}

/* Homepage hero carousel */
.homepage-hero {
  width: 100%;
  margin: 0;
}

.homepage-hero,
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-slide {
  height: 100svh;
  min-height: 100svh;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-slide.active .hero-background {
  animation: hero-image-zoom 7.5s ease-out both;
}

.hero-carousel.is-paused .hero-slide.active .hero-background {
  animation-play-state: paused;
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 20, 35, 0.9) 0%, rgba(4, 20, 35, 0.77) 43%, rgba(4, 20, 35, 0.34) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.hero-content {
  width: min(100%, 730px);
  padding: 5rem 0 5.5rem;
  color: #fff;
}

.hero-kicker {
  margin: 0 0 0.8rem;
  color: #8bdbf8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  min-height: 1.15em;
  margin: 0;
  color: #fff;
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-title-prefix {
  color: #fff;
}

.hero-title-highlight {
  color: #26a9e0;
}

.hero-caret {
  display: inline-block;
  width: 3px;
  height: 0.92em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: #26a9e0;
  animation: hero-caret-blink 0.8s step-end infinite;
}

.hero-content > p:last-child {
  max-width: 670px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.hero-carousel-control {
  z-index: 3;
  width: 7%;
  min-width: 54px;
  opacity: 1;
}

.hero-carousel-control > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(6, 27, 45, 0.35);
  color: #fff;
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-carousel-control:hover > span,
.hero-carousel-control:focus-visible > span {
  border-color: #26a9e0;
  background: #26a9e0;
  transform: scale(1.06);
}

@keyframes hero-image-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

@keyframes hero-caret-blink {
  50% { opacity: 0; }
}

@media (max-width: 767.98px) {
  .homepage-hero,
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-slide {
    min-height: 580px;
  }

  .hero-background {
    background-position: 60% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(4, 20, 35, 0.92) 0%, rgba(4, 20, 35, 0.66) 100%);
  }

  .hero-content {
    padding: 4.5rem 0 5rem;
  }

  .hero-content > p:last-child {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-carousel-control {
    width: 13%;
    min-width: 45px;
  }

  .hero-carousel-control > span {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .hero-background,
  .hero-caret {
    animation: none;
  }
}

/* Cross-device responsive refinements */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

main {
  width: 100%;
  overflow: clip;
}

#services,
#projects,
#about,
#team,
#contact {
  scroll-margin-top: 96px;
}

@media (max-width: 991.98px) {
  #services,
  #projects,
  #about,
  #team,
  #contact {
    scroll-margin-top: 76px;
  }

  .navbar-collapse {
    max-height: calc(100svh - 88px);
    overflow-y: auto;
  }

  .hero-content {
    width: min(100%, 650px);
    padding-block: 4.75rem 5.5rem;
  }

  .hero-content > p:last-child {
    max-width: 600px;
  }

  .project-card img {
    height: clamp(220px, 34vw, 270px);
  }

  .custom-contact-sec .row {
    --bs-gutter-y: 2rem;
  }
}

@media (max-width: 767.98px) {
  .homepage-hero,
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-slide {
    height: auto;
    min-height: max(560px, 100svh);
  }

  .hero-container {
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    padding: 4.5rem 0 6.5rem;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10vw, 3.35rem);
  }

  .hero-content > p:last-child {
    margin-top: 1.1rem;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-carousel-control {
    top: auto;
    bottom: 1.1rem;
    width: 42px;
    height: 42px;
  }

  .hero-carousel-control.carousel-control-prev {
    left: 1rem;
  }

  .hero-carousel-control.carousel-control-next {
    right: 1rem;
  }

  .hero-carousel-control > span {
    width: 42px;
    height: 42px;
  }

  .project-card img {
    height: 240px;
  }

  .value-strip > [class*="col-"],
  .intro-stats-card > [class*="col-"] {
    border-right: 0 !important;
  }

  .value-strip > [class*="col-"]:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
  }

  .lux-footer-dark .newsletter-box-wrapper {
    flex-wrap: wrap;
  }

  .lux-footer-dark .newsletter-box-wrapper input,
  .lux-footer-dark .newsletter-submit-arrow {
    width: 100%;
  }

  .lux-footer-dark .newsletter-submit-arrow {
    min-height: 44px;
  }
}

@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .homepage-hero,
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-slide {
    min-height: max(540px, 100svh);
  }

  .hero-kicker {
    margin-bottom: 0.65rem;
    font-size: 0.7rem;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }

  .hero-content > p:last-child {
    font-size: 0.93rem;
  }

  .services-section .service-card,
  .why-choose-us .feature-card,
  .testimonials .review-card {
    height: auto !important;
  }

  .floating-container {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .floating-container .btn {
    width: 42px !important;
    height: 42px !important;
  }
}

@media (min-width: 1400px) {
  .hero-content {
    width: min(100%, 760px);
  }
}


