/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #0d472a;          /* Deep Islamic Emerald Green */
    --primary-light: #155e39;
    --accent: #d4af37;           /* Warm Gold */
    --accent-hover: #f0c435;
    --dark: #111111;
    --light-bg: #f4f7f5;
    --white: #ffffff;
    --gray: #666666;
    --border-color: #e5ece8;
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   2. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.w-100 {
    width: 100%;
}

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

.section-title h2 {
    font-size: 2.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title h2 span {
    color: var(--accent);
}

.section-title p {
    color: var(--gray);
    font-size: 1rem;
}

/* ==========================================================================
   3. CAPSULE BUTTONS & PROMINENT BADGES
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--accent);
    color: var(--dark) !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;             /* Capsule Pill Button */
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-enroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--light-bg);
    color: var(--primary);
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 50px;             /* Capsule Button */
    margin-top: 15px;
    transition: var(--transition);
}

.btn-enroll:hover {
    background-color: var(--primary);
    color: var(--white);
    padding-left: 26px;
}

.badge {
    background-color: rgba(212, 175, 55, 0.25);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   4. NAVBAR & PROMINENTLY HIGHLIGHTED CAPSULE NAV LINKS
   ========================================================================== */
.navbar {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.logo .logo-img {
    height: 42px !important;
    max-height: 42px !important;
    width: auto !important;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.logo span {
    color: var(--accent);
}

/* Capsule Nav Menu & Prominent Active/Hover Highlights */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu a {
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 9px 22px;
    border-radius: 50px;              /* Capsule Pill Shape */
    transition: var(--transition);
    display: inline-block;
    border: 1px solid transparent;
}

/* Hover Highlight */
.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Active Highlighted Button (Bohot prominent Gold Glow Pill) */
.nav-menu a.active {
    background-color: var(--accent) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5) !important;
    border-color: var(--accent) !important;
}

/* Free Trial Primary CTA Button in Nav */
.nav-menu a.btn-primary {
    padding: 10px 24px;
    margin-left: 5px;
}

.hamburger {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
    padding: 120px 0 100px;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 22px;
    line-height: 1.25;
    font-weight: 700;
}

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

.hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.92;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 18px;
}

/* ==========================================================================
   6. FEATURES & STATS CARDS
   ========================================================================== */
.features {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(10, 60, 38, 0.08);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(10, 60, 38, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(13, 71, 42, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 22px;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.92rem;
}

.stats-section {
    background-color: var(--light-bg);
    padding: 70px 0;
    text-align: center;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.4rem;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   7. ABOUT BRIEF & FORM CARD
   ========================================================================== */
.about-brief h2 {
    font-size: 2.3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-brief h2 span {
    color: var(--accent);
}

.about-brief p {
    color: var(--gray);
    margin-bottom: 15px;
}

.about-checklist {
    margin: 25px 0;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--primary);
}

.check-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.about-img-box img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.form-header {
    margin-bottom: 25px;
}

.form-header h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header p {
    color: var(--gray);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--primary);
    margin-right: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 20px;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;             /* Capsule Inputs */
    font-family: var(--font-main);
    font-size: 0.95rem;
    background-color: #fafcfb;
    transition: var(--transition);
}

.form-group textarea {
    border-radius: 20px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(13, 71, 42, 0.12);
}

/* ==========================================================================
   8. COURSE CARDS
   ========================================================================== */
.course-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--accent);
    padding: 5px 16px;
    border-radius: 50px;             /* Capsule Badge */
    font-size: 0.75rem;
    font-weight: 600;
}

.course-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.course-card-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 20px;
    background-color: #1a2c22;
}

.course-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-card-img-wrap img {
    transform: scale(1.06);
}

.course-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.course-card p {
    color: var(--gray);
    font-size: 0.92rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   9. FLOATING WHATSAPP BUTTON & BACK TO TOP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 58px;
    height: 58px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.12);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   10. FOOTER & FOOTER LOGO FIX
   ========================================================================== */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding-top: 70px;
}

.footer-col p {
    opacity: 0.85;
    font-size: 0.92rem;
    margin-bottom: 22px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo img.logo-img,
.footer-logo img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--accent);
    margin-bottom: 22px;
    font-size: 1.15rem;
}

.footer-links li,
.footer-contact-list li {
    margin-bottom: 12px;
    font-size: 0.92rem;
    opacity: 0.85;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-links i,
.footer-contact-list i {
    color: var(--accent);
    margin-right: 8px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 22px 0;
    margin-top: 60px;
    font-size: 0.88rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-policy-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.bottom-policy-links a {
    color: var(--white);
    opacity: 0.8;
}

.bottom-policy-links a:hover {
    color: var(--accent);
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--primary);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        gap: 15px;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .grid-3, .grid-2, .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}