/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    
    /* Dark Mode Variables */
    --dm-bg-primary: #1a1a2e;
    --dm-bg-secondary: #16213e;
    --dm-bg-tertiary: #0f3460;
    --dm-text-primary: #eaeaea;
    --dm-text-secondary: #b8b8b8;
    --dm-card-bg: #1e2746;
    --dm-border: rgba(255, 255, 255, 0.1);
    --dm-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --dm-shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #4a90e2;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --text-dark: var(--dm-text-primary);
    --text-light: var(--dm-text-secondary);
    --bg-light: var(--dm-bg-secondary);
    --white: var(--dm-card-bg);
    --shadow: var(--dm-shadow);
    --shadow-lg: var(--dm-shadow-lg);
}

[data-theme="dark"] body {
    background: var(--dm-bg-primary);
    color: var(--dm-text-primary);
}

[data-theme="dark"] .navbar {
    background: var(--dm-card-bg);
    border-bottom: 1px solid var(--dm-border);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--dm-bg-tertiary) 0%, var(--dm-bg-secondary) 100%);
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.85) 100%);
}

[data-theme="dark"] section {
    background: var(--dm-bg-primary);
}

[data-theme="dark"] .about,
[data-theme="dark"] .gallery,
[data-theme="dark"] .youtube-section,
[data-theme="dark"] .social-feed-section {
    background: var(--dm-bg-secondary);
}

[data-theme="dark"] .programs {
    background: linear-gradient(180deg, var(--dm-bg-secondary) 0%, var(--dm-bg-primary) 50%, var(--dm-bg-secondary) 100%);
}

[data-theme="dark"] .contact {
    background: linear-gradient(180deg, var(--dm-bg-primary) 0%, var(--dm-bg-secondary) 50%, var(--dm-bg-primary) 100%);
}

[data-theme="dark"] .timeline-content,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .weather-widget,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .social-feed-item {
    background: var(--dm-card-bg);
    border-color: var(--dm-border);
}

[data-theme="dark"] .footer {
    background: linear-gradient(180deg, var(--dm-bg-tertiary) 0%, var(--dm-bg-secondary) 50%, var(--dm-bg-primary) 100%);
}

body {
    font-family: 'Cairo', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Prevent text size adjustment on iOS */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Enable smooth scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

/* Safe area insets for notched devices (iPhone X and newer) */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}

body[dir="ltr"] {
    font-family: 'Poppins', 'Arial', sans-serif;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
    flex-wrap: nowrap;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.theme-toggle:hover {
    background: var(--primary-color);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.3);
}

.theme-toggle:active {
    transform: scale(0.95) rotate(15deg);
}

.theme-icon {
    font-size: 1.5rem;
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}

