* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --deep: #123c38;
    --dark: #0d2f2c;
    --gold: #c9a227;
    --gold-light: #e7cf72;
    --cream: #fbfaf5;
    --bg: #f5f8f6;
    --white: #ffffff;
    --text: #203b37;
    --muted: #71817e;
    --border: #e3ebe8;
    --shadow: 0 18px 45px rgba(18, 60, 56, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    background: var(--white);
    color: var(--text);
    direction: rtl;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================
   Header
========================= */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 82px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(227, 235, 232, 0.8);
    z-index: 1000;
    transition: 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(18, 60, 56, 0.08);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--deep), var(--primary));
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.brand-text strong {
    color: var(--deep);
    font-size: 16px;
    font-weight: 800;
}

.brand-text span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    position: relative;
    padding: 10px 12px;
    color: #526764;
    font-size: 11px;
    font-weight: 600;
    transition: 0.25s;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 12px;
    left: 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 10px;
    background: var(--gold);
    transform: scaleX(0);
    transition: 0.25s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn {
    min-height: 40px;
    padding: 0 15px;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    transition: 0.25s;
}

.header-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.header-btn i {
    font-size: 12px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--deep);
    cursor: pointer;
    font-size: 18px;
}

/* =========================
   Hero
========================= */

.hero {
    position: relative;
    min-height: 720px;
    padding: 145px 0 120px;
    background:
        radial-gradient(circle at 12% 20%, rgba(201, 162, 39, 0.12), transparent 25%),
        radial-gradient(circle at 90% 70%, rgba(15, 118, 110, 0.16), transparent 28%),
        linear-gradient(135deg, #0d302c 0%, #123f3a 52%, #0f766e 100%);
    color: #fff;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.055;
    background-image:
        linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

.hero-container {
    position: relative;
    z-index: 2;
    min-height: 510px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 55px;
}

.hero-content {
    max-width: 610px;
}

.hero-badge {
    width: fit-content;
    padding: 7px 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(231, 207, 114, 0.3);
    border-radius: 50px;
    background: rgba(255,255,255,0.07);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
}

.hero-badge i {
    font-size: 11px;
}

.hero h1 {
    max-width: 650px;
    margin-bottom: 20px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-content > p {
    max-width: 570px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 2.1;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 700;
    transition: 0.25s;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 10px 25px rgba(201, 162, 39, 0.2);
}

.btn-primary:hover {
    background: #d6b33c;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.hero-stats {
    margin-top: 42px;
    display: flex;
    align-items: center;
    gap: 35px;
}

.hero-stat {
    position: relative;
    padding-left: 35px;
    display: flex;
    flex-direction: column;
}

.hero-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 1px;
    height: 38px;
    background: rgba(255,255,255,0.16);
}

.hero-stat strong {
    color: var(--gold-light);
    font-size: 25px;
    font-weight: 800;
}

.hero-stat span {
    color: rgba(255,255,255,0.55);
    font-size: 10px;
}

/* =========================
   Hero Visual
========================= */

.hero-visual {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.09);
}

.hero-circle-one {
    width: 410px;
    height: 410px;
}

.hero-circle-two {
    width: 320px;
    height: 320px;
    border-color: rgba(231, 207, 114, 0.16);
}

.quran-card {
    position: relative;
    z-index: 3;
    width: min(380px, 80%);
    min-height: 350px;
    padding: 28px;
    border: 1px solid rgba(231,207,114,0.3);
    border-radius: 25px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quran-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gold-light);
    font-size: 11px;
}

.quran-card-top i {
    font-size: 22px;
}

.ayah {
    text-align: center;
}

.ayah p {
    margin-bottom: 15px;
    color: #fff;
    font-family: "Cairo", sans-serif;
    font-size: 29px;
    line-height: 2;
    font-weight: 600;
}

.ayah span {
    color: rgba(255,255,255,0.55);
    font-size: 10px;
}

.quran-card-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--gold-light);
}

.quran-card-bottom i {
    font-size: 22px;
}

.ornament {
    width: 75px;
    height: 1px;
    background: rgba(231,207,114,0.35);
}

.floating-card {
    position: absolute;
    z-index: 5;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 13px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.14);
}

.floating-card-one {
    top: 45px;
    right: 5px;
}

.floating-card-two {
    bottom: 35px;
    left: 0;
}

.floating-icon {
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: rgba(255,255,255,0.1);
    color: #a7e3db;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon.gold {
    color: var(--gold-light);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: 10px;
}

.floating-card span {
    color: rgba(255,255,255,0.5);
    font-size: 8px;
}

