/* Alumni Page Specific Styles */
.alumni-page {
    --alumni-color: #0071bc;
    --alumni-color-dark: #005a95;
    --alumni-color-light: #e3f2fd;
    --alumni-accent: #f7941d;
}

/* Enhanced Hero Section with Colorful Design */
.alumni-hero.enhanced-hero {
    background: linear-gradient(135deg, #0071bc 0%, #28a745 50%, #ffe066 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    margin-bottom: 0;
}

.alumni-hero.enhanced-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternFloat 20s linear infinite;
    z-index: 1;
}

@keyframes patternFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-shapes .shape-3 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    margin-right: 8px;
    color: #f7941d;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #ffe066;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.25), 0 1px 0 #333;
}

.title-highlight {
    color: #ffe066;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.25), 0 1px 0 #333;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f7941d;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    display: none;
}

@media (min-width: 768px) {
    .stat-divider {
        display: block;
    }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary, .btn-hero-secondary {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: linear-gradient(45deg, #f7941d, #e67e22);
    color: white;
    box-shadow: 0 8px 25px rgba(247, 148, 29, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(247, 148, 29, 0.4);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    color: white;
}

/* Enhanced Officers Section */
.officers-section.enhanced-officers {
    background: linear-gradient(135deg, #0071bc 0%, #28a745 50%, #ffe066 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.officers-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(0, 113, 188, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(247, 148, 29, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0, 113, 188, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(247, 148, 29, 0.05) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 30px, 30px -30px, -30px 0px; }
    100% { background-position: 60px 60px, 60px 90px, 90px 30px, 30px 60px; }
}

.officers-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: floatIcon 8s ease-in-out infinite;
    opacity: 0.6;
}

.floating-icon.icon-1 {
    top: 15%;
    left: 10%;
    background: linear-gradient(45deg, #0071bc, #005a95);
    color: white;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 25%;
    right: 15%;
    background: linear-gradient(45deg, #f7941d, #e67e22);
    color: white;
    animation-delay: 2s;
}

.floating-icon.icon-3 {
    bottom: 30%;
    left: 5%;
    background: linear-gradient(45deg, #28a745, #1e7e34);
    color: white;
    animation-delay: 4s;
}

.floating-icon.icon-4 {
    bottom: 15%;
    right: 10%;
    background: linear-gradient(45deg, #6f42c1, #563d7c);
    color: white;
    animation-delay: 6s;
}

@keyframes floatIcon {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-15px) rotate(90deg) scale(1.1); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-25px) rotate(180deg) scale(1.2); 
        opacity: 1;
    }
    75% { 
        transform: translateY(-15px) rotate(270deg) scale(1.1); 
        opacity: 0.8;
    }
}

.officers-section.enhanced-officers .container {
    position: relative;
    z-index: 2;
}

.officers-section.enhanced-officers .section-title h2 {
    color: #003366;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(255,255,255,0.85), 0 1px 0 #fff;
    background: rgba(255,255,255,0.7);
    display: inline-block;
    padding: 0.25em 1.2em 0.25em 1.2em;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.officers-section.enhanced-officers .section-title p {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 1px 0 #333;
    font-size: 1.3rem;
}

/* Enhanced Officer Cards */
.officers-section.enhanced-officers .officer-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 113, 188, 0.1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.officers-section.enhanced-officers .officer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0071bc, #f7941d, #28a745);
}

.officers-section.enhanced-officers .officer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 113, 188, 0.2);
    border-color: #f7941d;
}

.officers-section.enhanced-officers .officer-photo {
    width: 120px;
    height: 170px;
    border-radius: 16px;
    margin: 0 auto 20px;
    border: 4px solid #f7941d;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(247, 148, 29, 0.3);
    overflow: hidden;
    object-fit: cover;
}

.officers-section.enhanced-officers .officer-card:hover .officer-photo {
    border-color: #0071bc;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 113, 188, 0.4);
}

.officers-section.enhanced-officers .officer-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0071bc;
    margin-bottom: 8px;
}

.officers-section.enhanced-officers .officer-title {
    font-size: 1rem;
    color: #f7941d;
    font-weight: 600;
    background: rgba(247, 148, 29, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .alumni-hero.enhanced-hero {
        min-height: 65vh;
    }
    
    .hero-title {
        font-size: 2.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .officers-section.enhanced-officers .section-title h2 {
        font-size: 2.2rem;
    }
    
    .president-message {
        padding: 60px 0;
    }
}

/* President's Message Section Spacing */
.president-message {
    padding: 80px 0;
    margin-top: 0;
    position: relative;
    z-index: 3;
    background: white;
}

@media (max-width: 576px) {
    .alumni-hero.enhanced-hero {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .president-message {
        padding: 60px 0;
    }
}

/* Enhanced section titles */
.section-title {
    position: relative;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--alumni-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--alumni-color), var(--alumni-accent));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Fixed Sidebar Navigation */
.alumni-sidebar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    min-width: 200px;
    transition: all 0.3s ease;
}

.alumni-sidebar:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.alumni-sidebar h6 {
    color: var(--alumni-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    padding: 0 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alumni-sidebar .nav-link {
    color: #333;
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.alumni-sidebar .nav-link:hover {
    background-color: rgba(0, 113, 188, 0.1);
    border-left-color: var(--alumni-color);
    color: var(--alumni-color);
    text-decoration: none;
}

.alumni-sidebar .nav-link i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Hero Section - Enhanced for Better Contrast and Accessibility */
.alumni-hero {
    background: linear-gradient(135deg, var(--alumni-color) 0%, var(--alumni-color-dark) 100%);
    color: white;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Dark overlay for better text contrast */
.alumni-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 0;
}

/* Subtle pattern overlay */
.alumni-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.08"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.08"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.08"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.08"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.alumni-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #ffffff;
    /* Enhanced text shadow for WCAG AA compliance */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.alumni-hero p {
    font-size: 1.4rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    font-weight: 400;
    /* Enhanced text shadow for better readability */
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* President's Message Section */
.president-message {
    padding: 100px 0;
    background: white;
}

/* Decorative header for President's Message */
.section-title-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
}
.section-title-decor h2 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--alumni-color, #0071bc);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}
.decor-line {
    display: inline-block;
    height: 4px;
    width: 60px;
    border-radius: 2px;
    background: linear-gradient(90deg, #28a745 0%, #0071bc 100%);
    opacity: 0.7;
    box-shadow: 0 2px 8px rgba(0,113,188,0.08);
}
.decor-left {
    margin-right: 8px;
}
.decor-right {
    margin-left: 8px;
}

.president-photo {
    text-align: center;
    margin-bottom: 30px;
}

.president-photo img {
    width: 180px;
    height: 260px;
    border-radius: 16px;
    object-fit: cover;
    border: 6px solid var(--alumni-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Default visible state */
    opacity: 1;
    transform: scale(1) translateY(0);
    overflow: hidden;
}

/* Only hide for animation if JS is working */
.js-enabled .president-photo img {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
}

.president-photo-img.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0);
    box-shadow: 0 20px 50px rgba(0, 113, 188, 0.18);
}

.president-photo img:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 25px 60px rgba(0, 113, 188, 0.25);
    border-color: #f7941d;
}

.president-message-text {
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: justify;
    color: #444;
}

.president-message-text p {
    margin-bottom: 25px;
}

.president-message-text p:first-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--alumni-color);
}

.president-signature {
    text-align: right;
    margin-top: 40px;
    font-style: italic;
    color: var(--alumni-color);
    font-weight: 600;
    padding: 20px;
    border-left: 4px solid var(--alumni-color);
    background: rgba(0, 113, 188, 0.05);
    border-radius: 0 8px 8px 0;
}

/* Officers Section - Enhanced with Better Spacing and Animations */
.officers-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

/* Add spacing between officer cards */
.officers-section .row {
    margin: 0 -20px; /* Increase horizontal spacing */
}

.officers-section .col-lg-3,
.officers-section .col-md-6 {
    padding: 0 20px 40px; /* Increase spacing between cards */
}

.officer-card {
    background: white;
    border-radius: 25px;
    padding: 50px 30px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 2px solid rgba(0, 113, 188, 0.05);
    position: relative;
    overflow: hidden;
    /* Default visible state */
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Only hide for animation if JS is working */
.js-enabled .officer-card {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

/* Animation when cards come into view */
.officer-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delays */
.officer-card:nth-child(1) { animation-delay: 0.1s; }
.officer-card:nth-child(2) { animation-delay: 0.2s; }
.officer-card:nth-child(3) { animation-delay: 0.3s; }
.officer-card:nth-child(4) { animation-delay: 0.4s; }
.officer-card:nth-child(5) { animation-delay: 0.5s; }
.officer-card:nth-child(6) { animation-delay: 0.6s; }
.officer-card:nth-child(7) { animation-delay: 0.7s; }
.officer-card:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced hover effects */
.officer-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--alumni-color);
}

/* Subtle background animation on hover */
.officer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 113, 188, 0.05), transparent);
    transition: left 0.6s ease;
}

