/* ============================================
   1. RESET
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

/* ============================================
   2. CSS VARIABLES
   ============================================ */
:root {
    --navy: #08084F;
    --yellow: #FFD21C;
    --white: #FFFFFF;
    --light-blue: #EEF4FF;
    --light-bg: #F6F8FC;
    --muted: #667085;
    --max-width: 1360px;
    --padding-x: 72px;
}

/* ============================================
   3. GLOBAL
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

/* ============================================
   4. HEADER
   ============================================ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0 20px;
    position: relative;
    z-index: 30;
}

.logo-img {
    height: 40px;
    width: auto;
}

.header-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px 14px;
    border-radius: 8px;
}

.globe-icon {
    color: var(--navy);
    opacity: 0.7;
}

.tagline-text {
    letter-spacing: 0.01em;
}

.tagline-line {
    display: inline-block;
    width: 32px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

/* ============================================
   5. HERO
   ============================================ */
.hero {
    position: relative;
    height: clamp(660px, 72vh, 880px);
    overflow: hidden;
}

.hero-container {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-x);
    height: 100%;
    z-index: 10;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/sabilek-hero-background.png');
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.98) 12%,
        rgba(255,255,255,0.88) 28%,
        rgba(255,255,255,0.55) 45%,
        rgba(255,255,255,0.15) 62%,
        rgba(255,255,255,0) 75%
    );
    z-index: 2;
}

/* ============================================
   7. HERO LAYOUT
   ============================================ */
.hero-layout {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 5;
    padding-top: 20px;
    height: 100%;
}

.hero-left {
    width: 44%;
    padding-top: 32px;
    position: relative;
    z-index: 12;
}

/* ============================================
   HERO LEFT CONTENT
   ============================================ */
.hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero-headline {
    font-size: clamp(52px, 6vw, 84px);
    font-weight: 800;
    line-height: 0.97;
    color: var(--navy);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.yellow-dot {
    color: var(--yellow);
}

.hero-description {
    font-size: 16px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.72;
    max-width: 440px;
    margin-bottom: 36px;
}

/* ============================================
   HERO FEATURES
   ============================================ */
.hero-features {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.45;
    color: var(--navy);
}

.feature-text strong {
    font-weight: 700;
    font-size: 13.5px;
}

.feature-text span {
    color: var(--muted);
    font-weight: 400;
}

.feature-separator {
    width: 1px;
    height: 44px;
    background: rgba(8, 8, 79, 0.1);
    align-self: center;
}

/* ============================================
   7. HERO WOMAN
   ============================================ */
.hero-woman-wrapper {
    position: absolute;
    top: 30px;
    right: -1px;
    width: clamp(480px, 44vw, 680px);
    z-index: 6;
    pointer-events: none;
}

.hero-woman {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

/* ============================================
   8. DECORATIVE ELEMENTS
   ============================================ */
.decorations {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
}

.deco {
    position: absolute;
}

.deco-mena {
    top: 150px;
    right: 650px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.deco-mena .deco-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 42px;
    font-weight: 700;
    color: var(--navy);
    opacity: 0.7;
    line-height: 1.1;
}

.deco-mena .deco-sub {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--muted);
    opacity: 0.55;
}

.deco-curve {
    width: 120px;
    height: 14px;
    margin-top: 4px;
    overflow: visible;
}

.curve-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: curveDraw 1.4s ease 1s forwards;
}

.deco-people .deco-curve {
    width: 160px;
}

.deco-people .curve-path {
    animation-delay: 1.4s;
}

.deco-people {
    bottom: 250px;
    right: 480px;
    display: flex;
    flex-direction: column;
}

.deco-people .deco-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    opacity: 0.5;
    line-height: 1.2;
}

.deco-skills {
    top: 250px;
    right: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.deco-skills .deco-uppercase {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--navy);
    opacity: 0.4;
    line-height: 1.6;
}

.deco-skills .deco-line {
    display: block;
    width: 0;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
    margin-top: 8px;
    animation: lineDraw 1s ease 1.8s forwards;
}

/* ============================================
   9. COURSE CARDS
   ============================================ */
