:root {
    /* ألوان اللوجو الحقيقية */
    --primary-color: #0b9bd9;
    --primary-dark: #007bb3;
    --primary-light: #4cc5f9;
    --secondary-color: #00b4d8;
    --gold-color: #eeb95d;
    --gold-dark: #d69f3f;
    --gold-gradient: linear-gradient(135deg, #eeb95d, #d69f3f);
    --text-dark: #111827;
    --text-light: #4b5563;
    --bg-white: #ffffff;
    --bg-light: #f3f4f6;
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 74, 173, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 74, 173, 0.15);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.3;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--gold-dark);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 215, 0, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.15rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.4);
}

.glow-btn {
    position: relative;
    overflow: hidden;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.5s;
}

.glow-btn:hover::before {
    opacity: 1;
    transform: scale(1);
    animation: rotate 3s linear infinite;
}

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

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
}

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

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

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

.glow-btn-white:hover {
    box-shadow: 0 0 25px rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.heart-icon {
    font-size: 1.2rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
}

/* Navbar */
/* Navbar styles removed as the banner contains the header design */





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

.site-logo {
    height: 90px; /* Increased logo size */
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes the logo white for the dark footer */
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.anniversary-badge {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 800;
    letter-spacing: 0.5px;
    background: rgba(238, 185, 93, 0.1);
    padding: 2px 10px;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    color: var(--text-light);
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-dark);
}

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

.nav-actions {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Full Banner Section */
.hero-banner-section {
    position: relative;
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.main-banner-img {
    width: 100%;
    height: auto;
    display: block;
    z-index: 0;
}

/* 6 Years Story Section */
.story-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    position: relative;
}

.image-frame {
    width: 100%;
    height: 450px;
    background: var(--bg-light);
    border-radius: 30px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.image-frame:hover .story-main-img {
    transform: scale(1.05);
}

.frame-border {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px dashed var(--gold-color);
    border-radius: 30px;
    z-index: 0;
}





.experience-badge {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 280px; /* Increased size to fit the wide image */
    z-index: 2;
}

.six-years-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

/* Journey Timeline */
.journey-timeline {
    position: relative;
    margin-top: 30px;
    padding-right: 20px;
    border-right: 2px dashed rgba(11, 155, 217, 0.2);
}

.journey-item {
    position: relative;
    margin-bottom: 40px;
    padding-right: 40px;
}

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

.journey-icon {
    position: absolute;
    right: -31px;
    top: 0;
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    z-index: 1;
    transition: var(--transition);
}

.journey-item:hover .journey-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.journey-date {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--gold-dark);
    margin-bottom: 5px;
}

.journey-info h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.journey-info p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .journey-timeline {
        padding-right: 15px;
    }
    .journey-item {
        padding-right: 30px;
    }
    .journey-icon {
        width: 50px;
        height: 50px;
        right: -26px;
        font-size: 1.2rem;
    }
}


/* Vision & Goals Section */
.vision-goals-section {
    padding: 80px 0;
}

.vision-goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vg-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 30px;
    align-items: flex-start;
    transition: var(--transition);
}

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

.vg-icon {
    width: 70px;
    height: 70px;
    background: var(--gold-gradient);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.vg-content h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.vg-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .vision-goals-grid {
        grid-template-columns: 1fr;
    }
    .vg-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Impact Infographic Section */
.impact-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-box {
    background: var(--bg-white);
    padding: 40px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

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

.stat-box:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 74, 173, 0.05);
    color: var(--primary-color);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
    position: relative;
}

.stat-icon-wrapper i {
    font-size: 1.8rem;
    line-height: 1;
}

.pulse-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    animation: pulseEffect 2s infinite;
}

