@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}
:root {
    --bg-color: #28A745;
    --second-bg-color: #1B4332;
    --text-color: #000;
    --white-color: #fff;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}
body{
    background: var(--white-color);
}



.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}




.header.sticky{
    background: var(--white-color);
    color: #000;
    
}
.header.sticky a {
    color: var(--text-color);
}
    


.logo{
    position: relative;
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
}
.navbar {
    position: relative;
}
.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: .3s;
}


.navbar a:hover,
.navbar a.active {
    color: var(--bg-color);
} 





#menu-icon {
    position: relative;
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
}

section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.home{
    display: flex;
    align-items: center;
    padding: 0 9%;
    background: url(main-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    
}

.home-content{
    max-width: 60rem;
}

.home-content h1{
    display: inline-block;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--white-color);
}

.home-content h1 span{
    color: var(--white-color);
}

.home-content .text-animate{
    position: relative;
    width: 300px;
}

.home-content .text-animate h3{
    font-size: 2.4rem;
    font-weight: 500;
    color: transparent;
    -webkit-text-stroke: .7px var(--bg-color);
    background-image: linear-gradient(var(--bg-color), var(--bg-color));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: -33rem 0;
    animation: homeBgText 6s linear infinite;
    animation-delay: 2s;
}

.doublepoints p {
    color: #000;
    font-size: 2.5rem;
    padding: 0;
    margin: 0;
}
.doublepoints {
    width: 500px;
    height: 40px;
    background: #000;
}
.h6 h4{
    font-weight: 500;
    color: var(--white-color);
    text-align: center;
    font-size: 1.5rem;
    
}

.h6 h5 {
    color: var(--white-color);
    font-size: 2.5rem;
    text-align: center;
    font-weight: bold;
    padding-bottom: 0;
    position: relative;
    letter-spacing: 1.5px;
}

.h6 {
    width: 585px;
    height: 130px;
    background: var(--bg-color);
    margin-top: 100px;
}

.Asian {
    background: #33559e;
   
}


.h6 h6 {
    color: var(--white-color);
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    padding-bottom: 0;
    position: relative;
}

.home-content .text-animate h3::before{
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-right: 2px solid var(--bg-color);
    z-index: 1;
    animation: homeCursorText 6s linear infinite;
    animation-delay: 2s;
}

.home-content p{
    position: relative;
    font-size: 1.6rem;
    text-align: justify;
    color: var(--white-color);
    padding-right: 80px;
}


.divicons {
    margin-top: 20px;
}

.divicons i{
    font-size: 2.5rem;
    padding: 4px;
    margin-right: 5px;
    margin-left: 5px;
    color: var(--second-bg-color);
    transition: 0.8s;
}

.divicons i:hover {
    
}



.btn-box{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
}

.btn-box .btn:hover{
    color: var(--white-color);
    border: .2rem solid transparent;
}

.btn-box .btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    border: .2rem solid var(--bg-color);
    border-radius: .8rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
}

.btn-box .btn:nth-child(2){
    background: transparent;
    color: var(--bg-color);

}

.btn-box .btn:nth-child(2):hover{
    color: var();
}

.btn-box .btn:nth-child(2)::before{
    background: var(--bg-color);
}

.btn-box .btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}

.btn-box .btn:hover::before{
    width: 100%;
}

.btn {
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  background: var(--bg-color);
}

.home-sci a:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}






.home-sci {
    position: absolute;
    bottom: 40px;
    width: 170px;
    margin-bottom: 60px;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: .2rem solid ;
    border-radius: 50%;
    font-size: 20px;
    color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
    margin: 5px;
}



.home-sci a:hover{
    color: var(--bg-color);
    background-color: var(--white-color);
    border-color: transparent;
}

.home-sci a::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}
/*
.home-sci a:hover::before{
    width: 100%;
}

.home-imgHover{
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: transparent;
    transition: 3s;
}
.home-imgHover:hover{
    background: var(--second-bg-color);
    opacity: .8;
}
*/


.about h1 {
    font-size: 10rem;
    font-weight: 800;
    text-align: center; 
    color: var(--second-bg-color);
}
.about-us p {
    font-size: 2rem;
    font-weight: 100;
    margin-left: 120px;
    margin-right: 80px;
    text-align: justify;
}
.about-us p span {
    color: var(--bg-color);
    font-weight: 600;
}
.about{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 2rem;
background: var(--white-color);
padding-bottom: 6rem;
}
.about .heading{
    font-size: 6rem;
    text-align: center;
}

