/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: #f6f7f9;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  max-width: 100vw;

}

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgb(0, 0, 0);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader {
  height: 60px;
  aspect-ratio: 1;
  --c: no-repeat linear-gradient(#fff 0 0);
  background: var(--c), var(--c), var(--c), var(--c);
  background-size: 33.4% 33.4%;
  animation: l7 1.5s infinite linear;
}

@keyframes l7 {
  0%,  5%  { background-position: 0 0,   50% 0,   0 50%,   50% 50%; }
  25%      { background-position: 0 0,  100% 0,   0 100%,  50% 50%; }
  50%      { background-position: 50% 0, 100% 0,   0 100%,  0 50%;  }
  75%      { background-position: 50% 0, 100% 50%, 0 100%,  0 0;    }
  95%, 100%{ background-position: 50% 0,  50% 50%, 0 50%,   0 0;    }
}

/* ============================================================
   NAVBAR
   — white bg, light border bottom, nav items grey → black on hover
   ============================================================ */
#mainNav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.navbar-brand img {
  width: 46px;
}

.navbar-icons {
  color: rgba(0, 0, 0, 0.55);
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  cursor: pointer;
}

.navbar-icons:hover {
  color: #000000;
}

.navbar-nav .nav-link {
  padding: 8px 12px !important;
}

.enquire-btn {
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 6px;
  white-space: nowrap;
}
.active-nav .navbar-icons {
  color: #000000;
  border-bottom: 2px solid #170553;
  padding-bottom: 2px;
}

/* Mobile nav */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    padding: 12px 4px;
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
  }

  .navbar-nav .nav-link {
    padding: 10px 4px !important;
  }

  .enquire-btn {
    margin-top: 8px;
    width: fit-content;
  }
}

/* ============================================================
   BANNER
   — blurred full-screen hero image, text over it (left aligned)
   ============================================================ */
.banner-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
}

#banner-image {
  position: absolute;
  inset: 0;
  background-image: url(./images/hero-led.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  filter: blur(8px);
  transform: scale(1.06);
  /* stops blur bleed at edges */
}

#hero-preload {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* dark tint so white text is readable */
.banner-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(20px, 5vw, 80px);
  padding-top: 60px;
  /* navbar height offset */
}

#banner-heading {
  font-size: clamp(30px, 5.5vw, 80px);
  font-weight: 700;
  color: #ffffff;
  filter: drop-shadow(2px 2px 18px rgba(25, 8, 8, 0.7));
  line-height: 1.1;
  margin-bottom: 14px;
  max-width: 700px;
}

/* "AVL SOLUTIONS" typed line — Jersey 10 font from video */
.banner-heading-text {
  display: block;
  /* font-family: "Jersey 10", sans-serif; */
  font-family: "Doto", sans-serif;
  font-size: clamp(26px, 4.5vw, 64px);
}

.typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 5px solid #fff;
  color: #ffffff;
  width: 13ch;
  animation:
    typing 3s steps(13) infinite,
    blink 0.7s step-end infinite;
}

@keyframes typing {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  50% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.banner-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Buttons — match video exactly:
   btn1 = outlined white border, dark text bg transparent
   btn2 = purple→pink gradient, white text                */
.banner-btn {
  font-size: clamp(14px, 1.6vw, 20px) !important;
  padding: 10px 22px;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* btn2: gradient matches video (blue → pink → light) */
#banner-btn2,
.banner-btn-services {
  background: linear-gradient(135deg, #1b25bb, #d21489, #eff0f2);
  color: white;
  border: none;
}

/* Mobile: disable fixed bg (iOS Safari bug) */
@media (max-width: 768px) {
  #banner-image {
    background-attachment: scroll;
  }

  .banner-content {
    padding: 0 20px;
    padding-top: 72px;
  }

  .banner-btn {
    font-size: clamp(22px, 1.8vw, 20px) !important;
  }
}

@media (max-width: 500px) {
  .banner-btn {
    font-size: clamp(20px, 1.8vw, 24px) !important;
  }

  #banner-heading {
    font-size: clamp(35px, 5.5vw, 80px);
  }

  .banner-heading-text {
    display: block;
    font-size: clamp(20px, 4.5vw, 64px);
  }
}

/*  */

.stats-section {
  padding: 100px 20px;
  background: #f6f7f9;
}

.counter {
  font-size: clamp(28px, 5vw, 80px); /* fluid scaling — shrinks automatically */
  font-weight: bold;
  color: #000000;
  line-height: 1.1;
}

#number-row {
  border: 2px solid rgb(0, 0, 0);
  padding: 40px 20px;
  border-radius: 20px;
}

