/* ===========================
   ᲫᲘᲠᲘᲗᲐᲓᲘ RESET და ᲪᲕᲚᲐᲓᲔᲑᲘ
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ფერების პალიტრა */
:root {
    /* ზაფხულის ფერები */
    --summer-orange: #FF6B35;
    --summer-gold: #FFA500;
    --summer-warm: #FFD93D;
    
    /* ზამთრის ფერები */
    --winter-blue: #00B4D8;
    --winter-ice: #0077B6;
    --winter-deep: #01070e;
    
    /* მთავარი ფერები */
    --primary-blue: #044c73;
    --primary-orange: #FF6B35;
    --sky-blue: #00B4D8;
    --turquoise: #06b6d4;
    
    /* ნეიტრალური ფერები */
    --light-bg: #F8F9FA;
    --text-dark: #2B2D42;
    --text-light: #8D99AE;
    --white: #ffffff;
    --navy: #1e293b;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===========================
   NAVIGATION BAR
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
}

.logo span {
    color: var(--turquoise);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a.active::after {
    width: 100%;
}

.register-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(4, 76, 115, 0.4);
    transition: all 0.3s ease;
}

.register-btn::after {
    display: none;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 76, 115, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===========================
   HERO SECTIONS
   =========================== */

.hero {
    margin-top: 80px;
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    z-index: 2;
}

.carousel-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.carousel-content p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* სხვა გვერდების Hero */
.page-hero {
    margin-top: 80px;
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.page-hero > div {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* ===========================
   COMMON SECTIONS
   =========================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-blue);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

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

/* ===========================
   ABOUT PAGE
   =========================== */

.about-section,
.story-section,
.mission-section,
.values-section,
.team-preview-section,
.stats-section {
    padding: 3rem 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .story-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.story-text h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.story-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.highlight-box {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-blue);
    margin-top: 1.5rem;
}

.highlight-box h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.story-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .story-image img {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .story-image img {
        height: 500px;
    }
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(4, 76, 115, 0.2);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.team-preview-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.team-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(4, 76, 115, 0.3);
}

.team-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(4, 76, 115, 0.4);
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--navy);
    color: white;
    padding: 2rem 1rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.footer-section h3 {
    color: var(--turquoise);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--turquoise);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(4, 76, 115, 0.4);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

/* ===========================
   PROGRAM PAGE
   =========================== */

.schedule-section,
.activities-section,
.seasons-section,
.program-cta {
    padding: 3rem 1rem;
}

.schedule-container {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

@media (min-width: 768px) {
    .timeline {
        padding-left: 3rem;
    }
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-blue), var(--turquoise));
}

