/*
* Zumba With Greta - Dance Fitness Website
* Main stylesheet with global styles and components
*/

/* ===== ROOT VARIABLES ===== */
:root {
    /* Main Colors */
    --primary: #fe0391; /* Zumba pink */
    --primary-light: #ff4db2;
    --primary-dark: #c60071;
    --primary-rgb: 254, 3, 145;
    
    --secondary: #ff6b08; /* Vibrant orange */
    --secondary-light: #ff9649;
    --secondary-dark: #c64500;
    --secondary-rgb: 255, 107, 8;
    
    /* Accent Colors */
    --accent-1: #e5ff00; /* Zumba yellow */
    --accent-1-rgb: 229, 255, 0;
    
    --accent-2: #00bfff; /* Bright blue */
    --accent-2-rgb: 0, 191, 255;
    
    --accent-3: #00cc66; /* Bright green */
    --accent-3-rgb: 0, 204, 102;
    
    /* Neutrals */
    --dark: #333333;
    --gray: #777777;
    --light-gray: #f0f0f0;
    --light: #ffffff;
    --light-rgb: 255, 255, 255;
    
    /* Utility */
    --success: #00cc66;
    --warning: #ffcc00;
    --error: #ff3333;
    --info: #00bfff;
    
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--accent-1) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-2) 100%);
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Layout */
    --container-width: 1140px;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-1);
}

ul {
    list-style-type: none;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: block;
    width: 100%;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-header p {
    font-style: italic;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    width: 100%;
}

.highlight {
    color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

/* Header CTA button adjustment */
header .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(95, 0, 186, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8A00FF 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(95, 0, 186, 0.4);
    color: var(--light);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(176, 255, 146, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #D6FF79 0%, var(--secondary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(176, 255, 146, 0.4);
    color: var(--dark);
}

.btn-outline {
    background: var(--light);
    color: var(--primary);
    border: 2px solid var(--light);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: transparent;
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline-alt {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.btn-outline-alt:hover {
    background: var(--light);
    color: var(--primary);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Pulsing effect for CTA buttons */
.pulse {
    animation: pulse 2s infinite;
}

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

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 100%;
    height: auto;
    max-height: 75px;
    width: auto;
}

.logo-text {
    color: var(--primary);
}

.logo-text-highlight {
    color: var(--accent-1);
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: var(--dark);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    font-size: 0.95rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    color: var(--light);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(95, 0, 186, 0.85) 0%, rgba(255, 90, 95, 0.85) 100%);
    z-index: 1;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Decorative shapes */
.shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--accent-1);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: var(--accent-2);
    bottom: -50px;
    left: -50px;
    animation: float 15s ease-in-out infinite 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background-color: var(--secondary);
    top: 40%;
    right: 10%;
    animation: float 18s ease-in-out infinite 2s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background-color: var(--accent-3);
    bottom: 20%;
    left: 10%;
    animation: float 12s ease-in-out infinite 3s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* ===== INTRO SECTION ===== */
.intro {
    background-color: var(--light);
}

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

.feature {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--light);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.feature.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.feature:nth-child(1).animate {
    animation-delay: 0.1s;
}

.feature:nth-child(2).animate {
    animation-delay: 0.3s;
}

.feature:nth-child(3).animate {
    animation-delay: 0.5s;
}

.feature:nth-child(4).animate {
    animation-delay: 0.7s;
}

/* Custom hover effect for "Burn Calories" card */
.feature:nth-child(1):hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.3);
}

.feature:nth-child(1):hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, #ff5500, #ff0000, #ffaa00, #ff0000, #ff5500);
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientBurn 3s ease infinite;
}

@keyframes gradientBurn {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Custom hover effect for "Dance to the Music" card */
.feature:nth-child(2):hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 255, 0, 0.3);
}

.feature:nth-child(2) .music-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:nth-child(2):hover .music-container {
    opacity: 1;
}

.music-note {
    position: absolute;
    font-size: 20px;
    animation: floatMusic 3s linear infinite;
    opacity: 0;
}

@keyframes floatMusic {
    0% {
        opacity: 0;
        transform: translateY(100px) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(359deg);
    }
}

