/* ============================================
   MAIN CSS FOR ALAS MNHS ALUMNI WEBSITE
   Professional & Modern Design - Refined Edition
   ============================================ */

/* Root Variables - Professional Color Scheme */
:root {
    /* Primary Color - Warm Terracotta (Professional & Inviting) */
    --primary: #b87c4e;
    --primary-dark: #9a5e34;
    --primary-light: #d9a77a;
    --primary-soft: #f5ede4;
    
    /* Secondary Color - Deep Navy/Charcoal (Authority & Trust) */
    --secondary: #2c3e4e;
    --secondary-dark: #1a2a36;
    --secondary-light: #3e5a6b;
    
    /* Accent Colors */
    --accent-gold: #c9a87c;
    --accent-sage: #8ba888;
    --accent-rust: #b66b3c;
    
    /* Neutral Colors */
    --dark: #1e2a32;
    --darker: #0f171f;
    --light: #fefaf5;
    --lighter: #ffffff;
    --gray-dark: #4a5568;
    --gray: #718096;
    --gray-light: #e2e8f0;
    
    /* Status Colors */
    --success: #2b7a4b;
    --warning: #c97e2c;
    --error: #c44536;
    --info: #3b82b6;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--lighter);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
    color: var(--darker);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.35rem;
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-dark);
    line-height: 1.7;
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: var(--lighter);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--lighter);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--lighter);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--lighter);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: var(--primary-soft);
    transform: translateY(-2px);
    color: var(--primary-dark);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--lighter);
    color: var(--lighter);
}

.btn-outline-light:hover {
    background: var(--lighter);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-link {
    background: transparent;
    padding: 0;
    color: var(--primary);
    font-weight: 500;
}

.btn-link:hover {
    background: transparent;
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Navbar Styles */
.navbar {
    transition: var(--transition);
    padding: 0.75rem 0;
    background: rgba(15, 23, 31, 0.95);
    backdrop-filter: blur(12px);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 31, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    height: 42px;
    width: auto;
    transition: var(--transition);
}

.navbar-brand span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--lighter);
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-light);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.dropdown-menu {
    background: var(--secondary-dark);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--lighter);
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(184, 124, 78, 0.2);
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--darker) 0%, var(--secondary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/pattern-overlay.png') repeat;
    opacity: 0.08;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero h1 {
    font-size: 4rem;
    color: var(--lighter);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary-light);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(184, 124, 78, 0.35);
    z-index: -1;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-light);
    display: block;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .subtitle {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--darker);
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

.section-title.text-start {
    text-align: left;
}

.section-title.text-start p {
    margin: 0;
}

/* Cards - Blog */
.blog-card {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: var(--gray);
}

.blog-meta i {
    color: var(--primary);
    margin-right: 0.25rem;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-title a {
    color: var(--darker);
    text-decoration: none;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Cards - Event */
.event-card {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary-soft);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin: 1.5rem 1.5rem 0 1.5rem;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.event-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.event-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--darker);
}

.event-location,
.event-time {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-location i,
.event-time i {
    width: 18px;
    color: var(--primary);
    font-size: 0.8rem;
}

/* Cards - Alumni */
.alumni-card {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.alumni-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.alumni-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-light);
}

.alumni-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--darker);
}

.alumni-year {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.alumni-occupation {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    background: var(--light);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.feature-list li span {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--secondary-dark), var(--darker));
    position: relative;
}

.newsletter-section .section-title .subtitle {
    color: var(--primary-light);
}

.newsletter-section .section-title h2 {
    color: var(--lighter);
}

.newsletter-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 0.25rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 0.85rem 1.5rem;
    color: var(--lighter);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    color: var(--lighter);
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--lighter);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: var(--lighter);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    color: var(--lighter);
}

/* Spinner */
#spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

/* Background Colors */
.bg-light {
    background: var(--light) !important;
}

.bg-dark {
    background: var(--secondary-dark) !important;
}

.bg-primary {
    background: var(--primary) !important;
}

/* Text Colors */
.text-primary {
    color: var(--primary) !important;
}

.text-white {
    color: var(--lighter) !important;
}

/* Utility Classes */
.rounded-pill {
    border-radius: var(--radius-full) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow {
    visibility: hidden;
}

/* Responsive Design */
@media (max-width: 992px) {
    :root {
        --spacing-xxl: 3rem;
    }
    
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
    
    .hero {
        padding-top: 70px;
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .alumni-image {
        width: 100px;
        height: 100px;
    }
    
    .navbar-brand span {
        display: none;
    }
    
    .navbar-brand img {
        height: 36px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .blog-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }
    
    .newsletter-form input {
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-full);
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .back-to-top,
    .newsletter-section,
    .footer .social-links {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card,
    .blog-card,
    .event-card,
    .alumni-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
.event-card {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    cursor: pointer;
    position: relative;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform var(--transition);
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-image-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--gray-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
}

.event-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--lighter);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 55px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.event-date-badge .day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.event-date-badge .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--darker);
    transition: color var(--transition-fast);
}

.event-card:hover .event-title {
    color: var(--primary);
}

.event-location,
.event-time {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-location i,
.event-time i {
    width: 18px;
    color: var(--primary);
    font-size: 0.8rem;
}

.event-description {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-top: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Blog Cards - Make Entire Card Clickable */
.blog-card {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    cursor: pointer;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: var(--gray);
}

.blog-meta i {
    color: var(--primary);
    margin-right: 0.25rem;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.blog-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Alumni Cards - Make Entire Card Clickable */
.alumni-card {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    cursor: pointer;
    position: relative;
}

.alumni-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.alumni-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-light);
    transition: transform var(--transition);
}

.alumni-card:hover .alumni-image {
    transform: scale(1.05);
    border-color: var(--primary);
}

.alumni-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--darker);
    transition: color var(--transition-fast);
}

