@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Lexend:wght@100..900&family=Mona+Sans:ital,wght@0,200..900;1,200..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Oxanium:wght@200..800&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@supports (-moz-appearance: none) {
  /* .flex-container1,
  .flex-container2, * {
      transform: none !important;
      opacity: 1 !important;
  } */
  .head1 {
    font-size: 10rem !important; 
  }
  
  .head2 {
    font-size: 5rem !important; 
  }

  .ach-head{
    font-size: 5rem !important; 
  }
  .achievement-container {
    margin-top: 20px !important;
    padding: 0 !important;
  }
  .logo-section-achivement{
    height: 180px !important;
  }
  .flex-container2{
    width: 1600px !important;
  }
}
body{
  color: white;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
input, textarea {
    font-size: 16px;
    color: white;
    margin-left: 10px;
}

p{
    font-family: Montserrat;
}
/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 18px;
  font-size: 16px;
  background-color: #131212;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: none; /* Initially hidden */
  opacity: 0;
  transform: translateY(20px); /* Start slightly below */
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000000000;
}

/* Hover effect */
#backToTop:hover {
  background-color: #333;
}

/* Show button with fade-up effect */
#backToTop.show {
  display: block;
  opacity: 1;
  transform: translateY(0); /* Move to original position */
}



/*#social a {*/
/*  width: 20px;*/
/*  height: 20px;*/
/*  background-color: #000000;*/
/*  text-align: center;*/
/*  line-height: 10px;*/
/*  font-size: 20px;*/
/*  margin: 0px;*/
/*  display: block;*/
/*  border-radius: 50%;*/
/*  position: relative;*/
/*  overflow: none;*/
/*  border: 1px solid #000000;*/
/*  z-index: 1;*/
/*}*/







/* Title Section */
.title {
    width: 100%;
    height: 255px;
}

/* List Items */
li {
    list-style: none;
}

/* Title Formatting (Restored) */
.title {
  width: 100%;
  background-image: url('/Home/images/cool-background1.png');
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2vw; /* Adds responsive spacing */
}

.head1 {
  color: #ff4d00;
  opacity: 1;
  font-family: Anton, sans-serif;
  font-size: clamp(6rem, 12vw, 10rem); /* Adjusts size dynamically */
  margin-left: 5vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  max-height: 280px;
}

.head2 {
  color: aliceblue;
  opacity: 0.8;
  font-family: Anton, sans-serif;
  font-size: clamp(1.5rem, 4vw, 5rem);
  margin-left: 8vw;
  transform: translate(0, -2vw); /* Adjust position responsively */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  max-height: 280px;
}

@media (max-width: 768px) {
  .title {
    align-items: center; /* Center align for smaller screens */
    text-align: center;
  }

  .head1 {
    font-size: clamp(3rem, 10vw, 8rem);
    margin-left: 0;
  }

  .head2 {
    font-size: clamp(1.2rem, 3.5vw, 4rem);
    margin-left: 0;
    transform: translate(0, -1vw);
  }

  .title{
    text-align: center;
  }
}