@keyframes danceCard {
    0% {
        transform: translateY(-5px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
    100% {
        transform: translateY(-5px) rotate(0deg);
    }
}

/* Custom hover effect for "Join Our Community" card */
.feature:nth-child(3) {
    overflow: visible;
}

.feature:nth-child(3):hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 255, 0.3);
}

.feature:nth-child(3)::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 150px;
    background: url('../images/hugging-arms.png') no-repeat center center;
    background-size: contain;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.feature:nth-child(3):hover::after {
    transform: translateX(-50%) scale(1);
}

/* Custom hover effect for "Boost Your Mood" card */
.feature:nth-child(4):hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.feature:nth-child(4) .emoji-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:nth-child(4):hover .emoji-container {
    opacity: 1;
}

.emoji {
    position: absolute;
    font-size: 20px;
    animation: floatEmoji 3s linear infinite;
    opacity: 0;
}

@keyframes floatEmoji {
    0% {
        opacity: 0;
        transform: translateY(100px) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(359deg);
    }
}

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--light);
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.feature:nth-child(2n) .feature-icon {
    background: var(--gradient-secondary);
    color: var(--dark);
}

.feature:nth-child(3n) .feature-icon {
    background: var(--gradient-accent);
}

/* ===== INSTAGRAM SHOWCASE ===== */
.instagram-showcase {
    position: relative;
    background: linear-gradient(135deg, #ff0099 0%, #fe0391 25%, #ff4db2 50%, #fe0391 75%, #c60071 100%);
    background-size: 200% 200%;
    animation: slideBackgroundGradient 15s ease infinite;
    color: var(--light);
    overflow: hidden;
}

.instagram-showcase::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(176, 255, 146, 0.1) 0%, rgba(176, 255, 146, 0) 70%);
    top: -200px;
    left: -200px;
    border-radius: 50%;
    z-index: 0;
}

.instagram-showcase::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(95, 0, 186, 0.05) 0%, rgba(95, 0, 186, 0) 70%);
    bottom: -200px;
    right: -200px;
    border-radius: 50%;
    z-index: 0;
}

.instagram-showcase .container {
    position: relative;
    z-index: 2;
}

.instagram-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.instagram-feature {
    position: relative;
}

.instagram-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.instagram-video-container {
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.instagram-video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.instagram-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.instagram-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.instagram-video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-placeholder:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-overlay i {
    font-size: 3rem;
    color: var(--light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.instagram-placeholder:hover .play-overlay {
    opacity: 1;
}

.instagram-placeholder:hover .play-overlay i {
    transform: scale(1.1);
}

.instagram-caption {
    padding: 15px;
}

.instagram-profile {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    margin-right: 10px;
}

.profile-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.instagram-caption p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--gray);
}

.instagram-stats {
    display: flex;
    gap: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.instagram-stats i {
    margin-right: 5px;
    color: var(--accent-1);
}

/* Small video containers */
.instagram-video-container.small .video-wrapper {
    padding-bottom: 100%; /* Square aspect ratio */
}

.instagram-video-container.small .play-overlay i {
    font-size: 2rem;
}

.instagram-video-container.small .instagram-caption {
    padding: 10px;
}

.instagram-video-container.small .instagram-caption p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Instagram CTA */
.instagram-cta {
    text-align: center;
    margin-top: 20px;
}

.instagram-cta .btn {
    margin-bottom: 10px;
}

.instagram-cta .btn i {
    margin-right: 8px;
}

.instagram-handle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Video modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.close-modal:hover {
    color: var(--accent-1);
}

.modal-video-container {
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    background-color: #000;
}

.modal-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Add styles for video previews in the Instagram showcase grid */
.instagram-video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.instagram-video-placeholder:hover .instagram-video-preview {
    transform: scale(1.05);
}

.instagram-video-placeholder .play-overlay {
    z-index: 2;
}

/* Instagram-like filter effects */
.filter-normal {
    filter: none;
}

.filter-clarendon {
    filter: brightness(1.1) contrast(1.2) saturate(1.35);
}

.filter-gingham {
    filter: brightness(1.05) sepia(0.2);
}

.filter-moon {
    filter: grayscale(1) brightness(1.1) contrast(1.1);
}

.filter-lark {
    filter: brightness(1.1) contrast(0.9) sepia(0.1);
}

.filter-reyes {
    filter: brightness(1.1) contrast(0.85) saturate(0.75) sepia(0.22);
}

/* Instagram Stories Highlight */
.instagram-stories {
    margin-top: 40px;
    text-align: center;
}

.instagram-stories h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light);
}

