
:root {
  --primary-color: #0A2647;
  --secondary-color: #144272;
  --accent-color: #205295;
  --text-color: #333;
  --light-text: #fff;
  --transition: all 0.3s ease;
  --section-spacing: 8rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: #fff;
}
 .feature span{
  color:black;
}
.service-features li{
  color:black;
}

.quote-p{
  color:black;
}

/*slider */




@import url('https://fonts.googleapis.com/css2?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');
body{
    font-family: Poppins;
    margin: 0;
    /* background-color: #010101; */
    color: #eee;
}
svg{
    width: 25px;
}
header{
    width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    background-color:black;
    width:100%;
}
header .logo{
    font-weight: bold;
}
header .menu{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
}


/* css slider */
.slider{
    height: 100vh;
    margin-top: -50px;
    position: relative;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.slider .list .item img{
    width: 100%;
    height: 80%;
    object-fit: cover;
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 80%;
    position: absolute;
    left: 0;
    bottom: 0;
      background-image: linear-gradient(
          to top, #013220 5%, transparent
      );
}
.slider .list .item .content{
    position: absolute;
    left: 10%;
    top: 60%;

    z-index: 1;
}
.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.slider .list .item .content h2{
  font-size:5vw;
    margin: 0;
    width:100%;
}
.slider .list .item .content p{
  font-size:1.5vw;
    margin: 0;
    width:100%;
}
.slider .list .item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows{
    position: absolute;
    top: 90%;
    right: 50px;
    z-index: 100;
}
.arrows button{
    background-color: #eee5;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
}
.arrows button:hover{
    background-color: #eee;
    color: black;
}
.thumbnail{
    position: absolute;
    top: 85%;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 300px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
    
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail .item.active{
    filter: brightness(1);
}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
}
@media screen and (max-width: 900px) {
     

    .thumbnail{
      top:90%;
        justify-content: middle;
    
    }
    .slider .list .item .content{
      position: absolute;
      left: 10%;
      top: 60%;
  
      z-index: 1;
  }
    .slider .list .item .content h2{
        font-size: 8vw;

    }
    .slider .list .item .content p{
      font-size: 3.5vw;

  }
    .arrows{
      top: 82%;
    }
}



/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem  3%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  flex-wrap: nowrap !important; /* prevent wrapping */
}

.navbar img{
  width: 80%;
}
.navbar.hide {
  transform: translateY(-100%);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 1rem 5%;
}


.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
  flex-shrink: 0 0 auto;  /* Prevent logo from shrinking */
}
.logo img {
  width: 100%;
aspect-ratio: 5;
object-fit: contain;
padding-right: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: calc(100% - 80px); /* adjust based on logo size */
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size:15px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.contact-btn {
  background: var(--primary-color);
  color: var(--light-text) !important;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  transition: var(--transition);
}

.contact-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

/* Hero Section */

/*
.hero {
  height: 100vh;
  background: linear-gradient(rgba(10, 38, 71, 0.7), rgba(10, 38, 71, 0.7)),
              url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text);
  padding: 0 5%;
}

.hero-content {
  max-width: 1000px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 3rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

*/

/* Carousel Section */
.carousel-section {
  padding: 5rem 0;
  background-color: #ffffff;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--light-text);
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease 0.3s;
}

.carousel-slide.active .carousel-caption {
  transform: translateY(0);
  opacity: 1;
}

.carousel-caption h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.carousel-caption p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: var(--light-text);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--light-text);
  transform: scale(1.2);
}

/* About Brief Section */
.about-brief {
  padding: var(--section-spacing) 5%;
  background: #fff;
  margin-top:15px;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  text-align: left;
}

.about-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature i {
  color: var(--accent-color);
}

.learn-more-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  transition: var(--transition);
  font-weight: 500;
}

.learn-more-btn:hover {
  background: var(--primary-color);
  color: var(--light-text);
}

/* Services Section */
.services {
  padding: var(--section-spacing) 5%;
  background: #f9f9f9;
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  padding: 2.5rem;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border: 1px solid rgb(94, 96, 147);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  text-align: left;
  margin-top: 1.5rem;
}