@keyframes pulseEffect {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.stat-box:hover .stat-icon-wrapper {
    background: var(--primary-color);
    color: white;
}

.counter {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 900;
}

/* Initiatives Section */
.initiatives-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

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

.card-img {
    height: 220px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
}

.card-icon i {
    font-size: 3.5rem;
    z-index: 1;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
    transition: transform 0.5s ease;
}

.card:hover .card-icon i {
    transform: scale(1.2);
}

.card-content {
    padding: 35px 30px;
}

.card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.card p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 800;
    gap: 8px;
    transition: var(--transition);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.card-link .arrow {
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.card-link:hover .arrow {
    transform: translateX(-8px);
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.project-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.project-card:hover {
    background: white;
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-color);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover .project-icon {
    background: var(--gold-gradient);
    color: white;
    transform: rotateY(360deg);
}

.project-card h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

/* Camps Section */
.camps-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at top right, rgba(11, 155, 217, 0.08), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

.camp-overview-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.overview-pill {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.overview-pill strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.overview-pill span {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.foundation-stats-panel {
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 255, 0.94)),
        radial-gradient(circle at 8% 8%, rgba(238, 185, 93, 0.18), transparent 30%);
    border: 1px solid rgba(11, 155, 217, 0.12);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.foundation-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.foundation-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.foundation-stat-item span {
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.5;
}

.foundation-stat-item small {
    display: block;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
}

.foundation-stat-item strong {
    flex: 0 0 auto;
    min-width: 56px;
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-weight: 900;
    text-align: left;
}

.foundation-stat-item.no-number {
    justify-content: center;
    background: linear-gradient(135deg, rgba(11, 155, 217, 0.1), rgba(238, 185, 93, 0.12));
}

.foundation-stat-item.no-number span {
    color: var(--primary-dark);
    text-align: center;
}

.camps-total-impact {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 255, 0.94)),
        radial-gradient(circle at 10% 10%, rgba(238, 185, 93, 0.2), transparent 28%);
    border: 1px solid rgba(11, 155, 217, 0.12);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.camps-total-impact::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: linear-gradient(180deg, var(--primary-color), var(--gold-color));
}

.total-impact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.total-impact-head h4 {
    color: var(--primary-dark);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin: 0;
}

.total-impact-head strong {
    color: var(--primary-dark);
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.total-impact-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.total-impact-card {
    min-height: 142px;
    padding: 18px 14px;
    background: white;
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.total-impact-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--gold-color));
    border-radius: 14px;
}

.total-impact-card strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.55rem;
    line-height: 1;
    margin-bottom: 8px;
}

.total-impact-card span {
    display: block;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
}

.total-impact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 18px;
    color: white;
    background: var(--primary-color);
    border-radius: 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(11, 155, 217, 0.22);
    transition: var(--transition);
}

.total-impact-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.camps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.camps-directory {
    margin-top: 52px;
}

.camps-directory .camps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.camp-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.camp-card-banner {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.camp-card-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.35), transparent 30%),
        linear-gradient(145deg, rgba(255,255,255,0.16), transparent 55%);
    pointer-events: none;
}

.camp-card-logo {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.16);
    margin-bottom: 20px;
}

.camp-card-banner h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.camp-card-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.camp-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.camp-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.camp-meta-chip {
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 700;
}

.camp-stats-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.camp-stat-mini {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 18px;
    padding: 14px 12px;
}

.camp-stat-mini strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.camp-stat-mini span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
}

.camp-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.camp-date-label {
    color: var(--gold-dark);
    font-weight: 800;
    font-size: 0.92rem;
}

.camp-open-btn {
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 999px;
    padding: 10px 16px;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.camp-open-btn:hover {
    background: var(--primary-dark);
}

.camp-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000;
}

.camp-modal.is-open {
    display: block;
}

.camp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 36, 0.55);
    backdrop-filter: blur(8px);
}

