/* Landing Page Styles - A'Thurayya */

/* ===== CSS Variables ===== */
:root {
    --color-gold: #C4A962;
    --color-gold-dark: #A68B4B;
    --color-gold-light: #D4C08A;
    --color-brown: #4A4035;
    --color-brown-dark: #2D271F;
    --color-brown-light: #6B5D4D;
    --color-cream: #FAF8F5;
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray: #6B7280;
    --color-gray-light: #F3F4F6;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-arabic: 'Tajawal', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px rgba(0,0,0,0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* RTL Support */
[dir="rtl"] {
    --font-body: 'Tajawal', sans-serif;
    --font-heading: 'Tajawal', serif;
}

/* ===== Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-brown);
    background: var(--color-cream);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-brown-dark);
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: var(--color-brown-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 169, 98, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-brown);
    border-color: var(--color-brown);
}

.btn-outline:hover {
    background: var(--color-brown);
    color: var(--color-white);
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-outline-gold:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    border-color: rgba(255,255,255,0.3);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.2);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand .logo {
    height: 50px;
    transition: height var(--transition-normal);
}

.navbar.scrolled .logo {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.navbar.scrolled .nav-links a {
    color: var(--color-brown);
}

.nav-links a:hover {
    color: var(--color-gold);
}

.lang-switch a {
    padding: 6px 12px;
    border: 1px solid currentColor;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--color-brown);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45,39,31,0.85) 0%, rgba(74,64,53,0.7) 100%);
    z-index: 1;
}

.particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 100px 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(196,169,98,0.2);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    margin: 0 auto 8px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--color-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text {
    color: var(--color-gray);
    margin-bottom: 24px;
}

.about-highlights {
    list-style: none;
    margin-bottom: 32px;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* ===== Statistics Section ===== */
.statistics {
    background: linear-gradient(135deg, var(--color-brown-dark) 0%, var(--color-brown) 100%);
    color: var(--color-white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 24px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(196,169,98,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-gold);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-gold);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-white);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--color-gray);
    font-size: 15px;
}

/* ===== Journeys Section ===== */
.journeys {
    background: var(--color-gray-light);
}

.journeys-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

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

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

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

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

.journey-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--color-white);
}

.journey-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.journey-date {
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
}

.journey-content {
    padding: 24px;
}

.journey-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.journey-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.journey-cities span {
    padding: 4px 12px;
    background: var(--color-cream);
    border-radius: 20px;
    font-size: 12px;
    color: var(--color-brown);
}

.journey-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-gray);
}

/* ===== Plans Section ===== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.plan-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.plan-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--color-gold);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--color-gold);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.plan-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 1rem;
    color: var(--color-gray);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
}

.price-suffix {
    font-size: 14px;
    color: var(--color-gray);
}

.plan-description {
    color: var(--color-gray);
    text-align: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
}

.plan-features .check-icon {
    color: var(--color-gold);
}

/* ===== Schools Section ===== */
.schools-slider {
    overflow: hidden;
    position: relative;
}

.schools-track {
    display: flex;
    gap: 32px;
    animation: scroll-logos 30s linear infinite;
}

.schools-slider:hover .schools-track {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.school-card {
    flex-shrink: 0;
    width: 180px;
    text-align: center;
}

.school-card img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 12px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.school-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.school-placeholder {
    width: 120px;
    height: 80px;
    margin: 0 auto 12px;
    background: var(--color-gray-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
}

.school-card h4 {
    font-size: 14px;
    color: var(--color-gray);
}

/* ===== Cities Section ===== */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.city-card {
    background: var(--color-white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.city-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.city-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
}

.city-name {
    font-size: 1rem;
    font-weight: 500;
}

/* ===== Gallery Section ===== */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--color-gray-light);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-tab:hover,
.gallery-tab.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

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

.video-thumbnail {
    width: 100%;
    height: 100%;
    background: var(--color-brown);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    width: 48px;
    height: 48px;
    color: var(--color-white);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--color-gray-light);
}

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

.testimonials-track {
    display: flex;
    overflow: hidden;
}

.testimonial-card {
    flex-shrink: 0;
    width: 100%;
    padding: 48px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    margin-bottom: 24px;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-brown);
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar.placeholder {
    background: var(--color-gold);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: 1rem;
}

.author-info span {
    font-size: 14px;
    color: var(--color-gray);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border: 2px solid var(--color-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.nav-btn:hover svg {
    color: var(--color-white);
}

.nav-btn svg {
    width: 20px;
    height: 20px;
    color: var(--color-brown);
}

/* ===== FAQ Section ===== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    transition: transform var(--transition-fast);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--color-gray);
    line-height: 1.8;
}

/* ===== App Download Section ===== */
.app-download {
    background: linear-gradient(135deg, var(--color-brown-dark) 0%, var(--color-brown) 100%);
    color: var(--color-white);
}

.app-download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-content .section-title {
    color: var(--color-white);
}

.app-description {
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.app-buttons {
    display: flex;
    gap: 16px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--color-white);
    color: var(--color-brown-dark);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.store-btn svg {
    width: 28px;
    height: 28px;
}

.store-btn span {
    text-align: left;
}

.store-btn small {
    display: block;
    font-size: 11px;
    color: var(--color-gray);
}

.app-mockup {
    text-align: center;
}

.app-mockup img {
    max-width: 300px;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.3));
}

.mockup-placeholder {
    width: 200px;
    height: 400px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-placeholder svg {
    width: 100px;
    height: 200px;
    color: rgba(255,255,255,0.3);
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
}

.contact-icon.whatsapp {
    background: #25D366;
}

.contact-icon.whatsapp svg {
    color: var(--color-white);
}

.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-card a,
.contact-card p {
    color: var(--color-gray);
    text-decoration: none;
    font-size: 14px;
}

.contact-card a:hover {
    color: var(--color-gold);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: 400px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* ===== Newsletter Section ===== */
.newsletter-box {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    padding: 60px;
    border-radius: var(--radius-xl);
    text-align: center;
    color: var(--color-white);
}

.newsletter-box h2 {
    color: var(--color-white);
    margin-bottom: 12px;
}

.newsletter-box p {
    margin-bottom: 32px;
    opacity: 0.9;
}

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

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
}

.newsletter-form .btn {
    flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-brown-dark);
    color: var(--color-white);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 24px;
}

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

.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-fast);
}

.social-links a:hover {
    background: var(--color-gold);
}

.social-links svg {
    width: 18px;
    height: 18px;
    color: var(--color-white);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--color-brown);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-decoration {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .journeys-grid {
        grid-template-columns: 1fr;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-download-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== RTL Adjustments ===== */
[dir="rtl"] .about-image-decoration {
    left: 20px;
    right: -20px;
}

[dir="rtl"] .author-info {
    text-align: right;
}

[dir="rtl"] .store-btn span {
    text-align: right;
}

[dir="rtl"] .nav-links {
    right: auto;
    left: -100%;
}

[dir="rtl"] .nav-links.active {
    left: 0;
    right: auto;
}

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

    .hero-slider .slide {
        transition: none;
    }

    .schools-track {
        animation: none;
    }

    .wheel {
        animation: none;
    }

    .particles {
        display: none;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}