.courses {
    position: relative;
    z-index: 15;
    margin-top: -48px;
    padding: 0 var(--padding-x);
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.course-card {
    background: var(--white);
    border: 1px solid rgba(8, 8, 79, 0.06);
    border-radius: 18px;
    padding: 22px 14px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(8, 8, 79, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(8, 8, 79, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.3;
}

.card-desc {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.5;
}

/* ============================================
   10. COMING SOON
   ============================================ */
.coming-soon {
    padding: 72px var(--padding-x) 64px;
    text-align: center;
    background: var(--white);
}

.coming-soon-container {
    max-width: 760px;
    margin: 0 auto;
}

.cs-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.cs-heading {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.cs-description {
    font-size: 16px;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.email-form {
    max-width: 720px;
    margin: 0 auto;
}

.form-inner {
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border-radius: 100px;
    padding: 5px 5px 5px 22px;
    border: 1px solid rgba(8, 8, 79, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-inner:focus-within {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 210, 28, 0.15);
}

.email-icon {
    flex-shrink: 0;
    color: var(--muted);
    opacity: 0.5;
}

.email-input {
    flex: 1;
    background: transparent;
    padding: 14px 14px;
    font-size: 15px;
    color: var(--navy);
    min-width: 0;
}

.email-input::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.email-btn {
    flex-shrink: 0;
    background: var(--yellow);
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 100px;
    transition: background 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.email-btn:hover {
    background: #f0c500;
    transform: scale(1.02);
}

.email-btn:active {
    transform: scale(0.98);
}

.btn-arrow {
    margin-left: 4px;
}

.form-message {
    margin-top: 18px;
    font-size: 15px;
    font-weight: 500;
    min-height: 24px;
    transition: opacity 0.3s ease;
}

.form-message.success {
    color: #16a34a;
}

.form-message.error {
    color: #dc2626;
}

/* ============================================
   11. FOOTER
   ============================================ */
.footer {
    padding: 48px var(--padding-x) 36px;
    background: var(--white);
    border-top: 1px solid rgba(8, 8, 79, 0.06);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: background 0.25s ease, color 0.25s ease;
}

.social-link:hover {
    background: var(--navy);
    color: var(--white);
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-domain {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--navy);
}

.footer-mantra {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--navy);
    opacity: 0.45;
    margin-bottom: 10px;
}

.mantra-dot {
    opacity: 0.4;
}

.footer-tagline {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    opacity: 0.55;
}

/* ============================================
   12. RESPONSIVE
   ============================================ */
@media (max-width: 1399px) {
    :root {
        --padding-x: 48px;
    }

    .hero-woman-wrapper {
        width: clamp(440px, 42vw, 600px);
        right: -30px;
    }
}

@media (max-width: 1199px) {
    :root {
        --padding-x: 36px;
    }

    .hero {
        height: clamp(580px, 68vh, 760px);
    }

    .hero-left {
        width: 48%;
    }

    .hero-woman-wrapper {
        width: clamp(380px, 38vw, 520px);
        right: -20px;
        top: 24px;
    }

    .courses-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .deco-mena {
        right: 100px;
        top: 120px;
    }

    .deco-people {
        right: 360px;
        bottom: 180px;
    }

    .deco-skills {
        right: 30px;
        top: 180px;
    }
}

@media (max-width: 991px) {
    .hero {
        height: 620px;
        min-height: 600px;
    }

    .hero-layout {
        height: 100%;
    }

    .hero-headline {
        font-size: clamp(38px, 5vw, 52px);
    }

    .hero-features {
        flex-direction: column;
        gap: 14px;
    }

    .feature-separator {
        display: none;
    }

    .hero-woman-wrapper {
        width: clamp(320px, 36vw, 440px);
        right: -16px;
        top: 20px;
    }

    .courses-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .cs-heading {
        font-size: clamp(34px, 4vw, 48px);
    }

    .deco-people,
    .deco-skills {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --padding-x: 20px;
    }

    .header {
        padding: 18px 0 14px;
    }

    .logo-img {
        height: 38px;
    }

    .header-tagline {
        display: none;
    }

    .hero {
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .hero-layout {
        flex-direction: column;
        padding-top: 12px;
        height: auto;
    }

    .hero-left {
        width: 100%;
        padding-top: 16px;
    }

    .hero-woman-wrapper {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        z-index: 5;
    }

    .hero-headline {
        font-size: clamp(34px, 8vw, 46px);
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-features {
        gap: 12px;
    }

    .hero-background {
        background-position: center;
    }

    .hero-overlay {
        background: linear-gradient(to bottom,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,0.96) 25%,
            rgba(255,255,255,0.75) 55%,
            rgba(255,255,255,0.4) 100%
        );
    }

    .deco-mena,
    .deco-people,
    .deco-skills {
        display: none;
    }

    .courses {
        margin-top: 0;
        padding: 40px var(--padding-x);
    }

    .courses-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .coming-soon {
        padding: 56px var(--padding-x) 48px;
    }

    .cs-heading {
        font-size: clamp(30px, 7vw, 40px);
    }

    .cs-description {
        font-size: 15px;
    }

    .form-inner {
        flex-direction: column;
        border-radius: 20px;
        padding: 8px;
        gap: 0;
    }

    .email-icon {
        display: none;
    }

    .email-input {
        width: 100%;
        text-align: center;
        padding: 14px 12px;
    }

    .email-btn {
        width: 100%;
        padding: 14px;
        text-align: center;
    }

    .footer {
        padding: 36px var(--padding-x) 28px;
    }

    .footer-mantra {
        font-size: 11px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 34px;
    }

    .courses-container {
        grid-template-columns: 1fr;
    }

    .course-card {
        padding: 22px 18px;
    }

    .cs-heading {
        font-size: 30px;
    }
}

/* ============================================
   13. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes curveDraw {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}

@keyframes lineDraw {
    from { width: 0; }
    to { width: 100%; }
}

.hero-eyebrow {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-headline {
    animation: fadeInUp 0.8s ease 0.35s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-features {
    animation: fadeInUp 0.8s ease 0.65s both;
}

.hero-woman {
    animation: fadeIn 1.2s ease 0.5s both;
}

.deco {
    animation: float 4s ease-in-out infinite;
}

.deco-people {
    animation-delay: 1s;
}

.deco-skills {
    animation-delay: 2s;
}

.course-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease both;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.15s; }
.course-card:nth-child(3) { animation-delay: 0.2s; }
.course-card:nth-child(4) { animation-delay: 0.25s; }
.course-card:nth-child(5) { animation-delay: 0.3s; }
.course-card:nth-child(6) { animation-delay: 0.35s; }
.course-card:nth-child(7) { animation-delay: 0.4s; }

.coming-soon-container {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
