@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;
}

/* Base Grid Styles */
.industry-grid {
  display: grid;
  /* This tells the grid: fit as many cards as you can, at least 280px wide */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1100px; /* Limits width on huge monitors */
  margin: 0 auto;
  padding: 20px;
}

.industry-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 20px;
  text-align: center;
  text-decoration: none;
  color: #06054F;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%; /* Ensures all cards in a row have the same height */
}

/* GIF Responsiveness */
.industry-gif {
  width: 85px;
  height: 85px;
  max-width: 100%; /* Prevents GIF from overflowing card on tiny screens */
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.industry-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

/* Hover States */
.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(6, 5, 79, 0.15);
  background: #fcfdff;
}

.industry-card:hover .industry-gif {
  transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .industry-grid {
    grid-template-columns: 1fr; /* Force single column on mobile */
    gap: 20px;
  }
  
  .industry-card {
    padding: 30px 15px;
    min-height: auto;
  }

  .industry-gif {
    width: 70px; /* Slightly smaller icons for mobile */
    height: 70px;
  }
}



.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%;
  margin-top: 50px;
}

.industries-text-wrapper p {
  max-width: 800px;
}
.mv-wrapper {
  width: 100%;
  padding: clamp(50px, 8vw, 90px) 20px;
  background: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 480px));
  justify-content: center;
  align-items: stretch;
  gap: clamp(24px, 4vw, 40px);
}

.mission-wrapper,
.vision-wrapper {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(6, 5, 79, 0.12);
  overflow: hidden;
  border: 1px solid rgba(6, 5, 79, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-wrapper:hover,
.vision-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(6, 5, 79, 0.18);
}

.our-mission,
.our-vision {
  width: 100%;
  max-width: none;
  background: linear-gradient(135deg, #06054F, #0E77B7);
  color: #ffffff;
  padding: clamp(20px, 4vw, 30px);
  text-align: center;
  border-radius: 0;
}

.our-mission h1,
.our-vision h1 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  letter-spacing: 1px;
}

.our-mission-text,
.our-vision-text {
  background: #ffffff;
  padding: clamp(28px, 5vw, 42px);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.8;
  text-align: center;
}

.our-mission-text p,
.our-vision-text p {
  color: #4b4b6b;
  opacity: 1;
}

/* Tablet */
@media (max-width: 900px) {
  .mv-wrapper {
    grid-template-columns: minmax(280px, 620px);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .mv-wrapper {
    padding: 45px 16px;
  }

  .mission-wrapper,
  .vision-wrapper {
    border-radius: 18px;
  }

  .our-mission,
  .our-vision {
    padding: 20px 16px;
  }

  .our-mission-text,
  .our-vision-text {
    padding: 26px 18px;
    line-height: 1.6;
  }
}



@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;
  }




  .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%;
  }


}