/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1E578C;
    --primary-blue-light: #2A6BA8;
    --primary-blue-dark: #164469;
    --accent-red: #E0292E;
    --accent-red-light: #FF3B42;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --light-gray-2: #E8E8E8;
    --dark-gray: #333333;
    --text-gray: #666666;
    --text-gray-light: #999999;
    --font-primary: 'Montserrat', 'Arial', sans-serif;
    --shadow-sm: 0 2px 8px rgba(30, 87, 140, 0.08);
    --shadow-md: 0 4px 16px rgba(30, 87, 140, 0.12);
    --shadow-lg: 0 8px 32px rgba(30, 87, 140, 0.16);
    --shadow-xl: 0 16px 48px rgba(30, 87, 140, 0.2);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}
.navbar .container {
    max-width: 1400px;
}
.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-md);
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
}
.logo-link:hover .logo-img {
    transform: scale(1.05);
}
.hero-logo-img {
    display: block;
}
.footer-logo-img {
    display: block;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-menu a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}
.nav-menu a:hover {
    color: var(--accent-red);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}
.nav-menu a:hover::after {
    width: 100%;
}
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}
/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}
.lang-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}
.lang-btn:hover {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    transform: translateY(-2px);
}
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 140px;
}
.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-dropdown button {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: white;
    color: var(--dark-gray);
    font-size: 0.95rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
}
.lang-dropdown button:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
}
@media (max-width: 768px) {
    .language-selector {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
    }
}
/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 87, 140, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(224, 41, 46, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 87, 140, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}
.hero-logo-img {
    height: 200px;
    width: auto;
    filter: drop-shadow(0 8px 16px rgba(30, 87, 140, 0.25));
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(40px); }
    50% { transform: translateY(-20px); }
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 50%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
    font-weight: 400;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}
.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    position: relative;
    overflow: hidden;
}
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}
.btn-secondary:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.btn-secondary:hover::before {
    left: 0;
}
/* Mirrored animation for Register button - starts blue, becomes white on hover */
.btn-primary.mirror-animation {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    z-index: 0;
}
.btn-primary.mirror-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.3s ease;
    z-index: -1;
}
.btn-primary.mirror-animation:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.btn-primary.mirror-animation:hover::before {
    left: 0;
}
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    z-index: 1;
}
.hero-wave svg {
    width: 100%;
    height: 100%;
}
/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.title-underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-red));
    margin: 1rem auto 0;
    border-radius: 3px;
    position: relative;
}
.title-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(224, 41, 46, 0.2);
}
/* About Section */
.about {
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(30, 87, 140, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(224, 41, 46, 0.03) 0%, transparent 50%);
    pointer-events: none;
}
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-gray);
}
.about-text .lead {
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.5;
}
.about-text p {
    margin-bottom: 1.8rem;
}
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 20px;
    border-left: 5px solid var(--accent-red);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 87, 140, 0.08) 0%, rgba(224, 41, 46, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}
