/* ==============================
HOME PAGE
============================== */

/* === Variables === */
:root {
    --color-primary: #2a2e60;
    --color-secondary: #35C4F5;
    --color-dark: #1a1a1a;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* ==============================
   HERO BANNER SECTION
   ============================== */

.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/Charity_Support.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
    color: var(--color-white);
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-home {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
}

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

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

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

.btn-home-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
}

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

.btn-home-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    color: var(--color-white);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-white);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg);
    margin: 0 auto;
}

/* ==============================
   SECTION HEADERS
   ============================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-dark);
    margin-bottom: 1rem;
}

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

/* ==============================
   QUICK INFO CARDS
   ============================== */

.quick-info {
    padding-top: 2rem;
    padding-bottom: 0.5rem; 
    background: var(--color-light);
}

.info-section {
    padding: 100px 0;
    background: var(--color-light);
}

.info-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 80px;
}

.info-block {
    background: var(--color-white);
    padding: 36px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.info-block:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(53, 196, 245, 0.2);
}

.info-block--highlight {
    background: var(--color-primary);
}

.info-block--highlight .info-block__icon,
.info-block--highlight .info-block__title,
.info-block--highlight .info-block__text {
    color: var(--color-white);
}

.info-block__icon {
    width: 48px;
    height: 48px;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.info-block__icon svg {
    width: 100%;
    height: 100%;
}

.info-block__title {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin: 0 0 12px;
    font-weight: 700;
}

.info-block__text {
    color: #665;
    line-height: 1.7;
    font-size: 1rem;
}

/* ==============================
   CTA SECTION
   ============================== */

.cta-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content {
    color: var(--color-dark);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    line-height: 1.7;
}

.cta-content .mission-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.cta-image {
    width: 100%;
    height: auto;
}

.cta-image img {
    width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ==============================
   MISSION HIGHLIGHT SECTION
   ============================== */

.mission-highlight {
    position: relative;
    padding: 8rem 0;
    background-image: 
        url('..//images/chubabria.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
}

.mission-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 136, 185, 0.7) 0%, rgba(136, 198, 234, 0.7) 80%);
}

.mission-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.mission-label {
    display: inline-block;
    color: var(--color-white);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.mission-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--color-white);
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* ==============================
   SUPPORT SECTION
   ============================== */

.support-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: var(--color-light);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.support-card:hover {
    border-color: var(--ast-global-color-1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.support-card p {
    color: var(--color-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* ==============================
   FLOATING DONATE BUTTON
   ============================== */

.floating-donate-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-donate-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-donate-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: var(--color-white);
}

/* Accessibility */
.floating-donate-btn:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

#ast-scroll-top {
    display: none !important;
}

/* ==============================
   ANIMATIONS
   ============================== */

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */

@media (max-width: 1024px) {
        .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-section__grid {
        grid-template-columns: repeat(2, 1fr); /* 3 → 2 */
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .hero-banner {
        height: 90vh;
        min-height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cards-grid,
    .support-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-highlight {
        padding: 5rem 0;
        text-align: center;
    }
    
    .mission-content {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-scroll {
        bottom: 2rem;
    }
    .floating-donate-btn {
        width: 85px;
        height: 85px;
        bottom: 20px;
        right: 20px;
        font-size: 0.95rem;
    }

     .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cta-content {
        text-align: center;
        order: 2;
    }

    .cta-image {
        order: 1;
    }

    .cta-image img {
        min-height: 350px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-image img {
        min-height: 250px;
    }

    .quick-info {
        padding-top: 1.5rem;
        padding-bottom: 0.5rem;
    }
        .info-section__grid {
        grid-template-columns: 1fr; /* 2 → 1 */
        gap: 20px;
    }

    .info-section {
        padding: 60px 0;
    }

    .info-block {
        padding: 28px 24px;
    }

    .support-grid {
        grid-template-columns: repeat(2, 1fr); /* 4 → 2 */
    }

    .support-card {
        padding: 2rem 1.5rem;
    }
    
    .hero-banner {
        background-attachment: scroll;
    }
    .mission-highlight {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .quick-info,
    .support-section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

     .cta-image img {
        min-height: 180px;
    }

    .quick-info {
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }
        .info-section__grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr; /* 2 → 1 */
        gap: 1.5rem;
    }

    .support-card {
        padding: 1.8rem 1.2rem;
    }

    .support-icon {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .mission-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
}

@media print {
    .floating-donate-btn {
        display: none;
    }
}