/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6200ea;
    --primary-light: #9d46ff;
    --primary-dark: #0a00b6;
    --secondary-color: #00e5ff;
    --secondary-light: #6effff;
    --secondary-dark: #00b2cc;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --dark-card: #252525;
    --text-light: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-disabled: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.12);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
    --shadow-color: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes logoFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--secondary-color); }
    100% { box-shadow: 0 0 5px var(--primary-color); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header styles */
header {
    background: var(--dark-surface);
    color: var(--text-light);
    padding: 20px 0;
    box-shadow: 0 2px 20px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.college-info {
    text-align: center;
    flex: 3;
    animation: fadeIn 1s ease-out;
    padding: 0 15px;
    max-width: 600px;
    margin: 0 auto;
}

.logo-left, .logo-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.logo-left img {
    max-width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

.logo-left {
    animation: slideInLeft 1s ease-out;
}

.left-logo {
    max-width: 120px;
    height: auto;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
    transform: scale(1.05);
}

.left-logo:hover {
    transform: scale(1.1);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.logo-right {
    animation: slideInRight 1s ease-out;
    flex-direction: row;
}

.right-logo {
    max-width: 120px;
    height: auto;
    transition: all 0.3s ease;
    margin: 0 5px;
    transform: scale(1.1);
    filter: brightness(1.1);
}

.right-logo:hover {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.college-name {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1.2;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

.college-subname {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.college-address, .college-approvals, .college-accreditation {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.college-accreditation {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Tablet devices */
@media (max-width: 768px) {
    .header-container {
        padding: 10px;
    }

    .logo-left img, .logo-right img {
        height: 90px;
    }

    .college-name {
        font-size: 24px;
    }

    .college-subname {
        font-size: 18px;
    }

    .college-address, .college-approvals, .college-accreditation {
        font-size: 12px;
        margin-bottom: 2px;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .header-container {
        padding: 8px;
    }

    .logo-left img, .logo-right img {
        height: 60px;
    }

    .college-name {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .college-subname {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .college-address, .college-approvals, .college-accreditation {
        font-size: 10px;
        margin-bottom: 1px;
    }
}

/* Symposium section styles */
.symposium-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.symposium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(98, 0, 234, 0.1) 0%, rgba(0, 229, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 15px;
    animation: fadeIn 1.5s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

.symposium-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    animation: slideInUp 1s ease-out;
}

.symposium-description p {
    margin-bottom: 20px;
}

/* Chapters section styles */
.chapters-section {
    padding: 80px 0;
    background-color: var(--dark-surface);
    position: relative;
    overflow: hidden;
}

.chapters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.1) 0%, rgba(98, 0, 234, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.chapter-card {
    background-color: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow-color);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.2s);
    position: relative;
    z-index: 1;
}

.chapter-card:nth-child(1) { --i: 1; }
.chapter-card:nth-child(2) { --i: 2; }
.chapter-card:nth-child(3) { --i: 3; }

.chapter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.chapter-card:hover::before {
    opacity: 0.05;
}

.chapter-card h3 {
    padding: 20px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
    color: var(--text-light);
    font-size: 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.chapter-card h3::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.chapter-card:hover h3::after {
    transform: rotate(45deg) translate(80%, 80%);
}

.chapter-content {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.chapter-date, .chapter-departments {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.chapter-date {
    background-color: rgba(0, 229, 255, 0.1);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    border-left: 3px solid var(--secondary-color);
    box-shadow: 0 3px 10px rgba(0, 229, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chapter-card:hover .chapter-date {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

.chapter-departments {
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
    line-height: 1.4;
    transition: transform 0.3s ease;
}

.chapter-card:hover .chapter-departments {
    transform: translateX(5px);
}

.chapter-content p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.chapter-card:hover .chapter-content p {
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(98, 0, 234, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(98, 0, 234, 0.5);
}

.btn:hover::before {
    opacity: 1;
}

/* Footer styles */
footer {
    background-color: var(--dark-surface);
    color: var(--text-light);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-section {
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

.footer-section:nth-child(1) { animation-delay: 0.2s; }
.footer-section:nth-child(2) { animation-delay: 0.4s; }
.footer-section:nth-child(3) { animation-delay: 0.6s; }

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--text-light);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-info p:hover {
    transform: translateX(5px);
    color: var(--text-light);
}

.contact-info i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: var(--secondary-color);
}

.contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon:hover::before {
    opacity: 1;
    animation: gradientFlow 5s ease infinite;
}

.social-icon i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow-color);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px var(--shadow-color);
    pointer-events: none;
    border-radius: 12px;
}

.map-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.copyright p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* All Logos Container Styles */
.all-logos-container {
    background-color: var(--dark-bg);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 15px var(--shadow-color), 0 5px 15px var(--shadow-color);
}

.all-logos-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 0;
}

.all-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.all-logos img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: all 0.3s ease;
    animation: logoFadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.all-logos img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .all-logos {
        gap: 15px;
        padding: 15px;
    }
    
    .all-logos img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .all-logos {
        gap: 10px;
        padding: 10px;
    }
    
    .all-logos img {
        width: 60px;
        height: 60px;
    }
}

/* Countdown styles */
.countdown {
    margin-top: 50px;
    text-align: center;
    animation: fadeIn 1.5s ease-out;
}

.countdown h3 {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 24px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-light);
    background: var(--dark-card);
    border-radius: 12px;
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.countdown-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: -1;
}

.countdown-label {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive styles */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container, .header-container, .footer-container {
        max-width: 960px;
    }
    
    .college-name {
        font-size: 28px;
    }
    
    .college-subname {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container, .header-container, .footer-container, .all-logos {
        max-width: 720px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .left-logo {
        max-width: 80px;
    }
    
    .right-logo {
        max-width: 110px;
    }
    
    .all-logos img {
        width: 80px;
        height: 80px;
    }
    
    .chapters-grid {
        gap: 20px;
    }
    
    .chapter-card h3 {
        font-size: 20px;
    }
    
    .countdown-value {
        min-width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container, .header-container, .footer-container, .all-logos {
        max-width: 540px;
    }
    
    .header-container {
        flex-direction: column;
    }
    
    .logo-left, .logo-right {
        margin-bottom: 15px;
        flex-direction: row;
        gap: 15px;
    }
    
    .left-logo {
        max-width: 70px;
    }
    
    .right-logo {
        max-width: 100px;
    }
    
    .all-logos {
        gap: 20px;
    }
    
    .all-logos img {
        width: 70px;
        height: 70px;
    }
    
    .college-name {
        font-size: 24px;
    }
    
    .college-subname {
        font-size: 16px;
    }
    
    .college-address, .college-approvals, .college-accreditation {
        font-size: 12px;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-item {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 20px;
    }
    
    .symposium-section, .chapters-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .symposium-description {
        font-size: 14px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container, .header-container, .footer-container {
        padding: 0 15px;
    }
    
    .college-name {
        font-size: 20px;
    }
    
    .college-subname {
        font-size: 14px;
    }
    
    .left-logo, .right-logo {
        max-width: 60px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .chapter-card h3 {
        padding: 15px;
        font-size: 18px;
    }
    
    .chapter-content {
        padding: 20px 15px;
    }
    
    .chapter-date, .chapter-departments {
        font-size: 14px;
    }
    
    .countdown-value {
        min-width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
    
    .contact-info p, .contact-info a {
        font-size: 14px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .map-container iframe {
        height: 180px;
    }
    
    .copyright p {
        font-size: 12px;
    }
}

/* Fix for very small devices */
@media (max-width: 359.98px) {
    .college-name {
        font-size: 18px;
    }
    
    .college-subname {
        font-size: 12px;
    }
    
    .left-logo {
        max-width: 50px;
    }
    
    .right-logo {
        max-width: 70px;
    }
    
    .countdown-item {
        flex: 0 0 100%;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .header-container {
        padding: 10px 20px;
    }
    
    .left-logo, .right-logo {
        max-width: 60px;
    }
    
    .symposium-section, .chapters-section {
        padding: 40px 0;
    }
    
    .countdown-timer {
        flex-wrap: nowrap;
    }
    
    .countdown-value {
        min-width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
