:root {
    --color-primary: #eed169;
    --color-secondary: #f3e19e;
    --color-tertiary: #b6b6b6;
    --color-quaternary: hsl(0, 0%, 37%);
    --color-quinary: hsl(174, 5%, 50%);
    --color-black: #000;
    --color-white: #fff;
    --color-grey: #808080;
    --color-blue: #0000ff;
}

.section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-section1.section {
    position: relative;
    width: 100%;
    height: 100vh;

    background-color: transparent;
    /* background-image: url(../img/bg/ac_blur.png); */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    animation: animatedBackground 30s linear infinite;
    position: relative;
    text-align: center;
    background-color: #99ccff;
    padding-top: 0;
    align-items: flex-start;
}

.animated-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.animated-images div {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.first {
    background-image: url("../img/bg/new\ 5.png");
    animation: moveLeft 30s linear infinite;
}

.second {
    background-image: url("../img/bg/new\ 6.png");
    animation: moveRight 30s linear infinite;
}

.third {
    background-image: url("../img/bg/new\ 7.png");
    animation: moveLeft 30s linear infinite;
}

.four {
    background-image: url("../img/bg/new\ 8.png");
    animation: moveRight 30s linear infinite;
}

@keyframes moveLeft {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@keyframes moveRight {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.text-overlay {
    position: absolute;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    text-align: center;
    color: #fff;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.logo {
    width: 150px;

    margin-bottom: 20px;
}

.title {
    font-size: 2.5rem;

    margin-bottom: 10px;
}

.project-name {
    font-size: 1.5rem;
}

.banner_title {
    text-align: left;
    font-size: 60px;
    color: #f3e19e;
    padding-top: 10px;
    letter-spacing: 15px;
    font-weight: bolder;
    padding-left: 30px;
}

.banner_title h2 {
    font-size: 75px;
    font-weight: bolder;
    font-family: Hack, sans-serif;
    text-transform: uppercase;
    background: linear-gradient(90deg, #f3e19e, #ffd661, #f3e19e);
    letter-spacing: 5px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-repeat: no-repeat;
    background-size: 80%;
    animation: beat 1.5s ease-in-out infinite;
    position: relative;
    /* text-shadow: 0 1px 0 hsl(174, 5%, 80%),
        0 2px 0 hsl(174, 5%, 75%),
        0 3px 0 hsl(174, 5%, 70%),
        0 4px 0 hsl(174, 5%, 66%),
        0 5px 0 hsl(174, 5%, 64%),
        0 6px 0 hsl(174, 5%, 62%),
        0 7px 0 hsl(174, 5%, 61%),
        0 8px 0 hsl(174, 5%, 60%),

        0 0 5px rgba(0, 0, 0, .05),
        0 1px 3px rgba(0, 0, 0, .2),
        0 3px 5px rgba(0, 0, 0, .2),
        0 5px 10px rgba(0, 0, 0, .2),
        0 10px 10px rgba(0, 0, 0, .2),
        0 20px 20px rgba(0, 0, 0, .3); */
}

@keyframes shine {
    0% {
        background-position-x: -500%;
    }

    100% {
        background-position-x: 500%;
    }
}

@keyframes beat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

.index_banner_title {
    color: black;
    background: #ffffff6b;
    font-size: 45px;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.glow-effect {
    height: 150px;
    filter: drop-shadow(0 0 10px white);
}

.text-shadows {
    text-shadow: 3px 3px 0 var(--color-secondary),
        6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary),
        12px 12px 0 var(--color-quinary);
    font-family: bungee, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: calc(2rem + 5vw);
    text-align: center;
    margin: 0;
    color: var(--color-primary);
    animation: shadows 1.2s ease-in infinite;
    letter-spacing: 0.4rem;
}

@keyframes shadows {
    0% {
        text-shadow: none;
    }

    10% {
        transform: translate(-3px, -3px);
        text-shadow: 3px 3px 0 var(--color-secondary);
    }

    20% {
        transform: translate(-6px, -6px);
        text-shadow: 3px 3px 0 var(--color-secondary),
            6px 6px 0 var(--color-tertiary);
    }

    30% {
        transform: translate(-9px, -9px);
        text-shadow: 3px 3px 0 var(--color-secondary),
            6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary);
    }

    40% {
        transform: translate(-12px, -12px);
        text-shadow: 3px 3px 0 var(--color-secondary),
            6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary),
            12px 12px 0 var(--color-quinary);
    }

    50% {
        transform: translate(-12px, -12px);
        text-shadow: 3px 3px 0 var(--color-secondary),
            6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary),
            12px 12px 0 var(--color-quinary);
    }

    60% {
        text-shadow: 3px 3px 0 var(--color-secondary),
            6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary),
            12px 12px 0 var(--color-quinary);
    }

    70% {
        text-shadow: 3px 3px 0 var(--color-secondary),
            6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary);
    }

    80% {
        text-shadow: 3px 3px 0 var(--color-secondary),
            6px 6px 0 var(--color-tertiary);
    }

    90% {
        text-shadow: 3px 3px 0 var(--color-secondary);
    }

    100% {
        text-shadow: none;
    }
}
/* For viewports wider than 1366px */
@media (min-width: 1367px) {
    .navbar .navbar-nav > .nav-item {
        font-size: 11px;
        padding-left: 45px;
    }
}

