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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Header */
.site-header {
    background: rgba(0, 0, 0, 0.9);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
    text-transform: capitalize;
}

.menu-item > a:hover {
    color: var(--color-secondary, #0892D0);
}

.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

.eyebrow-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-secondary, #0892D0);
}

.eyebrow-label::before {
    content: '';
    width: 16px;
    height: 2px;
    background: currentColor;
    opacity: 0.5;
}

.eyebrow-label.eyebrow-inverse {
    color: rgba(255, 255, 255, 0.75);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--color-secondary, #0892D0);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(8, 146, 208, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(8, 146, 208, 0.45);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    list-style: none;
    padding: 1rem 0;
    margin: 0.5rem 0 0 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    padding: 0;
}

.sub-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sub-menu li a:hover {
    background: rgba(8, 146, 208, 0.18);
    color: var(--color-secondary, #0892D0);
}

.header-actions .donate-btn {
    background: var(--color-secondary, #0892D0);
    color: #ffffff;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.header-actions .donate-btn:hover {
    background: var(--color-secondary, #0892D0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 64, 101, 0.4);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* WordPress-style gradient text */
.gradient-text {
    background: linear-gradient(135deg, #0892D0 0%, #0C4065 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    animation: fadeIn 1s ease-in;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.arabic-logo {
    width: 100%;
    max-width: 450px;
    transition: transform 0.5s ease;
}

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

.arabic-img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-card {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    max-width: 500px;
    transition: all 0.4s ease;
}

.hero-card:hover {
    border-color: rgba(8, 146, 208, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(8, 146, 208, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0892D0;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.hero-card:hover .hero-title {
    color: #0892D0;
    text-shadow: 0 0 25px rgba(8, 146, 208, 0.6);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-subtitle::first-line {
    font-weight: 700;
}

.hero-text {
    color: #d0d0d0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.learn-more-btn {
    background: var(--color-primary, #0C4065);
    color: #ffffff;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.learn-more-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;
}

.learn-more-btn:hover::before {
    width: 300px;
    height: 300px;
}

.learn-more-btn:hover {
    background: var(--color-secondary, #0892D0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 146, 208, 0.4);
}

/* Impact Section */
.impact-section {
    padding: 4rem 2rem;
    background: #1a1a1a;
    position: relative;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(8, 146, 208, 0.5), transparent);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.impact-left,
.impact-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    animation: fadeInLeft 0.8s ease-out;
}

.title-green {
    color: #0892D0;
    display: block;
    transition: all 0.3s ease;
}

.section-title:hover .title-green {
    color: #0892D0;
    text-shadow: 0 0 20px rgba(8, 146, 208, 0.5);
    transform: translateX(10px);
}

.title-white {
    color: #ffffff;
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.section-title:hover .title-white {
    transform: translateX(10px);
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    overflow: hidden;
    border-radius: 8px;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    padding: 1.5rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.image-container:hover .hero-text-overlay {
    background: rgba(0, 0, 0, 0.85);
}

.hero-text-overlay p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

.highlight {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero-text-overlay:hover .highlight {
    color: #0892D0;
}

.impact-header {
    margin-bottom: 1rem;
}

.impact-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #b0b0b0;
    letter-spacing: 0.05em;
    animation: fadeIn 1s ease-out 0.5s both;
}

.milestones {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.milestone-card {
    background: rgba(8, 146, 208, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(8, 146, 208, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.milestone-card:nth-child(1) { animation-delay: 0.1s; }
.milestone-card:nth-child(2) { animation-delay: 0.2s; }
.milestone-card:nth-child(3) { animation-delay: 0.3s; }
.milestone-card:nth-child(4) { animation-delay: 0.4s; }
.milestone-card:nth-child(5) { animation-delay: 0.5s; }

.milestone-card:hover {
    background: rgba(8, 146, 208, 0.25);
    transform: translateX(10px) translateY(-5px);
    border-color: rgba(8, 146, 208, 0.6);
    box-shadow: 0 10px 30px rgba(8, 146, 208, 0.3);
}

.icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(8, 146, 208, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: all 0.4s ease;
}

.milestone-card:hover .icon-wrapper {
    background: rgba(8, 146, 208, 0.4);
    transform: rotate(360deg) scale(1.1);
}

.icon {
    width: 100%;
    height: 100%;
    color: #0892D0;
    transition: color 0.3s ease;
}

.milestone-card:hover .icon {
    color: #ffffff;
}

.milestone-content h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.milestone-content p {
    color: #d0d0d0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-navigation .footer-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.footer-navigation .menu-item {
    position: relative;
}

.footer-navigation .menu-item > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-navigation .menu-item > a:hover {
    color: #0892D0;
}

.footer-navigation .sub-menu {
    list-style: none;
    padding: 0.5rem 0 0 1rem;
    margin: 0;
}

.footer-navigation .sub-menu li {
    margin: 0.5rem 0;
}

.footer-navigation .sub-menu a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-navigation .sub-menu a:hover {
    color: #0892D0;
}

.footer-social h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(8, 146, 208, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0892D0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0892D0;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin: 0;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-btn {
    background: #ffffff;
    color: #2a2a2a;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Glow Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(8, 146, 208, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(8, 146, 208, 0.8), 0 0 30px rgba(8, 146, 208, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .hero-title {
        font-size: 3rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    /* Show mobile menu toggle on tablets and mobile */
    .mobile-menu-toggle {
        display: flex;
        order: 4;
        margin-left: 1rem;
    }

    .header-container {
        position: relative;
    }

    .header-logo {
        order: 1;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        order: 2;
    }

    .main-navigation.active {
        opacity: 1;
        visibility: visible;
    }

    .main-menu {
        flex-direction: column;
        gap: 0;
        text-align: center;
        width: 100%;
        max-width: 400px;
        padding: 2rem;
    }

    .menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item > a {
        display: block;
        padding: 1.25rem 1rem;
        font-size: 1.1rem;
    }

    .menu-item-has-children > a::after {
        content: ' ▾';
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(8, 146, 208, 0.1);
        margin: 0;
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-item-has-children.active .sub-menu {
        max-height: 500px;
    }

    .sub-menu li a {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .header-actions {
        order: 3;
        margin-left: auto;
    }

    .header-actions .donate-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 0;
    }

    .header-container {
        padding: 0 1rem;
    }

    .header-logo img {
        height: 40px;
    }

    .header-actions .donate-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero-card {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

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

    .impact-section {
        padding: 2rem 1rem;
    }

    .hero-text-overlay {
        padding: 1rem;
    }

    .hero-text-overlay p {
        font-size: 0.8rem;
    }

    .milestone-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-navigation .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .impact-subtitle {
        font-size: 0.75rem;
    }

    .milestone-content h3 {
        font-size: 0.9rem;
    }

    .milestone-content p {
        font-size: 0.85rem;
    }

    .top-banner {
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}