.stat-item:hover::before {
    opacity: 1;
}
.stat-item:hover::after {
    opacity: 1;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 600;
    position: relative;
    z-index: 1;
}
/* About Slideshow */
.about-slideshow {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    padding: 6px;
}
.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: #1a1a2e;
}
.slideshow-slide {
    display: none;
    width: 100%;
    height: 100%;
}
.slideshow-slide.active {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.slideshow-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}
.slideshow-dot.active {
    background: var(--accent-red);
    border-color: var(--white);
    transform: scale(1.2);
}
.slideshow-progress {
    position: absolute;
    bottom: 52px;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
    animation: slideProgress 3s ease-in-out infinite;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(224, 41, 46, 0.5);
}
@keyframes slideProgress {
    0% {
        width: 0%;
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 0.5;
    }
}
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}
.slideshow-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.slideshow-nav.prev {
    left: 15px;
}
.slideshow-nav.next {
    right: 15px;
}
@media (max-width: 768px) {
    .about-slideshow {
        max-width: 100%;
        border-radius: 16px;
    }
     .slideshow-container {
        height: 300px;
    }
     .slideshow-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
     .slideshow-dot {
        width: 10px;
        height: 10px;
    }
}
/* Services Section */
.services {
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
}
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(30, 87, 140, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(224, 41, 46, 0.04) 0%, transparent 50%);
    pointer-events: none;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
}
.services-grid > .service-card {
    height: 100%;
}
/* Allow overflow for subscription cards with badges */
.services-grid:has(.membership-card) {
    overflow: visible;
    width: 100%;
    margin: 0 auto;
    justify-items: center;
}
.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(30, 87, 140, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 87, 140, 0.05) 0%, rgba(224, 41, 46, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.service-card:hover::before {
    left: 100%;
}
.service-card:hover::after {
    opacity: 1;
}
.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: rgba(30, 87, 140, 0.25);
}
.service-icon {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 1;
}
.service-icon .icon-image {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    display: block;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}
.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}
.service-card:hover .service-icon .icon-image {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}
.service-card h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}
.service-card:hover h3 {
    color: var(--accent-red);
}
.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}
/* Competition Cards - Equal Height */
.competition-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.competition-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.competition-card p {
    flex-grow: 1;
    margin-bottom: 0;
}
.competition-card > div:last-child {
    margin-top: auto;
}
/* Course Cards - Equal Height */
.course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.course-label {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    white-space: nowrap;
}
/* Available - Green/Teal */
.course-label[data-translate="label_available"] {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}
/* Ongoing - Orange/Yellow */
.course-label[data-translate="label_ongoing"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
/* Upcoming - Blue/Red */
.course-label[data-translate="label_upcoming"] {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
}
.course-card p {
    flex-grow: 1;
    margin-bottom: 0;
}
.course-card button {
    margin-top: auto;
}
/* Projects Section */
.projects {
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
}
.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(30, 87, 140, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 41, 46, 0.03) 0%, transparent 50%);
    pointer-events: none;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}
.project-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(30, 87, 140, 0.1);
    backdrop-filter: blur(10px);
}
.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(30, 87, 140, 0.25);
}
.project-image {
    height: 240px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 50%, var(--accent-red) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.project-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}
.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.project-placeholder {
    font-size: 5.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.project-card:hover .project-placeholder {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}
.project-content {
    padding: 2.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
}
.project-content h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    font-weight: 700;
    transition: color 0.3s ease;
}
.project-card:hover .project-content h3 {
    color: var(--accent-red);
}
.project-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}
.project-link {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.project-link::after {
    content: 'в†’';
    transition: transform 0.3s ease;
}
.project-link:hover {
    color: var(--primary-blue);
    gap: 0.8rem;
}
.project-link:hover::after {
    transform: translateX(5px);
}
/* Contact Section */
.contact {
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
}
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(30, 87, 140, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(224, 41, 46, 0.04) 0%, transparent 50%);
    pointer-events: none;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    position: relative;
    z-index: 1;
}
.contact-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 87, 140, 0.1);
}
.contact-info h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    font-weight: 700;
}
.contact-item {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.contact-item:hover {
    background: rgba(30, 87, 140, 0.05);
    transform: translateX(5px);
}
.contact-item strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-item a:hover {
    color: var(--accent-red);
}
.contact-item p {
    color: var(--text-gray);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 87, 140, 0.1);
}
.contact-form-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(30, 87, 140, 0.1);
}
.contact-form-header h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.contact-form-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid var(--light-gray-2);
    border-radius: 14px;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 5px rgba(30, 87, 140, 0.12), var(--shadow-md);
    transform: translateY(-3px);
    background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray-light);
    font-weight: 400;
}
.form-group textarea {
    resize: vertical;
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    animation: slideDown 0.3s ease-out;
    box-shadow: var(--shadow-md);
}

