:root {
    --navy: #0B1F3A;
    --navy-dark: #071528;
    --gold: #D4AF37;
    --white: #ffffff;
    --light: #f6f7f9;
    --gray: #6b7280;
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #111;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

section {
    /* padding: 90px 0; */
    padding: 60px 0;
}

h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}


.btn-gold:hover {
    opacity: 0.95;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    /* background: var(--navy); */
    background: rgba(0, 19, 0, 0.951);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    gap: 40px;
    position: relative;
}

.logo {
    text-decoration: none;
    /* display: flex; */
    /* flex-direction: column;
    align-items: flex-start;
    gap: 2px; */
    font-weight: 700;
    white-space: nowrap;
    position: absolute;
    left: 20px;
}

.logo-deeb {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 42px;
    font-weight: 700;
    /* letter-spacing: 5px; */
    line-height: 1;
}

.logo-academy {
    color: var(--white);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.nav-links a:last-child {
    position: absolute;
    right: 20px;
    margin-left: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:last-child {
    background: var(--gold);
    color: var(--navy);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    margin-left: auto;
    font-weight: 600;
}

.nav-links a:last-child::after {
    display: none;
}

.nav-links a:last-child:hover {
    color: var(--navy);
    opacity: 0.95;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* HERO */
.hero {
    height: 100vh;
    background:
        /* linear-gradient(rgba(7, 21, 40, 0.85), rgba(7, 21, 40, 0.85)),
        url('assets/logo.jpeg') center/cover no-repeat; */
        linear-gradient(rgba(6, 36, 1, 0.936), rgba(2, 29, 1, 0.896)),
        url('assets/logo.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero span {
    color: var(--gold);
}

.hero p {
    margin-bottom: 30px;
    color: #ddd;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* WHY */
.why {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    /* more breathing room so lifted cards don't reach the title */
    position: relative;
    z-index: 3;
    /* keep title above lifted cards */
}

.section-title h2 {
    font-size: 34px;
    letter-spacing: 1px;
}

.section-title span {
    color: var(--gold);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
    margin-top: 18px;
}

.card {
    background: white;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    z-index: 1;
}

.card h3 {
    margin: 15px 0;
}

.card p {
    color: var(--gray);
    font-size: 14px;
}

.card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.card svg {
    display: block;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
    z-index: 2;
    /* raise hovered card above siblings but below title */
}

.card:hover .card-icon {
    background: var(--gold);
    border-color: var(--gold);
}

.card:hover .card-icon svg path {
    stroke: #071528;
}

@media (max-width: 600px) {
    .section-title h2 {
        font-size: 26px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }
}

/* COURSES */
.courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.course {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.course h3 {
    margin-bottom: 10px;
}

.course p {
    color: var(--gray);
    font-size: 14px;
}

.course .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.course .card-icon svg {
    display: block;
}

.course:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
}

.course:hover .card-icon {
    background: var(--gold);
    border-color: var(--gold);
}

.course:hover .card-icon svg path {
    stroke: #071528;
}

.course-enroll {
    display: inline-block;
    margin-top: 16px;
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.course-enroll:hover {
    background: var(--gold);
    color: var(--navy);
}

@media (max-width: 600px) {
    .course .card-icon {
        width: 52px;
        height: 52px;
    }

    .course-enroll {
        padding: 8px 10px;
    }
}

/* PRICING */
.pricing {
    background: var(--light);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.price-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.price-card.highlight {
    /* background: var(--navy); */
    background: linear-gradient(rgba(6, 36, 1, 0.936), rgba(2, 29, 1, 0.896));
    color: white;
    border: 2px solid var(--gold);
    transform: scale(1.05);
}

.price-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.price-card .muted-small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.price-card .badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: var(--gold);
    color: var(--navy);
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.18);
}

.price-card.highlight:hover {
    transform: scale(1.06);
    box-shadow: 0 22px 50px rgba(16, 24, 40, 0.18);
    outline: 2px solid rgba(212, 175, 55, 0.18);
    outline-offset: 6px;
}

.price-card:hover:not(.highlight) {
    transform: translateY(-8px);
    /* match courses: stronger shadow, gold accent and outline */
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
    border-color: rgba(212, 175, 55, 0.25);
    outline: 2px solid rgba(212, 175, 55, 0.15);
    outline-offset: 6px;
}

/* Icon circle for pricing cards */
.price-card .card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

/* On card hover make icon gold and svg stroke dark */
.price-card:hover .card-icon {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px) scale(1.03);
}

.price-card:hover .card-icon svg {
    stroke: var(--navy) !important;
}

@media (max-width: 600px) {
    .price-card .card-icon {
        width: 60px;
        height: 60px;
    }
}

.price-card .btn {
    margin-top: 14px;
}

@media (max-width: 800px) {
    .price-card .badge {
        top: -12px;
        font-size: 11px;
        padding: 5px 8px;
    }

    .price-card.highlight {
        transform: none;
    }
}

.price-card h2 {
    margin: 15px 0;
}

.price-card ul {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.price-card.highlight .btn {
    background: var(--gold);
    color: var(--navy);
}

/* DEMO */
.demo {
    /* background: var(--navy); */
    background: linear-gradient(rgba(6, 36, 1, 0.936), rgba(2, 29, 1, 0.896));
    color: white;
}

.demo form {
    max-width: 500px;
    margin: auto;
    display: grid;
    gap: 15px;
}

.demo input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #102b4d;
    color: white;
}

/* Two-column demo layout */
.demo-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 30px;
    align-items: center;
}

.demo-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    padding: 28px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5);
}

.demo-lead {
    color: #e6eef8;
    margin-bottom: 12px;
    font-size: 15px;
}

.demo-image {
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.5);
    background: linear-gradient(rgba(7, 21, 40, 0.36), rgba(7, 21, 40, 0.36)), url('assets/logo.jpeg') center/cover no-repeat;
    min-height: 520px;
    /* min-height: 640px; */
    display: block;
}

