@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');

/* Variables */
:root {
    --primary: #1a237e;
    --primary-light: #534bae;
    --primary-dark: #000051;
    --accent: #ffd700;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --background: #0a1128;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* font-family: 'Inter', sans-serif; */
    font-family: 'Yeseva One';    
    line-height: 1.6;
    background-color: var(--background);
    color: var(--text);
    background-image: linear-gradient(rgba(10, 17, 40, 0.85), rgba(10, 17, 40, 0.85)),
                      url('https://images.unsplash.com/photo-1523961131990-5ea7c61b2107?q=80&w=2074');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: transform 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 17, 40, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 0rem;
    color: var(--accent);
}

.hero p {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Committees Section */
.committees {
    padding: 5rem 0;
}

.committees h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.committee-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.committee-card img {
    width: 100%;
    height: 100%;
    opacity: 90%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.committee-content {
    font-weight: 900;
    text-shadow: 3px 3px black;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 1));
    
}


/* Home Page Card */
.committee-card-home img {
    width: 100%;
    height: 100%;
    opacity: 90%;
    object-fit:contain;
    transition: transform 0.3s ease;
}

.committee-content h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.committee-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.committee-card-home {
    position: relative;
    width: 300px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}











/* Contact Section */
.contact {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .committee-grid {
        grid-template-columns: 1fr;
    }
}

.content{
    margin: 5rem 8rem 2rem 8rem;
    text-align: center;
    padding: 0 20px;
}

.content h2{
    color: #ffd700;
    font-size: 3rem;

}

.timer{
    display: flex;
    padding-top: 50px;
    justify-content: center;
}

.timer div{
    flex-basis: 100px;
}

.timer div p{
    font-size: 2rem;
}

@media (max-width: 768px) {
    /* .description {
        margin: 0px;
    } */

    .content{
        width: min-content;
        margin-left: auto;
        margin-right: auto;
        
    }

    .content div{
        /* width:100%; */
        width: fit-content;
    }

    
}