@media (min-width: 768px) {
    .timeline::before {
        left: 20px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

@media (min-width: 768px) {
    .timeline-item {
        padding-left: 2rem;
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-blue);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(4, 76, 115, 0.1);
}

@media (min-width: 768px) {
    .timeline-item::before {
        left: -28px;
        width: 20px;
        height: 20px;
        border-width: 4px;
    }
}

.time-card {
    background: var(--light-bg);
    padding: 1.25rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.time-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(4, 76, 115, 0.2);
}

.time-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time-card h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.time-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.activity-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.activity-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.activity-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.activity-content {
    padding: 1.25rem;
}

.activity-content h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.activity-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(4, 76, 115, 0.1);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.seasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .seasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.season-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.season-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.season-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    text-align: center;
}

.season-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.season-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.season-body {
    padding: 1.5rem;
}

.season-body ul {
    list-style: none;
    padding: 0;
}

.season-body li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(4, 76, 115, 0.1);
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.season-body li:last-child {
    border-bottom: none;
}

.season-body li::before {
    content: '✓';
    background: rgba(4, 76, 115, 0.1);
    color: var(--primary-blue);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.program-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    text-align: center;
}

.program-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.program-cta p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* ===========================
   GALLERY PAGE
   =========================== */

.gallery-filter,
.gallery-section,
.video-section {
    padding: 3rem 1rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--light-bg);
    color: var(--primary-blue);
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: rgba(4, 76, 115, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(4, 76, 115, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    animation: zoomIn 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    color: var(--primary-blue);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: var(--primary-blue);
    color: white;
}

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

@media (min-width: 768px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 10px;
}

@media (min-width: 768px) {
    .lightbox-prev {
        left: -60px;
    }
}

.lightbox-next {
    right: 10px;
}

@media (min-width: 768px) {
    .lightbox-next {
        right: -60px;
    }
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.25rem;
}

.video-info h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.video-info p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.load-more {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(4, 76, 115, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(4, 76, 115, 0.4);
}

/* ===========================
   SESSIONS PAGE
   =========================== */

.sessions-section,
.info-section,
.faq-section,
.cta-section {
    padding: 3rem 1rem;
}

.sessions-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.sessions-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.season-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.season-tab {
    padding: 0.8rem 1.5rem;
    background: var(--light-bg);
    color: var(--primary-blue);
    border: 2px solid transparent;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.season-tab:hover {
    background: rgba(4, 76, 115, 0.1);
    transform: translateY(-2px);
}

.season-tab.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    box-shadow: 0 5px 20px rgba(4, 76, 115, 0.3);
}

.sessions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .sessions-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.session-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.session-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.session-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    text-align: center;
}

.session-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.session-body {
    padding: 1.5rem;
}

.session-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.session-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.session-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(4, 76, 115, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.session-features li::before {
    content: '✓';
    background: rgba(4, 76, 115, 0.1);
    color: var(--primary-blue);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.register-session-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-session-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 76, 115, 0.4);
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.badge-popular {
    background: var(--summer-gold);
    color: #78350f;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1rem;
}

.faq-question:hover {
    background: rgba(4, 76, 115, 0.1);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    margin: 0 0.5rem 1rem;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: white;
    color: var(--primary-blue);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===========================
   STAFF PAGE
   =========================== */

.team-intro-section,
.management-section,
.instructors-section,
.support-section,
.certifications-section,
.staff-cta-section {
    padding: 3rem 1rem;
}

.team-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.team-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.management-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .management-grid {
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: 3rem;
    }
}

.management-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .management-card {
        flex-direction: row;
        gap: 2rem;
        padding: 2rem;
    }
}

.management-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.staff-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(4, 76, 115, 0.1);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .staff-image {
        width: 200px;
        height: 200px;
        margin: 0;
    }
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .staff-info {
        text-align: left;
    }
}

.staff-info h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.staff-position {
    display: block;
    color: var(--sky-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.staff-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.staff-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.staff-contact span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .staff-contact span {
        justify-content: flex-start;
    }
}

.staff-contact i {
    color: var(--primary-blue);
}

.instructors-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.instructors-filter .filter-btn {
    padding: 0.7rem 1.5rem;
    background: white;
    color: var(--primary-blue);
    border: 2px solid rgba(4, 76, 115, 0.1);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.instructors-filter .filter-btn:hover,
.instructors-filter .filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(4, 76, 115, 0.3);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.instructor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.instructor-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.instructor-card:hover .instructor-image img {
    transform: scale(1.1);
}

.instructor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 0.8rem;
    background: rgba(4, 76, 115, 0.9);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.instructor-info {
    padding: 1.5rem;
}

.instructor-info h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.instructor-position {
    display: block;
    color: var(--sky-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.instructor-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.instructor-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(4, 76, 115, 0.1);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.support-card {
    background: var(--light-bg);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.support-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(4, 76, 115, 0.2);
}

.support-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.support-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.support-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.certifications-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .certifications-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.certifications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.certification-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.certification-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.certification-item h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.certification-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.certifications-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .certifications-image img {
        height: 400px;
    }
}

.staff-cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    text-align: center;
}

.staff-cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.staff-cta-section p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: var(--primary-blue);
}

/* ===========================
   CONTACT PAGE
   =========================== */

.contact-section,
.social-section {
    padding: 3rem 1rem;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--light-bg);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(4, 76, 115, 0.2);
    border-color: var(--primary-blue);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    color: var(--sky-blue);
    transform: scale(1.05);
}

.social-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    width: 220px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    border: 3px solid transparent;
}