.demo-form .input-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.demo-form .input-row.half {
    width: 100%;
}

.demo-form label {
    font-size: 13px;
    color: #cbd8ea;
}

.demo-form input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    outline: none;
    transition: box-shadow 0.18s ease, transform 0.12s ease, border-color 0.12s ease;
}

.demo-form input:focus {
    box-shadow: 0 8px 20px rgba(10, 20, 40, 0.35);
    transform: translateY(-2px);
    border-color: var(--gold);
}

.field-error {
    color: #ffd6c4;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

/* Buttons inline for demo */
.demo-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.demo-actions .btn {
    flex: 0 1 auto;
}

/* remove left-margin on outlined button to avoid overlap */
.demo-form .btn-outline {
    margin-left: 0;
}

@media (max-width: 600px) {
    .demo-actions {
        flex-direction: column;
        width: 100%;
    }

    .demo-actions .btn {
        width: 100%;
        display: block;
    }

    .demo-form .btn-outline {
        margin-left: 0;
    }
}

@media(max-width:900px) {
    .demo-grid {
        grid-template-columns: 1fr;
    }

    .demo-image {
        order: -1;
        min-height: 300px;
    }
}

/* Slightly increase form padding and add left accent on wide screens */
@media(min-width:901px) {
    .demo-card {
        padding: 36px;
    }

    .demo-card::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 18px;
        bottom: 18px;
        width: 6px;
        background: linear-gradient(180deg, rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.6));
        border-radius: 6px;
    }

    .demo-card {
        position: relative;
    }
}

/* CONTACT */
.contact {
    background: linear-gradient(180deg, #fbfdff, #ffffff);
}

.contact-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 36px;
    align-items: stretch;
    /* keep both columns equal height */
}

.contact-card {
    /* background: linear-gradient(180deg, rgba(11, 31, 58, 0.98), rgba(7, 21, 40, 0.98)); */
    background: linear-gradient(rgba(6, 36, 1, 0.936), rgba(2, 29, 1, 0.896));
    color: white;
    padding: 34px 28px 28px 28px;
    border-radius: 14px;
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* stretch content to match right card height */
}

