/* --- Global Styles & Variables --- */
:root {
    /* Mature & Beautiful Palette */
    --primary-color: #2C3E50;    /* Deep Slate Blue - Trust, Professionalism */
    --secondary-color: #D4A373;  /* Muted Gold/Tan - Sophistication, Warmth */
    --accent-color: #6096B4;     /* Soft Teal Blue - Calm, Modern Accent */
    --dark-color: #212529;       /* Very Dark Grey/Almost Black - Headings */
    --light-color: #FDF8F5;     /* Warm Off-White - Light Backgrounds */
    --white-color: #fff;
    --text-color: #4A5568;       /* Medium Dark Grey - Body Text (good contrast) */
    
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --container-width: 90%;
    --max-container-width: 1200px;
    --box-shadow: 0 6px 18px rgba(44, 62, 80, 0.08);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Enable hyphenation for supported languages */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

/* General paragraphs that are not specifically styled otherwise */
p {
    margin-bottom: 1rem; /* Default margin for paragraphs */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.container {
    width: var(--container-width);
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding { padding: 80px 0; }
.section-padding-strong { padding: 100px 0; }
.section-padding-inner { padding: 40px; border-radius: var(--border-radius); }
.bg-light { background-color: var(--light-color); }
.text-center { text-align: center; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 3px;
}
.section-title-left {
    text-align: left;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}
.section-title-left::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 8px 0 0;
    border-radius: 3px;
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-family: var(--heading-font);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center; /* Ensure button text is centered */
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: #c0925a;
    border-color: #c0925a;
    color: var(--white-color);
}

.btn-cta {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 16px 32px;
    font-size: 1.1rem;
}
.btn-cta:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-outline-cta {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
    padding: 14px 30px;
    font-size: 1.1rem;
}
.btn-outline-cta:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}


/* --- Header & Navigation --- */
header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}
.logo-link:hover { transform: scale(1.05); }

.logo-img {
    height: 55px;
    margin-right: 12px;
    border-radius: 0;
}
.logo-text {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 1rem;
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}
nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}
nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.8rem;
    cursor: pointer;
}


/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(96, 150, 180, 0.7)), url('../images/hero_.jpg') no-repeat center center/cover;
    color: var(--white-color);
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    margin-bottom: 20px;
    color: var(--white-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    font-weight: 700;
}
.hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    /* Hero paragraph is usually better centered or left, not justified */
}
.hero .btn {
    margin: 10px 10px;
}

/* Generic Page Hero (for About, Programs etc.) */
.page-hero {
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
}
.page-hero h1 {
    color: var(--white-color);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}
.page-hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    /* This paragraph is also usually better centered */
}


/* --- About Short Section --- */
#about-short .about-short-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}
#about-short .about-image img {
    box-shadow: var(--box-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
#about-short .about-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.12);
}
#about-short .about-text p {
    margin-bottom: 20px;
    text-align: justify; /* Justify text here */
}

/* Content Sections for About/Programs pages */
.content-section {
    margin-bottom: 50px;
}
.content-section p {
    margin-bottom: 15px;
    text-align: justify; /* Justify main content paragraphs */
}
.content-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    /* List items usually not justified */
}
.content-section ul li {
    margin-bottom: 8px;
}
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.mission-vision-grid h3 i {
    margin-right: 10px;
    color: var(--accent-color);
}
.mission-vision-grid p {
    text-align: left; /* Or justify if desired, but often shorter blurbs */
}


/* --- Our Goals Section (Homepage) --- */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.goal-card {
    background-color: var(--white-color);
    padding: 35px 25px;
    text-align: center; /* Goal cards are centered */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}
.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(44, 62, 80, 0.12);
    border-bottom-color: var(--secondary-color);
}
.goal-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
    transition: color 0.3s ease;
}
.goal-card:hover i {
    color: var(--accent-color);
}
.goal-card h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
}
/* Optional: If goal cards had paragraphs */
/* .goal-card p { text-align: center; } */

/* --- Programs Page Cards --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.program-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.1);
}
.program-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}
.program-card h3 {
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-color);
}
.program-card p {
    flex-grow: 1;
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-align: justify; /* Justify program descriptions */
}
.how-we-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.how-we-work-grid h4 {
    color: var(--accent-color);
}
.how-we-work-grid h4 i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.how-we-work-grid p {
    text-align: center; /* Descriptions here usually better centered */
}

/* Lead text style for pages */
.lead-text {
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.8;
    /* Often centered, or left-aligned. Not typically justified. */
}


/* --- Call to Action (CTA) Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white-color);
}
.cta-section h2 {
    color: var(--white-color);
    font-size: clamp(2.2rem, 4vw, 2.8rem);
}
.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* CTA text is centered */
}
.cta-section .btn {
    margin: 10px;
}


/* --- News Section --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}
.news-item {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.1);
}
.news-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.news-content {
    padding: 20px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.news-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 500;
}
.news-item p { /* News item summaries are often better left-aligned */
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
    text-align: left;
}
.news-item a {
    font-weight: bold;
    color: var(--primary-color);
    display: inline-block;
    align-self: flex-start;
}
.news-item a:hover {
    color: var(--accent-color);
}
.news-item a i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.news-item a:hover i {
    transform: translateX(5px);
}


