/* Root Variables */
:root {
    --primary-color: #00ccff;
    --secondary-color: #ffffff;
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --primary-color-rgb: 0, 255, 136;
    --secondary-color-rgb: 255, 0, 85;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--background-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Canvas */
#background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/* Glow Effect for White Text */
.glow-text {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 0 5px cyan, 0 0 10px magenta, 0 0 15px blue;
    animation: glow-animation 1.5s infinite alternate;
}

@keyframes glow-colors {
    0% { text-shadow: 0 0 5px red, 0 0 10px blue; }
    50% { text-shadow: 0 0 5px cyan, 0 0 10px purple; }
    100% { text-shadow: 0 0 5px green, 0 0 10px yellow; }
}


/* Apply Glow to Specific Elements */
.college-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to bottom, var(--neon-green), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-shadow: white,
    #00ccff;
    animation: glow-pulse 2s infinite;
}


/* Header Styles */
.header {
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    max-width: 150px;
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.college-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.department-name {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: var(--secondary-color);
    text-shadow: 0 0 15px var(--secondary-color);
}

/* Event Date */
.event-date-container {
    text-align: center;
    margin: 3rem 0;
}

.date-wrapper {
    display: inline-block;
    padding: 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.event-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
}

/* Countdown Section */
.countdown-container {
    text-align: center;
    margin: 3rem auto;
    max-width: 800px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.countdown-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.time-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.time-box span {
    font-family: 'Orbitron', sans-serif;
}

.time-box span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
}

.label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Buttons */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.action-btn {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.register {
    background: var(--secondary-color);
    color: #00ccff;
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.3);
}

.brochure {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* New Arrivals Section */
.new-arrivals {
    margin: 4rem 0;
}

.arrivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.arrival-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.arrival-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* Events Section */
.events-section {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.events-grid {
    display: flex;
    justify-content: center; /* Center the entire grid */
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}


.event-card {
    text-align: center; /* Center the text inside the card */
    display: flex;
    flex-direction: column; /* Align content in a column */
    align-items: center;
    justify-content: center;
    width: 300px; /* Adjust width as needed */
    height: 250px; /* Adjust height as needed */
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
    border-color:  #00ccff;
}

.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 1.2rem 1.2rem 0.8rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    margin: 0;
}

.event-description {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 1.2rem 1.2rem;
    text-align: center;
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1;
}

/* Add these styles to your existing CSS */
.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.event-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.event-card {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
}

/* Style for video container */
.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
/* Section Titles */
/* Section Titles - Centered Version */
.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    position: relative;
    display: block;  /* Changed from inline-block */
    margin-left: auto;  /* Added for centering */
    margin-right: auto;  /* Added for centering */
    width: fit-content;  /* Allow the title to size to its content */
    transform: none;  /* Removed translateX */
    left: 0;  /* Reset left position */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
}
/* Contact Section */
.contact {
    margin: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.contact-group:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    
    margin-top: 4rem;
}

/* Media Partners */
.media-partners {
    margin: 4rem 0;
}

.media-partners {
    margin: 4rem 0;
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem;
}

.partner-logo {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: #00ccff;
    background: rgba(124, 106, 106, 0.08);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-logo {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        width: 200px;
        height: 200px;
    }
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .countdown {
        gap: 1.5rem;
    }
    
    .time-box {
        min-width: 100px;
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .college-name {
        font-size: 2rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .event-date {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .time-box span:first-child {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
}
.foot{
    color: white;
}
.color{
   color: white;
}