.form-message-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.form-message-error {
    background: linear-gradient(135deg, var(--accent-red) 0%, #dc2626 100%);
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 60px 0 25px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(224, 41, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.footer-logo-img {
    height: 80px;
    width: auto;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.5rem;
}
.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column a:hover {
    color: var(--accent-red);
}
/* Social Media Links */
.social-media-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}
.social-link svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}
.social-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}
.social-link:hover svg {
    transform: scale(1.1);
}
.social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    color: #1877f2;
}
.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
}
.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
    color: #e1306c;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
     .nav-menu.active {
        left: 0;
    }
     .mobile-menu-toggle {
        display: flex;
    }
     .hero-title {
        font-size: 2.5rem;
    }
     .hero-subtitle {
        font-size: 1.2rem;
    }
     .about-content {
        grid-template-columns: 1fr;
    }
     .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
     .stat-item {
        flex: 1;
        min-width: 150px;
    }
     .contact-content {
        grid-template-columns: 1fr;
    }
     .footer-content {
        grid-template-columns: 1fr;
    }
     .footer-links {
        grid-template-columns: 1fr;
    }
     .social-media-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
     .social-link {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
     .section-title {
        font-size: 2rem;
    }
     /* Subscription cards: 2 columns on tablets */
     .services-grid[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, minmax(360px, 1fr)) !important;
     }
}
@media (max-width: 1200px) {
    /* Subscription cards: 2 columns on medium screens */
    .services-grid[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, minmax(360px, 1fr)) !important;
    }
}
@media (min-width: 1600px) {
    /* Ensure 4 columns on large screens */
    #donate .services-grid[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(4, minmax(360px, 1fr)) !important;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
     .hero-logo-img {
        height: 120px;
    }
     .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
     .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
     /* Subscription cards: 1 column on mobile */
     .services-grid[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr !important;
     }
}
/* Course Modal Styles */
.course-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 87, 140, 0.3);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
    border: 1px solid rgba(30, 87, 140, 0.1);
    position: relative;
}
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-red));
    border-radius: 24px 24px 0 0;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.modal-header {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 28px 0;
    text-align: left;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--light-gray-2);
}
.lesson-video {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 50%, var(--accent-red) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}
.lesson-video::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}
.lesson-video:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
.lesson-section {
    margin: 20px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 16px;
    border-left: 5px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.lesson-section:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}
.lesson-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 14px 0;
}
.section-content {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}
.code-example {
    background: var(--primary-blue-dark);
    color: #58a6ff;
    padding: 20px 24px;
    border-radius: 12px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
    margin: 18px 0;
    box-shadow: var(--shadow-md);
    position: relative;
}
.code-example::before {
    content: '>';
    position: absolute;
    left: 12px;
    top: 12px;
    color: var(--accent-red);
    font-weight: bold;
    opacity: 0.7;
}
.tips-box {
    background: linear-gradient(135deg, rgba(30, 87, 140, 0.08) 0%, rgba(224, 41, 46, 0.08) 100%);
    border-left: 5px solid var(--accent-red);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 18px 0;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.tips-box::before {
    content: 'рџ’Ў';
    position: absolute;
    left: -16px;
    top: 20px;
    background: var(--white);
    padding: 6px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}
.tips-title {
    font-weight: 700;
    color: var(--accent-red);
    margin: 0 0 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tips-content {
    color: var(--text-gray);
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}
.back-button {
    width: 100%;
    padding: 15px 25px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}
.back-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}
.back-button:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.back-button:hover::before {
    left: 0;
}
/* Quiz Styles */
.quiz-container {
    margin-top: 32px;
    padding: 32px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 20px;
    border: 1px solid rgba(30, 87, 140, 0.1);
    box-shadow: var(--shadow-md);
}
.quiz-question {
    margin-bottom: 24px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    border-left: 5px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
}
.quiz-question-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}
.quiz-option {
    display: block;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 12px;
    background: var(--light-gray);
    border: 2px solid var(--light-gray-2);
    border-radius: 12px;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-primary);
}
.quiz-option:hover {
    background: rgba(30, 87, 140, 0.1);
    border-color: var(--primary-blue);
    transform: translateX(8px);
}
.quiz-option.selected {
    background: rgba(30, 87, 140, 0.15);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}
