/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0a1f44;
    --secondary-blue: #1a365d;
    --accent-blue: #2d4d8f;
    --light-blue: #4a6fa5;
    --text-light: #f8f9fa;
    --text-muted: #cbd5e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: #0c1120;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Header Styles */
.header {
    background-color: rgba(10, 31, 68, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.logo-icon img {
    width: 90%;
    height: 80%;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
}

.nav-menu a:hover {
    color: var(--light-blue);
}

/* REMOVED: .nav-menu a.active and .nav-menu a.active::after */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 31, 68, 0.85), rgba(10, 31, 68, 0.9)),
        url('../images/index_img/BG_Image.JPG');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 90px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--primary-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--secondary-blue);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent-blue);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 111, 165, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--light-blue);
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Events Preview */
.events-preview {
    padding: 100px 0;
    background-color: #0c1120;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.view-all {
    color: var(--light-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.view-all:hover {
    color: white;
    gap: 12px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--secondary-blue);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 25px;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-blue);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
}

.event-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-link {
    color: var(--accent-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.event-link:hover {
    color: var(--light-blue);
    gap: 10px;
}

/* Gallery Preview */
.gallery-preview {
    padding: 100px 0;
    background-color: var(--primary-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10, 31, 68, 0.9));
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: #070c1a;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 20px;
}

.footer-logo .Seu_logo {
    width: 70px;
    height: 60px;
    background: transparent;
}

.footer-logo .union_logo {
    width: 85px;
    height: 85px;
    background: transparent;
}

.footer-logo .media_logo {
    width: 140px;
    height: 160px;
    background: transparent;
}


.footer-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 5px;
}

.footer-logo-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-about {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-blue);
    transform: translateY(-5px);
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-blue);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--light-blue);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--accent-blue);
    margin-top: 5px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.newsletter-form input {
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid var(--secondary-blue);
    background-color: var(--primary-blue);
    color: white;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.newsletter-form button {
    padding: 12px 15px;
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--light-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--secondary-blue);
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom i {
    color: #e53e3e;
}

/* Past Events */
.past-events {
    padding: 100px 0;
    background-color: #0c1120;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.past-event-card {
    background-color: var(--secondary-blue);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.past-event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.past-event-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.past-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.past-event-card:hover .past-event-image img {
    transform: scale(1.05);
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.past-event-card:hover .event-overlay {
    opacity: 1;
}

.view-gallery {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-blue);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
}

.view-gallery:hover {
    background-color: var(--light-blue);
    transform: translateY(-3px);
}

.past-event-info {
    padding: 25px;
}

.past-event-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
    line-height: 1.4;
}

.past-event-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.past-event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.past-event-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.past-event-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 10px;
}

.past-event-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.past-event-stats i {
    color: var(--light-blue);
}

.view-all-past {
    text-align: center;
    margin-top: 50px;
}

.view-all-past .btn {
    padding: 15px 30px;
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo-icon {
        width: 100px;
        height: 100px;
    }

    .logo-title {
        font-size: 1.2rem;
    }

    .past-event-meta,
    .past-event-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 150px 0 80px;
        margin-top: 75px;
        height: auto;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-title {
        text-align: left;
    }

    .section-title::after {
        left: 0;
        transform: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .logo-icon {
        width: 70px;
        height: 70px;
    }

    .logo-title {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.75rem;
    }

    .navbar {
        padding: 10px 0;
    }

    .footer-logo {
        display: flex;
        flex-direction: row;
        align-items: center;
        /* vertical center */
        justify-content: center;
        /* horizontal center */
        gap: 15px;
        text-align: center;
    }



    .footer-logo-text {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features,
    .events-preview,
    .gallery-preview,
    .past-events {
        padding: 70px 0;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .logo-title {
        font-size: 1rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }

    .navbar {
        padding: 8px 0;
    }

    .past-events-grid {
        grid-template-columns: 1fr;
    }
}

/* Special styling for each logo */
.footer-logo .logo-icon:nth-child(1) {
    /* SEUSL Logo */
    width: 60px;
    height: 60px;
}

.footer-logo .logo-icon:nth-child(2) {
    /* Union Logo */
    width: 55px;
    height: 55px;
}

.footer-logo .logo-icon:nth-child(3) {
    /* Heart of Agni Logo */
    width: 50px;
    height: 50px;
}

.footer-logo-text {
    margin-left: 10px;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 5px;
}

.footer-logo-text p {
    color: var(--text-muted);
    font-size: 0.9rem;

}