.alumni-card:hover .alumni-name {
    color: var(--primary);
}

.alumni-year {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.alumni-occupation {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.alumni-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Button inside clickable cards - ensure they work */
.blog-card .btn,
.event-card .btn,
.alumni-card .btn {
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-image,
    .event-image-placeholder {
        height: 150px;
    }
    
    .event-date-badge {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.35rem 0.6rem;
        min-width: 48px;
    }
    
    .event-date-badge .day {
        font-size: 1rem;
    }
    
    .event-date-badge .month {
        font-size: 0.6rem;
    }
}

/* ============================================
   EVENTS PAGE STYLES
   ============================================ */

/* Events Page Header */
.events-header {
    background: linear-gradient(135deg, var(--darker) 0%, var(--secondary-dark) 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.events-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/pattern-overlay.png') repeat;
    opacity: 0.08;
    pointer-events: none;
}

.events-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(184,124,78,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.events-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.events-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--lighter);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.events-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Featured Event Section */
.featured-event-section {
    padding: 60px 0 40px;
    background: var(--light);
}

.featured-event-card {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.featured-event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.featured-event-image {
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.featured-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.featured-event-card:hover .featured-event-image img {
    transform: scale(1.05);
}

.featured-event-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--gray-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

.featured-event-content {
    padding: 2.5rem;
}

.featured-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.featured-event-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--darker);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.featured-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.featured-event-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.featured-event-meta .meta-item i {
    color: var(--primary);
    width: 18px;
}

.featured-event-description {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Events Listing Section */
.events-listing-section {
    padding: 60px 0;
    background: var(--lighter);
}

/* Filters */
.events-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--light);
    color: var(--gray-dark);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-tab:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--primary);
    color: var(--lighter);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.filter-tab.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
}

.filter-search {
    min-width: 280px;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 0.9rem;
}

.search-input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184, 124, 78, 0.1);
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    text-decoration: none;
}

.search-clear:hover {
    color: var(--error);
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.event-card-item {
    cursor: pointer;
}

.event-card-inner {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.event-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.event-card-inner:hover .event-card-image img {
    transform: scale(1.05);
}

.event-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--gray-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
}

.event-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--lighter);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 55px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.event-date-badge .event-day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.event-date-badge .event-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.event-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--darker);
    margin-bottom: 0.75rem;
    transition: color var(--transition);
    font-family: var(--font-heading);
}

.event-card-inner:hover .event-card-title {
    color: var(--primary);
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.event-card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.8rem;
}

.event-card-meta .meta-item i {
    color: var(--primary);
    width: 14px;
    font-size: 0.8rem;
}

.event-card-description {
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.event-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.event-registration-status {
    margin-bottom: 0.75rem;
}

.registration-progress {
    height: 4px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: width var(--transition);
}

.registration-count {
    font-size: 0.7rem;
    color: var(--gray);
}

.registration-open {
    font-size: 0.7rem;
    color: var(--success);
}

.registration-open i {
    font-size: 0.65rem;
}

.event-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.event-card-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* No Events Found */
.no-events-found {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.no-events-found i {
    font-size: 4rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.no-events-found h3 {
    font-size: 1.5rem;
    color: var(--darker);
    margin-bottom: 0.5rem;
}

.no-events-found p {
    color: var(--gray);
    max-width: 400px;
    margin: 0 auto;
}

/* Events CTA Section */
.events-cta-section {
    padding: 60px 0;
    background: var(--light);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.cta-title {
    color: var(--lighter);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1rem;
}

/* Newsletter Modal */
.modal-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-title-custom {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--darker);
    margin-bottom: 0.5rem;
}

.modal-text {
    color: var(--gray);
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
}

.modal-footer {
    border-top: none;
}

/* Responsive Design for Events Page */
@media (max-width: 992px) {
    .events-title {
        font-size: 2.5rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .featured-event-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .cta-card {
        text-align: center;
    }
    
    .featured-event-content {
        padding: 1.5rem;
    }
    
    .featured-event-meta {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .events-header {
        padding: 100px 0 50px;
    }
    
    .events-title {
        font-size: 2rem;
    }
    
    .events-description {
        font-size: 1rem;
    }
    
    .events-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .filter-search {
        width: 100%;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-event-section {
        padding: 40px 0 20px;
    }
    
    .featured-event-image {
        min-height: 200px;
    }
    
    .featured-event-placeholder {
        min-height: 200px;
        font-size: 2.5rem;
    }
    
    .cta-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .events-header {
        padding: 80px 0 40px;
    }
    
    .events-title {
        font-size: 1.75rem;
    }
    
    .events-badge {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
    }
    
    .filter-tab {
        width: calc(33.33% - 0.5rem);
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .event-card-image {
        height: 180px;
    }
    
    .event-date-badge {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.35rem 0.6rem;
        min-width: 48px;
    }
    
    .event-date-badge .event-day {
        font-size: 1rem;
    }
    
    .event-date-badge .event-month {
        font-size: 0.6rem;
    }
    
    .featured-event-content {
        padding: 1.25rem;
    }
    
    .featured-event-title {
        font-size: 1.25rem;
    }
    
    .featured-event-meta {
        gap: 0.75rem;
    }
    
    .featured-event-meta .meta-item {
        font-size: 0.8rem;
    }
    
    .cta-card {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.25rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* Animation keyframes (if not already present) */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}