.service-features li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: '•';
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

/* Featured Projects */
.featured-projects {
  padding: var(--section-spacing) 5%;
  background: #fff;
}

.featured-projects h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16/9;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--light-text);
  transform: translateY(0);
  transition: var(--transition);
}

.project-card:hover .project-info {
  transform: translateY(-10px);
}

.project-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.view-all-container {
  text-align: center;
  margin-top: 3rem;
}

.view-all-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  font-weight: 500;
}

.view-all-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}
/* vision section */

.vision {
  padding: var(--section-spacing) 5%;
  background: #f9f9f9;
  /* padding: 120px; */
  padding-left: 180px;
  padding-right: 180px;
}
.vision h4{
  color: var(--primary-color);
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}
.vision p{
  margin-bottom: 1.2rem;
  color: #666;
  font-size: 1.1rem;
  padding-bottom: 40px;  
  
}



/* Testimonials Section */
.testimonials {
  padding: var(--section-spacing) 5%;
  /* background: #f9f9f9; */
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quote {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-info h4 {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.client-info span {
  color: #666;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 5%;
  background: linear-gradient(rgba(10, 38, 71, 0.9), rgba(10, 38, 71, 0.9)),
              url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: var(--light-text);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  font-weight: 500;
}

.cta-btn:hover {
  background: var(--light-text);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--light-text);
  padding: 5rem 5% 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: var(--light-text);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.8;
}

.footer-section a:hover {
  color: var(--accent-color);
  opacity: 1;
}

.social-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  opacity: 0.8;
  transition: var(--transition);
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-in-delay-1 {
  opacity: 0;
  animation: fadeIn 1s ease 0.2s forwards;
}

.fade-in-delay-2 {
  opacity: 0;
  animation: fadeIn 1s ease 0.4s forwards;
}

.fade-in-delay-3 {
  opacity: 0;
  animation: fadeIn 1s ease 0.6s forwards;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;    
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar {
    flex-wrap: wrap;              /* Allows nav to stack */
    padding: 1rem 2%;
  }

   .logo img {
    width: 120px;                  
  } 

  .nav-links {
    flex-wrap: wrap;              /* Allow nav links to wrap below */
    justify-content: center;      /* Center links if wrapping */
    gap: 0.8rem;
  }

  .nav-links a {
    font-size: 10px;
    font-weight: 500;
  }
  
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .project-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .hero-stats {
    gap: 2rem;
  }
  
  .carousel {
    height: 500px;
  }
}

@media (max-width: 768px) {
  
  .navbar {
    padding: 1rem 0;
  }
  .nav-links{
    max-width: calc(100% + 10px); 

  }
.nav-links a{
  font-size: 15px;

}
  .mobile-menu-btn {
    display: flex;
  }
  .nav-links.active {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .services-grid,
  .project-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-section ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .carousel {
    height: 400px;
  }
  
  .carousel-caption h3 {
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 1rem;
  }
  .vision{
    padding:35px;
      }
}

@media (max-width: 480px) {
.bottom-top{
  right: 10px;

} 

  .hero-content h1 {
    font-size: 2rem;
  }

  .services h2,
  .featured-projects h2,
  .about-content h2,
  .testimonials h2,
  .cta-content h2 {
    font-size: 2rem;
  }

  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .about-content p,
  .section-subtitle {
    font-size: 1rem;
  }

  .project-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
  
  .carousel {
    height: 300px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-caption {
    padding: 1rem;
  }
  
  .carousel-caption h3 {
    font-size: 1.2rem;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
  
  .carousel-indicators {
    bottom: 10px;
  }
  
  .indicator {
    width: 8px;
    height: 8px;
  }
  .vision{
padding:35px;
  }

}

.bottom-top{
color: black;
}
html{
  scroll-behavior: smooth;
}

.bottom-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 12px 14px;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.bottom-top:hover {
  background-color: #444;
  transform: translateY(-4px);
}

.bottom-top.active {
  opacity: 1;
  pointer-events: auto;
}