.stories-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.stories-container::-webkit-scrollbar {
    height: 6px;
}

.stories-container::-webkit-scrollbar-track {
    background: transparent;
}

.stories-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.story-item {
    flex: 0 0 auto;
    width: 180px;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.story-item:nth-child(odd) {
    animation-delay: 0.5s;
}

.story-item:nth-child(even) {
    animation-delay: 1s;
}

.story-item:nth-child(3n) {
    animation-delay: 1.5s;
}

.story-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-item:hover {
    transform: translateY(-5px);
}

/* ===== CLASSES SECTION ===== */
.classes {
    background: linear-gradient(135deg, #f4f4f4 0%, #ffffff 50%, #f0f0f0 100%);
    background-size: 200% 200%;
    animation: slideBackgroundGradient 15s ease infinite;
}

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

.class-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.class-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}

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

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

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.class-level {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.class-level.beginner {
    background: var(--primary);
}

.intermediate {
    background-color: var(--accent-3);
    color: var(--dark);
}

.advanced {
    background-color: var(--accent-1);
    color: var(--light);
}

.class-content {
    padding: 25px;
}

.class-content h3 {
    margin-bottom: 10px;
}

.class-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.class-details {
    display: flex;
    margin-bottom: 20px;
}

.class-details li {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 0.9rem;
    color: var(--gray);
}

.class-details i {
    margin-right: 5px;
    color: var(--primary);
}

/* ===== SCHEDULE SECTION ===== */
.schedule {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 50%, #f0f0f0 100%);
    background-size: 200% 200%;
    animation: slideBackgroundGradient 15s ease infinite;
}

.schedule-wrapper {
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.schedule-nav {
    display: flex;
    background-color: var(--primary);
    overflow-x: auto;
}

.schedule-day {
    padding: 15px 25px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.schedule-day:hover,
.schedule-day.active {
    color: var(--light);
    background-color: rgba(255, 255, 255, 0.1);
}

.schedule-content {
    display: none;
    padding: 30px;
}

.schedule-content.active {
    display: block;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-weight: 600;
    color: var(--primary);
    width: 25%;
}

.schedule-class {
    font-weight: 600;
    width: 30%;
}

.schedule-location {
    color: var(--gray);
    width: 40%;
    font-size: 0.9rem;
}

.schedule-location i {
    color: var(--primary);
    margin-right: 5px;
}

.schedule-instructor {
    color: var(--gray);
    width: 15%;
}

/* Mobile-specific styling */
@media (max-width: 768px) {
    .schedule-item {
        flex-wrap: wrap;
    }
    
    .schedule-time,
    .schedule-class,
    .schedule-instructor,
    .schedule-location {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .schedule-item .btn {
        margin-top: 15px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        width: fit-content;
    }
}

/* ===== INSTRUCTORS SECTION ===== */
.instructors {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 50%, #ffffff 100%);
    background-size: 200% 200%;
    animation: slideBackgroundGradient 15s ease infinite;
}

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

.instructor-card {
    background: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.instructor-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}

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

.instructor-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    height: auto;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.instructor-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px;
    transition: transform 0.3s ease;
}

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

.instructor-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    gap: 1rem;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.instructor-image:hover .instructor-social {
    transform: translateY(0);
}

.instructor-social a {
    color: var(--light);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.instructor-social a:hover {
    color: var(--accent-1);
    transform: translateY(-3px);
}

.instructor-content h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.instructor-content {
    padding: 25px;
}

.instructor-title {
    color: var(--accent-1);
    font-weight: 600;
    margin-bottom: 10px;
}

.instructor-bio {
    color: var(--gray);
    margin-bottom: 15px;
}

.instructor-classes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    background-color: var(--light-gray);
    color: var(--primary);
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonials {
    background: url('../images/testimonial-bg.jpg') center/cover no-repeat;
    position: relative;
    color: var(--light);
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(95, 0, 186, 0.9) 0%, rgba(255, 90, 95, 0.9) 100%);
}

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

.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--light);
}

.testimonials .section-header h2::after {
    background: var(--light);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    padding: 20px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.testimonial-content:hover {
    transform: scale(1);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    font-style: italic;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-family: serif;
    font-size: 3rem;
    position: absolute;
    opacity: 0.3;
}

.testimonial-quote::before {
    top: -20px;
    left: -10px;
}

.testimonial-quote::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid var(--light);
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--accent-1);
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
    color: var(--light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--light);
    transform: scale(1.2);
}

/* ===== PRICING SECTION ===== */
.pricing {
    background: linear-gradient(135deg, #f4f4f4 0%, #ffffff 50%, #f0f0f0 100%);
    background-size: 200% 200%;
    animation: slideBackgroundGradient 15s ease infinite;
}

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

.pricing-grid.single-class {
    max-width: 400px;
    margin: 0 auto 40px;
}

.class-packs-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.class-packs-header h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.class-packs-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    min-height: 470px;
}

.pricing-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.pricing-card:nth-child(1).animate {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2).animate {
    animation-delay: 0.3s;
}

.pricing-card:nth-child(3).animate {
    animation-delay: 0.5s;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--light);
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
    padding: 30px;
    text-align: center;
    background: var(--gradient-primary);
    color: var(--light);
}

