/* Basic Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: url('iste-background-2.mp4') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    cursor: url('blue-cursor-pointer.cur'), auto;
}

/* Video Background Styles */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Navigation Styles */
nav {
    background-color: #060121;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    /* Ensure nav stays on top */
}

.top-logo img {
    max-height: 50px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

nav ul li {
    padding: 10px 15px;
}

nav ul li a {
    text-decoration: none;
    color: #67c2ff;
    padding: 5px 7px;
    border: 2px solid transparent;
    border-radius: 3px;
    text-transform: capitalize;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

nav ul li a:hover {
    background-color: transparent;
    color: #67c2ff;
    transform: scale(1.05);
    text-shadow: 0 0 10px #67c2ff, 0 0 20px #67c2ff, 0 0 30px #67c2ff;
    border-radius: 90px;
}

.button.golden-button {
    color: #FFD700;
    text-transform: capitalize;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.button.golden-button:hover {
    background-color: transparent;
    color: #FFD700;
    transform: scale(1.05);
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFD700;
    border-radius: 90px;
}

/* Hamburger Menu */
.checkbtn {
    font-size: 24px;
    color: white;
    display: none;
    cursor: pointer;
}

#check {
    display: none;
}

/* Responsive Menu */
@media (max-width: 858px) {
    .checkbtn {
        display: block;
    }

    nav {
        z-index: 1000;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: #060121;
        font: inherit;
        backdrop-filter: blur(40px);
        /* Adding blur effect */
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 20px;
        /* Increased font size for dropdown links */
    }

    #check:checked~ul {
        display: flex;
    }
}

/* Main Content Styles */
.container {
    margin-top: 120px;
    padding: 40px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Slider Styles */
.slider {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    z-index: -1;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: -1;
}

.card {
    width: 30%;
    height: 200px;
    cursor: pointer;
    border-radius: 15px;
    z-index: -1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
}

/* Welcome Text Styles */
.welcome-text {
    font-size: 36px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px #008bcb, 0 0 10px #008bcb;
    margin-bottom: 60px;
    line-height: 1.8;
    text-align: center;
}

/* Welcome Section Styles */
.welcome-section {
    margin: 60px 0;
    text-align: justify;
    font-size: 20px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-section h1 {
    font-size: 3em;
    margin-bottom: 5px;
    text-align: center;
}

.welcome-section .highlight {
    color: #9cd3fb;
}

/* Brochure Styles */
.brochure-container {
    position: relative;
    margin-top: 20px;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.brochure-svg {
    flex: none;
    width: auto;
    max-width: 90%;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Button Container Styles - NEW */
.button-container {
    display: flex;
    justify-content: center;
    /* Center buttons horizontally */
    align-items: center;
    /* Align items vertically */
    gap: 20px;
    /* Space between buttons */
    margin-bottom: 20px;
    /* Space below buttons */
}

/* UI Button Styles (From Uiverse.io) */
.ui-btn {
    --btn-default-bg: #010314;
    --btn-padding: 15px 20px;
    --btn-hover-bg: rgb(51, 51, 51);
    --btn-transition: 0.3s;
    --btn-letter-spacing: 0.1rem;
    --btn-animation-duration: 1.2s;
    --btn-shadow-color: rgba(0, 0, 0, 0.137);
    --btn-shadow: 0 2px 10px 0 var(--btn-shadow-color);
    --hover-btn-color: #67c2ff;
    --default-btn-color: #fff;
    --font-size: 16px;
    --font-weight: 600;
    --font-family: Menlo, Roboto Mono, monospace;
    box-sizing: border-box;
    padding: var(--btn-padding);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--default-btn-color);
    font: var(--font-weight) var(--font-size) var(--font-family);
    background: var(--btn-default-bg);
    cursor: pointer;
    transition: var(--btn-transition);
    overflow: hidden;
    box-shadow: var(--btn-shadow);
    border-radius: 10px;
    border: 2px solid #67c2ff;
}

.ui-btn span {
    letter-spacing: var(--btn-letter-spacing);
    transition: var(--btn-transition);
    box-sizing: border-box;
    position: relative;
    background: inherit;
}

.ui-btn span::before {
    box-sizing: border-box;
    position: absolute;
    content: '';
    background: inherit;
}

.ui-btn:hover,
.ui-btn:focus {
    background: var(--btn-default-bg);
    box-shadow: 0px 0px 10px 0px rgba(68, 0, 255, 0.7);
    border: 2px solid #67c2ff;
}

.ui-btn:hover span,
.ui-btn:focus span {
    color: var(--hover-btn-color);
}

.ui-btn:hover span::before,
.ui-btn:focus span::before {
    animation: chitchat linear both var(--btn-animation-duration);
}

@keyframes chitchat {
    0% {
        content: '#';
    }

    5% {
        content: '.';
    }

    10% {
        content: '^{';
    }

    15% {
        content: '-!';
    }

    20% {
        content: '#$_';
    }

    25% {
        content: '№:0';
    }

    30% {
        content: '#{+.';
    }

    35% {
        content: '@}-?';
    }

    40% {
        content: '?{4@%';
    }

    45% {
        content: '=.,^!';
    }

    50% {
        content: '?2@%';
    }

    55% {
        content: '\;1}]';
    }

    60% {
        content: '?{%:%';
        right: 0;
    }

    65% {
        content: '|{f[4';
        right: 0;
    }

    70% {
        content: '{4%0%';
        right: 0;
    }

    75% {
        content: "'1_0<";
        right: 0;
    }

    80% {
        content: '{0%';
        right: 0;
    }

    85% {
        content: "]>'";
        right: 0;
    }

    90% {
        content: '4';
        right: 0;
    }

    95% {
        content: '2';
        right: 0;
    }

    100% {
        content: '';
        right: 0;
    }
}

.key-button-container {
    margin-left: 35%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 2fr));
    gap: 60px;
    justify-items: center;
    align-items: center;
    padding: 0 0px;
}
  
.key-button-container button {
    padding: 15px 20px; 
}

/* Stats Section Styles */
.stats {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
    padding: 70px;
    text-align: center;
    margin-bottom: 20px;
    /* Add space between stats section and the footer */
}

.stat-item {
    background-color: #333;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    color: #00baff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 140px;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.8);
}

.stat-number {
    font-size: 1em;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px #008bcb, 0 0 10px #008bcb;
}

.stat-label {
    font-size: 0.5em;
    margin-top: 5px;
    color: #fff;
    font-weight: bold;
}

.stat-icon {
    font-size: 1.2em;
    margin-top: 5px;
    color: #fff;
    text-shadow: 0 0 5px #008bcb, 0 0 10px #008bcb;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 30px;
    background-color: #060121;
    color: white;
    margin-top: 100px;
}

/* General Footer Styling */
.site-footer {
    background-color: rgba(0, 0, 0, 0.453);
    color: #ffcc32;
    padding: 40px 20px;
    font-size: 15px;
    line-height: 24px;
}

.site-footer h6 {
    color: #5132ff;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

/*change on hover*/
.site-footer a:hover {
    background-color: transparent;
    color: #ffffff;
    transform: scale(1.05);
    text-shadow: 0 0 20px #008bcb, 0 0 20px #008bcb, 0 0 30px #008bcb;
    border-radius: 90px;
}

/* Grid Layout for Footer */
.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.footer-column {
    text-align: left;
}

/* Footer Links Styling */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid #bbb;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Copyright Footer Styling */
.copyright-footer {
    background-color: #060121;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    border-top: 1px solid #ffffff;
}

.copyright-footer p {
    margin: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .button-container {
        width: 100%;
        margin-top: 10px;
        flex-direction: column;
        /* Stack buttons on smaller screens */
        gap: 10px;
        /* Reduce gap in stacked mode */
    }

    .cards {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        width: 80%;
        margin: auto;
    }

    .container {
        padding: 20px;
    }

    .welcome-text {
        font-size: 28px;
    }

    .welcome-section {
        font-size: 18px;
    }

    .about-us-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        padding: 10px;
        /* Further reduced padding for smaller screens */
    }

    .stat-item {
        width: 100%;
        /* Full width on smaller screens */
        max-width: 100%;
        /* Max width adjusts on smaller screens */
    }

    .site-footer h6 {
        font-size: 16px;
    }

    footer {
        padding: 20px;
    }

    .brochure-container {
        flex-direction: column;
    }

    .brochure-svg {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {

    .button-container {
        display: flex;
        justify-content: center;
        /* Center buttons horizontally */
        align-items: center;
        /* Align items vertically */
        gap: 20px;
        /* Space between buttons */
        margin-bottom: 20px;
        /* Space below buttons */
    }
    
    /* UI Button Styles (From Uiverse.io) */
    .ui-btn {
        --btn-default-bg: #010314;
        --btn-padding: 15px 20px;
        --btn-hover-bg: rgb(51, 51, 51);
        --btn-transition: 0.3s;
        --btn-letter-spacing: 0.1rem;
        --btn-animation-duration: 1.2s;
        --btn-shadow-color: rgba(0, 0, 0, 0.137);
        --btn-shadow: 0 2px 10px 0 var(--btn-shadow-color);
        --hover-btn-color: #67c2ff;
        --default-btn-color: #fff;
        --font-size: 16px;
        --font-weight: 600;
        --font-family: Menlo, Roboto Mono, monospace;
        box-sizing: border-box;
        padding: var(--btn-padding);
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--default-btn-color);
        font: var(--font-weight) var(--font-size) var(--font-family);
        background: var(--btn-default-bg);
        cursor: pointer;
        transition: var(--btn-transition);
        overflow: hidden;
        box-shadow: var(--btn-shadow);
        border-radius: 10px;
        border: 2px solid #67c2ff;
    }
    
    .ui-btn span {
        letter-spacing: var(--btn-letter-spacing);
        transition: var(--btn-transition);
        box-sizing: border-box;
        position: relative;
        background: inherit;
    }
    
    .ui-btn span::before {
        box-sizing: border-box;
        position: absolute;
        content: '';
        background: inherit;
    }
    
    .ui-btn:hover,
    .ui-btn:focus {
        background: var(--btn-default-bg);
        box-shadow: 0px 0px 10px 0px rgba(68, 0, 255, 0.7);
        border: 2px solid #67c2ff;
    }
    
    .ui-btn:hover span,
    .ui-btn:focus span {
        color: var(--hover-btn-color);
    }
    
    .ui-btn:hover span::before,
    .ui-btn:focus span::before {
        animation: chitchat linear both var(--btn-animation-duration);
    }
    
    @keyframes chitchat {
        0% {
            content: '#';
        }
    
        5% {
            content: '.';
        }
    
        10% {
            content: '^{';
        }
    
        15% {
            content: '-!';
        }
    
        20% {
            content: '#$_';
        }
    
        25% {
            content: '№:0';
        }
    
        30% {
            content: '#{+.';
        }
    
        35% {
            content: '@}-?';
        }
    
        40% {
            content: '?{4@%';
        }
    
        45% {
            content: '=.,^!';
        }
    
        50% {
            content: '?2@%';
        }
    
        55% {
            content: '\;1}]';
        }
    
        60% {
            content: '?{%:%';
            right: 0;
        }
    
        65% {
            content: '|{f[4';
            right: 0;
        }
    
        70% {
            content: '{4%0%';
            right: 0;
        }
    
        75% {
            content: "'1_0<";
            right: 0;
        }
    
        80% {
            content: '{0%';
            right: 0;
        }
    
        85% {
            content: "]>'";
            right: 0;
        }
    
        90% {
            content: '4';
            right: 0;
        }
    
        95% {
            content: '2';
            right: 0;
        }
    
        100% {
            content: '';
            right: 0;
        }
    }
    
    .key-button-container {
        margin: 0 auto; /* Center the container */
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 2fr)); /* Adjust grid columns */
        gap: 20px; /* Reduced gap between buttons */
        justify-items: center;
        align-items: center;
        padding: 0 0px;
    }
      
    .key-button-container button {
        padding: 10px 20px; 
    }
    
    .top-logo img {
        max-height: 40px;
    }

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

    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .site-footer {
        margin-top: 7cm;
        font-size: 10px;
        line-height: 15px;
    }

    .footer-links {
        margin: 10px;
    }

    .copyright-footer {
        font-size: 10px;
    }
}