/* ===================================
   IPEDUS Sports Academy - Main Styles
   RTL Arabic Landing Page
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Brand Colors */
    --primary-color: #f95c3d;
    --primary-dark: #d94a2e;
    --dark-color: #260949;
    --accent-color: #4754a3;
    --accent-light: #5c6bc0;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #9e9e9e;
    --dark-gray: #424242;
    --black: #1a1a1a;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--dark-color) 0%, var(--accent-color) 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    
    /* Spacing */
    --section-padding: 80px 0;
    --section-padding-mobile: 50px 0;
    --container-padding: 0 20px;
    
    /* Typography */
    --font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 40px;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* WhatsApp Button in Form */
.btn-whatsapp {
    width: 100%;
    background: #25d366;
    color: var(--white);
    padding: 16px;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

/* Section CTA Buttons */
.section-cta {
    text-align: center;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.btn-about {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.btn-about:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.3);
}

.btn-programs {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 48px;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-programs:hover::before {
    left: 100%;
}

.btn-programs:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.4);
}

.btn-pricing {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: var(--dark-color);
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-pricing:hover {
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.5);
}

.btn-gallery {
    background: var(--dark-color);
    color: var(--white);
    border: 2px solid #d4af37;
    padding: 16px 45px;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    position: relative;
}

.btn-gallery::after {
    content: '✨';
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-gallery:hover {
    background: #d4af37;
    color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-benefits {
    background: var(--primary-color);
    color: var(--white);
    padding: 18px 48px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.3);
    border-radius: 50px;
}

.btn-benefits:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 102, 204, 0.4);
}

/* Form Divider */
.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0 0.5rem;
    color: var(--gray);
    font-size: 0.875rem;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.form-divider span {
    padding: 0 1rem;
}

/* ===== HEADER / NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: transform var(--transition-base);
}

.header.hidden {
    transform: translateY(-100%);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--accent-color) 100%);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-logo img {
    width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.mission-box {
    background: linear-gradient(135deg, rgba(249, 92, 61, 0.1) 0%, rgba(249, 92, 61, 0.05) 100%);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-right: 4px solid var(--primary-color);
    margin-top: 2rem;
}

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

.mission-box p {
    margin-bottom: 0;
    font-size: 1.125rem;
    color: var(--dark-color);
}

/* ===== PROGRAMS SECTION ===== */
.programs {
    background: var(--light-gray);
}

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

.program-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

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

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

.program-title {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.program-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== PRICING SECTION ===== */
.pricing {
    background: var(--white);
}

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

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.pricing-card-small {
    grid-column: span 1;
}

.pricing-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem 1.5rem;
    text-align: center;
}

.pricing-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.pricing-header h3 {
    color: var(--white);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0;
}