#number-row p {
  font-size: clamp(12px, 1.5vw, 16px);
}

/* Tablet */
@media (max-width: 900px) {
  .stats-section {
    padding: 80px 20px;
  }

  #number-row {
    padding: 30px 16px;
  }

  /* 2×2 grid */
  #number-row .col-md-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 28px;
  }

  .counter {
    font-size: clamp(36px, 8vw, 64px);
  }

  #number-row p {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .stats-section {
    padding: 60px 16px;
  }

  #number-row {
    padding: 24px 12px;
    border-radius: 16px;
  }

  #number-row .col-md-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 20px;
  }

  .counter {
    font-size: clamp(32px, 10vw, 52px);
  }
}

/* Very small phones */
@media (max-width: 360px) {
  #number-row .col-md-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .counter {
    font-size: 40px;
  }
}
/*  */
.service-services {
  padding: 80px 20px;
  background: #f6f7f9;
  color: #1a1a1a;
  font-family: Arial, Helvetica, sans-serif;
}

.service-container {
  max-width: 1200px;
  margin: auto;
}

.service-title-section {
  text-align: center;
  margin-bottom: 60px;
}

.service-badge {
  display: inline-block;
  background: #dcb6e8;
  color: #000;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 20px;
  margin-bottom: 25px;
}

.service-title-section h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-title-section p {
  max-width: 600px;
  margin: auto;
  color: #6b7280;
  line-height: 1.6;
}

/* GRID */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  border: 1px solid #e5e7eb;
  text-align: center;
  position: relative;
  transition: 0.35s;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}


/* IMAGE */

.service-image {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.service-image img {
  width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.25));
  transition: 0.4s;
  padding-bottom: 10px;
}




/* IMAGE FLOAT EFFECT */

.service-card:hover img {
  transform: translateY(-10px) scale(1.05);
}



/* TEXT */

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: #6b7280;
  line-height: 1.6;
}



/* BUTTON */

.service-btn-area {
  text-align: center;
  margin-top: 50px;
}

.service-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  text-decoration: none;
  color: #1a1a1a;
  transition: 0.3s;
}

.service-btn:hover {
  background: #111827;
  color: white;
  border-color: #111827;
}



/* RESPONSIVE */

@media(max-width:900px) {

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-title-section h2 {
    font-size: 30px;
  }

  .service-image img {
    width: 120px;
  }

}

/*  */
.gallery-section {
  padding: 90px 20px;
  background: #f6f7f9;
  font-family: Arial, Helvetica, sans-serif;
}

.gallery-container {
  max-width: 1200px;
  margin: auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-header h2 {
  font-size: 38px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: 0.4s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

/* grid variations */

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

/* responsive */

@media(max-width:900px) {

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-header h2 {
  font-size: 30px;
  font-weight: 700;
}

}

@media(max-width:500px) {

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-large,
  .gallery-tall,
  .gallery-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .img-hide-mobile{
    display:none;
  }

}
/*  */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    margin-top: 40px;
}

.grid-item {
    background-color: #1f355e;
    padding: 20px;
    text-align: center;
    color: white;
    border-radius: 5px;
    &:hover{
        background-color: #000000;

    }
    .provides{
      font-size: 38px;
    }
}
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, auto);
    }
}