/* Card Styling */
.flex-container1{
    margin-left: 10vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    opacity: 0;
    gap: 20px;
    max-width: 90%;
    background: black;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    background-size: cover;
    flex-wrap: wrap;
    color: white;
    margin-bottom: 50px; /* Space between cards */
      transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        opacity: 0;
        transform: translateY(20px);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/*.flex-container2{*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    gap: 20px;*/
/*    padding: 20px;*/
/*    opacity: 0;*/
/*    transition: transform 1s ease-out, opacity 1s ease-out;*/
/*    gap: 20px;*/
/*    max-width: 90%;*/
/*    background: black;*/
/*    padding: 40px;*/
/*    border-radius: 12px;*/
/*    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);*/
  
/*    background-size: cover;*/
/*    flex-wrap: wrap;*/
/*    color: white;*/
/*    margin-bottom: 50px;*/
/*}*/

/* Default Animation */
.flex-container1.left-to-right, .flex-container2.left-to-right {
    transform: translateX(-100%);
}

/* Right to Left Animation */
.flex-container1.right-to-left, .flex-container2.right-to-left {
    transform: translateX(100%);
}

/* When in View */
.flex-container1.show, .flex-container2.show {
    opacity: 1;
    transform: translateX(0);
}

/* Text Section */
.text {
    flex: 1;
    min-height: 200px;
    max-width: 50%;
    text-align: center;
    text-shadow: none;
    color: white;
    text-align: justify;
}

/* Title Styling (Restored) */
.he {
  font-size: 80px;  /* Keep original size */
  font-family: "Alfa Slab One", sans-serif;
  font-weight: 10;
  color: orangered;
  text-align: center; /* Centers title */
  width: 100%;
  margin-bottom: 15px;
  letter-spacing: 3px; /* Adjust letter spacing for better readability */
  line-height: 1.2; /* Adjust line height for better spacing */
}


/* Paragraph Styling */
.tex {
    font-size: 20px;
    line-height: 1.6;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Read More Button */
.center-link {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* Read More Link - Creative Style */
.link {
  position: relative;
  color: orangered;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
  z-index:100px;
}

.link::after {
  content: "";
  width: 0;
  height: 2px;
  background: orangered;
  transition: width 0.3s ease-in-out;
  position: absolute;
  left: 0;
  bottom: -3px;
}

.link:hover {
  color: white;
}

.link:hover::after {
  width: 100%;
}

/* Centering the link */
.center-link {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10px;
}

.text-achievement{
    
    font-size: 70px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
    margin-top: 35px;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

.separator1 {
  width: 80%; /* Matches the width of .comp_div */
  height: 3px;
  background: #ff6200;
  margin: 20px auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .link {
      font-size: 16px;
  }
  .head1{
    text-align: center;
  }
}

/* Image Section */
.image {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 45%;
    padding-bottom: 30px;
}

.image img {
  max-width: 470px;
  height: 160px;
  object-fit: cover; /* Ensures image fits without stretching */
  display: block;
  margin: 0 auto;
  border-radius: 10px; /* Optional: Adds rounded corners */
}

.image-suas {
  flex: 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 45%;
  padding-bottom: 30px;
}

.image-suas img {
max-width: 470px;
height: 260px;
object-fit: cover; /* Ensures image fits without stretching */
display: block;
margin: 0 auto;
border-radius: 10px; /* Optional: Adds rounded corners */
}
.image-sae {
  flex: 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 45%;
  padding-bottom: 30px;
}

.image-sae img {
max-width: 550px;
height: 120px;
object-fit: cover; /* Ensures image fits without stretching */
display: block;
margin: 0 auto;
border-radius: 10px; /* Optional: Adds rounded corners */
}
/* Responsive Design */
@media (max-width: 768px) {
    .flex-container1, .flex-container2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .image-sae img{
      width: 90vw;
      height: auto;
    }
    .text {
        max-width: 100%;
    }

    .he {
        font-size: 50px;
        text-align: center; /* Adjusts for mobile */
    }

    .tex {
        font-size: 16px;
    }

    .image {
        max-width: 100%;
        margin-top: 20px;
    }

    .image img {
        width: 80%;
        height: auto;
    }

    .center-link {
        text-align: center;
    }

    .head1 {
        font-size: 12vw;
    }

    .head2 {
        transform: translate(0, 0);
        font-size: 5vw;
        text-align: center;
    }
    .separator1{
      display: none;
    }
}



/* extra achievements */
.achievement-list {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  /* Individual achievement item */
  .achievement {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    margin-left: 23.3%;
  }
  
  /* Image styling */
  .achievement img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
  }
  
  /* Text styling inside each achievement */
  .achievement-text {
    max-width: 70%;
    position: relative;
    bottom: 40px;
    
  }
  
  /* Title styling inside each achievement */
  .achievement h3 {
    font-size: 60px;
    color: #333;
    margin-bottom: 10px;
  }
  
  /* Description text inside each achievement */
  .achievement p {
    font-size: 1rem;
    color: #777;
    line-height: 1.5;
  }
  
  /* Responsive design for smaller screens */
  @media screen and (max-width: 768px) {
    .achievement {
      width: 45%;
    }
  }
  
  @media screen and (max-width: 480px) {
    .achievement {
      width: 100%;
      justify-content: center;
    }
  
    .achievement img {
      margin-bottom: 15px;
    }
  }
  





  .animation-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  
  .scroll-text {
    position: absolute;
    font-family: 'Poppins', sans-serif;
    font-size: 4em;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    padding: 20px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5) 90%, transparent);
    transition: transform 0.1s ease-out;
  }
  
  .highlight-1 {
    color: #5c5fc4;
  }
  
  .highlight-2 {
    color: #c4c15c;
  }
  
  @media (max-width: 800px) {
    .scroll-text {
      font-size: 3em;
    }
  }
  
  @media (max-width: 480px) {
    .scroll-text {
      font-size: 2em;
    }
  }

  





  /* Mobile-Specific Styling */
@media (max-width: 768px) {
  /* Adjust header */


  /* Fix text alignment and ensure center positioning */
  .text {
      max-width: 90%;
      text-align: center;
      margin: 0 auto;
      padding: 10px;
  }
  
  .he {
      font-size: 40px;
      text-align: center;
      margin-bottom: 10px; /* Reduce space below heading */
  }

  .tex {
      font-size: 14px;
      line-height: 1.4;
      text-align: center;
      margin-top: 5px; /* Reduce space above text */
  }

  /* Adjust image sizes and placement */
  .image {
      max-width: 100%;
      text-align: center;
      display: flex;
      justify-content: center;
      margin-bottom: 5px; /* Reduce space below image */
      margin-top: 5px; /* Reduce space above image */
  }

  .image img {
      width: 85%;
      height: auto;
      display: block;
      border-radius: 10px;
  }
  
  /* Fix flex container alignment and ensure proper spacing */
  .flex-container1, .flex-container2 {
      flex-direction: column;
      align-items: center;
      text-align: center;
      display: flex;
      padding: 15px;
      width: 100%;
      position: relative;
      bottom: 220px;
  }
  
  .flex-container1 .image, .flex-container2 .image {
      order: -1; /* Ensures images are always above text */
  }

  /* Adjust achievements section */
  .achievement {
      width: 90%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      text-align: left;
      margin: 0 auto;
      position: relative;
  }

  .achievement img {
      margin-bottom: 0;
      margin-right: 15px;
      width: 70px;
      height: 70px;
      order: -1; /* Move image to the right */
      position: relative;
      bottom: 30px; /* Move image slightly higher */
  }
  
  .achievement-text {
      flex: 1;
  }
  
  .achievement h3 {
      font-size: 18px;
  }

  .achievement p {
      font-size: 14px;
      line-height: 1.3;
  }

  .seperator-ach{
    position: relative;
    bottom: 220px;
  }

  .achievement-list{
    position: relative;
    bottom: 200px;
  }

  footer{
    position: relative;
    bottom:200px ;
  }
}




.ach-head{
  text-align: center;
  font-size: clamp(32px, 12vw, 100px); /* Responsive font size */
  position: relative;
  margin-top: 25px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: #fff;
}



@media screen and (max-width: 768px) {
  .ach-head{
      position: relative;
      bottom: 245px;
    }

    .out-ach-container{
      position: relative;
      bottom: 225px;
    }
  
}




.achievement-container {
  display: flex;
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  width: 90vw;
  max-width: 650px;
  min-width: 320px;
  height: auto;
  aspect-ratio: 3.5/1;
  max-height: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
.achievement-container {
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  position: relative !important;
  display: flex !important;
  flex-wrap: nowrap !important;
}


/* Hover Effect */
.achievement-container:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.4); 
  z-index: 10; /* Ensures it stays above other elements */
}

/* Ensure other elements don't move */
.out-ach-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}