.pricing-card:nth-child(2n) .pricing-header {
    background: var(--gradient-secondary);
    color: var(--dark);
}

.pricing-card:nth-child(3n) .pricing-header {
    background: var(--gradient-accent);
}

.pricing-header h3 {
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-features {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features ul {
    margin-bottom: 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.pricing-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.pricing-footer .btn {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.pricing-card .btn-outline-alt {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
    width: 100%;
}

.pricing-card:nth-child(1) .btn-outline-alt,
.pricing-card.single-class .btn-outline-alt {
    background: var(--primary);
    color: var(--light);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pricing-card:nth-child(1) .btn-outline-alt:hover,
.pricing-card.single-class .btn-outline-alt:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.pricing-card:nth-child(2) .btn-outline-alt {
    background: var(--gradient-secondary);
    color: var(--dark);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 8, 0.3);
}

.pricing-card:nth-child(2) .btn-outline-alt:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 8, 0.4);
}

.pricing-card:nth-child(3) .btn-outline-alt {
    background: var(--gradient-accent);
    color: var(--light);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.pricing-card:nth-child(3) .btn-outline-alt:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-2) 50%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
}

.pricing-grid.single-class .pricing-card {
    background: var(--light);
}

.pricing-grid.single-class .pricing-card .pricing-header {
    background: var(--primary);
}

.pricing-grid.single-class .pricing-card .pricing-header h3,
.pricing-grid.single-class .pricing-card .pricing-header .price,
.pricing-grid.single-class .pricing-card .pricing-header span {
    color: var(--light);
}

.pricing-grid.single-class .pricing-card .btn-outline-alt {
    background: var(--primary);
    color: var(--light);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pricing-grid.single-class .pricing-card .btn-outline-alt:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.pricing-badge {
    background: var(--primary);
    color: var(--light);
}

.class-level.beginner {
    background: var(--primary);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 50%, #ffffff 100%);
    background-size: 200% 200%;
    animation: slideBackgroundGradient 15s ease infinite;
}

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

.contact-info {
    padding-right: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--light);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--gray);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--primary);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-5px) rotate(10deg);
}