.providings{
  background-color: #f6f7f9;
}

/*  */
.about-section {
  padding: 100px 20px;
  background: #f4f6f9;
  font-family: Arial, Helvetica, sans-serif;
}

.about-container {
  max-width: 1200px;
  margin: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT */

.about-badge {
  background: #dcb6e8;
  color: #000000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 20px;
  display: inline-block;
  margin-bottom: 25px;
}

.about-title {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 520px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #0f172a;
}

.about-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 13px;
}

/* RIGHT GRID */

.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.about-card {
  padding: 28px;
  border-radius: 16px;
  transition: 0.3s;
}

.about-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.about-card p {
  font-size: 14px;
  color: #64748b;
}

/* ICON */

.about-icon {
  font-size: 26px;
  margin-bottom: 14px;
  color: #ff7a00;
}

/* CARD STYLES */

.about-card-light {
  background: white;
  border: 1px solid #e5e7eb;
}

.about-card-orange {
  background: #40404084;
  color: white;
}

.about-card-orange p {
  color: #ffe7d1;
}

.about-card-blue {
  background: #172b4d;
  color: white;
}

.about-card-blue p {
  color: #d1d5db;
}

/* HOVER */

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* RESPONSIVE */

@media(max-width:900px) {

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-right {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-title {
    font-size: 32px;
  }
  .provides{
      font-size: 26px;
    }

}

/*  */
.contact-cta {
  background: #23365d;
  padding: 100px 20px;
  text-align: center;
  color: white;
}

.contact-cta-container {
  max-width: 900px;
  margin: auto;
}

.contact-cta-title {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-cta-text {
  color: #d1d5db;
  max-width: 600px;
  margin: auto;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.contact-btn-whatsapp {
  background: #00b31e;
  color: white;

  box-shadow: 0 0 20px rgb(62, 255, 48);
}

.contact-btn-whatsapp:hover {
  transform: translateY(-2px);
}

.contact-btn-outline {
  border: 2px solid #cbd5e1;
  color: white;
}

.contact-btn-outline:hover {
  background: white;
  color: #23365d;
}

/* FOOTER */

.contact-footer {
  background: #1b2c4a;
  color: white;
  padding: 70px 20px 30px;
}

.contact-footer-container {
  max-width: 1200px;
  margin: auto;
}

.contact-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.contact-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-logo span {
  background: #ffffff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: bold;
}

.contact-footer-description {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.contact-socials span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2b3e63;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.contact-footer-links h4 {
  margin-bottom: 18px;
}

.contact-footer-links ul {
  list-style: none;
  padding: 0;
}

.contact-footer-links li {
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 14px;
}

.contact-footer-links a {
  text-decoration: none;
  color: #cbd5e1;
}

.contact-footer-links a:hover {
  color: white;
}

.contact-footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
  color: #cbd5e1;
}

/* RESPONSIVE */

@media(max-width:900px) {

  .contact-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-cta-title {
    font-size: 32px;
  }

}

@media(max-width:500px) {

  .contact-footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

}
/* floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
  animation: pulse 2s infinite;

  /* hidden by default */
  opacity: 0;
  pointer-events: none;
}

.whatsapp-float.whatsapp-visible {
  opacity: 1;
  pointer-events: all;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
  color: white;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.call-float {
  position: fixed;
  bottom: 96px;        /* sits just above the whatsapp button (24 + 58 + 14 gap) */
  right: 24px;
  z-index: 9999;
  background: #dadeff;
  color: rgb(217, 0, 0);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
  animation: callPulse 2s infinite;

  /* hidden by default */
  opacity: 0;
  pointer-events: none;
}

.call-float.call-visible {
  opacity: 1;
  pointer-events: all;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
}

.call-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.7);
  color: rgb(38, 6, 223);
}

@keyframes callPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}