.logo-sun {
    width: 50px;
    height: 50px;
    position: relative;
    background: linear-gradient(to top, #ffa500, #ffd700);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
    overflow: visible;
}

.logo-sun::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: 
        radial-gradient(circle at 20% 30%, #ff6b35 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, #ff6b35 0%, transparent 50%),
        radial-gradient(circle at 50% 70%, #ff6b35 0%, transparent 50%);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 20s linear infinite;
}

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

.sun-face {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sun-eye {
    width: 8px;
    height: 6px;
    background: #dc143c;
    border-radius: 50%;
    margin: 2px;
    position: absolute;
    top: 35%;
}

.sun-eye:first-child {
    left: 30%;
}

.sun-eye:last-child {
    right: 30%;
}

.sun-mouth {
    width: 20px;
    height: 10px;
    border: 3px solid #dc143c;
    border-top: none;
    border-radius: 0 0 20px 20px;
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
}

.logo-text-ar {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc143c;
    font-family: 'Cairo', sans-serif;
    line-height: 1;
}

.logo-text-en {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1;
}

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

/* Hide language switcher from main header - it's now in the menu */
.nav-wrapper > .lang-switcher {
    display: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem;
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-menu a:active {
    transform: translateY(0);
}

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

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

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

/* Language switcher in navigation menu - subtle */
.nav-menu .lang-menu-item {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-menu .lang-switcher {
    justify-content: center;
    gap: 0.4rem;
}

.lang-btn {
    padding: 0.75rem 1rem;
    min-height: 44px;
    min-width: 44px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Subtle language buttons in menu */
.nav-menu .lang-btn {
    padding: 0.5rem 0.75rem;
    min-height: 36px;
    min-width: 36px;
    font-size: 0.85rem;
    border-width: 1.5px;
    opacity: 0.8;
}

.nav-menu .lang-btn:hover,
.nav-menu .lang-btn.active {
    opacity: 1;
    background: var(--primary-color);
    color: var(--white);
}

/* Compact language buttons for mobile */
@media (max-width: 768px) {
    .lang-btn {
        padding: 0.4rem 0.6rem;
        min-height: 36px;
        min-width: 36px;
        font-size: 0.75rem;
        border-width: 1.5px;
    }
    
    .lang-switcher {
        gap: 0.3rem;
        flex-shrink: 1;
        max-width: calc(100% - 200px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-right: 0.5rem;
    }
    
    .lang-switcher::-webkit-scrollbar {
        display: none;
    }
}

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

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 500px;
    max-height: 800px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a6b 100%);
    background-image: url('Shams_Al-Assil_School.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 70px;
}

/* Disable fixed background on mobile for better performance */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        max-height: none;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.85) 0%, rgba(26, 74, 107, 0.75) 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    min-height: 48px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: var(--shadow-lg);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.cta-button:hover {
    background: #e8915f;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.programs {
    padding: 7rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 5rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-light);
}

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

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

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: var(--shadow-lg);
}

.about-logo {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    object-fit: contain;
    background: var(--bg-light);
    padding: 2rem;
}

/* Programs Section */
/* Programs Section - Modern Aesthetic Design */
.programs {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(44, 95, 141, 0.2), transparent);
}

.programs-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 0;
    position: relative;
    transition: transform 0.3s ease;
    padding: 2rem 0;
}

.timeline-item:hover {
    transform: translateX(5px) scale(1.01);
}

.timeline-item:active {
    transform: translateX(3px) scale(1);
}

body[dir="ltr"] .timeline-item:hover {
    transform: translateX(-5px);
}

.timeline-marker {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 4px 15px rgba(44, 95, 141, 0.3), 0 0 0 5px rgba(44, 95, 141, 0.1);
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.4), 0 0 0 6px rgba(44, 95, 141, 0.15);
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 3.5rem 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 0;
    border: 1px solid rgba(44, 95, 141, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(44, 95, 141, 0.2);
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    max-width: 100%;
}

.timeline-connector {
    width: 3px;
    height: 100px;
    background: linear-gradient(to bottom, 
        rgba(44, 95, 141, 0.25) 0%, 
        rgba(244, 162, 97, 0.25) 50%,
        rgba(44, 95, 141, 0.25) 100%);
    margin: 0 auto;
    margin-left: 13px;
    position: relative;
    z-index: 1;
    border-radius: 3px;
}

body[dir="ltr"] .timeline-connector {
    margin-left: auto;
    margin-right: 11px;
}

.timeline-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.6;
}

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

/* Legacy support for old grid layout if needed */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

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

.program-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.gallery-item:active {
    transform: scale(1.02) rotate(0deg);
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.gallery-placeholder p {
    margin-top: 1rem;
    font-size: 1rem;
}

/* Instagram Feed Styles */
.instagram-feed-container {
    margin-bottom: 3rem;
    min-height: 400px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-light);
}

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

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

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

.instagram-post {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: var(--white);
    aspect-ratio: 1;
}

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

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-post-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instagram-post-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1rem;
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-post-info {
    opacity: 1;
}

.instagram-embed-wrapper {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.instagram-embed-wrapper iframe {
    width: 100%;
    border: none;
}

.snapwidget-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.snapwidget-widget {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .snapwidget-container iframe {
        height: 500px !important;
    }
}

@media (max-width: 480px) {
    .snapwidget-container iframe {
        height: 400px !important;
    }
}

.instagram-link {
    text-align: center;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    min-height: 48px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.instagram-btn .social-icon svg,
.youtube-btn .social-icon svg {
    fill: currentColor;
}

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

/* YouTube Section */
.youtube-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.youtube-link {
    text-align: center;
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    min-height: 48px;
    background: linear-gradient(45deg, #FF0000, #CC0000);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.youtube-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(45deg, #CC0000, #990000);
}

.youtube-btn .social-icon {
    width: 28px;
    height: 28px;
}

.youtube-btn .social-icon svg {
    fill: currentColor;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 7rem 0;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 2rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(44, 95, 141, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 3px 3px 0;
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(44, 95, 141, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(44, 95, 141, 0.2);
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.08), rgba(244, 162, 97, 0.08));
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(44, 95, 141, 0.1);
}

.contact-item:hover .contact-icon {
    transform: scale(1.05) rotate(5deg);
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.12), rgba(244, 162, 97, 0.12));
    border-color: rgba(44, 95, 141, 0.2);
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.15);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 0.01em;
}

