:root {
    --primary: #cf424f;
    --dark: #111827;
    --light: #f8fafc;
    --gray: #f3f4f6;
    --text: #4b5563;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 0, 0, .08);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, .15);
    --radius: 24px;
    --transition: all .4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: #fff;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.container {
    position: relative;
    z-index: 2;
}

/* =========================
TYPOGRAPHY
========================= */

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text);
    max-width: 960px;
    margin: auto;
    line-height: 1.8;
}

/* =========================
BUTTONS
========================= */

.btn-main {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 14px 34px;
    border-radius: 60px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(207, 66, 79, .25);
}

.btn-main:hover {
    background: #b73643;
    transform: translateY(-4px);
    color: #fff;
}

.btn-outline-light-modern {
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    padding: 14px 34px;
    border-radius: 60px;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.btn-outline-light-modern:hover {
    background: #fff;
    color: #111;
    transform: translateY(-4px);
}

/* =========================
   HEADER
   ========================= */

.jh-header {
    background: #fafafa;
    position: relative;
    z-index: 1000;
}

.jh-header .row {
    min-height: 82px;
}

.jh-brand {
    position: relative;
    display: flex;
    align-items: center;
}

/* Logo Overlap */
.jh-logo {
    width: 360px;
    height: auto;
    position: absolute;
    left: 0;
    top: -35px;
    z-index: 1001;
}

.jh-title {
    margin-left: 135px;
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #000;
}

/* Donate */

.jh-donate {
    background: #cf404a;
    color: #fff;
    text-decoration: none;
    padding: 14px 36px;
    font-weight: 700;
}

.jh-donate:hover {
    background: #e04a54;
    color: #2e2e2e;
}

/* Social */

.jh-social {
    display: flex;
    gap: 12px;
}

.jh-social a {
    width: 50px;
    height: 50px;
    background: #cf404a;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.jh-social a:hover {
    background: #b5313a;
}

/* =========================
   NAVBAR
========================= */

.jh-navbar {
    background: #cf404a;
    min-height: 42px;
    padding: 0;
}

.jh-navbar .navbar-nav {
    align-items: center;
}

.jh-navbar .nav-link {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 15px !important;
}

.jh-navbar .nav-link:hover,
.jh-navbar .nav-link.active {
    color: #0d0d0d;
}

/* =========================
   MOBILE
========================= */

@media(max-width:991px) {

    .jh-header {
        padding: 10px 0;
    }

    .jh-header .row {
        min-height: auto;
    }

    .jh-logo {
        position: static;
        width: 65px;
    }

    .jh-title {
        margin-left: 10px;
        font-size: 1.3rem;
    }

    /* Hide red strip */
    .jh-navbar {
        background: transparent;
        min-height: auto;
        position: absolute;
        top: 70px;
        right: 15px;
        z-index: 9999;
    }

    .jh-navbar .container {
        justify-content: flex-end;
    }

    .jh-navbar .navbar-collapse {
        background: #cf404a;
        min-width: 320px;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        text-align: left;
    }

    .jh-navbar .nav-link {
        padding: 0 !important;
        text-align: left;
        display: block;
        width: 100%;
    }

    jh-navbar .navbar-collapse,
    .jh-navbar .navbar-nav,
    .jh-navbar .nav-item,
    .jh-navbar .nav-link {
        text-align: left !important;
        align-items: flex-start !important;
    }
}

@media(max-width:576px) {

    .jh-title {
        font-size: 1rem;
    }

    .jh-logo {
        width: 220px;
    }
}

/* Mobile Toggler */
.custom-toggler {
    background: #dc3545;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-toggler i {
    font-size: 2rem;
    color: #fff;
}

.custom-toggler:focus {
    box-shadow: none;
}



/* =========================
HERO
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.355) 0%,
            rgba(0, 0, 0, 0.25) 35%,
            rgba(0, 0, 0, 0.65) 70%,
            rgba(0, 0, 0, 0.9) 100%);

    /* backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%;
    max-width: 950px;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, .88);
}

.hero-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 40px;
}

/* =========================
SCROLL INDICATOR
========================= */

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-indicator span {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 50px;
    display: block;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border-radius: 50px;
    background: #fff;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: scroll 1.8s infinite;
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 18px);
    }
}

/* =========================
BLOBS
========================= */

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .15;
    z-index: 0;
}

.blob1 {
    width: 280px;
    height: 280px;
    background: var(--primary);
    top: -50px;
    left: -60px;
}

.blob2 {
    width: 260px;
    height: 260px;
    background: #8b5cf6;
    right: -80px;
    bottom: -50px;
}

/* =========================
ABOUT
========================= */

.about-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}

.about-img {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .4s;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img:hover {
    transform: translateY(-10px);
}

.about-img:nth-child(1) {
    height: 360px;
    margin-top: 60px;
}

.about-img:nth-child(2) {
    height: 500px;
}

.about-img:nth-child(3) {
    height: 360px;
    margin-top: 60px;
}

.about-content p {
    color: var(--text);
    line-height: 1.9;
}

/* =========================
CARDS
========================= */

.modern-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    background: #fff;
    transition: .4s;
    box-shadow: var(--shadow);
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.modern-card-img {
    overflow: hidden;
}

.modern-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .8s ease;
}