.pricing-table {
    padding: 1.5rem;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table thead {
    background: var(--light-gray);
}

.pricing-table th {
    padding: 1rem 0.75rem;
    text-align: center;
    font-weight: 700;
    color: var(--dark-color);
    font-size: 0.9rem;
    border-bottom: 2px solid var(--primary-color);
}

.pricing-table td {
    padding: 1.25rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    color: var(--dark-gray);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table .popular-row {
    background: rgba(249, 92, 61, 0.05);
}

.pricing-table .price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.pricing-table .badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.pricing-simple {
    padding: 2rem 1.5rem;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.pricing-item:last-child {
    margin-bottom: 0;
}

.item-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.125rem;
}

.item-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background: var(--white);
}

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

.benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: transform var(--transition-base);
}

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

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card h3 {
    color: var(--dark-color);
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== CONTACT FORM SECTION ===== */
.contact {
    background: linear-gradient(135deg, rgba(71, 84, 163, 0.05) 0%, rgba(249, 92, 61, 0.05) 100%);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
    direction: rtl;
}

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

.form-group input::placeholder {
    color: var(--gray);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
    display: block;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
    display: block;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== THANK YOU PAGE ===== */
.thank-you-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 4rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.thank-you-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.thank-you-content {
    position: relative;
    z-index: 1;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    0% { transform: scale(0) rotate(-180deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.thank-you-icon svg {
    width: 45px;
    height: 45px;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.thank-you-icon svg path:last-child {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: checkmark 0.5s ease-out 0.3s forwards;
}

@keyframes checkmark {
    to { stroke-dashoffset: 0; }
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.thank-you-message {
    font-size: 1.25rem;
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.thank-you-description {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.btn-primary-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
}

.btn-primary-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-whatsapp-alt {
    background: #25D366;
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all var(--transition-base);
    border: 2px solid #25D366;
}

.btn-whatsapp-alt:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.thank-you-footer {
    padding-top: 2rem;
    border-top: 2px dashed rgba(0, 102, 204, 0.2);
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.thank-you-footer p {
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.thank-you-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
}

.thank-you-phone:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 0;
    margin: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-column h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-list svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.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 var(--transition-base);
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-instagram:hover {
    background: #E4405F;
}

.social-facebook:hover {
    background: #1877F2;
}

.social-x:hover {
    background: #000000;
}

.social-tiktok:hover {
    background: #000000;
}

.social-snapchat:hover {
    background: #FFFC00;
    color: #000000;
}

.social-whatsapp:hover {
    background: #25D366;
}

.social-maps:hover {
    background: #4285F4;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--light-gray);
}

.section-subtitle {
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    font-size: 1.125rem;
    margin-top: -1rem;
    margin-bottom: 3rem;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--dark-color);
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 92, 61, 0.3);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item.hide {
    display: none;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(38, 9, 73, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    font-size: 2rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
}

.lightbox-nav:hover {
    background: var(--primary-color);
}

.lightbox-prev {
    right: 2rem;
}

.lightbox-next {
    left: 2rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.125rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: 'Tajawal', sans-serif;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .navbar {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .navbar .btn-primary {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        overflow-x: auto;
    }
    
    .pricing-table table {
        min-width: 400px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .pricing-icon {
        font-size: 2.5rem;
    }
    
    .pricing-header h3 {
        font-size: 1.125rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    /* Section CTA Buttons - Mobile */
    .section-cta {
        margin-top: 2rem;
    }
    
    .btn-about,
    .btn-programs,
    .btn-pricing,
    .btn-gallery,
    .btn-benefits {
        padding: 14px 30px;
        font-size: 1rem;
        width: 90%;
        max-width: 350px;
    }
    
    /* Thank You Page - Mobile */
    .thank-you-page {
        padding: 3rem 1.5rem;
    }
    
    .thank-you-icon {
        width: 70px;
        height: 70px;
    }
    
    .thank-you-icon svg {
        width: 38px;
        height: 38px;
    }
    
    .thank-you-title {
        font-size: 2rem;
    }
    
    .thank-you-message {
        font-size: 1.1rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-primary-outline,
    .btn-whatsapp-alt {
        width: 100%;
        justify-content: center;
    }
    
    .thank-you-phone {
        font-size: 1.25rem;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .hero {
        margin-top: 60px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .logo {
        padding: 6px 12px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-logo img {
        width: 150px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .lightbox-nav {
        padding: 0.75rem 1rem;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        right: 1rem;
    }
    
    .lightbox-next {
        left: 1rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
    
    .social-links svg {
        width: 18px;
        height: 18px;
    }
    
    /* Thank You Page - Small Mobile */
    .thank-you-page {
        padding: 2rem 1rem;
    }
    
    .thank-you-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .thank-you-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .thank-you-title {
        font-size: 1.75rem;
    }
    
    .thank-you-message {
        font-size: 1rem;
    }
    
    .thank-you-description {
        font-size: 0.95rem;
    }
    
    .btn-primary-outline,
    .btn-whatsapp-alt {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .thank-you-phone {
        font-size: 1.1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .contact {
        display: none;
    }
}
