@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --primary-color: #ff8119;
    --white-color: #fff;
    --light-color: #ececec;
    --dark-color: #1b1b1b;
    --black-color: #333;
}

body{
    font-family: "Roboto", sans-serif !important;
}


#hero-bg {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

#hero-bg .content{
  position: relative;
  z-index: 9;
  margin-top: 30vh;
}

#hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: kenburns 20s infinite;
  transform-origin: center;
  z-index: 1;
}

/* Dark overlay */
#hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.4));
  z-index: 2;
}

/* Ken Burns animation with smooth crossfade and scale */
@keyframes kenburns {
  0% {
    background-image: url('./../images/hero-bg.png');
    transform: scale(1);
    opacity: 1;
  }

  25% {
    background-image: url('./../images/hero-bg-2.jpg');
    transform: scale(1.1);
    opacity: 1;
  }

  50% {
    background-image: url('./../images/hero-bg-3.jpg');
    transform: scale(1.15);
    opacity: 1;
  }

  75% {
    background-image: url('./../images/hero-bg-2.jpg');
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    background-image: url('./../images/hero-bg.png');
    transform: scale(1);
    opacity: 1;
  }
}



.btn-theme-primary{
    background: var(--primary-color);
    color: var(--white-color);
    padding: 14px 48px;
    text-decoration: none;
    border: 0;
    border-radius: 100px;
}

.btn-theme-primary:hover{
    background: var(--dark-color);
}


.btn-theme-light{
    background: var(--light-color);
    color: var(--dark-color);
    padding: 14px 48px;
    text-decoration: none;
    border-radius: 100px;
}

.btn-theme-light:hover{
    background: var(--dark-color);
    color: var(--primary-color);
}

#services{
    background: var(--light-color);
}

.service-card{
    padding: 40px;
    border: 1px solid var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    height: 400px;
    text-align: center;
    border-radius: 10px;
}

.service-card .img img{
    border-radius: 100px;
    border: 2px solid var(--primary-color);
}

.stats-container{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}

.stat-box{
    background: var(--primary-color);
    height: 200px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 200px;
    flex-direction: column;
    border: 4px solid var(--dark-color);
}

.stat-box.dark{
    background: var(--dark-color);
    color: var(--primary-color);
    border: 4px solid var(--primary-color);

}


#packages{
    background: var(--light-color);
}
.package-box{
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    color: var(--white-color);
    background: var(--primary-color);
}

.package-box dl li{
    border-bottom: 1px solid var(--light-color);
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.semi-urban{
    background: var(--dark-color);
    color: var(--primary-color);
    margin-top: -30px;
}

.package-box.semi-urban dl li{
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 5px;
}

#reviews {
  background: linear-gradient(135deg, #f0f4ff, #ffffff);
}

.testimonial-box {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 80px 25px 60px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.testimonial-box:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0,0,0,0.2);
}

.testimonial-box .img {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
}
.testimonial-box .img img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.testimonial-box .body {
  font-size: 15px;
  color: #333;
  margin-bottom: 25px;
  min-height: 100px;
}

.testimonial-box .name {
  background: #fff;
  padding: 12px 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.testimonial-box .customer-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.testimonial-box .stars {
  color: #ffb400;
  font-size: 16px;
  margin-top: 5px;
}


.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card:hover img {
  transform: scale(1.15);
}

.project-card .project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card .project-card-overlay h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.project-card .project-card-overlay p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

#cta{
    background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('./../images/bsnl-tower-bg.webp');
    padding: 140px 0;
    background-size: cover;
    background-attachment: fixed;
}

.icon-box{
    background: var(--light-color);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
    gap: 10px;
}

.icon-box .icon{
    background: var(--primary-color);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: #fff;
    border-radius: 60px;
}

/*.popup{*/
/*    position: fixed;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(80%, -50%);*/
/*    width: 90vw;*/
/*    background: var(--white-color);*/
/*    padding: 20px;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 -10px 20px rgba(0,0,0,0.2);*/
/*    z-index: 99;*/
/*    overflow: hidden;*/
/*    transition: 1s linear;*/
/*}*/

/*.popup.active{*/
/*    transform: translate(-50%, -50%);*/
/*}*/

/*.overlay{*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: 9;*/
/*    background: #333;*/
/*    opacity: 0.5;*/
/*    transform: translateX(-100%);*/
/*    transition: 0.5s linear;*/
/*}*/

/*.overlay.active{*/
/*    transform: translateX(0);*/
/*}*/

/*.close{*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    background: var(--primary-color);*/
/*    width: 48px;*/
/*    height: 48px;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    color: var(--white-color);*/
/*    font-size: 28px;*/
/*}*/

#footer{
  background: var(--dark-color);
  padding: 120px 0;
  color: var(--white-color);
}

.footer-links{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.footer-link{
  color: var(--white-color);
  text-decoration: none;
}

#copyright{
  background: var(--black-color);
  padding-top: 20px;
  color: var(--white-color);
}

#header{
  background: var(--primary-color);
}
@media screen and (max-width: 600px){
  .col-sm-4, .col-sm-6, .col-sm-12{
    margin: 20px 0;
  }

  .stats-container{
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 10px;
  }

  .stats-container .stat-box{
    width: 160px;
    height: 160px;
  }

  .footer-links{
    grid-template-columns: repeat(2, 1fr);
  }

  .icon-box{
    margin: 20px 0;
  }
}