:root {
    --primary-color: #2d6a4f;
    --secondary-color: #40916c;
    --accent-color: #95d5b2;
    --light-accent: #d8f3dc;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --dark-text: #212529;
    --gray-text: #6c757d;
    --transition-speed: 0.3s;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    
    /* Enhanced variables for new card styling */
    --primary-green: #2d6a4f;
    --accent-green: #40916c;
    --primary-green-rgb: 45, 106, 79;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

section {
    padding: 80px 0;
    position: relative;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: none;
    padding: 1rem 0;
    transition: all var(--transition-speed) ease;
    z-index: 1100;
}

.navbar-logo {
    height: 40px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.navbar-brand span {
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar[style*="var(--primary-color)"] .navbar-brand span,
.navbar[style*="var(--primary-color)"] .nav-link {
    color: var(--white) !important;
}

.navbar[style*="var(--primary-color)"] .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar[style*="var(--primary-color)"] .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    padding: 120px 0 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-text);
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hero event details styling */
.hero-event-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.event-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-width: 400px;
    flex: 1;
    text-align: center;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-green) 100%);
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.event-date {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-text);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-location {
    font-size: 1rem;
    color: var(--gray-text);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Enhanced Schedule Cards - Reunion Events Section */
.schedule-cards {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.schedule-card-container {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
}

.schedule-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-green) 50%, var(--secondary-color) 100%);
}

.schedule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.event-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(var(--primary-green-rgb), 0.1);
}

.schedule-date {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-event {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schedule-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-text);
    font-size: 1.1rem;
    font-weight: 500;
}

.schedule-location i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.schedule-details {
    line-height: 1.7;
}

.schedule-details p {
    margin-bottom: 1rem;
    color: var(--gray-text);
    font-size: 1rem;
}

.schedule-details strong {
    color: var(--dark-text);
    font-weight: 600;
}

/* About Section */
.about-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-image img {
    transition: transform var(--transition-speed) ease;
    box-shadow: var(--box-shadow);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .about-content h3 {
        margin-top: 1.5rem;
        font-size: 1.8rem;
    }
}

.event-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light-accent);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 25px;
    text-align: center;
}

/* Throwback Section */
.throwback-section {
    background-color: var(--light-accent);
    position: relative;
}

.throwback-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.throwback-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.throwback-card h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.throwback-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.throwback-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.throwback-list li:last-child {
    border-bottom: none;
}

.song-title {
    font-weight: 600;
    color: var(--dark-text);
}

.artist {
    color: var(--gray-text);
}

.movie-title {
    font-weight: 600;
    color: var(--dark-text);
}

.movie-gross {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 991px) {
    .throwback-card {
        /* margin-bottom: 30px; */
    }
}

@media (max-width: 768px) {
    .throwback-section {
        padding: 60px 0;
    }
    
    .throwback-card {
        padding: 1.5rem;
        /* margin-bottom: 15px; */
    }
    
    .throwback-card h3 {
        font-size: 1.2rem;
    }
    
    .throwback-list li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
}

@media (max-width: 576px) {
    .throwback-card {
        padding: 1.2rem;
    }
    
    .throwback-card h3 {
        font-size: 1.1rem;
    }
}

/* Updates Section */
.updates-section {
    background-color: var(--off-white);
    position: relative;
}

.updates-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease;
}

.updates-card:hover {
    transform: translateY(-5px);
}

.updates-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.updates-card h3 i {
    margin-right: 10px;
}

/* Contact Form Card */
.contact-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    height: 100%; /* Optional: Make cards same height if desired */
}

/* Memories Section */
.memories-section {
    background-color: var(--white);
    position: relative;
    margin-bottom: 0;
}

.memory-controls {
    text-align: center;
    margin-bottom: 2rem;
}

.memories-wall {
    margin: 0 auto;
    max-width: 1800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.memory-card {
    width: 16%; /* Adjusted for 6 columns + gutter approx */
    margin-bottom: 10px; /* Vertical spacing */
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: photoAppear 0.5s ease forwards;
    opacity: 1;
}

.memory-card-content {
    position: relative;
    width: 100%;
}

.memory-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #f0f0f0; /* Light placeholder color */
}