.heading {
    position: relative;
    font-size: 5rem;
    text-align: center;
    color: var(--bg-color);
}



span{
    color: var(--bg-color);
}

.about-img{
    position: relative;
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-img img{
    position: relative;
    width: 90%;
    border-radius: 50%;
    border: .2rem solid var(--bg-color);

}

.about-img .circle-spin{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: .2rem solid var(--white-color);
    border-bottom: .2rem solid var(--white-color);
    border-left: .2rem solid var(--bg-color);
    border-right: .2rem solid var(--bg-color);
    animation: aboutSpinner 8s linear infinite;
}

.about-content{
    text-align: center;
    align-items: center;
}

.about-content h3{
    position: relative;
    font-size: 3.6rem;
    font:900;
    margin: 2rem 0 3rem;
    display: inline-block;

}

.about-content p {
    position: relative;
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.btn-box.btns {
    display: inline-block;
    width: 15rem;
}


/*Photos section */
.Photos {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.Photos .heading {
    font-size: 6rem;
    text-align: center;
}

.Photos-_- {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.Photos-_- img {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-width: 600px; /* Optional: limit image width on large screens */
    border-radius: 8px; /* Optional: for aesthetics */
}


.slider-container {
  width: 100%;
  background-image: url('Images/bg-img.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-images {
  display: flex;
  align-items: center;
  gap: 21px;
}

.slider-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.slider-img {
  width: 80px; /* reduced from 110px */
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: 0.7s ease;
}

/* Adjust image heights */
.slider-images .slider-img:first-child,
.slider-images .slider-img:last-child {
  height: 332px; /* reduced from 480px */
}

.slider-images .slider-img:nth-child(2),
.slider-images .slider-img:nth-child(6) {
  height: 280px; /* reduced from 560px */
}

.slider-images .slider-img:nth-child(3),
.slider-images .slider-img:nth-child(4),
.slider-images .slider-img:nth-child(5) {
  height: 332px; /* reduced from 665px */
}

/* Adjust text styles if needed */
h1 {
  font-size: 24px; /* reduced from 40px */
  left: -14%;
}

.details h2 {
  font-size: 18px; /* reduced from 26px */
  line-height: 30px;
}

.details p {
  font-size: 14px; /* reduced from 20px */
  line-height: 22px;
}

.slider-img.active {
  width: 583px !important; /* reduced from 766px */
  height: 575px !important; /* reduced from 750px */
}


.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.slider-images {
    margin-bottom: 50px;
}







.Videos {
  background: var(--white-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  margin-top: 150px;
}


.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.responsive-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Videos .btn-box.btn{
  margin-top: 2rem;
}

/*News Section*/

.News .heading {
    font-size: 6rem;
    text-align: center;
    color: var(--bg-color);
}

.News {
    text-align: center;
}


/*contact section CSS*/



.contact-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  min-height: 100vh;
  padding: 50px 20px;
}

.contact-left {
  margin-top: 0;
  gap: 20px;
  flex-direction: column;
  display: flex;
  width: 100%;
  max-width: 600px;
}

.contact-left-title h2 {
  font-weight: 600;
  color: var(--text-color);
  font-size: 40px;
  margin-bottom: 5px;
}

.contact-left-title hr {
  border: none;
  width: 120px;
  height: 5px;
  background-color: var(--text-color);
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-inputs {
  width: 100%;
  max-width: 100%;
  height: 50px;
  border: 1px solid var(--second-bg-color);
  outline: none;
  padding-left: 25px;
  font-weight: 500;
  color: var(--main-color);
  border-radius: 50px;
  margin-top: 5px;
}

.contact-left textarea {
  margin-top: 10px;
  height: 250px;
  padding: 15px 25px;
  border-radius: 20px;
  width: 100%;
  max-width: 100%;
  resize: vertical;
}

.contact-inputs:focus {
  border: 2px solid var(--second-bg-color);
}

.contact-inputs::placeholder {
  color: var(--second-bg-color);
}

.contact-left button {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  font-size: 16px;
  color: var(--white-color);
  gap: 10px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(#28A745, #1B4332);
  cursor: pointer;
  align-self: flex-start;
}

.contact-left button img {
  height: 15px;
}

/* ✅ RESPONSIVENESS FOR SMALL SCREENS */
@media screen and (max-width: 768px) {
  .contact-left {
    align-items: center;
  }

  .contact-left-title h2 {
    font-size: 30px;
  }

  .contact-left button {
    align-self: center;
  }
}





.btn-box.btn{
    display: inline-block;
    width: 15rem;
}

.btn-box.btn a::before{
    background: var(--bg-color);
}


.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--bg-color);
    margin-top: 250px;
}

.footer p{
    font-size: 1.6rem;
    color: white;
}

.footer-iconTop a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--white-color);
    border: .2rem solid var(--white-color);
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;
}

.footer-iconTop a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}

.footer-iconTop a:hover::before{
    width: 100%;
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--bg-color);
    transition: .5s;
}

.footer-iconTop a:hover i{
    color: var(--white-color);
}



.animate {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 98;
}

.animate.home-img {
    width: 45%;
}

.logo .animate,
    .navbar .animate,
 #menu-icon .animate,
.home.show-animate .animate  {
    animation: showRight 1s ease forwards;
    animation-delay: calc(.3s * var(--i));
}

.animate.scroll {
    transition: 1s ease;
    transition-delay: calc(.3s / var(--i));
    animation: none;
}

.about.show-animate .animate.scroll {
    transition-delay: calc(.3s * var(--i));
    width: 0;
}











/* BREAK POINTS*/
@media (max-width: 1200px) {
    html{
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header{
        padding: 2rem 4%;
    }
    section {
        padding: 10rem 4% 2rem;
    }
    .home {
        padding: 0 4%;
    }
    .footer{
        padding: 2rem 4%;
    }
    .News{
        align-items: center;
    }
}

@media (max-width: 768px) {
    .header{
        background: var(--white-color);
    }
    .logo {
        color: var(--text-color);
    }
    #menu-icon {
        display: block;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background: var(--bg-color);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        z-index: 1;
        transition: .25s ease;
        transition-delay: .25s;
    }
    
    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }

    .navbar .active-nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--white-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        z-index: -1;
        transition: .25s ease;
        transition-delay: 0s;
    }

    .navbar.active .active-nav {
        transition-delay: .25s;
        left: 0;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        transform: translateX(.20rem);
        transition: .25s ease;
        transition-delay: 0s;
        color: var(--text-color);
    }
    .navbar.active a {
        transform: translateX(0);
        transition-delay: .25s;
    }

    .videos-_- video{
        width: 500px;
    }
}


