@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700&display=swap');



*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Alexandria";

}

body{
  display: flex;
  flex-direction: column;
  gap: 4rem;
}


 .hero-content .hero-description,
    .hero-content .hero-text{
      text-align: start;
      font-size: 1.2rem;
    }


.hero-section {
  background-image: url('../assets/hero-bg.png');
  font-family: "Alexandria";
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #06054F;
  opacity: 0.5;
  z-index: 1;
}

.hero-text, .hero-description {
  /* border: 1px solid red ; */
  position: relative;
  z-index: 2;
  /* min-width: 900px; */
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
}

.curved-carousel-header-wrapper{
  display: flex ;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-family: "Alexandria";
  color:#06054F
}

.curved-carousel-header{
  /* background-color: red; */
  margin: 4rem 0;
  /* max-width: 800px; */
  padding: 0 20px;
}

.curved-carousel-container{
  display: flex;
  flex-direction: column;
  align-items: center ;
}

.curved-carousel-container h1{
  opacity: 75%;
}

/* Carousel */

.curved-carousel-wrapper {
  position: relative;
  perspective: 1000px;
  margin: 50px auto;
}

.curved-carousel{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  perspective: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.slide{
  width: 20rem;
  height: 30rem;
  object-fit: cover;
  /* background:; */
  background-color: #06054F;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.5s;
}

.slide img{
  border-radius: 6px;
  width: 120px;
  height: 200px;
  object-fit: cover;
}

.left {
  transform: rotateY(50deg) scale(1.1);
  background-image: url('../assets/img/cs1.jpg');

}

.mid-left{
  transform: rotateY(10deg) scale(0.9);
  background-image: url('../assets/img/cs2.jpg');

}

.mid-right{
  transform: rotateY(-10deg) scale(0.9);
  background-image: url('../assets/img/cs3.jpg');

}

.right{
  transform: rotateY(-50deg) scale(1.1);
  background-image: url('../assets/img/cs4.jpg');
}

.curved-carousel-text{
  margin: 5rem;
  font-size: 1.8rem;
  font-family: "Alexandria";
  color: #06054F;
  opacity: 50%;
  /* max-width: 55rem; */
}

.industries-section{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.industries-header{
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #06054F;
  font-size: 1.5rem;
  margin-bottom: 60px;
}

.industries-header p{
  margin: 1rem;
  opacity: 50%;
  font-size: 1.2rem;
  text-align: center;
  max-width: 900px;
}

/* 4x3 Grid Layout */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

.industry-card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #e0e0e0;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  background-color: #06054F;
  color: white;
}

.industry-card:hover .industry-logo {
  filter: invert(1);
}

.industry-card:hover h3 {
  color: white;
}

.industry-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
}

.industry-card h3 {
  color: #06054F;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.industry-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



.industries-text-wrapper {
  font-size: 1.1rem;
  font-family: "Alexandria";
  color: white;
  background-color: #06054F;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  width: 100%;
}

.industries-text-wrapper p {
  max-width: 800px;
}

.mv-wrapper{
  /* border: 5px solid red; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6rem;
}

.mission-wrapper,
.vision-wrapper{
  /* background-color: blue; */
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* border: 2px solid black; */
}

.our-mission ,
.our-vision{
  background: #06054F;
  color: #e0e0e0;
  max-width: 600px;
  padding: 1rem 4rem;
  border-radius: 6px;

}

.our-mission-text,
.our-vision-text{
  background-color: #f3f3f3;
  padding: 3rem 4rem;
  font-size: 1.4rem;
}

.our-mission-text p{
opacity: 50%;
color: #06054F;
border-radius: 6px;


}

.our-vision{
  background-color: #f3f3f3;
  color: #06054F;
}

.our-vision-text{
  background-color: #06054F;
  border-radius: 6px;
}

.our-vision-text p{
  color: #ffff;
  opacity: 90%;
}



@media only screen and (max-width: 600px) {


  .container{
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
  }

  .img-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

  }


  .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  .overlay2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #06054f50;
  }

  .content{
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
  }

  footer a{
    font-size: 1rem;
  }



  .hero-section .nav-bar{
    display: flex;
    flex-direction: row;
  }




  .hero-content{
    display: block;
    /* background: red; */
    text-align: start;
    padding: 10px;
    }

    .hero-content .hero-description,
    .hero-content .hero-text{
      text-align: start;
      font-size: 1.2rem;
    }

  .hero-section{
    background-image: url(../assets/icons/mobile-hero-bg.png);
  }



  /* Navigation */
  .nav-bar {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-bar img {
    width: 80px;
  }

  /* Hero Section */
  .hero-text,
  .hero-description {
    width: 100%;
    padding: 0 10px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  /* Carousel */
  .curved-carousel {
    flex-direction: column;
    gap: 1rem;
  }

  .slide {
    transform: none !important; /* remove 3D transform on small screens */
  }

  /* 2x2 grid */

  .curved-carousel-wrapper {
  margin: 20px auto;
  max-width: 800px;
}

.curved-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.slide {
  background-color: #06054F;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* ensures images don’t spill out */
}

.slide img {
  width: 100%;
  height: 250px; /* fixed height so all images match */
  object-fit: cover; /* keeps aspect ratio and crops if needed */
  border-radius: 6px;
}


  .slide img {
    width: 100px;
    height: 160px;
  }

  .curved-carousel-text {
    margin: 2rem 1rem;
    font-size: 1rem;
    text-align: center;
  }

  /* Industries */
  .industries-header {
    font-size: 1.2rem;
    text-align: center;
  }

  .industries-header p {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Mission & Vision */
  .our-mission,
  .our-vision {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    text-align: center;
  }

  .our-mission-text,
  .our-vision-text {
    padding: 1.5rem;
    font-size: 1rem;
  }


}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure all images and grid items shrink properly */
.slide, .industry-card {
  max-width: 100%;
}


.curved-carousel {
  flex-wrap: wrap;
}

.curved-carousel-header{
  max-width: 75%;
}



@media  (max-width: 1080px ){
  .curved-carousel{
    flex-wrap: nowrap;
    gap: 2px;
  }

  .right,
  .left,
  .mid-left,
  .mid-right{
    transform: none;
  }

}

@media (max-width:600px){

  .curved-carousel-wrapper{
    background-color: #06054F;
    width: 100%;
    height: 100%;
  }


}