@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html
{
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    background-color: #f5f5f5;
     font-family: 'Poppins', sans-serif;
    
}

/* Navigation Styles */
nav {
    background:#8b1a28;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    padding: 0.8rem 2rem;
    height: 70px; /* Fixed height helps stability */
    width: 100%;
     
}


.logo {
    display: flex;
    align-items: center;
    z-index: 20; /* Ensure logo stays above mobile menu */
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.logo h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-left: 1.rem;
    white-space: nowrap;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    margin-left: 2rem;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.hero {
    background-color:#C85A00;
    padding: 0.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 100%;
    box-sizing: border-box;
}

.hero h1 {
    font-size: clamp(1.1rem, 2.2vw, 1.8rem);
    margin: 0;
    padding: 0 1rem;
    line-height: 1.5;
    color: white;
    font-weight: 600;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

/* Desktop - keep on one line if possible */
@media (min-width: 1400px) {
    .hero {
        padding: 2.5rem 2rem;
    }
    
    .hero h1 {
        font-size: 1.9rem;
        max-width: 1600px;
    }
}

/* Laptop/Tablet landscape */
@media (max-width: 1199px) {
    .hero {
        padding: 2rem 1.5rem;
    }
    
    .hero h1 {
        font-size: clamp(1rem, 2.5vw, 1.6rem);
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .hero {
        padding: 1.75rem 1rem;
        min-height: 100px;
    }
    
    .hero h1 {
        font-size: clamp(0.95rem, 3.5vw, 1.4rem);
        padding: 0 0.75rem;
        line-height: 1.4;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0.75rem;
        min-height: 90px;
    }
    
    .hero h1 {
        font-size: clamp(0.85rem, 4.5vw, 1.1rem);
        padding: 0 0.5rem;
        line-height: 1.35;
    }
}

/* Extra large screens - single line */
@media (min-width: 1788px) {
    .hero h1 {
        font-size: 2rem;
        white-space: nowrap;
    }
}




/* =========================================
   DESKTOP STYLES (Min-width: 769px)
   ========================================= */
@media (min-width: 769px) {
    /* 1. The wrapper (.nav-center) becomes static so its children 
          can position themselves relative to the main <nav> 
    */
    .nav-center {
        display: contents; /* Removes this container from formatting effectively */
    }

    /* Hide mobile menu on desktop */
    .mobile-menu {
        display: none;
    }

    /* 2. Centering the Links:
       We use absolute positioning to ignore the logo's width 
       and place links exactly in the center of the navbar.
    */
    .nav-links {
        display: flex;
        gap: 2rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 15;
    }

    .nav-links a {
        text-decoration: none;
        color: white;
        font-weight: 500;
        transition: color 0.3s;
        position: relative;
    }

    .nav-links a:hover {
        color:rgba(255, 255, 255, 0.774);
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color:#8b1a28;
        transition: width 0.3s;
    }

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

    /* 3. Positioning Auth Buttons:
       Pinned to the far right.
    */
    .nav-auth {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        position: absolute;
        right: 6rem;
        z-index: 15;
    }

    .nav-auth a {
        text-decoration: none;
        color:white;
        font-weight: 500;
        transition: color 0.3s;
        
    }
    .regBtn {
        display: inline-flex;
        align-items: center;
        background: #ffffff;
        color: #000000 !important;
        text-decoration: none;
        border: none;
        border-radius: 25px;
        padding: 8px 20px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .regBtn b {
        color: #000000;
    }

.regBtn:hover {
    background: #f2f2f2;
    color: #000000;
    transform: translateY(-1px);
}


}

/* =========================================
   MOBILE STYLES (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .hamburger-menu {
        display: flex;
    }

    /* Hide desktop navigation on mobile */
    .nav-links,
    .nav-auth {
        display: none !important;
    }

    /* Show and style mobile menu container */
    .nav-center {
        display: block;
    }

    /* Half-Screen Menu Container */
    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 50%;
        height: 100vh;
        background-color: white;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    /* When Menu is Active */
    .nav-center.active .mobile-menu {
        transform: translateX(0);
    }

    /* Menu Header with Close Button */
    .menu-header {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .menu-close {
        background: none;
        border: none;
        font-size: 2.5rem;
        color: #333;
        cursor: pointer;
        padding: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.3s ease;
    }

    .menu-close:hover {
        color: #C85A00;
    }

    /* Menu Items Container */
    .menu-items {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    /* Individual Menu Items */
    .menu-item {
        display: flex;
        align-items: center;
        padding: 20px 25px;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        font-size: 1rem;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s, color 0.2s, border-left 0.2s;
        border-left: 4px solid transparent;
    }

    .menu-item i {
        margin-right: 15px;
        width: 24px;
        text-align: center;
        font-size: 1.2rem;
        color: #C85A00;
    }

    .menu-item:hover {
        background-color: #f8f9fa;
        color: #8b1a28;
    }

    .menu-item.active {
        background-color: #f0f0f0;
        color: #8b1a28;
        border-left-color:#8b1a28;
    }

    /* Menu Divider */
    .menu-divider {
        height: 1px;
        background-color: #e0e0e0;
        margin: 10px 0;
    }

    /* Auth Items (Login & Register) */
    .auth-item {
        margin-top: auto;
        padding: 18px 25px;
        border-top: 1px solid #e0e0e0;
        border-bottom: none;
    }

    .login-item {
        color: #333;
        background-color: transparent;
    }

    .login-item:hover {
        background-color: #f8f9fa;
        color: #C85A00;
    }

    .register-item {
        background-color:#8b1a28;
        color: #333;
        border-bottom: none;
        border-left: none;
    }

    .register-item:hover {
        background-color:#8b1a28;
        color: #fff;
    }

    .register-item i {
        color: #333;
    }

    /* Menu Backdrop Overlay */
    .menu-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .menu-backdrop.active {
        display: block;
        opacity: 1;
    }
}
/* --*/
/* Add to your existing welcome.css */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    margin-top: 2rem;
}

/* Welcome Section */
.welcome-section {
    padding: 4rem 0;
    /* ensure correct file extension and path */
    .about-grantee-copy h2,
   background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;    /* make sure the image always spans the full width without cropping
       the sides: set width to 100% and let height scale automatically */
 
    /* remove fixed attachment for more predictable scaling on mobile */
    background-attachment: scroll;
    background-color: #f5f5f5;
    text-align: center;
    position: relative;
    min-height: 570px;
    
}

/* Welcome Section */
.welcome-section {
    padding: 4rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: #f5f5f5;
    text-align: center;
    position: relative;
    min-height: 570px;
    animation: slideBackground 15s ease-in-out infinite;
    
}

.welcome-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
}

@keyframes slideBackground {
    0%, 33.33% {
        background-image: url('../images/backgroundepotangina.jpg');
    }
    33.34%, 66.66% {
           background-image: url('../images/bg3.jfif');
    }
    66.67%, 100% {
             background-image: url('../images/backgroundepotangina.jpg');
    }
}


.welcome-section .container {
    position: relative;
    z-index: 2;
}

.welcome-content h2 {
    font-size: 2.3rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.welcome-content p {
    font-size: 1.1rem;
    color: white;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color:#8b1a28;
    color: #fff;
    border-radius: 25px;
}

.btn-primary:hover {
      background-color:#701923;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #333;
    color: white;
}

.btn-secondary:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: white;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 3.25rem 0;
    background-color: #f8f9fa;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.how-it-works .section-subtitle {
    margin-bottom: 1.6rem;
}

.application-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.application-step {
    min-width: 0;
    text-align: center;
    padding: 0 0.5rem;
}

.application-step-number {
    position: relative;
    z-index: 1;
    display: grid;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.9rem;
    place-items: center;
    border: 4px solid #f8f9fa;
    border-radius: 50%;
    background-color: #8b1a28;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.application-step h3 {
    min-height: 2.7em;
    margin: 0 0 0.4rem;
    color: #333;
    font-size: 1rem;
    line-height: 1.35;
}

.application-step p {
    max-width: 250px;
    margin: 0 auto;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* About Section */
.about-section {
    --about-grantee-maroon: #8b1a28;
    --about-grantee-gold: #d6a94f;
    --about-grantee-ink: #333;
    --about-grantee-muted: #666;
    padding: 2.25rem 0 2.75rem;
    background-color: white;
}

.about-section > .container {
    margin-top: 0;
}

.about-grantee-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    column-gap: 2rem;
    row-gap: 1rem;
}

.about-grantee-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: 0.75rem 0;
}

.about-grantee-eyebrow {
    margin: 0 0 0.6rem;
    color: var(--about-grantee-gold);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.about-grantee-copy .about-grantee-eyebrow {
    margin-bottom: 0.85rem;
    color: var(--about-grantee-maroon);
    font-size: 2rem;
    font-weight: 700;
}

.about-grantee-copy h2 {
    max-width: 560px;
    margin: 0 0 1rem;
    color: var(--about-grantee-maroon);
    font-family: 'Poppins', sans-serif;
    font-size: 2.85rem;
    font-weight: 700;
    line-height: 1.1;
}

.about-grantee-copy > p:not(.about-grantee-eyebrow) {
    max-width: 580px;
    margin: 0 0 0.7rem;
    color: var(--about-grantee-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.about-grantee-carousel {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-width: 0;
}

.about-grantee-slides {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: #eee9e4;
    box-shadow: 0 12px 28px rgba(44, 26, 28, 0.14);
}

.about-grantee-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 650ms ease;
}

.about-grantee-slide.is-active {
    opacity: 1;
}

.about-grantee-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-grantee-carousel-controls {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 0.15rem 0;
}

.about-grantee-arrow {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #eadbb8;
    border-radius: 50%;
    background: #fbf7ed;
    color: var(--about-grantee-maroon);
    cursor: pointer;
    font: inherit;
    font-size: 1.7rem;
    line-height: 1;
    transition: background-color 160ms ease, color 160ms ease;
}

.about-grantee-arrow:hover {
    background: var(--about-grantee-maroon);
    color: #fff;
}

.about-grantee-arrow:focus-visible,
.about-grantee-dot:focus-visible {
    outline: 3px solid var(--about-grantee-gold);
    outline-offset: 3px;
}

.about-grantee-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0 auto;
}

.about-grantee-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d8d1c7;
    cursor: pointer;
}

.about-grantee-dot.is-active {
    width: 23px;
    border-radius: 6px;
    background: var(--about-grantee-maroon);
}

.about-grantee-counter {
    min-width: 48px;
    color: #777;
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.about-grantee-gallery {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-self: stretch;
    flex-direction: column;
}

.about-grantee-gallery h3 {
    margin: 0 0 0.55rem;
    color: var(--about-grantee-maroon);
    font-size: 1.1rem;
}

.about-grantee-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.about-grantee-gallery-grid figure {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin: 0;
    border-radius: 8px;
    background: #eee9e4;
    box-shadow: 0 4px 12px rgba(44, 26, 28, 0.1);
}

.about-grantee-gallery-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.about-grantee-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.65rem;
}

.about-grantee-stat {
    min-width: 0;
    padding: 0.65rem 0.4rem;
    border-radius: 7px;
    background: #f6f7f8;
    text-align: center;
}

.about-grantee-stat strong,
.about-grantee-stat span {
    display: block;
}

.about-grantee-stat strong {
    color: var(--about-grantee-maroon);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.15;
}

.about-grantee-stat span {
    margin-top: 0.25rem;
    color: var(--about-grantee-muted);
    font-size: 0.72rem;
    line-height: 1.3;
}

.about-grantee-gallery-grid figure:hover img {
    transform: scale(1.035);
}

.about-grantee-support {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    border-top: 1px solid #e7dece;
    padding-top: 1rem;
}

.about-grantee-support-heading {
    margin-bottom: 0.85rem;
    text-align: left;
}

.about-grantee-support-heading .about-grantee-eyebrow {
    margin-bottom: 0.55rem;
}

.about-grantee-support-heading h3 {
    margin: 0;
    color: var(--about-grantee-maroon);
    font-size: 1.55rem;
    line-height: 1.25;
}

.about-grantee-benefits-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
}

.about-grantee-benefit {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-content: start;
    column-gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid #ebe5dc;
    border-radius: 8px;
    background: #fcfbf9;
}

.about-grantee-benefit-icon {
    display: grid;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    margin: 0;
    place-items: center;
    border-radius: 50%;
    background: #f5ebd5;
    color: var(--about-grantee-maroon);
    font-size: 1.05rem;
}

.about-grantee-benefit h4 {
    grid-column: 2;
    margin: 0 0 0.6rem;
    color: var(--about-grantee-ink);
    font-size: 1.08rem;
    line-height: 1.4;
}

.about-grantee-benefit p {
    grid-column: 2;
    margin: 0;
    color: var(--about-grantee-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

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

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

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

.contact-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

/* Frequently Asked Questions */
.welcome-faq-section {
    padding: 4rem 0;
    background: #fff;
    scroll-margin-top: 1rem;
}

.welcome-faq-section .container {
    margin-top: 0;
}

.welcome-faq-header {
    max-width: 760px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.welcome-faq-header h2 {
    margin-bottom: 0.6rem;
    color: #333;
    font-size: 2.5rem;
}
.welcome-faq-header p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

.welcome-faq-categories {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.welcome-faq-category {
    min-width: 0;
    width: 100%;
}

.welcome-faq-category h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid #d6a94f;
    color: #8b1a28;
    font-size: 1.2rem;
    line-height: 1.4;
}

.welcome-faq-list {
    display: grid;
    gap: 0.7rem;
}

.welcome-faq-item {
    overflow: hidden;
    border: 1px solid #e7e2dc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(45, 34, 25, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.welcome-faq-item.is-open {
    border-color: #d6a94f;
    box-shadow: 0 4px 14px rgba(45, 34, 25, 0.09);
}

.welcome-faq-item h4 {
    margin: 0;
}

.welcome-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 60px;
    padding: 0.85rem 1rem;
    border: 0;
    background: #fff;
    color: #333;
    cursor: pointer;
    font: inherit;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.welcome-faq-question:hover {
    color: #8b1a28;
}

.welcome-faq-question:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid #d6a94f;
    outline-offset: -3px;
}

.welcome-faq-indicator {
    position: relative;
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #f6edda;
    color: #8b1a28;
}

.welcome-faq-indicator::before {
    content: '+';
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
}

.welcome-faq-question[aria-expanded="true"] .welcome-faq-indicator::before {
    content: '\2212';
}

.welcome-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 220ms ease;
}

.welcome-faq-item.is-open .welcome-faq-answer {
    grid-template-rows: 1fr;
}

.welcome-faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.welcome-faq-answer-inner p,
.welcome-faq-answer-inner ul {
    margin: 0;
    padding: 0 1rem 1rem;
    color: #5f6265;
    font-size: 0.94rem;
    line-height: 1.75;
}

.welcome-faq-answer-inner ul {
    padding-left: 2.5rem;
}

.welcome-faq-answer-inner p + ul,
.welcome-faq-answer-inner ul + p {
    padding-top: 0;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
background:#8b1a28;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    color:white;
}

/* Footer */
footer {
   background-color:#8b1a28;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color:white;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #C85A00;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .application-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .application-step {
        padding: 1rem 0.85rem;
        border: 1px solid #e7e2dc;
        border-radius: 8px;
        background: #fff;
    }

    .application-step-number {
        margin-bottom: 0.7rem;
        border-color: #fff;
    }
}

@media (max-width: 768px) {
    .welcome-content h2,
    .services-section h2,
    .how-it-works h2,
    .about-grantee-copy h2,
    .contact-section h2,
    .welcome-faq-header h2,
    .cta-content h2 {
        font-size: clamp(1.7rem, 6vw, 2.3rem);
    }

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

    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grantee-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 1.25rem;
    }

    .about-grantee-copy {
        padding: 0;
    }

    .about-grantee-copy h2 {
        font-size: 2.15rem;
    }

    .welcome-faq-section {
        padding: 3rem 0;
    }

    .welcome-faq-categories {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 220px;
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .application-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65rem;
    }

    .application-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0.9rem;
        border: 1px solid #e7e2dc;
        border-radius: 8px;
        background: #fff;
    }

    .application-step-number {
        margin: 0 auto 0.65rem;
        border-color: #fff;
    }

    .application-step-content {
        width: 100%;
        padding: 0;
    }

    .application-step h3 {
        min-height: 0;
        text-align: center;
    }

    .application-step p {
        max-width: none;
        margin: 0;
        text-align: center;
    }
}