.officer-card:hover::before {
    left: 100%;
}

.officer-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 30px;
    border: 5px solid var(--alumni-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.officer-card:hover .officer-photo {
    border-width: 7px;
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0, 113, 188, 0.3);
}

.officer-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.officer-card:hover .officer-name {
    color: var(--alumni-color);
}

.officer-title {
    color: var(--alumni-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.officer-card:hover .officer-title {
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0, 113, 188, 0.2);
}

/* Contact and Donation Section - Enhanced */
.contact-donation {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.contact-donation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--alumni-color), transparent);
}

.contact-card, .donation-card {
    background: white;
    border-radius: 25px;
    padding: 60px 45px;
    height: 100%;
    border: 2px solid rgba(0, 113, 188, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-card::before, .donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--alumni-color), var(--alumni-accent));
}

.contact-card:hover, .donation-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--alumni-color);
}

.contact-card h4, .donation-card h4 {
    color: var(--alumni-color);
    margin-bottom: 35px;
    font-weight: 700;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

.contact-card h4 i, .donation-card h4 i {
    margin-right: 12px;
    font-size: 1.4rem;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg, var(--alumni-color-light), #ffffff);
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--alumni-color);
}

.contact-info li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info i {
    color: var(--alumni-color);
    margin-right: 18px;
    width: 24px;
    margin-top: 3px;
    font-size: 1.2rem;
}