/* Weather Widget Styles */
.weather-widget-container {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
}

.weather-widget {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(44, 95, 141, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.weather-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.weather-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(44, 95, 141, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.weather-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.75rem;
}

.weather-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.weather-location {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.01em;
}

.weather-location::before {
    content: '📍';
    font-size: 1.25rem;
}

.weather-forecast {
    margin-top: 1.5rem;
    width: 100%;
}

#weather-forecast {
    width: 100%;
}

#weather-forecast .weather-days {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 0 !important;
    width: 100% !important;
}

#weather-forecast .weather-day {
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.03), rgba(244, 162, 97, 0.03)) !important;
    padding: 2.5rem 2rem !important;
    border-radius: 16px !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid rgba(44, 95, 141, 0.1) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 200px !important;
}

.weather-loading {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 2rem;
    font-size: 1rem;
}

.weather-error {
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    font-size: 1rem;
}

.weather-days {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 0 !important;
    width: 100% !important;
}

.weather-day {
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.03), rgba(244, 162, 97, 0.03)) !important;
    padding: 2.5rem 2rem !important;
    border-radius: 16px !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid rgba(44, 95, 141, 0.1) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.weather-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.weather-day:hover::before {
    transform: scaleX(1);
}

.weather-day:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(44, 95, 141, 0.18), 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(44, 95, 141, 0.25);
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.05), rgba(244, 162, 97, 0.05));
}

.weather-day-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    text-transform: capitalize;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.weather-icon {
    font-size: 4rem;
    margin: 1.25rem 0;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
    display: block;
    transition: transform 0.3s ease;
}

.weather-day:hover .weather-icon {
    transform: scale(1.1);
}

.weather-temps {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.temp-max {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -1px;
}

.temp-min {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.75;
    line-height: 1;
}

.temp-min::before {
    content: '/';
    margin-right: 0.25rem;
    opacity: 0.4;
    font-weight: 400;
}

.contact-item p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}

.contact-item p a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.map-link,
.phone-link,
.whatsapp-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.06), rgba(244, 162, 97, 0.06));
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid rgba(44, 95, 141, 0.1);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.map-link:hover,
.phone-link:hover,
.whatsapp-link:hover {
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.12), rgba(244, 162, 97, 0.12));
    color: var(--primary-color);
    transform: translateX(5px);
    border-color: rgba(44, 95, 141, 0.2);
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.15);
}