.quiz-option.correct {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #166534;
}
.quiz-option.incorrect {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #991b1b;
}
.quiz-submit-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
    font-family: var(--font-primary);
}
.quiz-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.quiz-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.quiz-result {
    margin-top: 24px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    text-align: center;
    border: 3px solid;
    box-shadow: var(--shadow-md);
}
.quiz-result.passed {
    border-color: #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
}
.quiz-result.failed {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
}
.quiz-score {
    font-size: 3rem;
    font-weight: 800;
    margin: 16px 0;
}
.quiz-score.passed {
    color: #22c55e;
}
.quiz-score.failed {
    color: #ef4444;
}
.quiz-message {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin: 12px 0;
}
.view-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    font-family: var(--font-primary);
}
.view-button:hover {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.view-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Partners Section */
.partner-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-card h3 {
    flex-shrink: 0;
}

.partner-card p {
    flex-grow: 1;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.partner-card .partner-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.partner-card:hover .partner-icon {
    transform: scale(1.1);
}

/* Ensure grid items stretch to equal height */
.partners-grid > * {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partners-grid a {
    height: 100%;
}

/* Donate Section */
#donate .container {
    max-width: 1600px;
}
#donate .about-content {
    max-width: 1600px !important;
}
/* Reduce spacing between donation sections */
#donate .about-content > div {
    margin-bottom: 0.25rem !important;
}
#donate .about-content > div:last-child {
    margin-bottom: 0 !important;
}
#donate .about-content > div h3 {
    margin-bottom: 0.5rem !important;
}
#donate .about-content > div p {
    margin-bottom: 0.75rem !important;
}
/* Hardcode equal margins - ensure grid is perfectly centered */
#donate .services-grid:has(.membership-card) {
    max-width: 1520px !important;
    width: 1520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    place-content: center;
    box-sizing: border-box;
}
/* Ensure the wrapper div doesn't constrain the grid */
#donate .about-content > div:has(.services-grid) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.membership-card {
    position: relative;
    transition: all 0.3s ease;
    outline: none;
    border: 1px solid rgba(30, 87, 140, 0.1);
    box-shadow: var(--shadow-md);
    overflow: visible !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.membership-card:focus,
.membership-card:focus-visible {
    outline: none !important;
    box-shadow: var(--shadow-md) !important;
}

.membership-card:active {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Prevent any default selection/focus state on all subscription cards */
.membership-card.standard:focus,
.membership-card.bronze:focus,
.membership-card.silver:focus,
.membership-card.gold:focus,
.membership-card.standard:focus-visible,
.membership-card.bronze:focus-visible,
.membership-card.silver:focus-visible,
.membership-card.gold:focus-visible,
.membership-card.standard:active,
.membership-card.bronze:active,
.membership-card.silver:active,
.membership-card.gold:active {
    outline: none !important;
    box-shadow: var(--shadow-md) !important;
    transform: none !important;
}

/* Ensure cards don't have any default selected state */
.membership-card {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Prevent button clicks from causing card focus */
.membership-card button {
    pointer-events: auto;
}

.membership-card button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Completely remove the gradient overlay effect for all subscription cards */
.membership-card.standard::after,
.membership-card.bronze::after,
.membership-card.silver::after,
.membership-card.gold::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: none !important;
}

.membership-card.standard::before,
.membership-card.bronze::before,
.membership-card.silver::before,
.membership-card.gold::before {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    background: none !important;
}

/* Override service-card hover effects for all subscription cards */
.membership-card.standard:hover,
.membership-card.bronze:hover,
.membership-card.silver:hover,
.membership-card.gold:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(30, 87, 140, 0.25);
}

