:root {
    --primary: #30f4e0;
    --primary-dark: #d8a91b;
    --accent: #e8b923;
    --black: #1a1a1a;
    --light: #f8f8f8;
    --gray: #888;
    --error: #f44336;
    --success: #4CAF50;
}

/* About Hero Section */
.about-hero {
    position: relative;
    padding: 200px 0 120px;
    text-align: center;
    margin-top: 84px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: brightness(0.7);
    transition: transform 0.5s ease;
}

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

.about-hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.about-tagline {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.about-tagline span {
    color: var(--primary);
    font-weight: 800;
}

.about-hero-description {
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 850px;
    margin: 0 auto 50px;
    line-height: 1.8;
    color: var(--light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.package-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--black);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.package-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(232, 185, 35, 0.5);
}

/* About Content Section */
.about-section {
    padding: 120px 0;
    background: linear-gradient(rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.95));
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 70px;
    text-transform: uppercase;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.section-title:after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    margin: 20px auto 0;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 1px solid rgba(232, 185, 35, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    loading: lazy;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.15), rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover::after {
    opacity: 1;
}

.about-image:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--gray);
    line-height: 1.9;
    font-size: 1.1rem;
}

.mission-values {
    margin-top: 60px;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: start;
}

.value-card {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.7), rgba(30, 30, 30, 0.8));
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(232, 185, 35, 0.15);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.value-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

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

.value-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light);
}

.value-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 1px solid rgba(232, 185, 35, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.8s forwards;
}

.value-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    loading: lazy;
}

.value-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.15), rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-image:hover::after {
    opacity: 1;
}

.value-image:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

/* Instructors Section */
.instructors-section {
    padding: 120px 0;
    background: linear-gradient(rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.95));
}

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

.instructor-card {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.7), rgba(30, 30, 30, 0.8));
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(232, 185, 35, 0.15);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.8s forwards;
}

.instructor-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.instructor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.instructor-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 1px solid rgba(232, 185, 35, 0.3);
}

.instructor-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    loading: lazy;
}

.instructor-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.15), rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instructor-image:hover::after {
    opacity: 1;
}

.instructor-image:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

.instructor-info {
    padding: 30px;
}

.instructor-name {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.instructor-title {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.instructor-bio {
    margin-bottom: 25px;
    color: var(--gray);
    line-height: 1.9;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('{% static "lessons/images/gallery5.jpg" %}');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.cta-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 1s forwards;
}

.cta-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-description {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 50px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.btn {
    padding: 16px 40px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.4s ease;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--black);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(232, 185, 35, 0.5);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-height: 400px;
        aspect-ratio: 4/3;
    }

    .instructor-content {
        grid-template-columns: 1fr;
    }

    .instructor-image {
        max-height: 400px;
        aspect-ratio: 4/3;
    }

    .about-tagline {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 150px 0 80px;
    }

    .about-tagline {
        font-size: 2.2rem;
    }

    .about-hero-description {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-image {
        max-height: 300px;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 576px) {
    .about-tagline {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .section-subtitle {
        font-size: 1.6rem;
    }

    .about-text h3 {
        font-size: 1.6rem;
    }

    .instructor-name {
        font-size: 1.6rem;
    }

    .about-image {
        max-height: 300px;
    }

    .instructor-image {
        max-height: 300px;
    }
}