    @import url('https://fonts.googleapis.com/css2?family=Prosto+One&display=swap');


    :root {
        --primary: #1b9c73;
        --secondary: #588367;
        --accent: #a4b476;
        --light: #f8f9fa;
        --dark: #212529;
    }

    body {
        padding-top: 120px;
    }

    /* Header Styling */
    .main-header {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 97%;
        z-index: 1000;
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
        padding: 10px 30px;
        backdrop-filter: blur(6px);
    }

    .nav-menu .btn {
        color: white;
        font-weight: 500;
        font-size: 1rem;
        border: none;
        transition: all 0.3s ease;
    }

    .nav-menu .btn:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }

    .nav-menu .dropdown-toggle {
        background: none;
        border: none;
        color: white;
        font-weight: 500;
        font-size: 1rem;
    }

    .nav-menu .dropdown-toggle:focus {
        box-shadow: none;
    }

    .nav-menu .dropdown-menu {
        background-color: var(--secondary);
        border: none;
        border-radius: 8px;
        overflow: hidden;
    }

    .nav-menu .dropdown-item {
        color: white;
        transition: all 0.2s ease;
    }

    .nav-menu .dropdown-item:hover {
        background-color: var(--accent);
        color: #000;
        padding-left: 25px;
    }

    /* Hero Styling */
    .hero-section {
        background: url("assets/img-banner.png") no-repeat center center/cover;
        height: 100vh;
        position: relative;
        border-radius: 30px;
        overflow: hidden;
        margin: 20px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        color: #222;
        transition: all 0.4s ease-in-out;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    .hero-text {
        position: relative;
        z-index: 2;
        max-width: 700px;
        padding: 80px 0 80px 100px;
        color: #1a1a1a;
        font-family: "Prosto One", sans-serif;
        text-align: left;
    }

    .hero-text h2 {
        font-weight: 700;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-text .quran {
        font-style: italic;
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-text .quote {
        font-size: 1.1rem;
        line-height: 1.7;
        font-weight: 500;
    }

    .hero-btn {
        display: inline-block;
        padding: 14px 34px;
        margin-top: 25px;
        background: linear-gradient(135deg, #146a4f, #ddd17b);
        color: #fff;
        font-size: 1.05rem;
        font-weight: 600;
        text-decoration: none;
        border: none;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(27, 156, 115, 0.4);
        transition: all 0.4s ease;
        letter-spacing: 0.5px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .hero-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -75px;
        width: 50px;
        height: 100%;
        background: rgba(255, 255, 255, 0.3);
        transform: skewX(-20deg);
        transition: 0.5s;
    }

    .hero-btn:hover::before {
        left: 120%;
    }

    .hero-btn:hover {
        background: linear-gradient(135deg, #14835f, #00b48d);
        box-shadow: 0 8px 25px rgba(27, 156, 115, 0.6);
        transform: translateY(-3px);
    }

    /* = RESPONSIVE STYLES = */

    /* Large tablets (max-width: 1200px) */
    @media (max-width: 1200px) {
        .hero-section {
            height: 85vh;
        }

        .hero-text {
            padding: 70px 60px;
            max-width: 600px;
        }

        .hero-text h2 {
            font-size: 2.2rem;
        }
    }

    /* Tablets (max-width: 992px) */
    @media (max-width: 992px) {
        .hero-section {
            height: 75vh;
        }

        .hero-text {
            padding: 60px 50px;
            max-width: 90%;
        }

        .hero-text h2 {
            font-size: 2rem;
        }

        .hero-text .quote {
            font-size: 1rem;
        }
    }

    /* Mobile devices (max-width: 768px) */
    @media (max-width: 768px) {
        .hero-section {
            height: 65vh;
            border-radius: 20px;
            justify-content: left;
            align-items: left;
            text-align: left;
            padding: 0 20px;
        }

        .hero-text {
            padding: 40px 20px;
            max-width: 100%;
            text-align: left;
        }

        .hero-text h2 {
            font-size: 1.8rem;
        }

        .hero-text .quran,
        .hero-text .quote {
            font-size: 0.95rem;
        }

        .hero-btn {
            padding: 12px 28px;
            font-size: 1rem;
        }
    }

    /* Small mobile (max-width: 480px) */
    @media (max-width: 390px) {
        .hero-section {
            height: 55vh;
            margin: 10px;
            border-radius: 15px;
            background-position: center top;
        }

        .hero-text {
            padding: 25px 15px;
        }

        .hero-text h2 {
            font-size: 1rem;
        }

        .hero-text .quote {
            font-size: 0.5rem;
        }

        .hero-btn {
            padding: 9px 22px;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 480px) {
        .hero-section {
            height: 55vh;
            margin: 10px;
            border-radius: 15px;
            background-position: center top;
        }

        .hero-text {
            padding: 30px 15px;
        }

        .hero-text h2 {
            font-size: 1.5rem;
        }

        .hero-text .quote {
            font-size: 0.9rem;
        }

        .hero-btn {
            padding: 10px 5px;
            font-size: 0.70rem;
        }
    }




    /*  CONTENT SECTION BELOW HERO  */
    .content-section {
        background-color: #fff;
        padding: 80px 20px;
    }

    .custom-heading {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1rem;

    }

    /* Responsive Read More behavior */
    .responsive-text {
        overflow: hidden;
        transition: max-height 0.6s ease;
    }

    @media (max-width: 768px) {
        .responsive-text {
            max-height: 120px;
        }

        .responsive-text.expanded {
            max-height: 2000px;
        }

        .read-more-btn {
            background-color: #1b9c73;
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .read-more-btn:hover {
            background-color: #157a5a;
        }
    }

    @media (min-width: 769px) {
        .read-more-btn {
            display: none;
        }

        .responsive-text {
            max-height: none;
        }
    }


    p {
        text-align: justify;
    }

    .mission-card {
        background-color: #4582A3;
        border-radius: 20px;
    }

    .vision-card {
        background-color: #db922a;
        border-radius: 20px;
    }

    .values-card {
        background-color: #5A7D63;
        border-radius: 20px;
    }

    .card ul li {
        margin-bottom: 0.5rem;
        text-align: left;
    }

    .card p {
        text-align: left;
    }

    .card .icon img {
        display: inline-block;
    }

    .hover-zoom:hover {
        transform: scale(1.05);
    }

    /* Footer */
    .footer {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: white;
        padding: 60px 20px 30px;
        text-align: center;
    }

    .footer h5 {
        color: var(--accent);
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 10px;
    }

    .footer h5::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background-color: var(--accent);
    }

    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        display: inline-block;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #e0e0e0;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .footer-links a:hover {
        color: var(--accent);
        padding-left: 5px;
    }

    .social-links a {
        display: inline-block;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        text-align: center;
        line-height: 40px;
        margin: 5px;
        color: white;
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background-color: var(--accent);
        color: #333;
        transform: translateY(-3px);
    }

    .copyright {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
        margin-top: 40px;
        font-size: 0.9rem;
    }

    /* Responsive tweaks */
    @media (max-width: 768px) {
        .content-section .row {
            flex-direction: column;
            text-align: center;
        }

        .content-section .col-md-7 {
            padding-right: 0 !important;
        }
    }


    /*  GALLERY SECTION  */
    .gallery-section {
        background-color: #f8f9fa;
        padding: 80px 20px;
    }

    .gallery-section h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 2rem;
        color: #222;
    }

    .gallery-item {
        border-radius: 16px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.4s ease;
        border-radius: 16px;
    }

    .gallery-item:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .gallery-item:hover img {
        transform: scale(1.07);
    }

    /* Optional: dark overlay on hover */
    .gallery-item::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.25);
        opacity: 0;
        transition: opacity 0.4s ease;
        border-radius: 16px;
    }

    .gallery-item:hover::after {
        opacity: 1;
    }


    /* WHY CHOOSE US SECTION */
    .why-choose-section {
        background: linear-gradient(135deg, #ffffff, #e9f7ef);
        padding: 80px 20px;
    }

    .why-choose-section h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 2rem;
        color: #222;
    }

    .why-choose-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 1.1rem;
        color: #333;
    }

    .why-choose-section li {
        position: relative;
        padding-left: 35px;
        margin-bottom: 15px;
        line-height: 1.7;
    }

    .why-choose-section li::before {
        content: "✔";
        position: absolute;
        left: 0;
        top: 0;
        color: #1b9c73;
        font-weight: 700;
        font-size: 1.2rem;
    }

    .gallery-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 16px;
        transition: transform 0.4s ease;
    }

    .why-choose-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .why-choose-list li {
        position: relative;
        padding-left: 40px;
        margin-bottom: 20px;
        font-size: 1.1rem;
        color: #333;
        line-height: 1.7;
    }

    .why-choose-list li::before {
        content: "✔";
        position: absolute;
        left: 0;
        top: 0;
        color: #1b9c73;
        font-size: 1.5rem;
        font-weight: 700;
    }


    /*  TOGGLER */
    .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.25);
        border-radius: 8px;
        padding: 6px 4px;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    @media (max-width:497px) {
        .hero-text {
            padding: 10px;
        }

        .hero-text h2 {
            font-size: 25px;
        }

        .hero-text .quote {
            font-size: 0.7rem;
        }

        .hero-text .quran {
            font-size: 0.7rem;
        }
    }

    @media (max-width:358px) {
        .hero-text {
            padding: 5px;
        }

        .hero-text h2 {
            font-size: .9rem;
        }

        .hero-text .quote {
            font-size: 0.6rem;
        }

        .hero-text .quran {
            font-size: 0.5rem;
        }
    }