.modern-card:hover img {
    transform: scale(1.1);
}

.modern-card .card-body {
    padding: 32px;
}

.modern-card p {
    color: var(--text);
    line-height: 1.8;
}

/* =========================
WORK SECTION
========================= */

.work-section {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
}

.icon-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    padding: 40px 25px;
    text-align: center;
    height: 100%;
    transition: .4s;
    backdrop-filter: blur(12px);
}

.icon-card:hover {
    transform: translateY(-10px);
    border-color: rgba(207, 66, 79, .4);
    box-shadow: 0 15px 40px rgba(207, 66, 79, .2);
}

.icon-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* =========================
CHARITIES
========================= */

.charity-card img {
    height: 320px;
    object-fit: cover;
}

/* =========================
GLASS CARDS
========================= */

.glass-card {
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(16px);
    height: 100%;
    transition: .4s;
    box-shadow: var(--shadow);
}

.glass-card:hover {
    transform: translateY(-8px);
}

.glass-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* =========================
FOOTER
========================= */

footer {
    background: #0b1220;
    color: rgba(255, 255, 255, .75);
    padding-top: 100px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    margin-bottom: 14px;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    margin-right: 10px;
    transition: .4s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.copyright {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    padding: 24px 0;
}

/* =========================
TABLET
========================= */

@media(max-width:991px) {

    section {
        padding: 80px 0;
    }

    .navbar {
        background: rgba(17, 24, 39, .95);
        backdrop-filter: blur(16px);
    }

    .navbar-collapse {
        background: #111827;
        padding: 20px;
        border-radius: 20px;
        margin-top: 15px;
    }

    .nav-link {
        margin: 12px 0;
        display: inline-block;
    }

    .about-images {
        margin-bottom: 40px;
    }

    .about-img:nth-child(1),
    .about-img:nth-child(2),
    .about-img:nth-child(3) {
        margin-top: 0;
        height: 320px;
    }

}

/* =========================
MOBILE
========================= */

@media(max-width:767px) {

    section {
        padding: 70px 0;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .about-img {
        height: 300px !important;
    }

    .modern-card img {
        height: 220px;
    }

    .modern-card .card-body {
        padding: 25px;
    }

    .glass-card {
        padding: 35px 25px;
        text-align: center;
    }

    footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

}

/* =========================
SMALL MOBILE
========================= */

@media(max-width:480px) {

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-main,
    .btn-outline-light-modern {
        width: 100%;
        max-width: 100%;
    }

    .navbar-brand img {
        max-height: 55px;
    }
}


/*** Hero Header ***/
.hero-header {
    background:
        linear-gradient(rgba(0, 3, 26, 0.877), rgba(5, 7, 43, 0.466)),
        url('img/hero-header2.png') center center / cover no-repeat;
    position: relative;
    color: #fff;

    /* Reduced height */
    padding: 80px 0 50px;
}

.hero-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}



/* 4 pictures Gallery Starts*/
.gallery-section {
    padding: 40px 0;
}

.gallery-box {
    overflow: hidden;
    border-radius: 22px;
    height: 100%;
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.gallery-box:hover img {
    transform: scale(1.05);
}

/* Equal Heights */
.left-large {
    height: 410px;
}

.small-image {
    height: 200px;
}

@media(max-width:991px) {

    .left-large,
    .small-image {
        height: 300px;
    }
}

/* 4 pictures Gallery Ends*/

/* Youtube Video */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    width: 100%;
    height: 750px;
    border: 0;
    display: block;
}



/* charity freatured section */
.charity-image {
    max-width: 240px;
}

.charity-image img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.charity-title {
    font-size: 72px;
    font-weight: 800;
    color: #071c3c;
    line-height: 1.1;
    margin-bottom: 15px;
}

.charity-desc {
    font-size: 20px;
    color: #222;
    max-width: 700px;
}

.section-divider {
    border-bottom: 2px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .charity-title {
        font-size: 48px;
    }

    .charity-desc {
        font-size: 17px;
    }

    .charity-image {
        margin: auto;
    }

    .featured-tag {
        font-size: 16px;
    }
}


/* About section at home page */
.aboutx-section {
    background: #ffffff;
}

.aboutx-badge {
    display: inline-block;
    padding: 8px 18px;
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 50px;
}

.aboutx-title {
    max-width: 950px;
    margin: auto;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.aboutx-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: .3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
    text-align: center;
}

.aboutx-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.aboutx-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.aboutx-card-text {
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 0;
    text-align: center;
}

.aboutx-card-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0f172a;
    margin: 15px auto 0;
    border-radius: 50px;
}

@media (max-width:991px) {
    .aboutx-title {
        font-size: 2rem;
    }
}