.social-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(4, 76, 115, 0.3);
    border-color: var(--primary-blue);
}

.social-card svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-blue);
    margin-bottom: 1rem;
}

.social-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.social-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cta-section {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* ===========================
   REGISTER PAGE
   =========================== */

.register-section {
    padding: 2rem 1rem;
    background: #f3f4f6;
    min-height: 80vh;
}

.register-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .register-container {
        padding: 3rem;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h1 {
    color: var(--primary-blue);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.section-divider {
    background: var(--primary-blue);
    color: white;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    margin: 1.5rem 0 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(4, 76, 115, 0.1);
}

.session-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .session-selection {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.session-card {
    padding: 1.25rem;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    display: block;
}

.session-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.session-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(4, 76, 115, 0.3);
}

.session-card.selected {
    border-color: var(--primary-blue) !important;
    background: rgba(4, 76, 115, 0.1) !important;
    box-shadow: 0 5px 20px rgba(4, 76, 115, 0.3);
}

.session-date {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.session-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1f2937;
    margin: 0.5rem 0;
}

.submit-btn {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(4, 76, 115, 0.5);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    z-index: 100;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-overlay.show {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.success-overlay.show {
    display: flex;
}

.success-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    animation: slideUp 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-box h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
}

@media (min-width: 480px) {
    .success-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: 2px solid var(--primary-blue);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.error-text {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.form-group.error .error-text {
    display: block;
}

/* ===========================
   RESPONSIVE DESIGN - GLOBAL
   =========================== */

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .logo-img {
        width: 60px;
        height: 60px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1.5rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 0.8rem;
        font-size: 1.1rem;
    }
    
    .register-btn {
        margin-top: 1rem;
        padding: 0.8rem 1.5rem !important;
    }
    
    .hero {
        height: 70vh;
    }
    
    .carousel-content {
        padding: 1rem;
    }
    
    .page-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .hero-btn,
    .cta-button,
    .team-link,
    .register-session-btn,
    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .social-card {
        width: 100%;
        max-width: 280px;
        padding: 1.5rem;
    }
    
    .lightbox-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .lightbox-close {
        top: -35px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* ცვლადი ფონტის ზომები clamp-ით */
h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

p, span, a, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ფიქსირებული ზომები მობილურისთვის */
@media (max-width: 320px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid,
    .sessions-grid,
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons,
    .season-tabs,
    .instructors-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn,
    .season-tab,
    .instructors-filter .filter-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ცხრილების და მონაცემების რესპონსიულობა */
table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

/* ყველა ანიმაცია და transition */
* {
    -webkit-tap-highlight-color: transparent;
}

/* iOS სპეციფიკური სტილები */
@supports (-webkit-touch-callout: none) {
    .hero,
    .page-hero {
        height: -webkit-fill-available;
    }
}

/* დაავიწყდა კონტეინერის padding */
@media (max-width: 768px) {
    .about-section,
    .story-section,
    .mission-section,
    .values-section,
    .team-preview-section,
    .stats-section,
    .schedule-section,
    .activities-section,
    .seasons-section,
    .program-cta,
    .gallery-filter,
    .gallery-section,
    .video-section,
    .sessions-section,
    .info-section,
    .faq-section,
    .cta-section,
    .team-intro-section,
    .management-section,
    .instructors-section,
    .support-section,
    .certifications-section,
    .staff-cta-section,
    .contact-section,
    .social-section {
        padding: 2rem 0.5rem;
    }
}

/* მობილურისთვის უკეთესი ღილაკები */
button,
input[type="button"],
input[type="submit"],
.btn,
.cta-btn,
.register-btn {
    min-height: 44px; /* Apple-ის რეკომენდაცია */
    min-width: 44px;
}

/* ტექსტის შერჩევის სტილი */
::selection {
    background-color: var(--primary-blue);
    color: white;
}