/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #d4a574;
    --accent-color: #8b4513;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.text-center {
    text-align: center;
}

/* ===== Navigation Bar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 100px;   /* reduced slightly for clean navbar */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ===== Hero Section (Home Page) ===== */
.hero-video {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
}

/* video layer */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;

    min-width: 100%;
    min-height: 160vh;

    width: auto;
    height: auto;

    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.75),
            rgba(0,0,0,0.4)
        );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    text-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

/* ===== Page Header (Other Pages) ===== */
.page-header {
    position: relative;
    height: 22vh;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90e2 100%);
    background-image: url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    margin-top: 90px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 95, 141, 0.8);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #c69563;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.hero .btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.alt-bg {
    background: var(--bg-light);
}

/* ===== Quick Info Grid (Home Page) ===== */
.quick-info {
    background: var(--bg-light);
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* ===== Welcome Section (Home Page) ===== */
.welcome-section {
    background: var(--bg-white);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-text {
    font-size: 1.05rem;
    text-align: justify;
    text-justify: inter-word;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.welcome-highlights {
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.welcome-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-image img {
    width: 100%;
    transition: var(--transition);
}

.welcome-image:hover img {
    transform: scale(1.05);
}

/* ===== Events Preview (Home Page) ===== */

/* ===== Events Section ===== */
.events-section {
    background: var(--bg-white);
}

.events-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.event-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.event-item.highlighted {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-left-color: var(--secondary-color);
    border-left-width: 6px;
}

.event-date {
    text-align: center;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 15px;
    border-radius: 8px;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin: 5px 0;
}

.event-date .year {
    display: block;
    font-size: 0.9rem;
}

.event-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-location {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.event-location i {
    margin-right: 5px;
}

.event-description {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}


.events-preview {
    background: var(--bg-white);
}

.events-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.event-preview-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.event-preview-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.event-preview-date {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: inline-block;
    margin-bottom: 20px;
}

.event-preview-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-preview-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin: 5px 0;
}

.event-preview-date .year {
    display: block;
    font-size: 0.9rem;
}

.event-preview-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-preview-card p {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* ===== About Section ===== */
.about-section {
    background: var(--bg-light);
    padding: 40px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 250px auto;   /* Logo left → Text right */
    gap: 40px;
    align-items: start;
}

.about-logo img {
    width: 230px;
    height: auto;
    margin: 0;
    display: block;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
}

.about-text h3 {
    color: var(--accent-color);
    margin: 25px 0 15px;
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.features-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===== Vision & Mission ===== */
.vision-mission-section {
    background: var(--bg-white);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    text-align: justify;
    text-justify: inter-word;
}

.vm-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: justify;
    text-justify: inter-word;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vision-card .vm-icon {
    color: #4a90e2;
}

.mission-card .vm-icon {
    color: var(--accent-color);
}

.vm-card h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-list {
    list-style: none;
}

.mission-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mission-list i {
    color: var(--secondary-color);
    margin-top: 5px;
}

/* ===== Objectives ===== */
.objectives-section {
    background: var(--bg-light);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.objective-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.objective-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 3rem;
    font-weight: bold;
    color: rgba(44, 95, 141, 0.1);
}

.objective-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ===== History Timeline ===== */
.history-section {
    background: var(--bg-white);
    text-align: justify;
    text-justify: inter-word;
}

.history-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-year {
    position: absolute;
    left: -35px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.timeline-year::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.timeline-content {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-left: 50px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ===== Desk Message ===== */
.message-section {
    padding: 60px 0;
}

.message-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.message-header {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.message-photo {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.message-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.message-info h2 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.message-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.designation {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.credentials span {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.credentials i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.message-content {
    padding: 40px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.message-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #444;
}

.signature {
    margin-top: 30px;
    text-align: right;
    color: var(--primary-color);
}

.signature p {
    margin: 5px 0;
}

===== Call to Action =====
.cta-section {
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90e2 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    border-color: var(--text-light);
    color: var(--text-light);
}

.cta-section .btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: -50px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* .social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
} */

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}


/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 20px 0 10px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 10px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 5px;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section i {
    margin-right: 8px;
}

.social-links {
    display: flex;
    /* justify-content: center; */
    gap: 8px;
    margin-top: 12px;
}

.social-links a {
    font-size: 20px;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .welcome-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .message-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .message-photo {
        max-width: 250px;
        margin: 0 auto;
    }

    .signature {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* ===== Leadership/Committee Section ===== */
.leadership-section {
    background: var(--bg-white);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.leader-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.leader-card.featured {
    grid-column: span 1;
}

.leader-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.leader-badge.president {
    background: #e74c3c;
    color: var(--text-light);
}

.leader-badge.secretary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.leader-info {
    padding: 25px;
}

.leader-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.leader-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.leader-bio {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.leader-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.achievement {
    background: var(--bg-light);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.leader-contact {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.leader-contact a {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.leader-contact a:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* Students Council */
.council-section {
    background: var(--bg-light);
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.council-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.council-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.council-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.council-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.council-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.president-badge {
    background: #e74c3c;
}

.vp-badge {
    background: #2ecc71;
}

.sec-badge {
    background: #3498db
}

.jsec-badge {
    background: #f39c12;
}

.council-info {
    padding: 20px;
}

.council-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.council-position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.council-bio {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.council-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.council-details span {
    color: #888;
    font-size: 0.9rem;
}

.council-details i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Advisory Board */
.advisory-section {
    background: var(--bg-white);
}

.advisory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.advisory-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advisory-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advisory-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advisory-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.advisory-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.advisory-card p:last-child {
    color: #666;
    font-size: 0.9rem;
}

/* ===== Gallery Section ===== */
.gallery-section {
    background: var(--bg-white);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-tab {
    padding: 12px 30px;
    background: var(--bg-light);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-tab.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* ===== ADD THESE STYLES TO YOUR styles.css FILE ===== */

/* ===== Dropdown Navigation Menu ===== */
.dropdown {
    position: relative;
}

.dropdown .nav-link i {
    margin-left: 5px;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Dropdown */
@media (max-width: 968px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 10px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* ===== Quick Navigation Cards - 4 Top + 3 Bottom Centered ===== */
.quick-nav-section {
    background: var(--bg-light);
    padding: 40px 0 60px;
}

.quick-nav-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.quick-nav-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    width: 100%;
    flex-wrap: nowrap;
}

/* Ensure both rows center their content */
.quick-nav-row.centered-row {
    justify-content: center;
}

.quick-nav-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 180px;
    flex-shrink: 0;
}

.quick-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
    color: var(--text-light);
}

.quick-nav-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.quick-nav-card:hover i {
    color: var(--text-light);
}

.quick-nav-card h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    transition: var(--transition);
    line-height: 1.4;
    margin: 0;
}

.quick-nav-card:hover h3 {
    color: var(--text-light);
}

/* ===== Responsive Design ===== */

/* Large Tablet */
@media (max-width: 1200px) {
    .quick-nav-card {
        width: 240px;
        height: 170px;
        padding: 30px 20px;
    }
    
    .quick-nav-card i {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .quick-nav-card h3 {
        font-size: 0.95rem;
    }
}

/* Tablet - Stack to 2 rows of 2, then remaining */
@media (max-width: 968px) {
    .quick-nav-row {
        flex-wrap: wrap;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .quick-nav-card {
        width: 45%;
        min-width: 240px;
        height: 160px;
    }
}

/* Mobile - 1 column */
@media (max-width: 600px) {
    .quick-nav-row,
    .quick-nav-row.centered-row {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-nav-card {
        width: 90%;
        max-width: 350px;
        height: 140px;
        padding: 25px 15px;
    }
    
    .quick-nav-card i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .quick-nav-card h3 {
        font-size: 0.95rem;
    }
}

/* ===== Honorary Committee ===== */
.honorary-section {
    background: var(--bg-light);
}

.leader-badge.honorary {
    background: #e67e22;
    color: var(--text-light);
}

.leader-badge.treasurer {
    background: #9b59b6;
    color: var(--text-light);
}

/* ===== Chief Coach Section ===== */
.chief-coach-section {
    background: var(--bg-white);
}

.chief-coach-container {
    max-width: 900px;
    margin: 0 auto;
}

.chief-coach-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chief-coach-image {
    position: relative;
    height: 100%;
}

.chief-coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #c0392b;
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
}

.chief-coach-info {
    padding: 40px 40px 40px 0;
}

.chief-coach-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.coach-title {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.coach-bio {
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.coach-specialties h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.coach-specialties ul {
    list-style: none;
    margin-bottom: 25px;
}

.coach-specialties li {
    padding: 8px 0;
    color: #555;
}

.coach-specialties i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* ===== Referee Committee ===== */
.referee-section {
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;   /* vertically center if needed */
    padding: 40px 0;
}

.referee-grid {
    display: grid;
    grid-template-columns: 1fr;  /* single column */
    justify-items: center;       /* center the card */
    width: 100%;
}

.referee-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    max-width: 700px;
    width: 100%;
}

.referee-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.referee-card.featured-referee {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Image at top-right of legal card */
.referee-card {
    position: relative;
}

.referee-photo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;          /* adjust size */
    height: 200px;
    border-radius: 10px;   /* makes it circular */
    object-fit: cover;
    border: 3px solid var(--bg-light);
}

.referee-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.referee-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.referee-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.referee-bio {
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.referee-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.referee-credentials span {
    color: #666;
    font-size: 0.95rem;
}

.referee-credentials i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* ===== Legal Team ===== */
.legal-section {
    background: var(--bg-white);
    display: flex;
    justify-content: center;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr;        /* Only 1 card per row (clean, centered) */
    max-width: 700px;                  /* Control total width */
    margin: 0 auto;                    /* Center horizontally */
    gap: 25px;
}

.legal-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Image at top-right of legal card */
.legal-card {
    position: relative;
}

.legal-photo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;          /* adjust size */
    height: 200px;
    border-radius: 10px;   /* makes it circular */
    object-fit: cover;
    border: 3px solid var(--bg-light);
}

.legal-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.legal-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.legal-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.legal-bio {
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.legal-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== Smooth Scroll Offset ===== */
section[id] {
    scroll-margin-top: 100px;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .chief-coach-card {
        grid-template-columns: 1fr;
    }
    
    .chief-coach-image {
        height: 350px;
    }
    
    .chief-coach-info {
        padding: 30px;
    }
    
    .referee-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 600px) {
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-nav-card {
        padding: 20px 15px;
    }
    
    .quick-nav-card i {
        font-size: 2rem;
    }
    
    .quick-nav-card h3 {
        font-size: 0.9rem;
    }
}

/* Photo Categories */
.photo-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.photo-filter {
    padding: 8px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.photo-filter:hover,
.photo-filter.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 95, 141, 0.95), rgba(44, 95, 141, 0.7));
    color: var(--text-light);
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.view-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.view-btn:hover {
    background: var(--text-light);
    transform: scale(1.1);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-item {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.video-item:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--secondary-color);
    color: var(--text-dark);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.video-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
}

.video-meta i {
    margin-right: 4px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Events Page Styles ===== */
.event-filters-section {
    background: var(--bg-light);
    padding: 40px 0;
}

.event-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.events-section {
    background: var(--bg-white);
}

.events-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.event-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.event-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.event-item.highlighted {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-left-color: var(--secondary-color);
    border-left-width: 6px;
}

.event-date {
    text-align: center;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 20px 15px;
    border-radius: 8px;
    height: fit-content;
}

.event-date .month {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.event-date .day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.event-date .year {
    display: block;
    font-size: 1rem;
}

.event-details {
    position: relative;
}

.event-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-color);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-badge.featured {
    background: #e74c3c;
}

.event-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.event-location {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.05rem;
}

.event-location i {
    margin-right: 5px;
}

.event-description {
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.event-meta span {
    color: #666;
    font-size: 0.95rem;
}

.event-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.event-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Past Events */
.past-events-section {
    background: var(--bg-light);
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.past-event-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.past-event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.past-event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.past-event-info {
    padding: 20px;
}

.past-event-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.past-event-info p {
    color: #666;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.past-event-info i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* ===== Responsive Design =====
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .welcome-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .message-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .message-photo {
        max-width: 250px;
        margin: 0 auto;
    }

    .event-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .event-date {
        max-width: 150px;
        margin: 0 auto 20px;
    }

    .event-actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
} */

/* ===== ADD THESE STYLES TO YOUR styles.css FILE ===== */

/* ===== Events Page Styles ===== */
.event-filters-section {
    background: var(--bg-light);
    padding: 40px 0;
}

.event-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.event-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-color);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-badge.featured {
    background: #e74c3c;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.event-meta span {
    color: #666;
    font-size: 0.95rem;
}

.event-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.event-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.past-events-section {
    background: var(--bg-light);
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.past-event-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.past-event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.past-event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.past-event-info {
    padding: 20px;
}

.past-event-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.past-event-info p {
    color: #666;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.past-event-info i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* ===== News Page Styles ===== */
.featured-news-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.featured-news-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-news-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.news-badge.breaking {
    background: #e74c3c;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.featured-news-content {
    padding: 40px;
}

.featured-news-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.news-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.news-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.news-section {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #888;
}

.news-meta i {
    margin-right: 5px;
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
    line-height: 1.4;
}

.news-content p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 18px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.newsletter-section {
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90e2 100%);
    color: var(--text-light);
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 50px;
    text-align: center;
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.newsletter-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-signup-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-signup-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* ===== Research Page Styles ===== */
.research-overview-section {
    background: var(--bg-light);
}

.research-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.research-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card p {
    color: #666;
    font-size: 1.05rem;
}

.research-section {
    background: var(--bg-white);
}

.research-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.research-filter {
    padding: 10px 25px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.research-filter:hover,
.research-filter.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.research-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.research-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.research-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-light);
}

.research-badge.biomechanics { background: #3498db; }
.research-badge.history { background: #8b4513; }
.research-badge.health { background: #27ae60; }
.research-badge.pedagogy { background: #e67e22; }
.research-badge.psychology { background: #9b59b6; }

.research-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.research-author {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.research-excerpt {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.research-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #888;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.research-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.research-link:hover {
    color: var(--primary-color);
}

.research-areas-section {
    background: var(--bg-light);
}

.research-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.area-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.area-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.area-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.area-card p {
    color: #666;
    line-height: 1.6;
}

.research-submit-section {
    background: var(--bg-white);
}

.research-submit {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: var(--bg-light);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.research-submit h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.research-submit p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #666;
}

.submit-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.submit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* ===== Contact Page Styles ===== */
.contact-intro {
    margin-bottom: 35px;
    color: #666;
    line-height: 0;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form > p {
    color: #666;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.map-section {
    background: var(--bg-light);
}

.map-container {
    margin-top: 30px;
}

.map-placeholder {
    background: var(--bg-white);
    padding: 100px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.quick-contact-section {
    background: var(--bg-white);
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.quick-contact-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.qc-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.quick-contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.quick-contact-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-link {
    color: var(--accent-color);
    font-weight: 600;
}

.contact-link:hover {
    color: var(--primary-color);
}

.footer-sub {
    background-color: #0f0f0f; /* slightly darker than main footer */
    text-align: center;
    padding: 8px 10px;
    font-size: 13px;
    color: #aaa;
}

.footer-sub a {
    color: #ffffff; /* WhatsApp green */
    text-decoration: none;
    font-weight: 500;
}

.footer-sub a:hover {
    text-decoration: underline;
}


/* ===== Responsive Design Updates ===== */
@media (max-width: 968px) {
    
    .hero-video {
        min-width: 100%;
        min-height: 80vh;
    
        width: auto;
        height: auto;
    }

    .event-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .event-date {
        max-width: 150px;
        margin: 0 auto 20px;
    }

    .event-actions {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-signup-form {
        flex-direction: column;
    }

    .newsletter-signup-form input {
        width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .featured-news-image {
        height: 250px;
    }

    .featured-news-content {
        padding: 25px;
    }

    .featured-news-content h2 {
        font-size: 1.5rem;
    }

    .newsletter-box {
        padding: 30px 20px;
    }

    .newsletter-box h2 {
        font-size: 1.5rem;
    }
}