.camp-modal-dialog {
    position: relative;
    width: min(980px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    margin: 24px auto;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    padding: 26px;
}

.camp-modal-close {
    position: sticky;
    top: 0;
    margin-inline-start: auto;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #eef5fb;
    color: var(--primary-dark);
    cursor: pointer;
    z-index: 2;
}

.camp-modal-hero {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 22px;
}

.camp-modal-logo {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.camp-modal-headline h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.camp-modal-headline p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.camp-modal-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.camp-meta-box {
    background: #f7fbff;
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 20px;
    padding: 16px;
}

.camp-meta-box span {
    display: block;
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.camp-meta-box strong {
    color: var(--primary-dark);
    font-size: 1rem;
}

.camp-modal-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

.camp-gallery-wrap,
.camp-stats-wrap {
    background: #fbfdff;
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 24px;
    padding: 20px;
}

.camp-gallery-wrap h4,
.camp-stats-wrap h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.camp-modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.camp-gallery-item {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eaf2fa;
}

.camp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.camp-modal-stats {
    display: grid;
    gap: 12px;
}

.camp-stat-card {
    background: white;
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.camp-stat-card span {
    color: var(--text-light);
    font-weight: 700;
}

.camp-stat-card strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.camps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.camp-logo-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 26px;
    padding: 22px 16px 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 190px;
    text-align: center;
    transition: var(--transition);
}

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

.camp-logo-card-badge {
    width: 88px;
    height: 88px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.14);
}

.camp-logo-card-body {
    display: grid;
    gap: 6px;
}

.camp-logo-card-title {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.camp-logo-card-period {
    color: var(--text-light);
    font-size: 0.92rem;
    font-weight: 700;
}

.camp-page-body {
    background:
        radial-gradient(circle at top right, rgba(11, 155, 217, 0.1), transparent 25%),
        linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

.camp-page {
    min-height: 100vh;
}

.camp-page-shell {
    padding: 48px 0 80px;
}

.camp-page-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 24px;
}

.camp-page-hero {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 32px;
    padding: 34px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 220px;
    gap: 28px;
    align-items: center;
    margin-bottom: 26px;
}

.camp-page-summary {
    color: var(--text-light);
    font-size: 1.08rem;
    max-width: 760px;
    margin-bottom: 22px;
}

.camp-page-logo-wrap {
    display: flex;
    justify-content: center;
}

.camp-page-logo {
    width: 180px;
    aspect-ratio: 1 / 1;
    border-radius: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: var(--shadow-lg);
}

.camp-page-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.camp-page-meta-card {
    background: #f7fbff;
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 20px;
    padding: 16px 18px;
}

.camp-page-meta-card span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.camp-page-meta-card strong {
    color: var(--primary-dark);
    font-size: 1rem;
}

.camp-page-sections {
    display: grid;
    gap: 22px;
}

.camp-video-only {
    max-width: 920px;
    margin: 0 auto;
}

.camp-video-title {
    text-align: center;
    margin-bottom: 24px;
}

.camp-video-only .camp-page-panel {
    padding: 18px;
}

.camp-page-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.camp-page-panel-head {
    margin-bottom: 18px;
}

.camp-page-panel-head h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.camp-page-panel-head p {
    color: var(--text-light);
}

.camp-page-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.camp-page-gallery-item {
    border-radius: 22px;
    overflow: hidden;
    background: #eaf2fa;
    aspect-ratio: 1 / 1;
}

.camp-page-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.camp-page-video {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #0b1120;
    aspect-ratio: 16 / 9;
}

.camp-page-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.camp-page-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.camp-page-stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 20px;
    padding: 18px 16px;
    text-align: center;
}

.camp-page-stat-card span {
    display: block;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 8px;
}

.camp-page-stat-card strong {
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.camp-page-empty {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 155, 217, 0.08);
    border-radius: 32px;
    padding: 44px 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.camp-page-empty-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(11, 155, 217, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
    animation: panBackground 20s linear infinite;
}

@keyframes panBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

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

.celebration-tag.light {
    background: rgba(255,255,255,0.2);
    color: white;
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
}

.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background-color: #0b1120;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 25px;
}

.footer-brand p {
    color: #9ca3af;
    max-width: 350px;
    font-size: 1.1rem;
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    color: white;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 15px;
}

.footer ul a {
    color: #9ca3af;
    transition: var(--transition);
    font-weight: 600;
}

.footer ul a:hover {
    color: var(--gold-color);
    padding-right: 10px;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 16px;
    border: 1px solid rgba(238, 185, 93, 0.35);
    border-radius: 999px;
    color: white !important;
    letter-spacing: 1px;
    background: rgba(238, 185, 93, 0.08);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
    color: white;
}

.social-links a i {
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold-gradient);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(238, 185, 93, 0.22);
}

.social-links a:hover i {
    color: white;
}

.footer-page-link {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: var(--gold-color);
    font-weight: 700;
    transition: var(--transition);
}

.footer-page-link:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Animations & Utilities */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-in {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-graphic {
        height: 450px;
    }
    .story-grid {
        grid-template-columns: 1fr;
    }
    .story-image {
        order: -1;
        margin-bottom: 40px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .camps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .camp-page-hero {
        grid-template-columns: 1fr;
    }
    .camp-page-logo-wrap {
        justify-content: flex-start;
    }
    .camp-page-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .camp-page-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    body {
        background: var(--bg-light);
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    section {
        padding: 64px 0 !important;
        overflow: hidden;
    }

    .container {
        padding: 0 14px;
    }

    .hero-banner-section {
        padding: 0 !important;
        background: #004aad;
    }

    .main-banner-img {
        width: 100%;
        height: auto;
        border-bottom-left-radius: 28px;
        border-bottom-right-radius: 28px;
    }

    .section-header {
        margin-bottom: 26px;
    }

    .section-tag {
        margin-bottom: 12px;
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.98rem;
        line-height: 1.85;
        margin-bottom: 0;
    }

    .story-section,
    .vision-goals-section,
    .impact-section,
    .projects-section,
    .map-section,
    .contact-section,
    .celebrate-section {
        background: transparent;
    }

    .story-grid,
    .vision-goals-grid,
    .contact-grid,
    .tool-layout,
    .map-layout {
        gap: 22px !important;
        min-width: 0;
        max-width: 100%;
    }

    .container,
    .story-image,
    .preview-side,
    .instructions-side,
    .avatar-tool-container,
    .map-container,
    .contact-info,
    .contact-form-wrapper,
    .footer-content {
        min-width: 0;
        max-width: 100%;
    }

    .story-image {
        margin-bottom: 0;
        padding-bottom: 48px;
    }

    .story-main-img {
        border-radius: 24px;
        min-height: 300px;
        object-fit: cover;
    }

    .frame-border {
        top: 10px;
        left: 0;
        width: calc(100% - 8px);
        height: calc(100% - 8px);
        border-radius: 24px;
    }

    .experience-badge {
        width: 155px;
        bottom: 0;
        right: 0;
    }

    .journey-timeline {
        padding-right: 14px;
    }

    .journey-item {
        margin-bottom: 28px;
        padding-right: 32px;
    }

    .journey-info h4 {
        font-size: 1.08rem;
        line-height: 1.6;
    }

    .journey-info p {
        font-size: 0.94rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 24px;
    }

    .stat-box {
        padding: 22px 14px;
        border-radius: 22px;
        box-shadow: var(--shadow-md);
    }

    .stat-icon-wrapper {
        width: 58px;
        height: 58px;
        margin-bottom: 14px;
    }

    .counter {
        font-size: 1.9rem;
    }

    .stat-box p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .vision-goals-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .camp-overview-strip,
    .camp-modal-meta,
    .camp-modal-content,
    .camp-modal-gallery,
    .camp-page-meta,
    .camp-page-gallery,
    .camp-page-stats {
        grid-template-columns: 1fr;
    }

    .camp-overview-strip {
        gap: 12px;
        margin-bottom: 20px;
    }

    .camp-logo-card {
        min-height: 160px;
        border-radius: 22px;
        padding: 18px 14px 16px;
    }

    .camp-logo-card-badge {
        width: 76px;
        height: 76px;
        border-radius: 26px;
        font-size: 1.45rem;
    }

    .camps-directory .camps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .camps-directory .camp-logo-card {
        min-height: 120px;
        padding: 12px 8px;
        border-radius: 16px;
        gap: 9px;
    }

    .camps-directory .camp-logo-card-badge {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1rem;
    }

    .camps-directory .camp-logo-card-title {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .camps-directory .camp-logo-card-period {
        font-size: 0.68rem;
        line-height: 1.4;
    }

    .overview-pill,
    .camp-card,
    .camp-gallery-wrap,
    .camp-stats-wrap {
        border-radius: 22px;
    }

    .camp-card-banner {
        padding: 18px;
    }

    .camp-card-banner h4 {
        font-size: 1.24rem;
    }

    .camp-card-body {
        padding: 18px;
    }

    .camp-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .camp-open-btn {
        width: 100%;
    }

    .camp-modal-dialog {
        width: calc(100% - 18px);
        max-height: calc(100vh - 18px);
        margin: 9px auto;
        padding: 18px;
        border-radius: 24px;
    }

    .camp-modal-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .camp-modal-logo {
        width: 76px;
        height: 76px;
        border-radius: 24px;
        font-size: 1.5rem;
    }

    .camp-modal-headline h3 {
        font-size: 1.5rem;
    }

    .camp-modal-headline p {
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .camp-page-shell {
        padding: 26px 0 56px;
    }

    .camp-page-hero,
    .camp-page-panel,
    .camp-page-empty {
        border-radius: 24px;
        padding: 22px 18px;
    }

    .camp-page-logo-wrap {
        justify-content: center;
    }

    .camp-page-logo {
        width: 132px;
        border-radius: 32px;
        font-size: 2.4rem;
    }

    .camp-page-summary {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .vg-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 18px;
        text-align: right;
        border-radius: 22px;
    }

    .vg-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 1.1rem;
    }

    .vg-content h3 {
        font-size: 1.12rem;
        margin-bottom: 8px;
    }

    .vg-content p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 24px;
    }

    .project-card {
        min-height: 128px;
        padding: 18px 10px;
        border-radius: 20px;
        gap: 10px;
        box-shadow: var(--shadow-sm);
        min-width: 0;
    }

    .project-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .project-card h4 {
        font-size: 0.82rem;
        line-height: 1.65;
    }

    .avatar-tool-container,
    .map-container,
    .contact-info,
    .contact-form-wrapper {
        border-radius: 24px;
        box-shadow: var(--shadow-md);
    }

    .avatar-tool-container {
        background: transparent;
        box-shadow: none;
        padding: 0;
        overflow: visible;
    }

    .tool-layout {
        grid-template-columns: 1fr !important;
        align-items: start;
        width: 100%;
    }

    .preview-side {
        gap: 18px;
        width: 100%;
        overflow: visible;
        align-items: center;
    }

    .avatar-preview-wrapper {
        width: min(100%, 310px) !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
        border-radius: 24px;
        max-width: 100%;
        background: #eef1f7;
        padding: 10px;
        border: 1px solid rgba(0, 74, 173, 0.08);
        box-shadow: var(--shadow-md);
    }

    .zoom-control {
        width: min(100%, 310px);
        padding: 12px 16px;
        border-radius: 18px;
    }

    .tool-actions {
        width: min(100%, 310px);
        display: grid;
        gap: 12px;
    }

    .instructions-side {
        order: 1;
        background: white;
        width: 100%;
        max-width: none;
        padding: 26px 22px;
        border-radius: 22px;
        box-shadow: var(--shadow-sm);
    }

    .instructions-side h4 {
        font-size: 1.5rem;
        margin-bottom: 22px;
        text-align: right !important;
    }

    .instructions-top {
        margin-bottom: 18px;
    }

    .steps-list {
        width: 100%;
    }

    .steps-list li {
        align-items: flex-start !important;
        gap: 14px !important;
        margin-bottom: 14px;
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .frame-tip {
        margin-top: 14px;
        padding: 14px 14px;
        align-items: flex-start;
    }

    .map-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
    }

    .map-container {
        width: 100% !important;
        padding: 12px !important;
    }

    .egypt-map-wrapper {
        border-radius: 18px;
    }

    .map-point {
        width: 14px;
        height: 14px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-info {
        background: white;
        color: var(--text-dark);
        padding: 24px 18px;
        text-align: center;
    }

    .contact-info h3 {
        color: var(--primary-color);
        font-size: 1.45rem;
        margin-bottom: 12px;
    }

    .contact-item {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 22px;
        text-align: center;
    }

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

    .contact-form-wrapper {
        padding: 24px 18px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 15px;
        border-radius: 14px;
    }

    .btn {
        width: 100% !important;
        min-height: 52px;
        padding: 14px 18px;
        font-size: 0.98rem;
        border-radius: 999px;
    }

    .footer {
        padding: 56px 0 18px;
        border-top-left-radius: 28px;
        border-top-right-radius: 28px;
        overflow: hidden;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
        margin-bottom: 32px;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p,
    .footer-contact p {
        max-width: none;
        font-size: 0.95rem;
    }

    .footer h4::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 0.82rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .projects-grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .project-card {
        min-height: 118px;
        padding: 16px 8px;
    }

    .project-card h4 {
        font-size: 0.78rem;
    }

    .avatar-tool-container,
    .instructions-side,
    .contact-info,
    .contact-form-wrapper {
        border-radius: 20px;
    }

    .avatar-preview-wrapper {
        width: min(100%, 286px) !important;
    }

    .zoom-control {
        padding: 10px 14px;
    }
}
/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    color: white;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon i {
    font-size: 1.3rem;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

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

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

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

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(11, 155, 217, 0.1);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Celebrate Section (Avatar Tool) */
.celebrate-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.avatar-tool-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tool-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.preview-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.instructions-top {
    margin-bottom: 24px;
}

.avatar-preview-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    overflow: hidden;
    cursor: move;
    touch-action: none;
}

#user-image-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: none;
    display: none;
    z-index: 1;
    pointer-events: none;
}

.frame-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
}

.zoom-control input {
    flex: 1;
    cursor: pointer;
}

.instructions-side h4 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.steps-list {
    list-style: none;
}

.steps-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.steps-list li span {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.frame-tip {
    margin-top: 30px;
    padding: 20px;
    background: rgba(238, 185, 93, 0.1);
    border-right: 4px solid var(--gold-color);
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
    color: var(--gold-dark);
    font-weight: 600;
}

.tool-layout .instructions-side {
    display: none;
}

/* Animations */
.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
}

.visible.fade-up {
    opacity: 1;
    transform: translateY(0);
}
/* Zakat Calculator Styles */
.zakat-calculator-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.calc-tabs {
    display: flex;
    background: var(--bg-light);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    border-bottom: 3px solid transparent;
}

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

.calc-content {
    padding: 40px;
}

.tab-content {
    display: none;
}

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

.calc-result {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.result-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.result-box span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.result-box h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin: 10px 0;
}

/* Map Section Styles */
.map-section {
    padding: 100px 0;
}

.map-layout {
    display: block;
}

.map-container {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 860px;
    margin: 0 auto;
}

.egypt-map-wrapper {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.base-map-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
}

.map-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 8px rgba(11, 155, 217, 0.6);
    z-index: 5;
}

.map-point:hover {
    transform: scale(1.5);
    background: var(--gold-color);
    z-index: 10;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top.visible {
    display: flex;
    animation: btnFadeIn 0.3s ease-in;
}

@keyframes btnFadeIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 1024px) {
    .foundation-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .total-impact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .foundation-stats-panel {
        padding: 16px;
        border-radius: 22px;
    }

    .foundation-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .foundation-stat-item {
        min-height: 68px;
        padding: 12px;
    }

    .foundation-stat-item strong {
        min-width: auto;
        font-size: 1.18rem;
    }

    .camps-total-impact {
        padding: 20px;
        border-radius: 22px;
    }

    .total-impact-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .total-impact-head strong {
        font-size: 3rem;
        white-space: normal;
    }

    .total-impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .foundation-stats-grid {
        grid-template-columns: 1fr;
    }

    .total-impact-grid {
        grid-template-columns: 1fr;
    }

    .total-impact-card {
        min-height: auto;
    }

    .total-impact-link {
        width: 100%;
    }
}
