/* style.css - Desktop styles only (mobile styles moved to index-mobile-style.css) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Raleway', system-ui, sans-serif;
}

body {
    background-color: #f8faf9;
    color: #333;
    overflow-x: hidden;
    padding-top: 140px; /* Space for fixed header */
}

/* Hero Section - FIXED POSITIONING */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Changed from 90vh to 100vh */
    min-height: 700px;
    overflow: hidden;
    margin-top: 0; /* Ensure no negative margin */
    z-index: 1;
    padding-top: 140px;
}

.hero-video-container {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Ripple Container - Updated for interactive ripples */
.ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto;
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
}

.hero-content {
    position: absolute;
    top: 70%;
    left: 45%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    padding-top: 0;
    pointer-events: none; /* Allow clicks through to ripples */
}

.hero-content * {
    pointer-events: auto; /* But allow clicks on content elements */
}

.hero-text {
    margin-bottom: 40px;
}

.hero-title {
    font-family: 'Georgia', serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.hero-title-words {
    display: block;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title-words:nth-child(1) { animation-delay: 0.2s; }
.hero-title-words:nth-child(2) { animation-delay: 0.4s; }
.hero-title-words:nth-child(3) { animation-delay: 0.6s; }
.hero-title-words:nth-child(4) { animation-delay: 0.8s; }
.hero-title-words:nth-child(5) { animation-delay: 1s; }

.gradient-text {
    background: linear-gradient(135deg, #4F8F84 0%, #F26A8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    text-shadow: 0 0 20px rgba(79, 143, 132, 0.5), 
                 0 0 40px rgba(79, 143, 132, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-family: 'Georgia', serif;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 100px;
    right: 30px;
    z-index: 4;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 4;
    opacity: 0.8;
    animation: fadeIn 1s ease 2s forwards;
    opacity: 0;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Main Content Sections */
.main-content {
    position: relative;
    z-index: 10;
    background: white;
    
   
    margin-top: -40px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.content-section {
    max-width: 1300px;
    margin: 0 auto 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title {
    font-size: 3rem;
    color: #4F8F84;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

/* Animated Spaces for Title */
.title-left-space,
.title-right-space {
    display: inline-block;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4F8F84);
    animation: spaceExpand 1.5s ease-out forwards;
    opacity: 0;
    transform-origin: left;
}

.title-right-space {
    background: linear-gradient(90deg, #4F8F84, transparent);
    transform-origin: right;
}

.section-title .title-left-space {
    animation-delay: 0.5s;
    width: 0;
    margin-right: 15px;
    vertical-align: middle;
}

.section-title .title-right-space {
    animation-delay: 0.8s;
    width: 0;
    margin-left: 15px;
    vertical-align: middle;
}

/* Animated Spaces for Subtitle */
.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    white-space: nowrap;
}

.subtitle-left-space,
.subtitle-right-space {
    display: inline-block;
    height: 1px;
    background: linear-gradient(90deg, transparent, #666);
    animation: spaceExpand 1.5s ease-out forwards;
    opacity: 0;
    transform-origin: left;
}

.subtitle-right-space {
    background: linear-gradient(90deg, #666, transparent);
    transform-origin: right;
}

.section-subtitle .subtitle-left-space {
    animation-delay: 1.1s;
    width: 0;
    margin-right: 10px;
    vertical-align: middle;
}

.section-subtitle .subtitle-right-space {
    animation-delay: 1.4s;
    width: 0;
    margin-left: 10px;
    vertical-align: middle;
}

/* Space Expand Animation */
@keyframes spaceExpand {
    0% {
        width: 0;
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 0.5;
        transform: scaleX(1.1);
    }
    100% {
        width: 40px;
        opacity: 1;
        transform: scaleX(1);
    }
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4F8F84, #F26A8D);
    margin: 20px auto;
    border-radius: 2px;
    animation: dividerGrow 1s ease-out 0.2s forwards;
    transform: scaleX(0);
    transform-origin: center;
}

@keyframes dividerGrow {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

/* About Section */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision-card, .mission-card {
    background: linear-gradient(135deg, #f8faf9, #ffffff);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(79, 143, 132, 0.1);
    border: 1px solid rgba(79, 143, 132, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(79, 143, 132, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #1a3c34d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.vision-card h3, .mission-card h3 {
    color: #4F8F84;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Focus Areas */
.focus-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.focus-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(79, 143, 132, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 143, 132, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #4F8F84, #7FB7AE);
    padding: 40px 30px 30px 30px;
    color: white;
    text-align: center; /* Center align everything */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Card Icon - UPDATED: Centered */
.card-icon {
    width: 70px;
    height: 70px;
    background: #1a3c34d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto; /* Center horizontally */
    color: white;
    font-size: 28px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.focus-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.card-header h3 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Georgia', serif; /* Added Georgia font */
}

/* Card Content - UPDATED */
.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-family: 'Georgia', serif; /* Added Georgia font */
}

/* Focus List - UPDATED */
.focus-list {
    list-style: none;
    margin-top: auto; /* Push to bottom */
    padding: 0;
}

.focus-list li {
    padding: 10px 0;
    color: #555;
    position: relative;
    padding-left: 30px;
    font-family: 'Georgia', serif; /* Added Georgia font */
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(79, 143, 132, 0.1);
}

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

.focus-list li:hover {
    color: #4F8F84;
    padding-left: 35px;
}

.focus-list li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #4F8F84;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.focus-list li:hover i {
    color: #F26A8D;
    transform: translateY(-50%) scale(1.2);
}

.card-header h3 {
    font-size: 1.3rem;
    margin-top: 15px;
}

.card-content ul {
    list-style: none;
    margin-top: 15px;
}

.card-content li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.card-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4F8F84;
    font-weight: bold;
}

/* Membership Section - UPDATED */
.membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.membership-card {
    border-radius: 25px 25px 20px 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    isolation: isolate;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Added subtle border */
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.membership-card:hover::before {
    opacity: 1;
}

/* Platinum Card - UPDATED with white content */
.membership-card.platinum {
    background: white; /* Changed from gradient to white */
    border: 1px solid rgba(0, 128, 128, 0.2);
    color: #333;
}

.membership-card.platinum .card-header {
    background: linear-gradient(135deg, #008080 0%, #009999 100%);
    backdrop-filter: none; /* Remove blur */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.membership-card.platinum .price {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Gold Card - UPDATED with white content */
.membership-card.gold {
    background: white; /* Changed from gradient to white */
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #333;
}

.membership-card.gold .card-header {
    background: #FFD700;
    backdrop-filter: none; /* Remove blur */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #333;
}

.membership-card.gold .price {
    color: #333;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* Silver Card - UPDATED with white content */
.membership-card.silver {
    background: white; /* Changed from gradient to white */
    border: 1px solid rgba(192, 192, 192, 0.2);
    color: #333;
}

.membership-card.silver .card-header {
    background:#C0C0C0;
    backdrop-filter: none; /* Remove blur */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #333;
}

.membership-card.silver .price {
    color: #333;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* Bronze Card - UPDATED with white content */
.membership-card.bronze {
    background: white; /* Changed from gradient to white */
    border: 1px solid rgba(205, 127, 50, 0.2);
    color: #333;
}

.membership-card.bronze .card-header {
    background: #CD7F32;
    backdrop-filter: none; /* Remove blur */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.membership-card.bronze .price {
    color: #FFF8DC;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Card Badge - UPDATED */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #F26A8D, #FF8CA8);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(242, 106, 141, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-card:hover .card-badge {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 106, 141, 0.4);
}

.card-badge i {
    font-size: 1rem;
}

/* Card Header - UPDATED with better separator */
.card-header {
    padding: 35px 30px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Enhanced separator - updated for white background */
.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.membership-card:hover .card-header::after {
    width: 120px;
    opacity: 1;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(255, 255, 255, 0.4) 100%);
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.3);
}

/* Tier-specific separator colors - adjusted for better contrast */
.membership-card.platinum .card-header::after {
    background: linear-gradient(90deg, 
        rgba(255, 215, 0, 0.3) 0%, 
        rgba(255, 215, 0, 0.9) 50%, 
        rgba(255, 215, 0, 0.3) 100%);
}

.membership-card.gold .card-header::after {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
}

.membership-card.silver .card-header::after {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.7) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
}

.membership-card.bronze .card-header::after {
    background: linear-gradient(90deg, 
        rgba(255, 248, 220, 0.3) 0%, 
        rgba(255, 248, 220, 0.9) 50%, 
        rgba(255, 248, 220, 0.3) 100%);
}

/* Price - UPDATED */
.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 15px 0;
    position: relative;
    display: inline-block;
}

.price::before {
    content: '$';
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    left: -25px;
    opacity: 0.8;
}

.price span {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    margin-left: 5px;
}

/* Card Content - UPDATED */
.card-content {
    padding: 35px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0));
    z-index: 1;
}

/* Alternative decorative separator with diamond icons */
.card-header::before {
    content: '◆';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 20%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.3) 80%, 
        transparent 100%);
}

.membership-card:hover .card-header::before {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%) scale(1.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.card-content ul {
    list-style: none;
    flex-grow: 1;
}

.card-content li {
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-content li:last-child {
    border-bottom: none;
}

.card-content li::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    height: 100%;
    width: 4px;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.card-content li:hover::before {
    transform: scaleY(1);
}

.card-content li:hover {
    padding-left: 5px;
    transform: translateX(5px);
}

.card-content li i {
    color: #000000;
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card-content li:hover i {
    transform: scale(1.2);
    color: white;
}

/* Special styling for Gold/Silver cards text */
.membership-card.gold .card-content li,
.membership-card.silver .card-content li {
    color: rgba(51, 51, 51, 0.95);
}

.membership-card.gold .card-content li i,
.membership-card.silver .card-content li i {
    color: rgba(79, 143, 132, 0.9);
}

.membership-card.gold .card-content li:hover,
.membership-card.silver .card-content li:hover {
    color: #333;
}

.membership-card.gold .card-content li:hover i,
.membership-card.silver .card-content li:hover i {
    color: #4F8F84;
}

/* Hover Effects - ENHANCED */
.membership-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.membership-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.membership-card:hover::after {
    opacity: 1;
}

/* Membership Note - ADD THIS IF NOT PRESENT */
.note {
    font-size: 1rem;
    color: #F26A8D;
    font-style: italic;
    margin-top: 10px;
    font-weight: 500;
}

/* Partners Section - Updated for alternating layout */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8faf9, #ffffff);
    margin: 80px 0;
    border-radius: 30px;
}

.partners-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.partners-container .alternating-content {
    flex: 1;
}

.partners-container .alternating-media {
    flex: 1;
}

.partners-container .content-text h3 {
    color: #4F8F84;
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.partners-container .content-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.partner-logos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.partner-logo {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 143, 132, 0.1);
    height: 150px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(79, 143, 132, 0.15);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(79, 143, 132, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(79, 143, 132, 0.15);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4F8F84;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Video wrapper for partners section */
.partners-container .video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.partners-container .section-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.partners-container .video-overlay-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 143, 132, 0.2), rgba(242, 106, 141, 0.1));
    z-index: 1;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(79, 143, 132, 0.1);
    transition: transform 0.3s ease;
}

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

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4F8F84, #7FB7AE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #4F8F84;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F8F84;
}

.submit-btn {
    background: linear-gradient(135deg, #4F8F84, #7FB7AE);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 143, 132, 0.3);
}

/* Events Highlights Section */
.events-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.event-photo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f8faf9, #ffffff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.event-photo.loaded {
    opacity: 1;
    transform: translateY(0);
}

.event-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(79, 143, 132, 0.2);
}

.event-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-photo:hover img {
    transform: scale(1.05);
}

.event-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.event-photo:hover .event-photo-overlay {
    transform: translateY(0);
}

.photo-number {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.photo-caption {
    font-size: 0.8rem;
    font-weight: 500;
}

.gallery-loading {
    text-align: center;
    padding: 40px;
    display: none;
}

.gallery-loading.active {
    display: block;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4F8F84;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.view-gallery-container {
    text-align: center;
    margin-top: 40px;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4F8F84, #7FB7AE);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(79, 143, 132, 0.3);
}

.view-gallery-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 143, 132, 0.4);
    color: white;
}

.view-gallery-btn:active {
    transform: translateY(-1px);
}

/* Lightbox Modal */
.event-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.event-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 10px;
    font-size: 1rem;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #4F8F84;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(79, 143, 132, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Upcoming Events Section Styles */
.upcoming-events-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.coming-soon-placeholder {
    background: linear-gradient(135deg, #f8faf9, #ffffff);
    border: 2px dashed #4F8F84;
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(79, 143, 132, 0.1);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.coming-soon-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(79, 143, 132, 0.05) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite linear;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.coming-soon-placeholder > * {
    position: relative;
    z-index: 2;
}

.coming-soon-placeholder:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(79, 143, 132, 0.15);
    border-color: #F26A8D;
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4F8F84, #7FB7AE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 48px;
    box-shadow: 0 10px 30px rgba(79, 143, 132, 0.3);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.coming-soon-placeholder h3 {
    color: #4F8F84;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.coming-soon-placeholder > p {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-subtext {
    font-size: 1.1rem !important;
    color: #666 !important;
    font-weight: 500;
    margin-bottom: 25px !important;
}

.upcoming-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 0;
}

.upcoming-list li {
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 143, 132, 0.1);
}

.upcoming-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 143, 132, 0.15);
    border-color: #4F8F84;
}

.upcoming-list li i {
    color: #4F8F84;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(79, 143, 132, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-newsletter {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(79, 143, 132, 0.2);
}

.subscribe-newsletter > p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 20px;
    gap: 10px;
}

.subscribe-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.subscribe-input:focus {
    outline: none;
    border-color: #4F8F84;
    box-shadow: 0 5px 15px rgba(79, 143, 132, 0.1);
}

.subscribe-btn {
    background: linear-gradient(135deg, #4F8F84, #7FB7AE);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 143, 132, 0.3);
}

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

.subscribe-note {
    font-size: 0.9rem !important;
    color: #888 !important;
    font-style: italic;
}

/* Website Link Styles */
.website-link {
    color: #4F8F84;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 0;
    position: relative;
}

.website-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4F8F84, #F26A8D);
    transition: width 0.3s ease;
}

.website-link:hover {
    color: #F26A8D;
    transform: translateY(-2px);
}

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

.website-link:active {
    transform: translateY(0);
}

/* Adjust contact info grid for 4 cards */
@media (min-width: 768px) {
    .contact-info {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

/* Navigation for alternating sections */
.section-navigation {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.section-navigation:hover {
    opacity: 1;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(79, 143, 132, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot.active {
    background: #4F8F84;
    transform: scale(1.2);
    border-color: white;
    box-shadow: 0 0 10px rgba(79, 143, 132, 0.5);
}

.nav-dot:hover {
    transform: scale(1.3);
    background: #F26A8D;
    border-color: white;
}

.nav-dot::after {
    content: attr(data-section);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-dot:hover::after {
    opacity: 1;
}

/* Ensure hero section has proper z-index */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

/* Main content should be below header but above dropdowns */
.main-content {
    position: relative;
    z-index: 2;
}

/* Ensure dropdowns appear above all content */
.kcic-header {
    z-index: 1000;
}

.dropdown-menu {
    z-index: 1002 !important;
}

/* Mobile header adjustments */
.mobile-header {
    z-index: 1001 !important;
}

.mobile-dropdown-menu {
    z-index: 1002 !important;
}

/* Focus Card Highlight Styles - BRIGHTER VERSION */
.focus-card.focused-highlight {
    animation: cardPulse 1.5s ease-out forwards;
    box-shadow: 0 20px 50px rgba(79, 143, 132, 0.4), 
                0 0 40px rgba(79, 143, 132, 0.3) !important;
    position: relative;
    z-index: 5;
    border-color: rgba(79, 143, 132, 0.3) !important;
}

.focus-card.focused-highlight::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, 
        rgba(79, 143, 132, 0.8), 
        rgba(242, 106, 141, 0.6),
        rgba(79, 143, 132, 0.8));
    border-radius: 24px;
    z-index: -1;
    animation: borderGlow 2s ease-in-out infinite;
}

.focus-card.focused-highlight .card-header {
    background: linear-gradient(135deg, #4F8F84, #3A756A) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) inset;
}

.focus-card.focused-highlight .card-icon {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 3px solid rgba(255, 255, 255, 0.8) !important;
    animation: iconPulse 2s infinite ease-in-out;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), 
                0 0 15px rgba(79, 143, 132, 0.6) !important;
}

.focus-card.focused-highlight .focus-list li {
    border-color: rgba(79, 143, 132, 0.3) !important;
    background: rgba(255, 255, 255, 0.05);
}

.focus-card.focused-highlight .focus-list li:hover {
    background: rgba(79, 143, 132, 0.1) !important;
}

.focus-card.focused-highlight .focus-list li i {
    color: #4F8F84 !important;
    text-shadow: 0 0 8px rgba(79, 143, 132, 0.4);
}

.focus-card.focused-highlight .card-header h3 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: white !important;
}

/* Animations for highlighting - BRIGHTER */
@keyframes cardPulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 30px rgba(79, 143, 132, 0.15);
    }
    50% {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 25px 60px rgba(79, 143, 132, 0.5),
                    0 0 50px rgba(79, 143, 132, 0.3);
    }
    100% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 50px rgba(79, 143, 132, 0.4),
                    0 0 40px rgba(79, 143, 132, 0.3);
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
        box-shadow: 0 0 30px rgba(79, 143, 132, 0.6);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
        box-shadow: 0 0 50px rgba(79, 143, 132, 0.8),
                    0 0 30px rgba(242, 106, 141, 0.4);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(79, 143, 132, 0.6),
                    0 0 10px rgba(255, 255, 255, 0.8);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 35px rgba(79, 143, 132, 0.8),
                    0 0 20px rgba(255, 255, 255, 1),
                    0 0 10px rgba(242, 106, 141, 0.4);
    }
}

/* More noticeable hover state for highlighted cards */
.focus-card.focused-highlight:hover {
    animation: cardPulseHover 1.5s ease-out forwards;
}

@keyframes cardPulseHover {
    0% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 50px rgba(79, 143, 132, 0.4);
    }
    50% {
        transform: translateY(-12px) scale(1.04);
        box-shadow: 0 30px 70px rgba(79, 143, 132, 0.6),
                    0 0 60px rgba(79, 143, 132, 0.4);
    }
    100% {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 25px 60px rgba(79, 143, 132, 0.5),
                    0 0 50px rgba(79, 143, 132, 0.3);
    }
}

/* Add a subtle pulse to the entire card */
@keyframes subtlePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.98;
    }
}

.focus-card.focused-highlight {
    animation: cardPulse 1.5s ease-out forwards, 
               subtlePulse 3s ease-in-out infinite;
}

/* Make the checkmarks brighter */
.focus-card.focused-highlight .focus-list li i.fa-check {
    animation: checkPulse 2s infinite;
}

@keyframes checkPulse {
    0%, 100% {
        color: #4F8F84;
        transform: scale(1);
    }
    50% {
        color: #F26A8D;
        transform: scale(1.2);
    }
}

/* Enhance card content visibility */
.focus-card.focused-highlight .card-content p {
    color: #333;
    font-weight: 500;
}

.focus-card.focused-highlight .focus-list li {
    font-weight: 500;
    color: #444;
}

/* Add a shine effect to card header */
.focus-card.focused-highlight .card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

/* Gallery Section Styles */
.events-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 50px 0;
    min-height: 300px;
}

.event-photo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f8faf9, #ffffff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.event-photo.loaded {
    opacity: 1;
    transform: translateY(0);
}

.event-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(79, 143, 132, 0.25);
}

.event-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-photo:hover img {
    transform: scale(1.05);
}

.event-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.event-photo:hover .event-photo-overlay {
    transform: translateY(0);
}

.photo-number {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
    font-weight: 500;
}

.photo-caption {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Placeholder for gallery */
.event-photo-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(248, 250, 249, 0.8), rgba(255, 255, 255, 0.9));
    border-radius: 20px;
    border: 2px dashed rgba(79, 143, 132, 0.3);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(79, 143, 132, 0.1), rgba(79, 143, 132, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #4F8F84;
    font-size: 36px;
}

.event-photo-placeholder p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Loading Indicator */
.gallery-loading {
    text-align: center;
    padding: 40px;
    display: none;
}

.gallery-loading.active {
    display: block;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(79, 143, 132, 0.1);
    border-top: 4px solid #4F8F84;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* View Gallery Button */
.view-gallery-container {
    text-align: center;
    margin-top: 40px;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #4F8F84, #3A756A);
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(79, 143, 132, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.view-gallery-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(79, 143, 132, 0.5);
    color: white;
    background: linear-gradient(135deg, #3A756A, #4F8F84);
}

.view-gallery-btn:active {
    transform: translateY(-2px);
}

.view-gallery-btn i {
    font-size: 1.2rem;
}

/* Lightbox Styles */
.event-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.event-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 15px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(79, 143, 132, 0.9);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(79, 143, 132, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Keep this tablet media query for desktop */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .membership-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .partners-container {
        gap: 40px;
    }
    
    .partner-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .events-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Compact spacing adjustments for desktop */
.hero-section {
    margin-bottom: -20px; /* Added negative margin */
}

.section-header {
    margin-bottom: 40px !important; /* Reduced from 60px */
}

.focus-cards {
    gap: 25px; /* Reduced from 30px */
    margin-bottom: 60px; /* Added margin */
}

.membership-cards {
    gap: 30px; /* Reduced from 40px */
    margin-bottom: 60px; /* Reduced from 80px */
}

.partners-section {
    margin-top: 60px; /* Reduced from 80px */
    padding: 40px 0; /* Reduced from 60px */
}

.contact-container {
    gap: 40px; /* Reduced from 60px */
}

.events-gallery {
    margin: 40px 0; /* Reduced from 50px */
}

.section-navigation {
    gap: 10px; /* Reduced from 15px */
    right: 20px; /* Reduced from 30px */
}

.nav-dot {
    width: 10px; /* Reduced from 12px */
    height: 10px; /* Reduced from 12px */
}

/* Ensure content sections have proper z-index */
.content-section, 
.alternating-section {
    position: relative;
    z-index: 1;
}

.youtube-mute-btn {
    transition: all 0.3s ease;
}

.youtube-mute-btn.unmuted {
    background: rgba(79, 143, 132, 0.9) !important;
    color: white !important;
}

.youtube-mute-btn.muted {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.youtube-mute-btn:hover {
    transform: scale(1.1);
}