/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
    /* Primary Colors */
    --primary-blue: #1B4D3E;
    --primary-green: #0C8E36;
    --primary-gold: #B8860B;
    
    /* Secondary Colors */
    --secondary-teal: #2D5A4A;
    --secondary-green: #2E7D32;
    
    /* Neutral Colors */
    --dark-charcoal: #2C2C2C;
    --medium-gray: #6B7280;
    --light-gray: #E5E7EB;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #1B4D3E 0%, #2D5A4A 100%);
    --green-gradient: linear-gradient(135deg, #0C8E36 0%, #2E7D32 100%);
    
    /* Typography */
    --font-arabic: 'Amiri', serif;
    --font-heading: 'Amiri', serif;
    --font-body: 'Poppins', sans-serif;
    --font-secondary-arabic: 'Cairo', sans-serif;
    --font-urdu: 'Noto Sans Arabic', 'Cairo', sans-serif;
    --font-hindi: 'Noto Sans Devanagari', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 9999;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
}

.logo-img {
    height: 40px;
    width: auto;
    padding: 6px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.logo-img:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-arabic {
    font-family: var(--font-arabic);
    font-size: 20px;
    font-weight: 700;
    direction: rtl;
}

.logo-english {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 1px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark-charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: var(--primary-green);
}

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

.nav-link.active {
    color: var(--primary-green);
}

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

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

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

/* ============================================
   Language Switcher
   ============================================ */

.language-switcher {
    position: relative;
    margin-left: 1rem;
    z-index: 10001;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-charcoal);
    transition: all 0.3s ease;
}

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

.lang-icon {
    font-size: 18px;
}

.lang-current {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 180px;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    padding: 8px 0;
    margin: 0;
    pointer-events: none;
    display: block;
}

.lang-menu.active,
.language-switcher .lang-menu.active,
#lang-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.lang-option {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--dark-charcoal);
    font-size: 14px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.lang-option:hover {
    background: var(--off-white);
    border-left-color: var(--primary-green);
    color: var(--primary-green);
}

.lang-option.active {
    background: var(--off-white);
    border-left-color: var(--primary-green);
    color: var(--primary-green);
    font-weight: 600;
}

/* RTL Support */
html[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

html[dir="rtl"] .lang-option {
    border-left: none;
    border-right: 3px solid transparent;
}

html[dir="rtl"] .lang-option:hover,
html[dir="rtl"] .lang-option.active {
    border-right-color: var(--primary-green);
    border-left-color: transparent;
}

html[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .about-content {
    direction: rtl;
}

html[dir="rtl"] .features-list {
    direction: rtl;
}

html[dir="rtl"] .feature-item {
    flex-direction: row-reverse;
}

html[dir="rtl"] .quote-source {
    text-align: left;
}

html[dir="rtl"] .download-content {
    direction: rtl;
}

html[dir="rtl"] .app-features-grid {
    direction: rtl;
}

html[dir="rtl"] .footer-links {
    flex-direction: row-reverse;
}

/* Urdu and Hindi Font Support */
html[lang="ur"] body,
html[lang="ur"] .nav-link,
html[lang="ur"] .section-title,
html[lang="ur"] .card-title,
html[lang="ur"] .feature-title,
html[lang="ur"] .mission-card-title {
    font-family: var(--font-urdu);
}

html[lang="hi"] body,
html[lang="hi"] .nav-link,
html[lang="hi"] .section-title,
html[lang="hi"] .card-title,
html[lang="hi"] .feature-title,
html[lang="hi"] .mission-card-title {
    font-family: var(--font-hindi);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    padding: var(--section-padding);
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/mosque_pattern.png');
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max-width);
    width: 100%;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 28px 50px;
    margin-bottom: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 255, 255, 0.95);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoFadeInUp 1s ease 0.3s both;
    overflow: hidden;
}

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

.hero-logo-container:hover::before {
    left: 100%;
}

.hero-logo-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 12px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 30px rgba(12, 142, 54, 0.2);
    border-color: rgba(255, 255, 255, 1);
}