.hero-bottom-wave {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 90px;
    z-index: 4;
}

.hero-bottom-wave svg {
    width: 100%;
    height: 100%;
}

.hero-bottom-wave path {
    fill: var(--white);
}
/* =========================
   SECTIONS
========================= */

.section {
    padding: 90px 0;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading.centered {
    max-width: 650px;
    margin-inline: auto;
    margin-bottom: 48px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.section-heading h2 {
    margin-bottom: 12px;
    color: var(--deep);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.5;
    font-weight: 800;
}

.section-heading p {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

/* =========================
   ABOUT
========================= */

.about-preview {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-content {
    max-width: 560px;
}

.about-intro {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    line-height: 2;
}

.about-content > p:not(.about-intro) {
    color: var(--muted);
    font-size: 13px;
    line-height: 2.1;
}

.gold-line {
    width: 65px;
    height: 3px;
    margin: 18px 0;
    border-radius: 20px;
    background: var(--gold);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.feature-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--cream);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 118, 110, 0.2);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 14px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    font-size: 18px;
}

.feature-card h3 {
    margin-bottom: 5px;
    color: var(--deep);
    font-size: 14px;
    font-weight: 800;
}

.feature-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

/* =========================
   BRANCHES
========================= */

.branches-preview {
    background: var(--bg);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.branch-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
}

.branch-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

.branch-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, 0.18);
    box-shadow: var(--shadow-hover);
}

.branch-card:hover::before {
    transform: scaleX(1);
}

.branch-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.09);
    color: var(--primary);
    font-size: 20px;
}

.branch-card h3 {
    margin-bottom: 8px;
    color: var(--deep);
    font-size: 16px;
    font-weight: 800;
}

.branch-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.loading-card {
    min-height: 150px;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px dashed var(--border);
    border-radius: 18px;
    background: var(--white);
    color: var(--muted);
    font-size: 12px;
}

.loading-card i {
    color: var(--gold);
    font-size: 18px;
}

/* =========================
   ACHIEVEMENTS
========================= */

.achievements-section {
    background: var(--white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.achievement-card {
    position: relative;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    text-align: center;
    overflow: hidden;
    transition: var(--transition);
}

.achievement-card::after {
    content: "✦";
    position: absolute;
    top: 10px;
    left: 15px;
    color: rgba(201, 162, 39, 0.2);
    font-size: 35px;
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 162, 39, 0.25);
}

.achievement-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 17px;
    border-radius: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold);
    font-size: 24px;
}

.achievement-card h3 {
    margin-bottom: 7px;
    color: var(--deep);
    font-size: 15px;
    font-weight: 800;
}

.achievement-card p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.achievement-value {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

/* =========================
   IJAZAH
========================= */

.quick-section {
    background: var(--bg);
}

/* =========================
   ACTIVITIES
========================= */

.activities-section {
    background: var(--white);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.activity-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.activity-image {
    position: relative;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(201, 162, 39, 0.1));
    color: var(--primary);
    font-size: 42px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-content {
    padding: 20px;
}

.activity-content h3 {
    margin-bottom: 8px;
    color: var(--deep);
    font-size: 15px;
    font-weight: 800;
}

.activity-content p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.activity-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
}

/* =========================
   TEACHERS
========================= */

.teachers-preview {
    background: var(--bg);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.teacher-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    text-align: center;
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.teacher-image {
    width: 105px;
    height: 105px;
    margin: 0 auto 16px;
    border: 4px solid rgba(201, 162, 39, 0.18);
    border-radius: 50%;
    background: var(--cream);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 30px;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-card h3 {
    margin-bottom: 4px;
    color: var(--deep);
    font-size: 14px;
    font-weight: 800;
}

.teacher-card p {
    color: var(--muted);
    font-size: 11px;
}

/* =========================
   CONTACT
========================= */

.contact-section {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 55px;
    align-items: start;
}

.contact-info {
    padding-top: 10px;
}

.contact-info h2 {
    margin-bottom: 12px;
    color: var(--deep);
    font-size: 28px;
    font-weight: 800;
}

.contact-info > p {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
}

.contact-item strong {
    display: block;
    margin-bottom: 1px;
    color: var(--deep);
    font-size: 12px;
    font-weight: 800;
}

.contact-item span {
    color: var(--muted);
    font-size: 11px;
}

.contact-form-wrapper {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--deep);
    font-size: 11px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    outline: none;
    border-radius: 12px;
    padding: 11px 13px;
    background: #fcfdfc;
    color: var(--text);
    font-size: 12px;
    transition: var(--transition);
}

.form-group input {
    height: 46px;
}

.form-group textarea {
    min-height: 125px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a4b0ae;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.07);
}

.contact-submit {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    margin-top: 3px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    transition: var(--transition);
}

.contact-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* =========================
   CTA
========================= */

.cta-section {
    padding: 35px 0 80px;
    background: var(--white);
}

.cta-card {
    position: relative;
    min-height: 270px;
    padding: 55px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 25%, rgba(201, 162, 39, 0.12), transparent 25%),
        linear-gradient(135deg, var(--deep), var(--primary-dark));
    color: var(--white);
    overflow: hidden;
}

.cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-decoration div {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.decoration-one {
    width: 280px;
    height: 280px;
    left: -90px;
    bottom: -150px;
}

.decoration-two {
    width: 220px;
    height: 220px;
    right: -80px;
    top: -130px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.section-label.light {
    color: var(--gold-light);
}

.cta-content h2 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.5;
    font-weight: 800;
}

.cta-content p {
    max-width: 600px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 2;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-light {
    background: var(--white);
    color: var(--deep);
}

.btn-light:hover {
    transform: translateY(-3px);
    background: var(--cream);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: #b58f19;
    transform: translateY(-3px);
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #0b2926;
    color: rgba(255, 255, 255, 0.7);
}

.footer-main {
    padding: 65px 0 45px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
}

.footer-brand .brand-icon {
    background: rgba(255, 255, 255, 0.08);
}

.footer-brand strong {
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
}

.footer-brand p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    line-height: 2;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.social-links a:hover {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-light);
    transform: translateY(-3px);
}

.footer-column h3 {
    margin-bottom: 17px;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--gold-light);
    padding-right: 4px;
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

/* =========================
   SCROLL TOP
========================= */

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .container {
        width: min(100% - 32px, 1000px);
    }

    .main-nav {
        gap: 0;
    }

    .main-nav a {
        padding-inline: 8px;
        font-size: 12px;
    }

    .hero-container {
        gap: 35px;
    }

    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .site-header {
        height: 72px;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 16px;
        left: 16px;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: var(--white);
        box-shadow: 0 20px 45px rgba(18, 60, 56, 0.12);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 11px 13px;
        border-radius: 9px;
    }

    .main-nav a:hover {
        background: var(--cream);
    }

    .main-nav a::after {
        display: none;
    }

    .header-actions {
        margin-right: auto;
    }

    .header-btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin-inline: auto;
    }

    .hero-badge,
    .hero-actions {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 440px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        max-width: none;
    }

    .about-features {
        max-width: 700px;
    }

    .branches-grid,
    .teachers-grid,
    .activities-grid,
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .container {
        width: calc(100% - 26px);
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 12px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        width: 100%;
        justify-content: space-between;
    }

    .hero-stat {
        min-width: 0;
        flex: 1;
        padding: 0 10px;
    }

    .hero-stat strong {
        font-size: 21px;
    }

    .hero-stat span {
        font-size: 9px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-circle-one {
        width: 300px;
        height: 300px;
    }

    .hero-circle-two {
        width: 245px;
        height: 245px;
    }

    .quran-card {
        width: min(290px, 82%);
        min-height: 340px;
        padding: 20px;
    }

    .ayah {
        min-height: 175px;
        font-size: 18px;
    }

    .floating-card {
        padding: 9px 11px;
    }

    .floating-card-one {
        top: 25px;
        right: 0;
    }

    .floating-card-two {
        bottom: 20px;
        left: 0;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .about-features,
    .branches-grid,
    .teachers-grid,
    .activities-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 19px;
    }

    .contact-form-wrapper {
        padding: 20px 16px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full,
    .contact-submit {
        grid-column: auto;
    }

    .cta-card {
        padding: 35px 23px;
        border-radius: 22px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px 0 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .scroll-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 400px) {
    .brand-text {
        display: none;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-stat strong {
        font-size: 18px;
    }

    .hero-stat span {
        font-size: 8px;
    }

    .floating-card {
        transform: scale(0.9);
    }
}
.mission-card{overflow:hidden;position:relative;padding:0!important}.mission-card img{width:100%;height:100%;min-height:420px;object-fit:cover;display:block}.mission-overlay{position:absolute;inset:auto 20px 20px;display:flex;flex-direction:column;gap:8px;background:rgba(8,45,37,.86);color:#fff;padding:20px;border-radius:18px;backdrop-filter:blur(8px)}.mission-overlay span{color:#d4af37;font-weight:800}.mission-overlay strong{font-size:20px;line-height:1.7}