/* --- Gallery Page --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-item a:hover img {
    transform: scale(1.1);
    filter: brightness(0.8) saturate(1.2);
}
.lb-data .lb-caption {
    font-family: var(--body-font);
    font-size: 1rem;
}
.lb-data .lb-number {
    font-family: var(--body-font);
}


/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}
.contact-form-container h3, .contact-details h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.15);
    outline: none;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-details p { /* Contact details paragraphs better left-aligned */
    margin-bottom: 18px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    text-align: left;
}
.contact-details i {
    margin-right: 12px;
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 22px;
    padding-top: 3px;
}
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid #E5E7EB;
}
.map-container iframe {
    display: block;
}
.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}
.involvement-options div {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.involvement-options h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
}
.involvement-options h4 i {
    margin-right: 8px;
}
.involvement-options p {
    text-align: center; /* These blurbs are better centered */
}


/* --- Footer --- */
footer {
    background-color: var(--dark-color);
    color: #A0AEC0;
    padding-top: 60px;
    font-size: 0.95rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-content h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.footer-content p, .footer-content li {
    margin-bottom: 10px;
    /* Footer text usually left-aligned within its grid cell */
    text-align: left;
}
.footer-content .footer-about p { /* Specifically for the about text in footer */
   /* text-align: justify; /* If you want motto justified */
   text-align: left; /* Or keep left for consistency */
}
.footer-content a {
    color: #CBD5E0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-content a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.footer-social {
    text-align: left; /* Or center if preferred */
}
.footer-social a {
    color: #CBD5E0;
    margin-right: 18px;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-social a:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}
.copyright {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #4A5568;
    font-size: 0.9rem;
}
.copyright p {
    margin: 0;
    color: #718096;
    text-align: center;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content h1 { font-size: clamp(2.2rem, 5vw, 2.8rem); }
    .hero-content h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
    #about-short .about-short-content { grid-template-columns: 1fr; }
    #about-short .about-image { margin-top: 30px; order: -1; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-details { margin-top: 40px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-padding-strong { padding: 80px 0; }
    .nav-container {
        padding: 0 15px;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
        border-top: 1px solid var(--light-color);
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: left;
    }
    nav ul li a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid var(--light-color);
    }
    nav ul li a::after { display: none; }
    nav ul li:last-child a { border-bottom: none; }

    .menu-toggle {
        display: block;
    }

    .hero { min-height: 75vh; }
    .hero-content h1 { font-size: clamp(2rem, 5vw, 2.5rem); }
    .hero-content h2 { font-size: clamp(1.2rem, 3vw, 1.4rem); }
    .hero-content p { font-size: clamp(0.9rem, 2vw, 1.1rem); }
    .hero .btn { display: block; margin: 15px auto; width: 70%; max-width: 280px;}

    .section-title { font-size: clamp(1.8rem, 4vw, 2.2rem); margin-bottom: 40px; }
    .goals-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .news-grid { grid-template-columns: 1fr; }
    .programs-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    /* --- Team/Executives Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.team-member-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(44, 62, 80, 0.12);
    border-bottom-color: var(--secondary-color);
}

.team-member-card img {
    width: 100%;
    height: 300px; /* Ensures all images are the same height */
    object-fit: cover; /* Prevents image stretching */
    object-position: top center; /* Focuses on the top part of the image */
    border-radius: 0;
}

.team-member-info {
    padding: 25px 15px;
}

.team-member-info h4 {
    margin-bottom: 5px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.team-member-title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0;
}
    
    .footer-content { grid-template-columns: 1fr; }
    .footer-content > div { /* Ensure footer content is centered on mobile */
        text-align: center;
    }
    .footer-content p, .footer-content li {
        text-align: center; /* Center individual p/li in footer on mobile */
    }
    .footer-social {
        text-align: center;
    }
    .footer-content .footer-about p {
        text-align: center; /* Ensure motto is centered */
    }
    .footer-contact p {
        justify-content: center; /* Center contact items (icon + text) */
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.2rem); }
    .hero-content h2 { font-size: clamp(1rem, 4vw, 1.2rem); }
    .logo-text { font-size: 1.6rem; }
    .logo-img { height: 45px; }
    .btn { padding: 12px 22px; font-size: 0.9rem; }
    .btn-cta, .btn-outline-cta { font-size: 1rem; padding: 12px 25px; }
    .section-padding { padding: 50px 0; }
    .section-padding-strong { padding: 60px 0; }
    body {
        /* For very small screens, disabling justify might be better if rivers are too prominent */
        /* hyphens: none; */
        /* text-align: left; */ /* This would override all justify, be careful */
    }
    /* If you want to specifically un-justify for mobile for certain elements: */
    /*
    #about-short .about-text p,
    .content-section p,
    .program-card p {
        text-align: left;
    }
    */
}

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

.hero {
    position: relative; /* This is crucial for positioning the video and overlay */
    height: 100vh; /* Make the hero section take the full height of the viewport */
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden; /* Hide any part of the video that might overflow */
}

/* Dark overlay to ensure text is readable */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% black overlay */
    z-index: 1; /* Position it above the video but below the content */
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover; /* This makes the video cover the area without distortion */
    z-index: 0; /* Position the video behind the overlay and content */
}

.hero-content {
    position: relative; /* Ensure it stacks on top of the overlay */
    z-index: 2; /* Position content above the overlay */
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* Button styles (you likely have these already, but here are some examples) */
.btn {
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background-color: #007bff; /* Example primary color */
    color: #fff;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

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

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}