.membership-card.standard:hover::after,
.membership-card.bronze:hover::after,
.membership-card.silver:hover::after,
.membership-card.gold:hover::after,
.membership-card.standard:hover::before,
.membership-card.bronze:hover::before,
.membership-card.silver:hover::before,
.membership-card.gold:hover::before {
    opacity: 0 !important;
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Override service-card icon hover effects for all subscription cards */
.membership-card.standard:hover .service-icon,
.membership-card.bronze:hover .service-icon,
.membership-card.silver:hover .service-icon,
.membership-card.gold:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Override service-card h3 hover effects for all subscription cards */
.membership-card.standard:hover h3,
.membership-card.bronze:hover h3,
.membership-card.silver:hover h3,
.membership-card.gold:hover h3 {
    color: var(--primary-blue);
}

/* Donation Modal Slider */
#donationSlider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: var(--light-gray-2);
    height: 8px;
    border-radius: 4px;
    outline: none;
    transition: background 0.3s ease;
}

/* Donation Modal Amount Buttons */
.amount-btn:hover {
    border-color: var(--primary-blue) !important;
    background: var(--light-gray) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.amount-btn.selected {
    border-color: var(--primary-blue) !important;
    background: var(--primary-blue) !important;
    color: white !important;
}

#donationSlider:hover {
    background: var(--light-gray);
}

#donationSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 87, 140, 0.3);
    transition: all 0.3s ease;
}

#donationSlider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(30, 87, 140, 0.4);
}

#donationSlider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(30, 87, 140, 0.3);
    transition: all 0.3s ease;
}

#donationSlider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(30, 87, 140, 0.4);
}

#donationSlider::-moz-range-track {
    background: var(--light-gray-2);
    height: 8px;
    border-radius: 4px;
}

#customAmount:focus,
#donationEmail:focus,
#donationName:focus {
    outline: none;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px rgba(30, 87, 140, 0.1);
}

#proceedDonationBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#proceedDonationBtn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* One-Time Donation Icon Animation */
@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.1); 
    }
}

/* Donation Celebration Animations */
@keyframes fallDown {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 200px)) rotate(360deg);
        opacity: 1;
    }
}

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

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

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.donation-celebration-icon {
    position: fixed;
    font-size: 2.5rem;
    pointer-events: none;
    z-index: 99999;
    animation: fallDown 3s linear forwards;
    user-select: none;
    top: -100px;
    will-change: transform;
    overflow: hidden;
}

.donation-shiny-icon {
    position: fixed;
    font-size: 1.5rem;
    pointer-events: none;
    z-index: 99998;
    animation: fallDownShiny 3s linear forwards, twinkle 0.5s ease-in-out infinite;
    user-select: none;
    top: -100px;
    will-change: transform, opacity, filter;
    overflow: hidden;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

@keyframes fallDownShiny {
    0% {
        transform: translateY(-100px) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 200px)) rotate(var(--rotation, 720deg)) scale(1);
        opacity: 1;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    }
    50% {
        opacity: 0.7;
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1));
    }
}

/* Competition Modal Styles */
.competition-modal-content {
    max-width: 900px;
    padding: 40px;
}

.competition-description {
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 245, 0.9) 100%);
    border-radius: 16px;
    border-left: 5px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.competition-images img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competition-images img:hover {
    box-shadow: var(--shadow-md);
}

.competition-dates > div > div {
    transition: all 0.3s ease;
}

.competition-dates > div > div:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.status-past {
    background: var(--text-gray-light) !important;
}

.status-soon {
    background: var(--accent-red) !important;
    animation: pulse 2s ease-in-out infinite;
}

.status-upcoming {
    background: var(--primary-blue) !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.competition-requirements li {
    transition: all 0.3s ease;
}

.competition-requirements li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.competition-prizes > div > div {
    transition: all 0.3s ease;
}

.competition-prizes > div > div:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .competition-modal-content {
        max-width: 95%;
        padding: 24px;
    }
    
    .competition-images > div {
        grid-template-columns: 1fr !important;
    }
    
    .competition-actions {
        flex-direction: column;
    }
    
    .competition-actions .btn {
        width: 100% !important;
    }
}