.contact-form {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.success-message {
    background-color: rgba(0, 204, 102, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.error-message.global {
    background-color: rgba(255, 51, 51, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* Disable the button when in loading state */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== MAP SECTION ===== */
.map {
    padding: 0;
    height: 480px;
    position: relative;
}

.map-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
    z-index: 10;
    text-align: center;
}

.map-header h3 {
    color: var(--light);
    margin-bottom: 10px;
}

.map-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.map-links .btn {
    background: var(--primary);
}

.map-links .btn:hover {
    background: var(--primary-dark);
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    background: var(--gradient-primary);
    color: var(--light);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    margin-bottom: 20px;
}

.newsletter-content .highlight {
    color: var(--secondary);
}

.newsletter-content p {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.shape-5 {
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: 10%;
    animation: float 15s ease-in-out infinite;
}

.shape-6 {
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    bottom: -150px;
    left: 5%;
    animation: float 20s ease-in-out infinite 2s;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

footer h3 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-1);
}

footer p {
    margin-bottom: 20px;
}

footer .logo {
    color: var(--light);
    display: inline-block;
    margin-bottom: 15px;
}

footer .logo img {
    max-width: 200px;
    height: auto;
}

footer .logo .logo-text {
    color: var(--light);
}

footer .logo .logo-text-highlight {
    color: var(--primary);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: var(--accent-1);
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li i {
    margin-right: 10px;
    color: var(--accent-1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom-links a {
    margin-left: 20px;
}

.footer-credits {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credits i {
    color: var(--primary);
    animation: pulse 1.5s infinite;
}

.footer-credits a {
    color: var(--accent-1);
    font-weight: 600;
    transition: var(--transition);
}

.footer-credits a:hover {
    color: var(--light);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-1);
    color: var(--light);
    transform: translateY(-5px);
}

/* Modal styles */
body.modal-open {
    overflow: hidden;
}

.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes slideBackgroundGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes wave {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 1s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 1s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 1s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Add animated shapes to sections */
.intro::before,
.classes::before,
.instructors::before,
.pricing::before,
.contact::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--accent-1-rgb), 0.05) 0%, rgba(var(--accent-2-rgb), 0.05) 100%);
    top: -150px;
    right: -150px;
    animation: float 15s ease-in-out infinite;
    z-index: 0;
}

.intro::after,
.classes::after,
.instructors::after,
.pricing::after,
.contact::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite;
    z-index: 0;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    opacity: 0;
}

.section-header h2.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
    opacity: 0;
}

.section-header p.animate {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.footer .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.footer .social-link:hover {
    background-color: var(--accent-1);
}

.instructor-story {
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
}

.story-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.story-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.story-section h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-section h4 i {
    color: var(--accent-1);
    font-size: 1rem;
}

.story-section p {
    line-height: 1.8;
    color: var(--text);
    font-size: 1rem;
    text-align: justify;
}

.instructor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.instructor-badges .badge {
    background: var(--gradient-primary);
    color: var(--light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.instructor-badges .badge:hover {
    transform: translateY(-2px);
}

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

.instructor-card {
    background: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.instructor-content {
    padding: 2rem;
}

.instructor-title {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-header p {
    font-style: italic;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    display: inline-block;
}

.instagram-showcase .section-header p,
.testimonials .section-header p {
    color: var(--light);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%), 
                url('../images/pattern-bg.png');
    background-size: cover;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--accent-1-rgb), 0.05) 100%);
    z-index: -1;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--light);
    color: var(--dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    margin: 0 0 15px;
    line-height: 1.6;
    color: var(--text);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 10px;
    color: var(--text);
    position: relative;
    padding-left: 15px;
}

.faq-answer li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-1);
}

.faq-answer em {
    color: var(--accent-1);
    font-style: italic;
    font-size: 0.9rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 600;
}

/* Video Play Button Overlay for mobile devices */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.video-play-button i {
    color: var(--primary);
    font-size: 24px;
    margin-left: 5px; /* Slight offset for play icon */
}

.video-play-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.instagram-video-container {
    position: relative;
}

/* Ensure proper positioning for iOS videos */
.instagram-video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
}

/* Social Media Showcase Section adjustments for mobile */
@media (max-width: 767px) {
    .instagram-grid {
        gap: 5px;
    }
    
    .video-play-button {
        width: 50px;
        height: 50px;
    }
    
    .video-play-button i {
        font-size: 20px;
    }
}

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

/* Class Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.class-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

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

.class-card h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.class-card .description {
    color: #666;
    margin-bottom: 15px;
}

.class-card .date {
    color: #444;
    font-weight: bold;
    margin-bottom: 10px;
}

.class-card .price {
    color: #2ecc71;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.class-card .availability {
    color: #666;
    margin-bottom: 15px;
}

.book-button {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.book-button:hover {
    background: #0056b3;
}

.fully-booked {
    color: #e74c3c;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    background: #fdf3f2;
    border-radius: 4px;
}

.no-classes {
    text-align: center;
    color: #666;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    grid-column: 1 / -1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 10px;
    }
} 