/* ========== Import Component Styles ========== */
@import url("components/header.css");
@import url("components/footer.css");
@import url("components/carousel.css");
@import url("components/cards.css");

/* ========== Import Utility Styles ========== */
@import url("utilities/spacing.css");
@import url("utilities/typography.css");
@import url("utilities/responsive.css");
@import url("utilities/animation.css");
/* ========== Base Styles ========== */
:root {
    --primary-color: #e03a3c;
    --secondary-color: #2c3e50;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #444444;
    --text-light: #6c757d;
    --font-main: "Open Sans", sans-serif;
    --font-heading: "Roboto", sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #c82333;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ========== Utility Classes ========== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.bg-light {
    background-color: var(--light-color);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section with Navigation Carousel */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    place-content: center;
    text-align: center;
}

/* Carousel Container */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Gradient Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(hsl(240 100% 20% / 0.6), hsl(0 100% 20% / 0.6));
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: white;
    padding: 2rem;
    max-width: 800px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 4;
    padding: 0 2rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.indicator {
    position: relative;
    justify-content: center;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Existing Styles */
.hero h1 {
    color: white;
    line-height: 1;
}

.hero p {
    color: white;
}

@layer general-styling {
    html {
        color-scheme: dark light;
        font-family: system-ui;
        line-height: 1.6;
    }

    body {
        font-size: 2rem;
        margin: 1rem;
    }
}

/* Contact Page Styles */
.contact-page {
    background-color: #f8f9fa;
}

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
    background-size: cover;
    background-position: center;
    min-height: 300px;
    padding-top: 100px;
}

.contact-info-card,
.contact-form-card {
    background: white;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.map-container {
    border-radius: 0.25rem;
    overflow: hidden;
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(224, 58, 60, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Thematic Area Page Styles */
.thematic-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c82333 100%);
}

.program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}

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

.program-features li {
    position: relative;
    padding-left: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.icon-lg {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-primary-light {
    background-color: rgba(224, 58, 60, 0.1);
}

.bg-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
}

.counter-box {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.object-fit-cover {
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .program-card .row {
        flex-direction: column;
    }
    .program-card .col-md-5 {
        height: 200px;
    }
}
/* Blog page styling  */

.blog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("https://images.unsplash.com/photo-1519337265831-281ec6cc8514?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
}

/* Report page styling  */
.report-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("https://images.unsplash.com/photo-1519337265831-281ec6cc8514?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
}
/* Resource List page styling  */ 
.resource-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../../../images/header_image.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.number-box {
    background: #f8f9fa;
    border-radius: 10px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* About Us page styling  */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../../../images/header_image.png');
        background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    padding-top: 60px;
    padding-bottom: 30px;
}
/* donate button styling */
.donate-hero {
     background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../../../images/header_image.png');
        background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    padding-top: 100px;
    padding-bottom: 30px;
}

/* Thematic hero page styling  */
.thematic-hero {
    position: relative;
    background-image: url("../../../images/thematicpic.jpg"); /* replace with actual URL */
    background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 50vh; /* Adjust based on design */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem;
}

.thematic-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* dark overlay */
    z-index: -1;
}

.thematic-hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.thematic-hero p {
    font-size: 1.25rem;
    color: #ffc107; /* Bootstrap warning color */
}

@media (max-width: 768px) {
    .thematic-hero h1 {
        font-size: 2.25rem;
    }

    .thematic-hero p {
        font-size: 1rem;
    }
}
/* team info styling */
 .team-card img {
      height: 220px;
      object-fit: cover;
    }
    .accordion-button {
      font-weight: 600;
    }