.hero-logo {
    height: 120px;
    width: auto;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.hero-logo-container:hover .hero-logo {
    transform: scale(1.05);
}

.hero-title {
    margin-bottom: 1rem;
}

.hero-arabic {
    display: block;
    font-family: var(--font-arabic);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    direction: rtl;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-english {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-code-wrapper {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.qr-code {
    width: 200px;
    height: 200px;
    display: block;
}

.qr-instruction {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Sections
   ============================================ */

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

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

/* ============================================
   About Section
   ============================================ */

.about-section {
    background: var(--white);
}

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

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-charcoal);
}

.lead {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.quote-box {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-green);
    position: relative;
}

.quote-icon {
    font-size: 60px;
    color: var(--primary-green);
    opacity: 0.3;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 18px;
    font-style: italic;
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.quote-source {
    display: block;
    text-align: right;
    color: var(--primary-blue);
    font-weight: 600;
    font-style: normal;
}

/* ============================================
   Importance Section
   ============================================ */

.importance-section {
    background: var(--off-white);
}

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

.importance-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

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

.card-icon {
    font-size: 48px;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ============================================
   History Section
   ============================================ */

.history-section {
    background: var(--white);
}

.history-content {
    max-width: 900px;
    margin: 0 auto;
}

.history-item {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.history-subtitle {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.history-item p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-charcoal);
}

.highlight-box {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
    text-align: center;
}

.highlight-box-green {
    background: var(--green-gradient);
}

.highlight-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
}

/* ============================================
   Purpose Section
   ============================================ */

.purpose-section {
    background: var(--off-white);
}

.purpose-content {
    max-width: 900px;
    margin: 0 auto;
}

.purpose-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--dark-charcoal);
    margin-bottom: 3rem;
    text-align: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.feature-check {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--green-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.feature-text {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ============================================
   Organization Section
   ============================================ */

.organization-section {
    background: var(--white);
}

.organization-content {
    max-width: 1000px;
    margin: 0 auto;
}

.org-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--dark-charcoal);
    margin-bottom: 3rem;
    text-align: center;
}

.mission-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.mission-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.mission-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ============================================
   Download Section
   ============================================ */

.download-section {
    background: var(--off-white);
}

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

.download-qr {
    text-align: center;
}

.qr-code-large {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.qr-code-img {
    width: 300px;
    height: 300px;
    display: block;
}

.qr-instruction-large {
    font-size: 18px;
    color: var(--dark-charcoal);
    margin-bottom: 2rem;
    font-weight: 500;
}

.btn-play-store {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-play-store:hover {
    background: var(--secondary-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.app-feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

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

.app-feature-icon {
    font-size: 40px;
    margin-bottom: 1rem;
}

.app-feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.app-feature-card p {
    color: var(--medium-gray);
    font-size: 14px;
}

/* ============================================
   Footer
   ============================================ */

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

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.quote-icon-large {
    font-size: 80px;
    color: var(--white);
    opacity: 0.3;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 1rem;
}

.footer-quote {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-quote-source {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-style: normal;
}

.footer-message {
    font-size: 18px;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes logoFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .app-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    html[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
    }
    
    html[dir="rtl"] .nav-menu.active {
        right: 0;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-right: 1rem;
    }
    
    html[dir="rtl"] .language-switcher {
        margin-right: 0;
        margin-left: 1rem;
    }
    
    .lang-menu {
        right: auto;
        left: 0;
    }
    
    html[dir="rtl"] .lang-menu {
        left: auto;
        right: 0;
    }
    
    .nav-link {
        padding: 1rem;
        display: block;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-arabic {
        font-size: 36px;
    }
    
    .hero-english {
        font-size: 28px;
    }
    
    .hero-tagline {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-logo-container {
        padding: 20px 35px;
        margin-bottom: 2rem;
    }
    
    .hero-logo-container:hover {
        transform: translateY(-3px) scale(1.01);
    }
    
    .hero-logo {
        height: 80px;
    }
    
    .qr-code {
        width: 150px;
        height: 150px;
    }
    
    .qr-code-img {
        width: 200px;
        height: 200px;
    }
    
    .importance-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-quote {
        font-size: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 15px;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero-logo-container {
        padding: 16px 24px;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo-container:hover {
        transform: translateY(-2px) scale(1.01);
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .hero-arabic {
        font-size: 28px;
    }
    
    .hero-english {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}

