@import url('https://fonts.googleapis.com/css2?family=Sofadi+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Faculty+Glyphic&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playwrite+IS:wght@100..400&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Sofadi+One&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Admission nav bar style */

.admission_container {
    margin: 10px 0 3px;
    width: 100%;
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admission_text {
    text-align: center;
    padding: 15px 0 15px;

    font-size: 25px;
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
    color: white;
}

.highlighttext1 {
    background-color: yellow;
    color: black; /* Ensures text is readable */
    padding: 3px 6px;
    border-radius: 3px; /* Optional for rounded corners */
}



/* Define the keyframes for the blinking effect */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
        /* Fully visible */
    }

    50% {
        opacity: 0;
        /* Invisible */
    }
}

/* Apply the animation to the text */
.blinking-text {
    animation: blink 1s infinite;
    /* 1s duration, infinite loop */
}

.sm {
    color: #f4d03f;
    font-weight: bold;
}

#content {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#content:not(.hidden) {
    opacity: 1;
}

/* Preloader Style */
#preloader {
    background: #FBFCFC url(Pictures/COMPUTRONICS.gif) no-repeat center center;
    background-size: contain;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 100;
}

/* Header Style */

.header {
    margin: auto;
    width: 100%;
    max-width: 1300px;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header img {
    width: 200px;
    height: 100px;
}

.head_text h1 {
    font-family: sans-serif;
    font-size: 50px;
    color: #194471;
}

.head_text p {
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
}

.log_search {
    background-color: white;
}

.log_search a {
    text-decoration: none;
    background-color: #16A085;
    color: white;
    border-radius: 4px;
    border: none;
    padding: 8px 14px;
    font-family: sans-serif;
    cursor: pointer;
}

.log_search a:hover {
    background-color: white;
    color: black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

/*  Navigation Bar  */

.topnav {
    overflow: hidden;
    background-color: #207119;
    width: 100%;
    text-align: center;
}

.topnav a {
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 12px 14px;
    font-family: sans-serif;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav .icon {
    display: none;
}


/*  Image Slider Style  */

.slider-container {
    width: 100%;
    max-width: 1300px;
    height: 680px;
    overflow: hidden;
    position: relative;
    margin: auto;
    margin-top: 20px;
    z-index: 0;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

img {
    width: 100%;
    height: auto;
}

/* Add animation keyframes */
@keyframes slide {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-100%);
    }

    45% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-200%);
    }

    70% {
        transform: translateX(-200%);
    }

    75% {
        transform: translateX(-300%);
    }

    95% {
        transform: translateX(-300%);
    }

    100% {
        transform: translateX(0);
    }
}



/* Course Marquee */

.Courses_marquee {
    margin: auto;
    width: 100%;
    max-width: 1300px;
    height: 50px;
    background-color: #e6005c;
}

.Courses_marquee marquee {
    margin-top: 14px;
    font-size: 20px;
    color: yellow;
    font-family: sans-serif;
}


/* Slogan Style */
.slogan {
    margin: auto;
    width: 100%;
    max-width: 1300px;
    height: fit-content;
    background-color: white;
    text-align: center;
}

.slogan p {
    font-size: 60px;
    font-weight: 700;
}


/* Activities Card */

.card_section {
    margin: auto;
    width: 100%;
    max-width: 1300px;
    height: fit-content;
    display: flex;
    background-color: #e5e4e2;
    justify-content: center;
    flex-wrap: wrap;
}

.activity_heading {
    font-size: 30px;
    font-family: Verdana;
}

.card {
    width: 280px;
    background-color: #E5D7D5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
    margin: 20px;
    transition: 0.3s ease;
}

.card img {
    width: 100%;
    height: 255px;
}

.card_content {
    padding: 8px;
    text-align: left;
}

.card_content h3 {
    font-size: 28px;
    margin-top: 8px;
}

.card_content p {
    font-size: 18px;
    line-height: 1.3;
    font-family: sans-serif;
}

.card:hover {
    box-shadow: 0 16px 20px 0 rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    transition: 0.3s ease;
}

/* Affilation and Colaboration */

.affilation_container {
    margin: auto;
    width: 100%;
    max-width: 1300px;
    height: fit-content;
    text-align: center;
}

.affilation_container h2 {
    padding: 10px;
    font-family: sans-serif;
    color: darkorange;
}

.affilation_container img {
    width: 260px;
    height: 210px;
    padding: 20px;
    transition: 0.3s ease;
}

.affilation_container img:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    transition: 0.3s ease;
}


/* Footer Starts Here */

.footer {
    margin: auto;
    width: 100%;
    max-width: 1300px;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #4D4B61;

}

.footer_text h2 {
    font-size: 20px;
    font-family: sans-serif;
    color: white;
    text-align: center;
}

.footer_text p {
    margin-top: 5px;
    color: white;
    text-align: center;
    font-family: sans-serif;
    font-size: 15px;

}

.footer_text {
    color: white;
    font-size: 20px;
    font-family: sans-serif;
}

.devloper {
    text-align: center;
}

.save_water {
    width: 200px;
    height: 200px;
    background: url(Pictures/Save_Water.png);
}

.save_tree {
    width: 180px;
    height: 200px;
    background: url(Pictures/Save_Tree.png);
}

.plastic {
    width: 100%;
    height: auto;
    max-width: 1300px;
    margin: auto;
    background-color: #4D4B61;
    text-align: center;
}

.plastic img {
    width: 1000px;
    height: 180px;
}



/*  For Mobile Screen  */

@media screen and (max-width: 600px) {

    /*  Header Elements  */

    .header img {
        width: 120px;
        height: 75px;
    }

    .head_text h1 {
        font-size: 25px;
    }

    .head_text p {
        font-size: 10px;
    }

    .log_search {
        display: block;
        text-align: right;
    }


    /*  Navigation Bar  */

    .topnav a {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    /*  Slogan   */
    .slider-container {
        height: 235px;
    }

    /*  Slogan   */
    .slogan p {
        font-size: 35px;
    }

    /*  Footer Elements  */
    .devloper {
        text-align: center;
    }

    .footer_text {
        order: 1;
    }

    .save_water,
    .save_tree {
        order: 2;
    }

    .plastic {
        width: 400px;
        height: 80px;
    }

    .plastic img {
        width: 400px;
        height: 80px;
    }

}