@import url('https://fonts.googleapis.com/css2?family=Knewave&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* General Page Styles */
html,body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f9fc;
  color: #333;
  overflow-x: auto;
}


section {
  position: relative; /* creates positioning context */
  width: 100%;
  height: 100vh; /* full screen height */
  overflow: auto;
  scrollbar-width: none;
}

/* Background Video */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover; /* keeps video proportional */
  z-index: 0; /* stay behind */
  filter: brightness(70%);
}


.head-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* perfect center */
  text-align: center;
  color: #fff; /* white text */
  z-index: 1; /* ensures it's above video */
  max-width: 100%;
  max-height: 100%;
}


.head-title h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0,0,0,0.7); /* glow effect for readability */
}

/* Heading Overlay */

.heading {
  position: relative;
  height: 60px; /* height of one line */
  overflow: hidden;
  top: 60%;
}

.heading-wrapper {
  display: flex;
  flex-direction: column;
  animation: scrollText 18s linear infinite;
}

.heading h2 {
  font-family: "Oswald", sans-serif;
  height: 60px;
  margin: 0;
  text-align: center;
  line-height: 60px;
  font-size: 3rem;
  color: #ffffff;
  
}

/* Animation for smooth infinite scroll */
@keyframes scrollText {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-420px); } /* 7 lines * 60px */
}




/* Make spline background full screen */

.hero {
    position: absolute;
    width: 100%;
    top: 10px;
    z-index: 1;
    left: -20px;
}

/* Navbar Styling */
.navbar-m {
  top: 0;
  z-index: 1000;
  background: none;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.navbar-m ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar-m li {
  position: relative;
}

.navbar-m li a {
  position: relative;
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-m li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.navbar-m li a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  list-style: none;
  margin: 0;
  padding: 0;
  transition: opacity 0.2s ease-in-out;
}

.dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: #ffffff;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background: #8d8d8d;
}

.dropdown:hover .dropdown-content {
  display: block;
  visibility: visible;
  opacity: 1;
}





.logo img {
  width: 250px;
  height: 70px;
  margin-top: 5px;
}

/* About Us Section */
.about-us {
  position: relative;
  max-width: 100%;
  max-height: 100vh; /* adjust as needed */
  overflow: hidden;
  z-index: 0;
}

.about-us-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-us-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  backdrop-filter: brightness(0.3); /* darkens video behind text */
}

.about-us-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  animation: abouthead 1s ease-out;
}

@keyframes abouthead {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.about-us-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  animation: aboutdes 1s ease-out forwards;
}

