:root {
    --green: #056b4f;
    --green-dark: #034936;
    --green-light: #eaf7f2;
    --gold: #d5a62a;
    --gold-light: #fff7df;
    --dark: #10231d;
    --text: #596a63;
    --border: #e5ece8;
    --light: #f7faf8;

    /*--bs-link-color: var(--green);
    --bs-link-hover-color: var(--green-dark);

    --bs-link-color-rgb: 5, 107, 79;
    --bs-link-hover-color-rgb: 3, 73, 54;    */


    -gold: #d4a52c;
    --gold-dark: #a87f16;
    --gold-light: #fbf4dc;

    --bs-link-color: var(--gold);
    --bs-link-color-rgb: 212, 165, 44;

    --bs-link-hover-color: var(--gold-dark);
    --bs-link-hover-color-rgb: 168, 127, 22;


}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    background: #fff;
}

a {
    text-decoration: none;
}

.tajawal {
  font-family: "Tajawal";
}
.cairo {
  font-family: "Cairo";
}
.montserrat {
    font-family: "Montserrat"
}
.raleway {
  font-family: "Raleway"
}
/* =========================
   TOP BAR
========================= */

.topbar {
    background: var(--green-dark);
    color: rgba(255,255,255,.85);
    font-size: 13px;
    padding: 8px 0;
}

.topbar i {
    color: #d9b447;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #28d17c;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(40,209,124,.12);
}

/* =========================
   NAVBAR
========================= */

.navbar {
    background: rgba(200,200,200,.90);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
    transition: .3s;
}

.navbar.scrolled {
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    padding: 9px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

/* Replace this icon with your logo */

.brand-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
}

.brand-subtitle {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--green);
    font-weight: 700;
}

.nav-link {
    color: #263d35 !important;
    font-size: 14px;
    font-weight: 600;
    margin: 0 6px;
}

.nav-link:hover {
    color: var(--green) !important;
}

.btn-green {
    background: var(--green);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 700;
    transition: .3s;
}

.btn-green:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 13px 25px;
    font-weight: 700;
    transition: .3s;
}

.btn-gold:hover {
    background: #b88b17;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-green {
    border: 1px solid var(--green);
    color: var(--green);
    border-radius: 10px;
    padding: 11px 22px;
    font-weight: 700;
}

.btn-outline-green:hover {
    background: var(--green);
    color: #fff;
}

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

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 20%, rgba(213,166,42,.16), transparent 28%),
        radial-gradient(circle at 5% 90%, rgba(5,107,79,.12), transparent 30%),
        linear-gradient(135deg,#f4faf7,#fff);
    padding: 95px 0 90px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .035;
    background-image:
        radial-gradient(var(--green) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: var(--green-light);
    color: var(--green);
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--dark);
    font-size: clamp(42px,5vw,68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--green);
}

.hero-description {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.8;
    margin: 22px 0 28px;
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    font-size: 14px;
    font-weight: 600;
}

.hero-checks i {
    color: var(--green);
}

/* Hero visual */

.hero-visual {
    position: relative;
    max-width: 500px;
    margin: auto;
}

.hero-image-placeholder {
    height: 490px;
    border-radius: 35px;
    background:
        linear-gradient(145deg,
        var(--green-dark),
        var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(5,107,79,.22);
}

/*
   REPLACE THIS ENTIRE DIV WITH YOUR IMAGE.

   Example:

   <img src="assets/images/hero.jpg"
        class="img-fluid rounded-4"
        alt="Noor e Haram Quran Academy">
*/

.hero-arch {
    width: 75%;
    height: 80%;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 50% 50% 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.hero-arch::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50% 50% 5px 5px;
}

.hero-quran-icon {
    width: 110px;
    height: 110px;
    border: 2px solid var(--gold);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--gold);
}

.hero-floating-card {
    position: absolute;
    background: #fff;
    padding: 14px 18px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,.13);
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
}

.hero-floating-card i {
    color: var(--gold);
    font-size: 24px;
}

.floating-1 {
    left: -25px;
    bottom: 55px;
}

.floating-2 {
    right: -20px;
    top: 40px;
}

/* =========================
   TRUST FEATURES
========================= */

.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.trust-item {
    text-align: center;
    padding: 27px 15px;
    border-right: 1px solid var(--border);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item i {
    display: block;
    color: var(--green);
    font-size: 28px;
    margin-bottom: 8px;
}

.trust-item strong {
    color: var(--dark);
    display: block;
    font-size: 14px;
}

.trust-item small {
    font-size: 11px;
}

/* =========================
   GENERAL
========================= */

section {
    padding: 90px 0;
}

.section-label {
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 800;
}

.section-heading {
    color: var(--dark);
    font-size: 40px;
    font-weight: 800;
    margin-top: 8px;
}

.section-description {
    max-width: 650px;
    margin: 12px auto 0;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* =========================
   COURSES
========================= */

.courses {
    background: var(--light);
}

.course-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: .3s;
}

.course-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
}