.contact-info div {
    flex: 1;
}

.contact-info strong {
    color: var(--alumni-color);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.donation-form .form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 18px 20px;
    margin-bottom: 25px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.donation-form .form-control:focus {
    border-color: var(--alumni-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 113, 188, 0.15);
    transform: translateY(-2px);
    background: white;
}

.donation-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.btn-alumni {
    background: linear-gradient(135deg, #0071bc 0%, #005a95 100%);
    border: none;
    color: white;
    padding: 18px 40px;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 113, 188, 0.3);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-alumni .btn-text,
.btn-alumni .btn-loading {
    transition: all 0.3s ease;
}

.btn-alumni:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none !important;
}

.btn-alumni::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-alumni:hover::before {
    left: 100%;
}

.btn-alumni:hover {
    background: linear-gradient(135deg, #005a95 0%, #003d6b 100%);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 113, 188, 0.5);
}

.btn-alumni:hover:disabled {
    transform: none !important;
    box-shadow: 0 6px 20px rgba(0, 113, 188, 0.3);
}

/* Office hours styling */
.contact-card h5 {
    color: var(--alumni-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-card p {
    margin-bottom: 8px;
    color: #555;
}

.contact-card strong {
    color: var(--alumni-color);
}

/* Enhanced Responsive Design */
@media (max-width: 992px) {
    .officers-section .row {
        margin: 0 -15px;
    }

    .officers-section .col-lg-3,
    .officers-section .col-md-6 {
        padding: 0 15px 30px;
    }

    .officer-photo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .alumni-sidebar {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 20px auto;
        max-width: 300px;
    }

    .alumni-hero {
        padding: 80px 0 60px;
    }

    .alumni-hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .alumni-hero p {
        font-size: 1.2rem;
    }

    .president-photo img {
        width: 240px;
        height: 240px;
    }

    .officers-section {
        padding: 80px 0;
    }

    .officers-section .row {
        margin: 0 -10px;
    }

    .officers-section .col-lg-3,
    .officers-section .col-md-6 {
        padding: 0 10px 25px;
    }

    .officer-card {
        padding: 35px 25px 30px;
    }

    .officer-photo {
        width: 120px;
        height: 120px;
    }

    .contact-card, .donation-card {
        padding: 35px 30px;
        margin-bottom: 30px;
    }

    .president-message, .contact-donation {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .alumni-hero {
        padding: 60px 0 50px;
    }

    .alumni-hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .alumni-hero p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .president-message-text {
        font-size: 1rem;
        text-align: left;
        line-height: 1.7;
    }

    .president-photo img {
        width: 200px;
        height: 200px;
    }

    .officers-section {
        padding: 60px 0;
    }

    .officer-card {
        padding: 30px 20px 25px;
        margin-bottom: 0;
    }

    .officer-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .officer-name {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .officer-title {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .contact-card, .donation-card {
        padding: 30px 20px;
    }

    .president-message, .contact-donation {
        padding: 60px 0;
    }
}

/* Animation keyframes for smooth entrance effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .officer-card,
    .officer-photo,
    .officer-name,
    .officer-title,
    .president-photo img {
        transition: none;
        animation: none;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Alumni Page Visibility Fallbacks --- */
.alumni-hero h1,
.alumni-hero .hero-title,
.alumni-hero .hero-subtitle,
.president-photo img,
.president-message-text {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    color: inherit !important;
    transform: none !important;
}

/* Officer card fallback */
.officer-card {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}