@keyframes aboutdes {
  from {
    transform: translateX(45px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.services-container {
  overflow: hidden;
  text-align: center;
  max-width: 100%;
  padding: 25px 30px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.services-container h2 {
  font-size: 1.8rem;
  color: #000000; /* Bootstrap blue tone */
  margin-bottom: 15px;
}

.services-container p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.services-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 250px; /* adjust height as needed */
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  padding: 30px;
  /* background image */
  background-size: cover;
  background-position: center;
  transform: translateY(50px);
  width: 100%;
  height: 100%;
}

/* Image styling */
.portfolio-content img {
  object-fit: cover; /* ensures image fills container without distortion */
  border-radius: 8px;
  filter: brightness(50%); /* makes image darker */
}

/* Dark overlay */
.portfolio-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* adjust darkness */
  z-index: 1;
}

/* Make sure text is above overlay */
.portfolio-content h1,
.portfolio-content p {
  position: relative;
  z-index: 2;
  color: #ffffff;
}


.services-portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 20px;
  width: 100%; /* full width */
  margin: 0; /*no auto-centering */
  justify-items: start; /* align content to the start */
}
.services-portfolio a{
  text-decoration: none;
  color: #000000;
}


.portfolio-content.slide-left {
  transform: translateX(-100px);
}

.portfolio-content.show {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive */

@media (max-width: 768px) {
  .services-portfolio {
    grid-template-columns: 1fr;
  }
}
.reviews{
  height: auto;
}
.reviews-sec {
  display: grid;
  grid-template-columns: repeat(3, 3fr);
  gap: 10px;
  padding: 30px;
  width: 100%;
  
  margin: 0 auto;
  perspective: 1000px; /* Needed for 3D effect */
}

.reviews-img {
  transform: translateZ(200px) translateY(-100px);
  opacity: 0;
}

.reviews-img img {
  display: block;
  max-width: 500px;
  max-height: 500px;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}



/* Records Section */
.records {
  margin-top: 50px;
  margin-bottom: 20px;
}

.records h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.stat-box {
  background: #e7fcfa;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}


.stat-box h2 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #000000;
  margin: 0;
}

.stat-box p {
  font-size: 1rem;
  color: #777;
  margin-top: 8px;
}

/* Why Choose Us Section */

@media (max-width: 768px){

  .heading {
    position: relative;
    height: 60px; /* height of one line */
    max-width: 100%;
    overflow: hidden;
    top: 60%;
  }

  .heading-wrapper {
    display: flex;
    flex-direction: column;
    animation: scrollText 18s linear infinite;
  }

  .heading h2 {
    height: 60px;
    margin: 0;
    text-align: center;
    line-height: 60px;
    font-size: 1rem;
    
  }


  .head-title h1{
    font-size: 1.2rem;
  }

  section {
 /* creates positioning context */
    max-width: 100%;
    max-height: 100%;
    height: 30vh; /* full screen height */
  }


  .bg-video {
      max-width: 100%;
      max-height: 100%;
    }

  .navbar-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  
  .navbar-section{
    list-style: none;
    color: #000000;
    max-width: 100%;
    max-height: 100%;
  }

  .navbar-section li a{
    color: #000000;
    text-decoration: none;
  }

  .dropmenu{
    
    max-width: 100%;
    max-height: 100vh;
  }

  .dropmenu-content{
    display: none;
    visibility: hidden;
    opacity: 0;
    position: relative;
    background: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    list-style: none;
    margin: 0;
    padding: 0;
    transition: opacity 0.2s ease-in-out;
  }
  
  .dropmenu:hover .dropmenu-content {
    display: block;
    padding: 20px;
    gap: 50px;
    max-height: 100%;
    visibility: visible;
    opacity: 1;
}

  

  .why-choose-us-sec {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  
}  
.why-choose-des{
  display: none;
}

.why-choose-cont {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 1 columns, equal width */
  gap: 20px; /* space between items */
}

.why-choose-us-img {
  display: none;
}


  .reviews-sec {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}



.why-choose-us-sec {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  padding: 50px 20px;
  background: linear-gradient(135deg, #97c8ff69, #ffffff);
  color: #000000;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  overflow-x: hidden;
}

.why-choose-des {
  max-width: 30%;
  padding: 1rem 2rem;
  text-align: left;
  opacity: 0;
  transform: translateX(-80px);
  transition: all 1s ease;
}

.why-choose-des.show {
  opacity: 1;
  transform: translateX(0);
}

.why-choose-us-img {
  text-align: center;
  opacity: 0;
  transform: scale(1.3);
  transition: all 1s ease;
}

.why-choose-us-img.show {
  opacity: 1;
  transform: scale(1);
}

.why-choose-us-img img {
  max-height: 50%;
  max-width: 50%;
}

.why-choose-cont {
  width: 50%;
  height: auto; 
  opacity: 0;
  transform: translateX(80px);
  transition: all 1s ease;
  
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  margin: 0 auto; /* Centers the block horizontally */
  justify-items: center; /* Centers items inside each grid cell */
}




.why-choose-img-cont {
  height: auto;
  width: 500px;
  background: #f5f9ff;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.6s ease;
}


.why-choose-img-cont.show {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Form Section */
.contact-form-section {
  background: linear-gradient(135deg, #97c8ff69, #ffffff);
  padding: 60px 20px;
  text-align: center;
}

.contact-form-section h2 {
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d9e6;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: #f9fbff;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
  outline: none;
}

.btn-submit {
  width: 100%;
  background: #007bff;
  color: #fff;
  font-size: 1.1rem;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Counter Animation */
.number {
  display: inline-block;
}


/* Clients Section */
.clients {
  background: #ffffff;
  padding: 20px 0;
  overflow: hidden;
}

.clients h1 {
  text-align: center;
  margin-bottom: 20px;
}

.clients-bar {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scrollClients 10s linear infinite;
}

.clients-bar img {
  height: 100px;
  flex-shrink: 0;
}

@keyframes scrollClients {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Address Section */
.address-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #000000;
  padding: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.address-details,
.map-container {
  flex: 1;
  max-width: 500px;
  min-width: 300px;
}

.map-container h2{
  color: #ffffff;
}

.address-details h1 {
  color: #f0f0f0;
  font-size: 1.5rem;
}

.address-details span {
  color: #ffffff;
  font-size: 1rem;
}

.address-details a{
  text-decoration: none;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  min-height: 300px;
}


.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 9999;
}

.whatsapp-btn img {
  width:  70px;
  height: 70px;
  display: block;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.3);
}
.footer {
    background: #000000;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.footer a{
    text-decoration: none;
    font-size: 15px;
    color: #9c9c9c;
}