.course-top {
    height: 150px;
    background: linear-gradient(135deg,var(--green),#079d73);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.course-top.gold {
    background: linear-gradient(135deg,#b98b1c,var(--gold));
}

.course-top i {
    font-size: 62px;
}

.course-content {
    padding: 25px;
}

.course-content h5 {
    color: var(--dark);
    font-weight: 800;
}

.course-content p {
    line-height: 1.7;
    font-size: 14px;
}

.course-link {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

/* =========================
   STATS
========================= */

.stats {
    background: var(--green-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .05;
    background-image:
        linear-gradient(45deg, #fff 1px, transparent 1px),
        linear-gradient(-45deg, #fff 1px, transparent 1px);
    background-size: 30px 30px;
}

.stat {
    text-align: center;
    position: relative;
}

.stat i {
    color: var(--gold);
    font-size: 28px;
}

.stat-number {
    font-size: 38px;
    font-weight: 800;
    margin-top: 5px;
}

.stat small {
    opacity: .7;
}

/* =========================
   TEACHERS
========================= */

.teacher-box {
    background: var(--green-light);
    border-radius: 25px;
    padding: 30px;
}

.teacher-card {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    height: 100%;
}

.teacher-avatar {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.teacher-card strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
}

.teacher-card small {
    font-size: 11px;
}

.teacher-online {
    color: #15995d;
    font-size: 11px;
    font-weight: 700;
}

.teacher-online::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #1bb76a;
    border-radius: 50%;
    margin-right: 5px;
}

/* =========================
   PROCESS
========================= */

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 75px;
    height: 75px;
    margin: auto;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(5,107,79,.2);
}

.process-step h5 {
    color: var(--dark);
    font-weight: 800;
    margin-top: 20px;
}

.process-step p {
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   PRICING
========================= */

.pricing {
    background: var(--light);
}

.price-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--green);
    box-shadow: 0 20px 50px rgba(5,107,79,.12);
}

.popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #fff;
    padding: 6px 17px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.price-card h5 {
    color: var(--dark);
    font-weight: 800;
}

.price {
    color: var(--green);
    font-size: 42px;
    font-weight: 800;
    margin: 15px 0;
}

.price small {
    color: #888;
    font-size: 12px;
    font-weight: 400;
}

.price-list {
    padding: 0;
    list-style: none;
    margin: 20px 0;
}

.price-list li {
    font-size: 13px;
    margin: 13px 0;
}

.price-list i {
    color: var(--green);
    margin-right: 7px;
}

/* =========================
   TESTIMONIALS
========================= */

.review {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    height: 100%;
}

.stars {
    color: var(--gold);
    margin-bottom: 15px;
}

.review p {
    line-height: 1.8;
    font-size: 14px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-author strong {
    display: block;
    color: var(--dark);
    font-size: 13px;
}

.review-author small {
    font-size: 11px;
}

/* =========================
   FAQ
========================= */

.faq .accordion-item {
    border: 1px solid var(--border);
    margin-bottom: 12px;
    border-radius: 12px !important;
    overflow: hidden;
}

.faq .accordion-button {
    font-weight: 700;
    color: var(--dark);
    padding: 20px;
}

.faq .accordion-button:not(.collapsed) {
    background: var(--green-light);
    color: var(--green);
    box-shadow: none;
}

.faq .accordion-button:focus {
    box-shadow: none;
}

/* =========================
   CTA
========================= */

.cta {
    padding: 30px 0 90px;
}

.cta-box {
    background: linear-gradient(135deg,var(--green-dark),var(--green));
    color: #fff;
    padding: 55px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: "\f52a";
    font-family: bootstrap-icons;
    position: absolute;
    right: 50px;
    top: 10px;
    font-size: 180px;
    opacity: .05;
}

.cta-box h2 {
    font-size: 38px;
    font-weight: 800;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #071f17;
    color: #aebeb7;
    padding-top: 70px;
}

footer h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-brand {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
}

footer a {
    color: #aebeb7;
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
}

footer a:hover {
    color: #fff;
}

.social {
    display: flex;
    gap: 8px;
}

.social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social a:hover {
    background: var(--green);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    margin-top: 50px;
    font-size: 12px;
}

/* =========================
   FLOATING WHATSAPP
========================= */

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #20b967;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    z-index: 999;
}

.whatsapp:hover {
    color: #fff;
    transform: scale(1.08);
}




/* =====================================================
   CONTACT
===================================================== */

.contact-card,
.map-card {

    height: 100%;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 24px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.05);

    overflow: hidden;

}


/* =====================================================
   CONTACT FORM
===================================================== */

.contact-card {

    padding: 30px;

}


.contact-card-header {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 25px;

}


.contact-icon {

    width: 52px;

    height: 52px;

    border-radius: 15px;

    background: var(--primary-soft);

    color: var(--primary);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 23px;

}


.contact-card-header h5 {

    color: var(--dark);

    font-weight: 800;

    margin: 0;

}


.contact-card-header small {

    font-size: 10px;

}


.contact-label {

    display: block;

    color: var(--dark);

    font-size: 11px;

    font-weight: 800;

    margin-bottom: 7px;

}


.contact-input {

    position: relative;

}


.contact-input > i {

    position: absolute;

    left: 14px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--primary);

    z-index: 2;

}


.contact-input .form-control,
.contact-input .form-select {

    min-height: 48px;

    padding-left: 42px;

    border-radius: 11px;

    border: 1px solid var(--border);

    background: var(--body);

    color: var(--dark);

    font-family: "Cairo", sans-serif;

    font-size: 12px;

}


.contact-input .form-control::placeholder {

    color: #9aa9a3;

}


.contact-input .form-control:focus,
.contact-input .form-select:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(8,107,80,.08);

}