@media (max-width: 580px) {
.home-content .h6 {
    width: 500px;
}
}

@media (max-width: 500px){
    .home-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 460px){
    .home-content .h6 {
        width: 400px;
    }
}



@media (max-width: 520px) {
    html {
        font-size: 50%;
    }

    .home-content h1 {
        display: flex;
        flex-direction: column;
    }

    .home-sci {
        width: 160px;
    }

    .home-sci a {
        width: 38px;
        height: 38px;
    }

    .News img {
        width: 450px;
    }
}






@media (max-width: 462px) {
    .home-content h1 {
        font-size: 5.2rem;
    }
    .home-content .h6 {
        width: 400px;
    }

    .News .heading{
        text-align: center;
    }

    .video-_- {
        min-width: 20%;
    }


    .Contact form .input-box .input-field {
        width: 100%;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        margin-top: 2rem;
        text-align: center;
    }

    .videos-_- video{
        width: 400px;
    }
    .News img {
        width: 350px;
    }
}


@media (max-width: 400px) {
    .home-content h1 {
        font-size: 2.5rem;
    }
    .home-content .P {
        width: 300px;
    }
}


@media (max-width: 371px){
    .home{
        justify-content: center;
    }

    .home-content {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .home-content h1 {
        font-size: 2rem;
    }
    
    .videos-_- video{
        width: 300px;
    }
    .News img {
        width: 250px;
    }
}


@media (max-width: 320px) {
    .home-content h1 {
        font-size: 2rem;
    }
    .home-content .h6 {
        width: 300px;
    }
}










/* KEYFRAMES ANIMATION*/
@keyframes homeBgText{
    0%,
    10%,
    100% {
        background-position: -33rem 0;
    }

    65%,
    85% {
        background-position: 0 0;
    }
}

@keyframes homeCursorText {
    0%,
    10%,
    100% {
        width: 0;
    }

    65%,
    78%,
    85% {
        width: 100%;
        opacity: 1;
    }

    75%,
    81% {
        opacity: 0;
    }
}

@keyframes aboutSpinner {
    100% {
        transform: translate(-50%, -50%) rotate(360deg) ;
    }
}

@keyframes showRight {
    100%{
        width: 0;
    }
}