.contact-card h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.contact-desc {
    color: #dbeaf8;
    margin-bottom: 14px;
    line-height: 1.6;
    /* more breathing room */
    font-size: 15px;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}

.contact-badge {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.16);
}

.contact-tag {
    color: #f7f7fb;
    margin: 0;
    font-size: 14px;
}

.social-row {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    /* no background so brand colors show clearly */
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.social-icon svg {
    display: block;
    margin: auto;
    transition: stroke 0.18s ease, fill 0.18s ease;
}

.social-icon:hover {
    transform: translateY(-4px);
    background: transparent;
    /* ensure no bg appears on hover */
}

/* Brand color hover for social icons */
.social-icon.fb:hover svg path,
.social-icon.fb:hover svg rect,
.social-icon.fb:hover svg circle {
    stroke: #1877F2 !important;
    /* Facebook blue */
    /* fill: #1877F2 !important; */
}

.social-icon.yt:hover svg path,
.social-icon.yt:hover svg rect,
.social-icon.yt:hover svg circle {
    stroke: #FF0000 !important;
    /* YouTube red */
    fill: #FF0000 !important;
}

.social-icon.wa:hover svg path,
.social-icon.wa:hover svg rect,
.social-icon.wa:hover svg circle {
    stroke: #25D366 !important;
    /* WhatsApp green */
    fill: #25D366 !important;
}

.social-icon.email:hover svg path,
.social-icon.email:hover svg rect,
.social-icon.email:hover svg circle {
    stroke: #ffffff !important;
    /* fill: #ffffff !important; */
}

/* Small screens: increase icon touch target and spacing */
@media (max-width: 600px) {
    .social-row {
        gap: 16px;
        justify-content: flex-start;
    }

    .social-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

.contact-info p {
    margin: 8px 0;
    color: #e6f0fb;
}

.contact-info a {
    color: #fff;
    text-decoration: underline;
}

.contact-cta {
    margin-top: 14px;
    display: flex;
    gap: 12px;
}

.contact-form {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(2, 6, 23, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form .input-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.contact-form label {
    font-size: 13px;
    color: var(--gray);
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.06);
    background: #fff;
    color: #071528;
    outline: none;
    transition: box-shadow 0.18s ease, transform 0.12s ease, border-color 0.12s ease;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.muted-small {
    font-size: 13px;
    color: var(--gray);
}

@media(max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Make contact CTA buttons stack nicely on smaller screens */
@media (max-width: 900px) {
    .contact-cta {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .contact-cta .btn {
        width: 100%;
        display: block;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .contact-cta {
        gap: 10px;
    }

    .contact-cta .btn {
        padding: 12px 16px;
        font-size: 15px;
    }
}

/* FOOTER */
footer {
    /* background: var(--navy); */
    background: linear-gradient(rgba(6, 36, 1, 0.936), rgba(2, 29, 1, 0.896));
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 100px;
    /* display: flex;
    justify-content: space-between; */
    margin-bottom: 30px;
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        /* ensure three columns on wide screens */
    }
}

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-socials .social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    /* white circle on navy footer */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, outline 0.12s ease;
}

.footer-socials .social-icon svg {
    width: 18px;
    height: 18px;
}

.footer-socials .social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.28);
    outline: 3px solid rgba(212, 175, 55, 0.12);
}

/* Brand fills inside white circles */
.footer-wa svg path {
    fill: #25D366 !important;
}

.footer-fb svg path {
    fill: #1877F2 !important;
}

.footer-yt svg path {
    fill: #FF0000 !important;
}

.footer-tk svg path {
    fill: #000000 !important;
}

.footer-mail svg path,
.footer-mail svg rect {
    stroke: #071528 !important;
}

footer a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}




/* MOBILE */
@media(max-width:830px) {
    .nav-wrapper {
        justify-content: space-between;
        position: relative;
    }

    .logo {
        position: relative;
        left: auto;
        order: 1;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        width: 220px;
        padding: 20px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a:last-child {
        position: relative;
        right: auto;
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        padding: 12px 20px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .logo-deeb {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .logo-academy {
        font-size: 11px;
    }

    .nav-links a:last-child {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        padding: 12px 20px;
    }
}