@media screen and (max-width: 768px) {
  .achievement-container {
    width: 90%;
    margin: auto;
  }
}

.logo-section-achivement {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  padding: 3%;
}
.logo-section-achivement img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-section-achivement::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 70%;
  background-color: #000000;
}

.text-section-achivement {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 70%;
}
.achievement-title {
  font-size: clamp(1rem, 4vw, 2.5rem);
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  position: relative;
  bottom: 9px;
}
.title-underline {
  width: 100%;
  height: 3px;
  background-color: rgb(0, 0, 0);
  margin-top: 5px;
  position: relative;
  bottom: 8px;
}
.achievement-details {
  font-size: clamp(0.8rem, 3vw, 2rem);
  line-height: 1.5;
  text-align: center;
  color: #FFFFFF9A;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .achievement-container {
    display: flex;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    width: 90vw;
    max-width: 600px;
    min-width: 280px;
    height: auto;
    aspect-ratio: 3.5/1;
    max-height: 200px;
    margin:auto;
  }
  
}






/* Laptop View: 2 achievements per row */
@media screen and (min-width: 769px) {
  .out-ach-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .achievement-container {
    width: calc(50% - 20px); /* Two containers per row with gap */
    margin: 0 !important; /* Override existing margin */
    margin-bottom: 20px !important;
  }
}

/* Mobile View: 1 achievement per row */
@media screen and (max-width: 768px) {
  .out-ach-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .achievement-container {
    width: 90%; /* Full width with some margin */
    margin: 0 !important; /* Override existing margin */
    margin-bottom: 20px !important;
  }
}



/* Laptop View: 2 achievements per row with vertical separator */
@media screen and (min-width: 769px) {
  .out-ach-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .achievement-container {
    width: calc(50% - 40px); /* Adjusted for separator space */
    margin: 0 !important;
    margin-bottom: 20px !important;
    position: relative;
  }

  /* Vertical Separator */
  .achievement-container:not(:last-child):after {
    content: '';
    position: absolute;
    top: 10%;
    right: -20px;
    width: 2px;
    height: 80%;
    background-color: rgb(255, 255, 255); /* Subtle white line */
  }

  .achievement-container:not(:last-child):after {
    content: '';
    position: absolute;
    top: 10%;
    right: -20px;
    width: 2px;
    height: 80%;
    background-color: rgb(255, 255, 255); /* Subtle white line */
  }

  .right-ach-cont:not(:last-child):after {
    content: '';
    position: absolute;
    top: 10%;
    right: -20px;
    width: 2px;
    height: 80%;
    background-color: rgb(0, 0, 0); /* Subtle white line */
  }



  /* Adjust for odd number of containers */
  .achievement-container:nth-child(2n):after {
    display: none;
  }
}

/* Mobile View: 1 achievement per row */
@media screen and (max-width: 768px) {
  .out-ach-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .achievement-container {
    width: 90%;
    margin: 0 !important;
    margin-bottom: 20px !important;
  }
}