.memory-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block; /* Remove any extra spacing */
}

.memory-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 15px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.memory-card:hover .memory-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.memory-author {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.memory-date {
    margin: 2px 0 8px;
    font-size: 0.75rem;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.memory-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.btn-like, .btn-flag {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: all 0.2s ease;
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    margin: 0 2px;
}

.btn-like.liked {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.2);
}

.btn-like:hover {
    color: #ff4757;
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Flagged memories */
.memory-card.flagged::before {
    content: "Flagged";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(254, 202, 87, 0.9);
    color: #333;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    z-index: 3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* No specific .memories-wall styles needed here for Masonry */
    /* Masonory items (.memory-card) might need width adjustments */
    .memory-card {
        width: 30%; /* Approx 3 columns */
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    /* No specific .memories-wall styles needed here for Masonry */
    /* Masonory items (.memory-card) might need width adjustments */
    .memory-card {
        width: 48%; /* Approx 2 columns */
    }
    
    .counter-value {
        font-size: 2rem;
    }
    
    .counter-message {
        font-size: 0.9rem;
    }
}

/* Register Section */
.register-section {
    background: var(--primary-green);
    position: relative;
    overflow: hidden;
}

.register-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--light-gray);
}

.form-control {
    border: 1px solid var(--light-gray);
    color: var(--dark-text);
    background: var(--white);
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.2rem rgba(64, 145, 108, 0.15);
    color: var(--dark-text);
}

.form-control::placeholder {
    color: rgba(108, 117, 125, 0.6);
}

/* Modal */
.modal-content {
    background: var(--white);
    border: none;
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid var(--light-gray);
}

.modal-footer {
    border-top: 1px solid var(--light-gray);
}

/* Footer */
footer {
    background: var(--off-white);
    color: var(--gray-text);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--light-gray);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links li {
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .memory-card {
        margin-bottom: 2rem;
    }
    
    .footer-links {
        justify-content: center;
        margin-top: 1.5rem;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .col-md-6.text-md-end {
        text-align: center !important;
    }
    
    footer .col-md-6:first-child {
        text-align: center;
    }
    
    /* Improve mobile navbar */
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    
    .nav-item {
        padding: 0.5rem 0;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .counter-value {
        font-size: 2.5rem;
    }
    
    .counter-message {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .memory-card, .register-card {
    animation: fadeIn 1s ease-out;
}

/* Reunion Schedule Styling */
.reunion-schedule-cards {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.reunion-schedule h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.reunion-schedule h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-green);
}

.schedule-cards {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.schedule-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.schedule-date {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.schedule-event {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.schedule-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-text);
    font-size: 0.95rem;
}

.schedule-location i {
    color: var(--accent-green);
}

@media (max-width: 768px) {
    .schedule-cards {
        gap: 20px;
    }
    
    .schedule-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Sponsors Section */
.sponsors-section {
    padding: 40px 0 120px 0; /* top=80, right=0, bottom=120, left=0 */
    background-color: var(--light-bg);
}

.sponsors-section h2 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.sponsors-row {
    margin-top: 40px;
    margin-bottom: 40px; /* Add space below the row */
}

.sponsor-card {
    display: flex;
    flex-direction: column; /* Stack logo and info vertically */
    align-items: center; /* Center items horizontally */
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px; /* Add space below each card */
    padding: 20px; /* Add some internal padding */
    text-align: center; /* Center text */
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sponsor-logo {
    flex: 0 0 auto; /* Prevent logo from shrinking/growing */
    margin-bottom: 15px; /* Add space below logo */
    max-width: 280px; /* Increased logo size from 200px to 280px */
    width: 100%; /* Ensure it takes up the max-width space */
    min-height: 180px; /* Increased minimum height from 150px to 180px */
    display: flex; /* Use flex to center image inside */
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
}

.sponsor-logo img {
    display: block;
    max-width: 100%;
    max-height: 170px; /* Increased max height from 140px to 170px */
    height: auto;
    object-fit: contain; /* Scale image while preserving aspect ratio */
}

.sponsor-info {
    flex: 1 1 auto; /* Allow info to take remaining space */
    /* Removed padding-left as text is now centered */
}

.sponsor-info h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.sponsor-info p {
    color: var(--gray-text);
    margin-bottom: 20px;
}

.become-sponsor {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.become-sponsor:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.become-sponsor h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.become-sponsor p {
    color: var(--gray-text);
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .sponsor-card {
        margin-bottom: 30px;
    }
    
    .become-sponsor {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .sponsor-card {
        flex-direction: column;
    }
    
    .sponsor-logo {
        flex: 0 0 auto;
        width: 100%;
        padding: 30px;
    }
    
    .sponsor-info {
        padding: 20px;
        text-align: center;
    }
    
    /* Improve contact section on mobile */
    .contact-card .row {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        padding: 20px 15px;
    }
    
    .contact-info {
        margin-bottom: 20px;
        text-align: center;
    }
}

/* Early Bird Notice Styling */
.early-bird-notice {
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.early-bird-about {
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
}

/* Price Badge Styling */
.price-badge {
    text-align: center;
}

/* Sticky CTA Banner */
#countdown-banner.sticky-cta {
    position: sticky;
    top: 75px;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d6a4f 50%, var(--secondary-color) 100%);
    color: white;
    padding: 6px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

#countdown-banner.sticky-cta::before {
    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="grid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

#countdown-banner .container {
    position: relative;
    z-index: 1;
}

/* Banner Info */
.banner-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.countdown-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Simplified CTA Button */
.btn-cta {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: var(--primary-color);
    border: none;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    background: linear-gradient(45deg, #ffed4e, #fff176);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    text-decoration: none;
}

.btn-cta:active {
    transform: translateY(0);
}

.btn-cta i {
    font-size: 0.75rem;
}

/* Button Styles */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
}

/* Memory Cards Improved Layout */
.memories-wall {
    margin: 0 auto;
    max-width: 1800px;
}

.memory-card {
    width: 16%; /* Adjusted for 6 columns + gutter approx */
    margin-bottom: 10px; /* Vertical spacing */
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: photoAppear 0.5s ease forwards;
    opacity: 1;
}

.memory-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #f0f0f0; /* Light placeholder color */
}

.memory-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block; /* Remove any extra spacing */
}

/* Image loading indicator */
.memory-image-container.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Make sure the info overlay doesn't change card height */
.memory-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 15px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* No specific .memories-wall styles needed here for Masonry */
    /* Masonory items (.memory-card) might need width adjustments */
    .memory-card {
        width: 30%; /* Approx 3 columns */
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    /* No specific .memories-wall styles needed here for Masonry */
    /* Masonory items (.memory-card) might need width adjustments */
    .memory-card {
        width: 48%; /* Approx 2 columns */
    }
}

/* Add styles for the schedule card containers */
.schedule-card-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin-bottom: 30px;
}

/* Make card-specific improvements */
.schedule-card {
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Make both cards appear even more side-by-side on larger screens */
@media (min-width: 992px) {
    .schedule-cards {
        justify-content: space-between;
    }
    
    .schedule-card-container {
        max-width: 48%;
        flex-basis: 48%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .schedule-card-container {
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* Prominence styles for specific event cards */
#adults-gathering-card,
#family-picnic-card {
    border: 1px solid rgba(0, 0, 0, 0.1); /* Subtle border */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow */
}

/* Specific font size adjustment for event card titles */
#adults-gathering-card > div.event-title {
    font-size: 1em;
}

/* Style for the date within the event card */
.event-date {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Organizer Section Banner Styles */
.organizers-section {
    background-color: rgba(64, 145, 108, 0.1); /* Light green background */
    padding: 2rem;
    border-radius: 8px;
    margin-top: 0; /* Reduced top margin */
    margin-bottom: 3rem; /* Adjust spacing if needed */
}

/* Schedule Section */
.schedule-section {
    background-color: var(--white);
    position: relative;
}

/* Organizer Section */
.organizers-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    text-align: center;
}

.organizers-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.organizer-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.organizer-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.organizer-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.organizer-bio {
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.organizers-list p {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.organizers-list strong {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .organizer-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .organizer-card {
        width: 100%;
    }
}

/* -- Swiper Hero Slider Styles -- */

/* Adjust overall hero/slider height and alignment */
.hero .swiper-slide {
    display: flex; /* Use flexbox for alignment */
    /* align-items: center; /* Removed: Using padding for vertical space */
    /* min-height: 75vh; */ /* Removed: Using padding for vertical space */
    height: auto; /* Allow height to adjust to content */
    padding-top: 2rem; /* Further reduced padding */
    padding-bottom: 2rem; /* Further reduced padding */
    box-sizing: border-box; /* Ensure padding is included in height calculation */
  }
  
/* Reduce main logo size within the hero slider */
.hero .swiper-slide .hero-logo .main-logo {
    max-height: 130px; /* Decreased from 150px */
    width: auto; /* Maintain aspect ratio */
}

/* Specific rule to vertically center content in designated slides */
.hero .slide-vertical-center {
    align-items: center;
    /* Optionally reset padding if needed: padding-top: 0; padding-bottom: 0; */
}

/* Refine spacing within the first hero slide */
.hero .swiper-slide:first-child .hero-content {
    /* Adjust overall padding within the content area if needed, */
    /* but rely more on margins between elements */
     padding-top: 1rem; /* Reduce top padding within content if slide padding is large */
     padding-bottom: 1rem; /* Reduce bottom padding within content */
}

.hero .swiper-slide .hero-logo {
    margin-bottom: 0.5rem; /* Reduce space below logo */
}

.hero .swiper-slide .hero-content h1 {
      font-size: 3.25rem; /* << Uncommented and set size (adjust if needed) */
      margin-top: 0;
      margin-bottom: 0.2rem; /* Tighter space below H1 */
}

.hero .swiper-slide .hero-content h2 {
      /* font-size: 1.75rem; */ /* Slightly smaller H2 if needed */
      margin-bottom: 0.75rem; /* Space below H2 */
}

.hero .swiper-slide .hero-content p.lead {
      margin-bottom: 1.5rem; /* More space above event cards */
      font-size: 1rem; /* Ensure lead text isn't too large */
}

.hero .swiper-slide .hero-event-details {
      margin-bottom: 1rem; /* Space below event cards */
}

.hero .swiper-slide .early-bird-notice {
      margin-top: 0.5rem; /* Adjust space above notice */
}

/* Ensure event cards don't have excessive vertical margins */
.hero .swiper-slide .event-card {
   margin-bottom: 0; /* Remove default bottom margin if any */
   padding: 1rem; /* Reduce padding (e.g., from 1.25rem or 1.5rem) */
}

/* Style the yearbook slide specifically */
.yearbook-slide {
  background-image: url('../images/jaguar-spots-bg.jpg'); /* Relative path from styles.css */
  background-size: cover;
  background-position: center center;
  position: relative; /* Needed for the overlay */
  color: #fff; /* Ensure text is visible on dark background */
}

.yearbook-slide h2,
.yearbook-slide p {
    color: #fff; /* Override default text colors if needed */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* Add subtle shadow for readability */
}

.yearbook-slide .btn-primary {
    /* Make yearbook button distinct if needed */
    background-color: var(--bs-warning); /* Example: Use yellow */
    border-color: var(--bs-warning);
    color: var(--bs-dark);
}
.yearbook-slide .btn-primary:hover {
    background-color: #ffca2c; /* Slightly darker yellow on hover */
    border-color: #ffca2c;
}

/* Dark overlay for Yearbook slide */
.yearbook-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity (0.5 = 50% black) */
    z-index: 0;
}

/* Ensure content is above the overlay */
.yearbook-slide .container {
    position: relative; /* Ensure content is above overlay */
    z-index: 1;
}

/* Style Swiper Navigation Buttons */
.hero .swiper-button-next,
.hero .swiper-button-prev {
    /* Make arrows more prominent */
    --swiper-navigation-size: 35px; /* Increase size */
    color: var(--bs-primary); /* Use primary site color */
    /* Alternatively, use white with a background: */
    /* color: #fff; */
    /* background-color: rgba(0, 0, 0, 0.3); */
    /* border-radius: 50%; */
    /* padding: 5px; */
    /* width: calc(var(--swiper-navigation-size) + 10px); */
    /* height: calc(var(--swiper-navigation-size) + 10px); */

    /* Bring buttons inwards */
    right: 25px; /* Adjust value as needed */
    left: auto; /* Reset left for next button */
}

.hero .swiper-button-prev {
    left: 25px; /* Adjust value as needed */
    right: auto; /* Reset right */
}

.hero .swiper-button-next::after,
.hero .swiper-button-prev::after {
    /* Ensure the default arrow icons render correctly */
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}


/* Style Swiper Pagination Dots */
.hero .swiper-pagination-bullet {
    background-color: var(--bs-primary); /* Use primary site color */
    opacity: 0.6;
    width: 10px; /* Slightly larger dots */
    height: 10px;
    margin: 0 5px; /* Add horizontal spacing */
}

.hero .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--bs-warning); /* Active dot color (e.g., yellow) */
}

/* Allow hero slide container content to be wider */
.hero .swiper-slide .container {
    max-width: 100% !important; /* Force override */
    padding-left: 0 !important;  /* Force override */
    padding-right: 0 !important; /* Force override */
}

/* Countdown Timer Styles */

/* Ensure '!important' is applied to the max-width rule for '.hero .swiper-slide .container' to override Bootstrap defaults. */
.hero .swiper-slide .container {
    max-width: 100% !important; /* Force override */
    padding-left: 0 !important;  /* Force override */
    padding-right: 0 !important; /* Force override */
}

/* --- Contact Section --- */
.contact-section {
    margin-top: 60px; /* Add space above the contact section */
    padding: 80px 0; /* Keep similar padding as other sections */
    background-color: var(--off-white);
}

/* --- Footer --- */
footer {
    background-color: var(--dark-bg);
    color: var(--gray-text);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--light-gray);
}

/* Adjust position of the pagination container */
.hero .swiper-pagination {
    position: relative; /* Ensure positioning context */
    bottom: auto; /* Override default bottom positioning if necessary */
    margin-top: 20px; /* Add space above the pagination */
}

/* Allow hero slide container content to be wider */
.hero .swiper-slide .container {
    max-width: 100% !important; /* Force override */
    padding-left: 0 !important;  /* Force override */
    padding-right: 0 !important; /* Force override */
}

/* Mobile adjustments for Hero Slider */
@media (max-width: 768px) {
  .hero .swiper-slide {
    height: auto; /* Allow height to adjust to content */
    padding-top: 75px; /* Increased top padding for navbar */
    padding-bottom: 40px; /* Add more bottom padding */
    align-items: flex-start; /* Align content to top on mobile */
  }

  /* Fix hero background image on mobile */
  .hero {
    background-attachment: scroll !important; /* Override fixed attachment on mobile */
    background-size: cover !important;
    background-position: center center !important;
  }

  .hero .swiper-slide .hero-content h1 {
      font-size: 2.5rem; /* Smaller H1 on mobile */
  }

  .hero .swiper-slide .hero-logo .main-logo {
      max-height: 100px; /* Smaller logo on mobile */
  }

  /* Vertically center content specifically for the yearbook slide on mobile */
  .hero .swiper-slide.yearbook-slide {
    align-items: center;
  }

  /* Add substantial vertical padding to .hero-content within .yearbook-slide on mobile */
  .hero .swiper-slide.yearbook-slide .hero-content {
    padding-top: 5vh; /* Adjust as needed */
    padding-bottom: 5vh; /* Adjust as needed */
  }
}

@media (max-width: 576px) {
    .hero .swiper-slide .hero-content h1 {
        font-size: 2rem;
    }
}

/* Optional: Ensure specific elements like headings also use white */
.hero .yearbook-slide .hero-content h2,
.hero .yearbook-slide .hero-content p {
    color: #ffffff;
}

/* Adjust button style for better contrast if needed */
/* Example: Make primary button stand out more */

/* Memories Section Styling */
.memories-section {
  padding: 4rem 0;
  background-color: #f8f9fa; /* Light background for contrast */
}

.memories-section h2 {
  text-align: center;
  margin-bottom: 1rem; /* Reduced margin below h2 */
}

/* --- NEW Memories Carousel Styles --- */
.memories-section .memoriesSwiper {
  width: 100%;
  height: 250px; /* Set an explicit height for the carousel area */
  padding-top: 10px; /* Space above carousel */
  padding-bottom: 50px; /* Space below carousel for pagination/nav */
}

.memories-section .memoriesSwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #eee; /* Light background for placeholder visibility */
  /* Center slide content vertically */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* Ensure slide takes full height of the container */
  overflow: hidden; /* Prevent image overflow if needed */
  border-radius: 8px; /* Optional: rounded corners for slides */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

.memories-section .memoriesSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the slide area, might crop */
  /* object-fit: contain; /* Fit image within slide, might leave gaps */
}

/* Style pagination and navigation */
.memories-section .memoriesSwiper .swiper-pagination-bullet-active {
  background-color: var(--primary-color); /* Use theme color */
}

.memories-section .memoriesSwiper .swiper-button-next,
.memories-section .memoriesSwiper .swiper-button-prev {
  color: var(--primary-color); /* Use theme color */
  top: 50%; /* Position vertically centered */
  transform: translateY(-50%); 
}

.memories-section .memoriesSwiper .swiper-button-next::after,
.memories-section .memoriesSwiper .swiper-button-prev::after {
  font-size: 2rem; /* Adjust arrow size */
}

/* --- END NEW Memories Carousel Styles --- */

/* Memories Wall (Masonry - Keep for reference or potential future use) */
.memories-wall {
  margin: 0 auto;
  max-width: 1800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.memory-card {
  width: 16%; /* Adjusted for 6 columns + gutter approx */
  margin-bottom: 10px; /* Vertical spacing */
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: photoAppear 0.5s ease forwards;
  opacity: 1;
}

.memory-card-content {
  position: relative;
  width: 100%;
}

.memory-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #f0f0f0; /* Light placeholder color */
}

.memory-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block; /* Remove any extra spacing */
}

.memory-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 15px;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.memory-card:hover .memory-info {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.memory-author {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.memory-date {
  margin: 2px 0 8px;
  font-size: 0.75rem;
  opacity: 0.8;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.memory-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.btn-like, .btn-flag {
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 20px;
  color: white;
  font-size: 0.8rem;
  cursor: pointer;
  margin: 0 2px;
}

.btn-like.liked {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.2);
}

.btn-like:hover {
  color: #ff4757;
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Flagged memories */
.memory-card.flagged::before {
  content: "Flagged";
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(254, 202, 87, 0.9);
  color: #333;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  z-index: 3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* No specific .memories-wall styles needed here for Masonry */
  /* Masonory items (.memory-card) might need width adjustments */
  .memory-card {
    width: 30%; /* Approx 3 columns */
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  /* No specific .memories-wall styles needed here for Masonry */
  /* Masonory items (.memory-card) might need width adjustments */
  .memory-card {
    width: 48%; /* Approx 2 columns */
  }
}

/* Countdown Banner */
/* Removed */

@media (max-width: 768px) {
    .memory-card {
        width: 48%; /* Approx 2 columns */
    }
    
    .counter-value {
        font-size: 2rem;
    }
    
    .counter-message {
        font-size: 0.9rem;
    }
    
    #countdown-banner {
        margin: 15px 10px;
        border-radius: 10px;
    }
    
    #countdown-banner .row {
        flex-direction: column;
        gap: 20px;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 12px 8px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 10px 6px;
    }
    
    .counter-value {
        font-size: 2.5rem;
    }
    
    .counter-message {
        font-size: 1rem;
    }
    
    #countdown-banner {
        margin: 10px 5px;
        padding: 15px 0;
    }
    
    #countdown-banner p {
        font-size: 1rem;
    }
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 4px 3px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.countdown-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffd700;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.countdown-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.countdown-message {
    text-align: center;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 2px;
}

/* Registration Counter */
.registration-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.counter-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffa500;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.counter-message {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Sticky CTA Banner Responsive Styles */
@media (max-width: 768px) {
    .memory-card {
        width: 48%; /* Approx 2 columns */
    }
    
    .counter-value {
        font-size: 2rem;
    }
    
    .counter-message {
        font-size: 0.8rem;
    }
    
    #countdown-banner.sticky-cta {
        padding: 12px 0;
    }
    
    #countdown-banner .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .countdown-container {
        gap: 12px;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 8px 6px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .cta-headline {
        font-size: 1.3rem;
    }
    
    .cta-subtext {
        font-size: 0.9rem;
    }
    
    .btn-cta {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .countdown-container {
        gap: 8px;
    }
    
    .countdown-value {
        font-size: 1.3rem;
    }
    
    .countdown-item {
        min-width: 45px;
        padding: 6px 4px;
    }
    
    .countdown-label {
        font-size: 0.6rem;
    }
    
    .counter-value {
        font-size: 1.8rem;
    }
    
    .counter-message {
        font-size: 0.75rem;
    }
    
    #countdown-banner.sticky-cta {
        padding: 10px 0;
    }
    
    #countdown-banner .row {
        gap: 10px;
    }
    
    .cta-headline {
        font-size: 1.1rem;
    }
    
    .cta-subtext {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .btn-cta {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .cta-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .memory-card {
        width: 48%; /* Approx 2 columns */
    }
    
    .counter-value {
        font-size: 1.5rem;
    }
    
    .counter-message {
        font-size: 0.7rem;
    }
    
    #countdown-banner.sticky-cta {
        padding: 6px 0;
    }
    
    #countdown-banner .row {
        flex-direction: column;
        gap: 8px;
    }
    
    .countdown-container {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 45px;
        padding: 5px 3px;
    }
    
    .countdown-value {
        font-size: 1.2rem;
    }
    
    .cta-headline {
        font-size: 1.1rem;
    }
    
    .cta-subtext {
        font-size: 0.8rem;
    }
    
    .btn-cta {
        padding: 6px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .countdown-container {
        gap: 6px;
    }
    
    .countdown-value {
        font-size: 1.1rem;
    }
    
    .countdown-item {
        min-width: 40px;
        padding: 4px 2px;
    }
    
    .countdown-label {
        font-size: 0.55rem;
    }
    
    .counter-value {
        font-size: 1.4rem;
    }
    
    .counter-message {
        font-size: 0.65rem;
    }
    
    #countdown-banner.sticky-cta {
        padding: 5px 0;
    }
    
    #countdown-banner .row {
        gap: 6px;
    }
    
    .cta-headline {
        font-size: 1rem;
    }
    
    .cta-subtext {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .btn-cta {
        padding: 5px 15px;
        font-size: 0.8rem;
    }
    
    .cta-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .memory-card {
        width: 48%; /* Approx 2 columns */
    }
    
    .counter-value {
        font-size: 1.2rem;
    }
    
    .counter-message {
        font-size: 0.6rem;
    }
    
    #countdown-banner.sticky-cta {
        padding: 5px 0;
    }
    
    #countdown-banner .row {
        flex-direction: column;
        gap: 4px;
    }
    
    .countdown-container {
        gap: 5px;
    }
    
    .countdown-item {
        min-width: 35px;
        padding: 3px 2px;
    }
    
    .countdown-value {
        font-size: 1rem;
    }
    
    .btn-cta {
        padding: 5px 14px;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .countdown-container {
        gap: 4px;
    }
    
    .countdown-value {
        font-size: 0.9rem;
    }
    
    .countdown-item {
        min-width: 32px;
        padding: 2px 1px;
    }
    
    .countdown-label {
        font-size: 0.5rem;
    }
    
    .counter-value {
        font-size: 1.1rem;
    }
    
    .counter-message {
        font-size: 0.55rem;
    }
    
    #countdown-banner.sticky-cta {
        padding: 4px 0;
    }
    
    #countdown-banner .row {
        gap: 3px;
    }
    
    .btn-cta {
        padding: 4px 12px;
        font-size: 0.7rem;
    }
    
    .countdown-text {
        font-size: 0.65rem;
    }
}

