:root {
    --primary-teal: #5A7385;
    --primary-teal-dark: #6C8495;
    --secondary-terracotta: #E47856; 
    --secondary-terracotta-dark: #D06243; 
    --secondary-sand: #6A8C8B;
    --secondary-sand-dark: #4E6F6C;
    --accent-olive: #786c96;
    --text-dark: #333;
    --text-light: #666;
    --background-light: #F0F9FE;
    --border-light: #D1F0EC;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}

/* General Container */
.container {
    width: 80%;
    margin: auto;
    padding: 20px;
}
/* =========================
   HERO – Rescue Relief banner
   ========================= */

/* Outer wrapper */
.hero-section{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    height:68vh;              /* desktop */
    min-height:420px;
    overflow:hidden;
    background:var(--background-light);
}

/* Tablet / phone heights */
@media (max-width:768px){ .hero-section{height:52vh;} }
@media (max-width:480px){ .hero-section{height:46vh;} }

/* Background video */
.hero-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

/* Centered overlay */
.hero-content{
    position:relative;
    z-index:1;
    width:92%;
    max-width:900px;
    padding:1.75rem 1rem;
    border-radius:12px;
    background:rgba(0,0,0,.55);  /* darker for readability */
    backdrop-filter:saturate(120%) blur(2px);
    text-align:center;
    color:#fff;                  /* ensure white text */
}

/* Headline & body copy */
.hero-content h2{
    font-size:2.25rem;
    font-weight:700;
    margin-bottom:.6rem;
    text-shadow:0 2px 6px rgba(0,0,0,.6);
}
.hero-content p{
    font-size:1.05rem;
    line-height:1.55;
    margin-bottom:1.35rem;
    text-shadow:0 1px 4px rgba(0,0,0,.6);
}

/* Button row */
.hero-content .button-group{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
}
.hero-content .btn{
    padding:12px 26px;
    font-size:1rem;
    font-weight:600;
    border-radius:6px;
    background:var(--primary-teal);
    color:#fff;
    text-transform:uppercase;
    text-decoration:none;
    transition:background .3s;
}
.hero-content .btn:hover{background:var(--primary-teal-dark);}

/* Mobile text / button scaling */
@media (max-width:768px){
    .hero-content h2{font-size:1.7rem;}
    .hero-content p {font-size:.95rem;}
    .hero-content .btn{
        width:100%;
        max-width:280px;
        padding:10px 22px;
    }
    .hero-section{height:62vh;}  
}
@media (max-width:480px){
    .hero-content{padding:2rem 1rem;}
    .hero-content h2{font-size:1.45rem;}
    .hero-content p {font-size:.85rem;}  
    .hero-section{height:58vh;} 
}

/* --- Buttons --- */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.button-group a {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-teal);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.button-group a:hover {
    background-color: var(--primary-teal-dark);
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .button-group a {
        padding: 8px 16px;
        font-size: 14px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* --- Splide Carousel Styles --- */
.splide {
    margin-top: 20px;
}

.splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

/* Story & Pet Cards */
#story-success-stories {
    text-align: center;
}

.story-card, .pet-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--primary-teal);
    text-align: center;
}

.story-card:hover, .pet-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px var(--shadow-dark);
}

.story-card img, .pet-card img {
    width: 100%;
    border-radius: 10px;
    max-height: 250px;
    object-fit: cover;
}

/* Pagination & Navigation Buttons */
.splide__arrow {
    background: var(--secondary-terracotta) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.splide__arrow:hover {
    background: var(--secondary-terracotta-dark) !important;
}

.splide__pagination {
    bottom: -15px;
}

.splide__pagination__page {
    background: var(--primary-teal) !important;
    width: 12px;
    height: 12px;
}

.splide__pagination__page.is-active {
    background: var(--primary-teal-dark) !important;
}

/* Help Section */
#help {
    text-align: center;
    padding: 50px;
    background-color: var(--background-light);
    border-radius: 10px;
}

.help-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.help-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--shadow-light);
    transition: transform 0.3s ease-in-out;
    width: 300px;
    text-align: center;
}

.help-card:hover {
    transform: translateY(-5px);
}

.help-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.help-card h3 {
    color: var(--primary-teal);
    margin-top: 15px;
}

.help-card p {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 15px;
}

.help-button {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background: var(--secondary-terracotta);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.help-button:hover {
    background: var(--secondary-terracotta-dark);
}

@media (max-width: 450px) {
    #help {
        padding: 30px 15px;
    }

    .help-options {
        gap: 20px;
    }

    .help-card {
        width: 85%;
        max-width: 320px;
        margin: 0 auto;
        padding: 13px;
    }
}

/* --- Partners & Sponsors Section --- */
#partners-sponsors {
    text-align: center;
    padding: 30px;
}

.splide__slide img {
    max-width: 150px;
    margin: auto;
    display: block;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .help-options {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
}

/* --- Navigation Buttons for Small Screens --- */
@media (max-width: 768px) {
    .splide__arrow {
        width: 24px;
        height: 24px;
    }
}