.contact-textarea > i {

    top: 22px;

    transform: none;

}


.contact-textarea textarea {

    resize: vertical;

    min-height: 125px;

    padding-top: 13px;

}


/* =====================================================
   MAP
===================================================== */

.map-card {

    display: flex;

    flex-direction: column;

}


.map-wrapper {

    height: 285px;

    overflow: hidden;

    position: relative;

}


.map-wrapper iframe {

    width: 100%;

    height: 100%;

    display: block;

}


/* =====================================================
   MAP CONTACT INFO
===================================================== */

.map-contact-info {

    padding: 25px;

}


.map-contact-info h5 {

    color: var(--dark);

    font-weight: 800;

    font-size: 15px;

    margin-bottom: 20px;

}


.map-contact-info h5 i {

    color: var(--gold);

}


.contact-info-item {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

}


.contact-info-icon {

    width: 38px;

    height: 38px;

    flex-shrink: 0;

    border-radius: 10px;

    background: var(--primary-soft);

    color: var(--primary);

    display: flex;

    align-items: center;

    justify-content: center;

}


.contact-info-item strong {

    display: block;

    color: var(--dark);

    font-size: 11px;

}


.contact-info-item small {

    display: block;

    font-size: 10px;

    margin-top: 2px;

}


.contact-online {

    margin-top: 20px;

    padding: 10px 13px;

    border-radius: 10px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;

}


.contact-online .online-dot {

    display: inline-block;

    margin-right: 7px;

    vertical-align: middle;

}


/* =========================
   DARK MODE
========================= */

body.dark {
    background: #0b1713;
    color: #aebeb7;
}

body.dark .navbar {
    background: rgba(11,23,19,.97);
}

body.dark .brand-title,
body.dark .nav-link,
body.dark .section-heading,
body.dark .course-content h5,
body.dark .price-card h5,
body.dark .teacher-card strong,
body.dark .review-author strong,
body.dark .faq .accordion-button {
    color: #fff !important;
}

body.dark .hero,
body.dark .courses,
body.dark .pricing,
body.dark .faq {
    background: #0e1d18;
}

body.dark .course-card,
body.dark .price-card,
body.dark .review,
body.dark .teacher-card,
body.dark .faq .accordion-item {
    background: #14251f;
    border-color: #243b33;
}

body.dark .trust-strip {
    background: #0b1713;
    border-color: #243b33;
}

body.dark .trust-item {
    border-color: #243b33;
}

body.dark .faq .accordion-button:not(.collapsed) {
    background: #18372c;
}

/* =========================
   MOBILE
========================= */

@media(max-width: 991px) {

    .hero {
        padding-top: 70px;
    }

    .hero-visual {
        margin-top: 60px;
    }

    .floating-1 {
        left: 0;
    }

    .floating-2 {
        right: 0;
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

}

@media(max-width: 576px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-image-placeholder {
        height: 370px;
    }

    .hero-floating-card {
        display: none;
    }

    .section-heading {
        font-size: 31px;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-box h2 {
        font-size: 30px;
    }

}
