@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Raleway:wght@300;400;600&display=swap');

:root {
    --primary-color: #1ba8f0;
    --secondary-color: #6c757d;
    --background-color: #f9f9f9;
    --text-color: #000;
    --navbar-color: #333;
    --font-family-primary: 'Poppins', Arial, sans-serif;
    --font-family-secondary: 'Raleway', Arial, sans-serif;
}

body {
    font-family: var(--font-family-primary);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    height: fit-content;
    width: 100%;

}



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

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

a:visited,
a:active,
a:focus,
a:hover {
    color: var(--text-color);
    text-decoration: none;
}

.section {
    width: 100%;

}

.hero-btn,
.oth-button {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    color: #fff;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.hero-btn:hover,
.oth-button:hover,
.hero-btn:focus,
.oth-button:focus,
.hero-btn:active,
.oth-button:active,
.hero-btn:visited,
.oth-button:visited {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-btn:active,
.oth-button:active {
    background-color: #004085;
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {

    .hero-btn,
    .oth-button {
        font-size: 0.875rem;
        padding: 0.5rem 1.25rem;
    }
}

@media (max-width: 576px) {

    .hero-btn,
    .oth-button {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

.navbar {
    background-color: #fff;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.navbar-brand img {
    width: 150px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    color: var(--navbar-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.hero-section {
    background: url('hero-bg.jpg') no-repeat center center/cover;
    height: 80vh;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

.hero-logo {
    width: 100%;
    max-width: 500px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-family-primary);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-family-secondary);
}

.hero-image {
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-image {
        display: none;
        max-width: 80%;
        margin: 1rem auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

.charity-collaboration-stats .counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.charity-collaboration-stats .ex-sign {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    vertical-align: top;
    margin-right: 2px;
}

.charity-collaboration-stats h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-family-secondary);
}

.charity-collaboration-stats p {
    font-size: 1.25rem;
    color: #333;
}

@media (max-width: 768px) {
    .charity-collaboration-stats .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .charity-collaboration-stats .col-md-3 {
        margin-bottom: 2rem;
    }

    .charity-collaboration-stats .counter {
        font-size: 2rem;
    }

    .charity-collaboration-stats h4 {
        font-size: 1.25rem;
    }

    .charity-collaboration-stats p {
        font-size: 1rem;
    }

    .charity-collaboration-stats .ex-sign {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .charity-collaboration-stats .counter {
        font-size: 1.5rem;
    }

    .charity-collaboration-stats h4 {
        font-size: 1.1rem;
    }

    .charity-collaboration-stats p {
        font-size: 0.9rem;
    }

    .charity-collaboration-stats .ex-sign {
        font-size: 1.5rem;
    }
}

.why-advertise-section {
    padding: 4rem;
    background-color: #fff;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-family-primary);
    font-weight: 700;
}

.info-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 250px;
    height: 100%;
}

.info-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.why-advertise-section h3 {
    font-size: 1.75rem;
    font-family: var(--font-family-secondary);
    margin-bottom: 1rem;
}

.why-advertise-section p {
    font-size: 1.125rem;
    color: #666;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .info-box {
        padding: 1.5rem;
        min-height: 200px;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.75rem;
    }

    .why-advertise-section h3 {
        font-size: 1.5rem;
    }

    .why-advertise-section p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .info-box {
        padding: 1rem;
        min-height: 180px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }

    .why-advertise-section h3 {
        font-size: 1.25rem;
    }

    .why-advertise-section p {
        font-size: 0.875rem;
    }
}

.left-right-section {
    padding: 3rem 2rem;
    overflow: hidden;
}

.content-title {
    font-size: 2rem;
    font-family: var(--font-family-primary);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.left-right-section p {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-right-section img {
    max-width: 75%;
}

.slide-in-right {
    transform: translateX(-100%) rotate(-15deg);
    opacity: 0;
    transition: transform 1s ease-in, opacity 1s ease-in;
}

.slide-in-left {
    transform: translateX(100%) rotate(15deg);
    opacity: 0;
    transition: transform 1s ease-in, opacity 1s ease-in;
}

.slide-in-visible {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
}

@media (max-width: 768px) {
    .left-right-section .row {
        flex-direction: column-reverse;
    }

    .content-section,
    .image-section {
        text-align: center;
        margin-bottom: 2rem;
    }

    .image-section {
        display: none;
    }

    .content-title {
        font-size: 1.75rem;
    }

    .left-right-section p {
        font-size: 1rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }

    .left-right-section img {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .content-title {
        font-size: 1.5rem;
    }

    .left-right-section p {
        font-size: 0.95rem;
    }

    .btn-primary {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}

.social-icon {
    font-size: 24px;
    color: #000;
}

.social-icon:hover {
    color: #007bff;
}

.fas,
.fab {
    margin-right: 8px;
}

.about-hero-section {
    position: relative;
    height: 100vh;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding-top: 0;
    /* Ensure no padding at the top */
    overflow: hidden;
    /* Hide any overflow from the pseudo-element */
}

.about-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('abouus.png') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: -1;
    /* Place the pseudo-element behind the content */
}



.about-hero-content {
    max-width: 800px;
    padding: 2rem;

    border-radius: 10px;
    margin: 0 1rem;
}

.about-hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: var(--font-family-primary);
    font-weight: 700;
    color: var(--text-color);
}

.about-hero-subtitle {
    font-size: 1.5rem;
    font-family: var(--font-family-secondary);
    color: var(--text-color);
}

.section-spacing {
    padding: 5rem 0;
}

.mission-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mission-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Media Queries for Responsiveness */

/* Tablets and smaller screens */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 3rem;
    }

    .about-hero-subtitle {
        font-size: 1.25rem;
    }

    .section-spacing {
        padding: 3rem 0;
    }

    .mission-box {
        padding: 1.5rem;
    }

    .team-member img {
        width: 120px;
        height: 120px;
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-hero-subtitle {
        font-size: 1rem;
    }

    .about-hero-content {
        padding: 1rem;
        margin: 0;
    }

    .section-spacing {
        padding: 2rem 0;
    }

    .mission-box {
        padding: 1rem;
    }

    .team-member img {
        width: 100px;
        height: 100px;
    }
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.1s linear;
}

.carousel-track img {
    flex: 0 0 auto;
    width: 20%;
    height: auto;
}

@media (max-width: 768px) {
    .carousel-track img {
        width: 33.33%;
    }
}