@media (max-width: 680px) {
    .about-grantee-layout {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1.25rem;
    }

    .about-grantee-copy {
        grid-column: 1;
        grid-row: 1;
        padding: 0;
    }

    .about-grantee-copy h2 {
        font-size: 1.9rem;
    }

    .about-grantee-carousel {
        grid-column: 1;
        grid-row: 2;
    }

    .about-grantee-gallery {
        grid-column: 1;
        grid-row: 3;
    }

    .about-grantee-support {
        grid-column: 1;
        grid-row: 4;
        padding-top: 0.85rem;
    }

    .about-grantee-benefits-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-grantee-benefit:last-child {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .welcome-section {
        min-height: 520px;
        padding-top: 3rem;
    }

    .welcome-content h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.25;
    }

    .welcome-content p {
        font-size: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .about-section {
        padding: 2.5rem 0;
    }

    .about-grantee-copy h2 {
        font-size: 1.9rem;
    }

    .about-grantee-support {
        padding-top: 0.75rem;
    }

    .about-grantee-support-heading h3 {
        font-size: 1.45rem;
    }

    .welcome-faq-header {
        margin-bottom: 2rem;
    }

    .welcome-faq-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .welcome-faq-header p {
        font-size: 0.98rem;
    }

    .welcome-faq-question {
        gap: 0.7rem;
        padding: 0.8rem;
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-grantee-slide,
    .about-grantee-gallery-grid img,
    .welcome-faq-item,
    .welcome-faq-answer {
        transition: none;
    }
}