.social-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.04), rgba(244, 162, 97, 0.04));
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(44, 95, 141, 0.1);
    min-height: 56px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.social-link:hover {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.1), rgba(244, 162, 97, 0.1));
    border-color: rgba(44, 95, 141, 0.2);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.15);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.5rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.phone-link:hover {
    color: var(--secondary-color);
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.whatsapp-link:hover {
    color: #128C7E;
    transform: scale(1.05);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    min-height: 48px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Prevent zoom on iOS when focusing input fields */
@media screen and (max-width: 768px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    min-height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.submit-btn:hover {
    background: #1a4a6b;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow);
}

.submit-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.footer-section {
    position: relative;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1rem;
    letter-spacing: 0.01em;
    margin: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    letter-spacing: 0.01em;
    position: relative;
}

.footer-section ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 1rem;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    letter-spacing: 0.01em;
    min-height: 50px;
}

.social-link-footer:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link-footer .social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.social-link-footer .social-icon svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
}

/* Social Icons Styling */
.social-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-inline-end: 8px;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.instagram-btn .social-icon,
.youtube-btn .social-icon {
    width: 24px;
    height: 24px;
}

.social-link .social-icon svg,
.social-link-footer .social-icon svg {
    fill: currentColor;
}

.map-link {
    transition: color 0.3s ease;
    padding: 0.5rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.map-link:hover {
    color: var(--secondary-color);
}

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

/* Logo Responsive */
@media (max-width: 768px) {
    .logo-image {
        height: 45px;
    }
    
    .logo-sun {
        width: 40px;
        height: 40px;
    }
    
    .logo-text-ar {
        font-size: 1rem;
    }
    
    .logo-text-en {
        font-size: 0.65rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-wrapper {
        padding: 0.75rem 0;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.75rem;
    }
    
    .logo {
        flex-shrink: 0;
        min-width: 0;
    }
    
    .logo-image {
        height: 55px;
        max-width: 100%;
        object-fit: contain;
    }
    
    .logo-link {
        display: flex;
        align-items: center;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 2rem 1rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    /* Language switcher is now in the menu, not in header */
    .nav-menu .lang-menu-item {
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.15);
    }
    
    .nav-menu .lang-switcher {
        flex-wrap: wrap;
        gap: 0.4rem;
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu .lang-btn {
        font-size: 0.75rem;
        padding: 0.45rem 0.6rem;
        min-height: 32px;
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(33.333% - 0.3rem);
        border-width: 1.5px;
    }
    
    .nav-controls {
        order: 2;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hamburger {
        order: 2;
        flex-shrink: 0;
    }
    
    .theme-toggle {
        order: 1;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }

    .hero {
        height: 100vh;
        min-height: 500px;
        padding-top: 70px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        width: auto;
        min-width: 180px;
        min-height: 44px;
    }

    section {
        padding: 3.5rem 0;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .programs-timeline {
        padding: 2.5rem 0;
        max-width: 100%;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .timeline-item:hover {
        transform: translateY(-3px);
    }
    
    .timeline-marker {
        width: 18px;
        height: 18px;
        margin-top: 0;
        order: 1;
    }
    
    .timeline-content {
        width: 100%;
        padding: 1.75rem 1.25rem;
        margin-top: 0;
        text-align: center;
        order: 2;
    }
    
    .timeline-content h3 {
        font-size: 1.35rem;
        margin-top: 0;
        margin-bottom: 0.75rem;
    }
    
    .timeline-content h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .timeline-connector {
        width: 2px;
        height: 50px;
        margin: 0 auto;
        margin-left: auto;
        margin-right: auto;
        order: 3;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .program-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
        padding: 1.75rem 1.25rem;
        gap: 1.25rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .contact-item h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .weather-widget {
        padding: 1.5rem 1.25rem;
    }
    
    .weather-widget h3 {
        font-size: 1.2rem;
    }
    
    .weather-location {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .weather-days {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .weather-day {
        padding: 1.5rem 1.25rem;
        min-height: 160px;
    }
    
    .weather-icon {
        font-size: 2.75rem;
        margin: 1rem 0;
    }
    
    .temp-max {
        font-size: 1.4rem;
    }
    
    .temp-min {
        font-size: 1rem;
    }
    
    .instagram-btn,
    .youtube-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.95rem;
    }
    
    .social-link-footer {
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-wrapper {
        padding: 0.5rem 0;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .logo {
        max-width: 130px;
    }
    
    /* Language buttons in menu - more compact for iPhone */
    .nav-menu .lang-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.5rem;
        min-height: 32px;
        max-width: calc(33.333% - 0.3rem);
        line-height: 1.2;
    }
    
    /* For very small screens, make even more compact */
    @media (max-width: 360px) {
        .nav-menu .lang-btn {
            font-size: 0.65rem;
            padding: 0.35rem 0.45rem;
            min-height: 30px;
        }
        
        .logo-image {
            height: 45px;
        }
        
        .logo {
            max-width: 120px;
        }
    }

    .hero {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 52px; /* Touch-friendly */
        width: 100%;
        max-width: 300px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .timeline-marker {
        width: 18px;
        height: 18px;
        margin-top: 0;
    }
    
    .timeline-content {
        padding: 1.75rem 1.25rem;
    }
    
    .timeline-content h3 {
        font-size: 1.35rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.75;
    }
    
    .timeline-connector {
        height: 40px;
    }
    
    .program-card {
        padding: 1.25rem;
    }
    
    .program-card h3 {
        font-size: 1.2rem;
    }
    
    .program-card p {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px; /* Touch-friendly */
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
        min-height: 52px; /* Touch-friendly */
        border-radius: 8px;
        font-weight: 600;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }
}

/* Extra small devices (phones in portrait, less than 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .lang-btn {
        font-size: 0.7rem;
        padding: 0.45rem 0.6rem;
    }
}

/* RTL/LTR Support */
body[dir="ltr"] .nav-menu a::after {
    left: 0;
    right: auto;
}

body[dir="ltr"] .section-title::after {
    left: 50%;
    right: auto;
}

/* ============================================
   MICRO-INTERACTIONS & MODERN EFFECTS
   ============================================ */

/* Enhanced Button Interactions */
button, .btn, .lang-btn, .submit-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

button::before, .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before, .btn:hover::before {
    width: 300px;
    height: 300px;
}

button:active, .btn:active {
    transform: scale(0.98);
}

/* Card Hover Effects with Glassmorphism */
.timeline-content, .contact-item, .program-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content::after, .contact-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.timeline-content:hover::after, .contact-item:hover::after {
    opacity: 1;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .glass-effect {
    background: rgba(30, 39, 70, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Overlays */
.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(44, 95, 141, 0.1) 0%, 
        rgba(244, 162, 97, 0.1) 50%,
        rgba(231, 111, 81, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.gradient-overlay:hover::before {
    opacity: 1;
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Enhanced Link Hover Effects */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

a:hover {
    transform: translateY(-1px);
}

/* Input Focus Effects */
.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.2);
}

/* Icon Animations */
.social-icon, .contact-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover .social-icon,
.contact-item:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Pulse Animation for Important Elements */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ============================================
   SOCIAL MEDIA FEED AGGREGATOR
   ============================================ */

.social-feed-section {
    background: var(--bg-light);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.social-feed-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(44, 95, 141, 0.2), transparent);
}

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

.social-feed-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-tab {
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.social-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.social-tab:hover::before {
    width: 300px;
    height: 300px;
}

.social-tab span {
    position: relative;
    z-index: 1;
}

.social-tab:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.3);
}

.social-tab.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.3);
}

.social-tab.active::before {
    background: rgba(255, 255, 255, 0.1);
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    min-height: 400px;
}

.social-feed-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(44, 95, 141, 0.1);
}

.social-feed-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(44, 95, 141, 0.3);
}

.social-feed-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.social-feed-item:hover::before {
    transform: scaleX(1);
}

.social-feed-item-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(44, 95, 141, 0.1);
}

.social-feed-item-platform {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
    box-sizing: border-box;
}

.social-feed-item-platform svg {
    width: 100%;
    height: 100%;
    display: block;
}

.social-feed-item-platform.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-feed-item-platform.facebook {
    background: #1877f2;
}

.social-feed-item-platform.youtube {
    background: #ff0000;
}

.social-feed-item-info h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.social-feed-item-info p {
    margin: 0.25rem 0 0 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.social-feed-item-content {
    padding: 1.5rem;
}

.social-feed-item-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.social-feed-item-content p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.social-feed-item-footer {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(44, 95, 141, 0.1);
    font-size: 0.85rem;
    color: var(--text-light);
}

.social-feed-item-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.social-feed-item-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-feed-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: var(--text-light);
}

.social-feed-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    min-height: 48px;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.social-platform-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(44, 95, 141, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-platform-link:hover::before {
    width: 300px;
    height: 300px;
}

.social-platform-link span {
    position: relative;
    z-index: 1;
}

.social-platform-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.instagram-link-feed:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.facebook-link-feed:hover {
    background: #1877f2;
    color: white;
    border-color: transparent;
}

.youtube-link-feed:hover {
    background: #ff0000;
    color: white;
    border-color: transparent;
}

/* Responsive Social Feed */
@media (max-width: 768px) {
    .social-feed-section {
        padding: 4rem 0;
    }
    
    .social-feed-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .social-feed-tabs {
        gap: 0.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly */
        flex: 1 1 auto;
        min-width: calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
    }
    
    .social-feed-item {
        border-radius: 16px;
    }
    
    .social-feed-item-header {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .social-feed-item-platform {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .social-feed-item-content {
        padding: 1.25rem;
    }
    
    .social-feed-item-content img {
        max-height: 300px;
    }
    
    .social-feed-item-footer {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .social-feed-links {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .social-platform-link {
        justify-content: center;
        padding: 1rem 1.5rem;
        min-height: 48px; /* Touch-friendly */
        font-size: 0.95rem;
    }
    
    .theme-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .theme-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .social-feed-section {
        padding: 3rem 0;
    }
    
    .social-feed-tabs {
        gap: 0.4rem;
    }
    
    .social-tab {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
        min-width: calc(50% - 0.2rem);
        max-width: calc(50% - 0.2rem);
    }
    
    .social-feed-item-header {
        padding: 1rem;
    }
    
    .social-feed-item-content {
        padding: 1rem;
    }
    
    .social-feed-item-content img {
        max-height: 250px;
    }
    
    .social-feed-item-footer {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .social-feed-item-header h4 {
        font-size: 0.95rem;
    }
    
    .social-feed-item-header p {
        font-size: 0.8rem;
    }
    
    .social-feed-item-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .social-platform-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Typography */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Base font size - prevents zoom on iOS */
        line-height: 1.6;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    p {
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Touch-Friendly Interactive Elements */
@media (max-width: 768px) {
    /* Better touch feedback */
    button:active,
    .btn:active,
    a:active {
        opacity: 0.7;
        transform: scale(0.98);
    }
    
    /* Remove hover effects on touch devices */
    @media (hover: none) {
        .timeline-content:hover,
        .contact-item:hover,
        .gallery-item:hover {
            transform: none;
        }
        
        button:hover::before,
        .btn:hover::before {
            width: 0;
            height: 0;
        }
    }
}

/* Improved Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        /* Add backdrop blur on iOS */
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.98);
    }
    
    [data-theme="dark"] .nav-menu {
        background: rgba(30, 39, 70, 0.98);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Mobile Form Enhancements */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    /* Better input focus on mobile */
    .form-group input:focus,
    .form-group textarea:focus {
        transform: none; /* Remove translate on mobile */
        box-shadow: 0 0 0 3px rgba(44, 95, 141, 0.2);
        outline: none;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px; /* Touch-friendly */
        padding: 1rem;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    /* Larger select dropdowns */
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        min-height: 48px;
    }
    
    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
        min-height: 52px; /* Touch-friendly */
        border-radius: 8px;
        font-weight: 600;
    }
}

/* Mobile Gallery & Images */
@media (max-width: 768px) {
    .gallery-grid {
        gap: 1rem;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    /* Instagram feed on mobile */
    .instagram-feed-container {
        min-height: 300px;
    }
    
    .snapwidget-container iframe {
        border-radius: 12px;
    }
}

/* Mobile Contact Section */
@media (max-width: 768px) {
    .contact-item {
        padding: 1.5rem 1rem;
        gap: 1rem;
        border-radius: 16px;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.75rem;
        flex-shrink: 0;
    }
    
    .contact-item p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .contact-item p a,
    .map-link,
    .phone-link,
    .whatsapp-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 0.75rem;
        margin: 0.25rem 0;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        min-height: 52px;
        padding: 0.875rem 1rem;
    }
}

/* Mobile Weather Widget */
@media (max-width: 768px) {
    .weather-widget {
        padding: 1.5rem 1rem;
    }
    
    .weather-days {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .weather-day {
        min-height: 140px;
        padding: 1.5rem 1rem !important;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero {
        padding-top: env(safe-area-inset-top, 0);
        min-height: 60vh;
        height: auto;
        padding-bottom: 3rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        margin-bottom: 1rem;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        word-wrap: break-word;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 52px; /* Touch-friendly */
        width: 100%;
        max-width: 300px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Performance Optimizations for Mobile */
@media (max-width: 768px) {
    /* Disable expensive effects on mobile */
    .timeline-content::before,
    .contact-item::before,
    .gradient-overlay::before {
        display: none;
    }
    
    /* Optimize backdrop filters */
    .glass-effect {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--white);
    }
    
    [data-theme="dark"] .glass-effect {
        background: var(--dm-card-bg);
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 50vh;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-menu {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
}

/* Accessibility: Reduce motion for users who prefer it */
@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;
    }
}

