@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');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Header section */

html {
    scroll-behavior: smooth;
}


header{
    width: 100%; 
    max-width: 100%;
    padding-left: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1000;
}

header nav a{
    color: #fff;
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 16px;
    transition: 0.2s;
    text-decoration: none;
}

a.active{
    background: #14ff72cb;
    border-radius: 2px;
}



/* Header section */



/* carousel */

.carousel{
    left: -3.5%;
    width: 107%;
    height: 100vh;
    margin-top: -50px;
    overflow: hidden;
    position: relative;
}

.carousel .list .item{
    width: 250px;
    height: 250px;
    position: absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.carousel .list .item:nth-child(3){
    left: 67%;
}

.carousel .list .item:nth-child(4){
    left: calc(67% + 200px);
}

.carousel .list .item:nth-child(5){
    left: calc(67% + 400px);
}

.carousel .list .item:nth-child(6){
    left: calc(67% + 600px);
}

.carousel .list .item:nth-child(n+7){
    left: calc(67% + 800px);
    opacity: 0;
}





.list .item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 400px;
    text-align: left;
    color: #fff;
    display: none;
}

.list .item:nth-child(2) .content{
    display: block;
}

.content .title{
    font-size: 80px;
    text-transform: uppercase;
    color: #016019cb;
    font-weight: bold;
    line-height: 1;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name{
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    text-shadow: 3px 4px 4px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    margin-left: 5px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.content .btn{
    margin-left: 5px;
    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;
}

.content .btn a{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid #fff;
    background-color: #008612;
    color: #fff;
    text-decoration: none;
}

.content .btn a:nth-child(1){
    margin-right: 15px;
}

.content .btn a:nth-child(2){
    background: transparent;
    color: #14ff72cb;
    border: 2px solid #fff;
    transition: 0.3s;
}

.content .btn a:nth-child(2):hover{
    background-color: #14ff72cb;
    color: #fff;
    border-color: #14ff72cb;
}


@keyframes animate {
    
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}


.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #016019cb;
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover{
    background: #fff;
    color: #000;
}


/* time running */
.carousel .timeRunning{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color: #ffd814cb;
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}


@keyframes runningTime {
    
    from{width: 0%;}
    to{width: 100%;}

}


/* Responsive Design */

@media screen and (max-width: 999px){
    
    header{
        padding-left: 50px;
    }

    .list .item .content{
        left: 50px;
    }

    .content .title, .content .name{
        font-size: 70px;
    }

    .content .des{
        font-size: 16px;
    }

}

@media screen and (max-width: 690px){
    header nav a{
        font-size: 14px;
        margin-right: 0;
    }

    .list .item .content{
        top: 40%;
    }

    .content .title, .content .name{
        font-size: 45px;
    }

    .content .btn button{
        padding: 10px 15px;
        font-size: 14px;
    }
}


.about-section-header {
    color: rgb(218, 171, 0);
    line-height: 1.5; /* Adjust this value for height */
    font-size: 54px;  /* Font size */
    margin: 20px 0;   /* Margin around the header */
    text-align: left;
}

.text-content {
    padding-right: 20px;
    text-align: left;
}

.image-content {
    flex: 0 0 40%; /* Adjusts the flex properties if necessary */
    max-width: 40%; /* Adjusts the max width */
}

.responsive-image {
    width: 100%; /* Sets the width to 110% of its container */
    height: 100vh; /* Sets the height to 80% of the viewport height */
    object-fit: cover; /* Ensures the image covers the space appropriately */
    margin-top: 100px;

}

.general-text {
    margin: 40px 0;
    text-align: left;
}


.image-row {
    display: flex; /* Creates a flexible layout for the row */
    justify-content: space-around; /* Centers the images in the row */
    flex-wrap: wrap; /* Allows wrapping to the next line */
    min-width:  100%;
    padding: 30px;
    max-width: 100vw;
    
  }

  .general-list-item {
    color:rgb(145, 143, 143) ;
   
  }
  .about-section-header-subsection {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 50px;
    color: rgb(243, 230, 93);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* 2px right, 2px down, 5px blur, black shadow with 50% opacity */
  }
  
  .interactive-div {
    transition: transform 0.3s ease-in-out;
  }
  
  .interactive-div:hover {
    transform: scale(1.05);
  }
  
  .image-item img {
    max-width: 90%; /* Ensures the image fits within its container */
    height: auto; /* Keeps the aspect ratio intact */
    border-radius: 4%;
    margin-bottom: 10px; /* Adds space between the image and paragraph */
    margin-top: 10px;
  }
  
  .image-item p {
    max-width: 100%; /* Ensures the paragraph doesn't exceed the div's width */
    word-wrap: break-word; /* Breaks long words if they extend beyond the div */
    overflow-wrap: break-word; /* Forces text to wrap if too long */
    margin: 0; /* Removes any extra margins that might cause overflow */
    text-align: center; /* aligns text*/
    margin-bottom: 10px
  }
  
  .academics-header {
    color: rgba(4, 71, 4, 0.9);
    text-align: left;
}

.academics-hr {
    color: rgba(4, 71, 4, 0.9);
    height: 5px;
    width: 100%;
    opacity: 1;
}

.academics-text {
    font-style: italic;
    margin: 40px 0;
}