/* For viewports between 1024px and 1366px */
@media (min-width: 1024px) and (max-width: 1365px) {
    .navbar .navbar-nav > .nav-item {
        font-size: 10px;
        padding-left: 45px;
    }
}

/* For viewports between 768px and 1024px */
@media (min-width: 768px) and (max-width: 1023px) {
    .navbar .navbar-nav > .nav-item {
        font-size: 23px;
        padding-left: 50px;
        min-height: 75px;
        margin-bottom: 50px;
        background-size: contain;
    }
}

/* For viewports smaller than 768px */
@media (max-width: 767px) {
    .navbar .navbar-nav > .nav-item {
        font-size: 8px;
        padding-left: 15px;
    }
}

/* Tablet Styles */
@media (max-width: 768px) {
    .section {
        padding: 20px; /* Add padding for smaller screens */
    }

    .banner-section1.section {
        background-position: center; /* Adjust background position */
        padding-top: 20px;
    }

    .animated-images {
        grid-template-columns: 1fr; /* Stack images vertically */
        grid-template-rows: repeat(4, 1fr);
    }

    .text-overlay {
        font-size: 1.5rem; /* Adjust text size for readability */
    }

    .logo {
        width: 120px; /* Smaller logo for tablets */
    }

    .title {
        font-size: 2rem; /* Smaller font size for titles */
    }

    .project-name {
        font-size: 1.2rem; /* Adjust project name font size */
    }

    .banner_title {
        font-size: 40px; /* Smaller banner title size */
        padding-left: 15px; /* Adjust padding */
    }

    .banner_title h2 {
        font-size: 60px; /* Adjust font size */
    }

    .index_banner_title {
        font-size: 35px; /* Adjust font size */
    }

    .text-shadows {
        font-size: 1.5rem; /* Smaller font size for text shadows */
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .section {
        padding: 10px;
    }

    .banner-section1.section {
        position: relative;
        width: 100%;
        height: 50vh !important;
        min-height: 50vh !important;
        background-color: transparent;
        /* background-image: url(../img/bg/ac_blur.png); */
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
        animation: animatedBackground 30s linear infinite;
        position: relative;
        text-align: center;
        background-color: #99ccff;
        padding-top: 0;
        align-items: flex-start;
    }
    .glow-effect {
        height: 70px !important;
        filter: drop-shadow(0 0 10px white);
    }
    .animated-images {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
    }

    .text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        overflow: hidden;
        width: 100%;
        height: auto;
        font-size: 1rem;
    }
    .logo {
        width: 100px;
    }

    .title {
        font-size: 1.5rem;
    }

    .project-name {
        font-size: 1rem;
    }

    .banner_title {
        font-size: 30px;
        padding-left: 10px;
    }

    .banner_title h2 {
        font-size: 26px;
    }

    .index_banner_title {
        font-size: 15px;
    }
    .rsp_dept {
        margin-bottom: 0 !important;
        font-size: 12px !important;
    }
    .text-shadows {
        font-size: 1rem;
    }
    .card__category {
        font-family: "Raleway", sans-serif;
        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 2px;
        font-weight: 500;
        color: #868686;
    }
    .card__title {
        margin-top: 5px;
        margin-bottom: 10px;
        font-family: "Roboto Slab", serif;
        font-size: 15px;
    }
    .footer_row {
        display: flex !important;
    }
    .footer_50_left {
        width: 30% !important;
        font-size: 9px;
    }
    .footer_rsp {
        margin-top: 0;
    }
    .footer_50_right {
        width: 70% !important;
        font-size: 10px !important;
    }
    .team-section {
        height: auto !important;
        min-height: 700px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        padding: 30px 0;
    }
}