/* ===== SECTION DIVIDERS & ENHANCED LAYOUTS ===== */

/* Section Dividers */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 60px 0 40px 0;
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border: none;
    margin: 0;
}

.section-icon {
    background: var(--white);
    padding: 0 20px;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Enhanced Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

/* Enhanced Organizer Cards */
.organizers-section {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

.organizer-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 106, 79, 0.1);
    position: relative;
    overflow: hidden;
}

.organizer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.organizer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.organizer-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.organizer-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.organizer-bio {
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Planning Timeline */
.planning-timeline {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(45, 106, 79, 0.1);
}

.planning-timeline h4 {
    color: var(--primary-color);
    font-weight: 700;
}

.volunteer-cta {
    background: linear-gradient(135deg, var(--light-accent), rgba(149, 213, 178, 0.3));
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.volunteer-cta p {
    margin-bottom: 8px;
}

.volunteer-cta .btn {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.volunteer-cta .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}

/* Enhanced Reunion Events Section */
.reunion-events {
    position: relative;
}

.reunion-events .section-title {
    margin-bottom: 20px;
}

.reunion-events p.text-muted {
    font-size: 1.1rem;
    color: var(--gray-text);
}

/* Yearbook Section Enhancement */
.yearbook-section {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    position: relative;
}

.yearbook-section::before {
    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="books" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" font-family="serif" font-size="12" fill="rgba(45,106,79,0.03)" text-anchor="middle">📖</text></pattern></defs><rect width="100" height="100" fill="url(%23books)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.yearbook-section .container {
    position: relative;
    z-index: 1;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .section-divider {
        margin: 40px 0 30px 0;
    }
    
    .section-icon {
        padding: 0 15px;
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .organizer-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .planning-timeline {
        padding: 30px 20px;
    }
    
    .volunteer-cta {
        padding: 20px;
    }
}

/* Responsive Design for Enhanced Cards */
@media (max-width: 768px) {
    .hero-event-details {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .event-card {
        width: 95%;
        max-width: 450px;
        min-width: auto;
        margin: 0 auto 1.5rem auto;
        padding: 1.5rem;
    }
    
    .event-title {
        font-size: 1.2rem;
    }
    
    .event-date {
        font-size: 1rem;
    }
    
    .schedule-cards {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .schedule-card-container {
        min-width: auto;
        max-width: none;
    }
    
    .schedule-card {
        padding: 2rem;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .schedule-event {
        font-size: 1.4rem;
    }
    
    .schedule-date {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .event-card {
        width: 98%;
        max-width: 420px;
        padding: 1.25rem;
    }
    
    .event-title {
        font-size: 1.1rem;
    }
    
    .event-date {
        font-size: 0.95rem;
    }
    
    .schedule-card {
        padding: 1.5rem;
    }
    
    .schedule-event {
        font-size: 1.2rem;
    }
    
    .schedule-date {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Hide yearbook background icons on mobile */
@media (max-width: 768px) {
    .yearbook-section::before {
        display: none;
    }
}

/* Enhanced Alert Styling */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.2);
}

/* Enhanced Badge Styling */
.badge {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%) !important;
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Enhanced Button Styling */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(var(--primary-green-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(var(--primary-green-rgb), 0.4);
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-green) 100%);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Live Info Styling */
.live-info {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-text);
}

.live-info span {
    color: var(--primary-green);
    font-weight: 700;
}
