
/* =========================================
   DR. GODWILL — FUTURE SURGEON ACADEMY
   Developed by GODZYA GROUP
   ========================================= */

/* GOOGLE FONTS */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* GLOBAL VARIABLES */

:root {
    --navy: #06172e;
    --dark: #030d1c;
    --surface: #0b2340;
    --cyan: #00d9ff;
    --white: #ffffff;
    --mint: #50e3b3;
    --gold: #f5c76b;
    --muted: #afc3da;
    --border: rgba(0, 217, 255, 0.16);
    --shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Inter', sans-serif;
}

/* RESET */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    line-height: 1.2;
}

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

button {
    font: inherit;
    cursor: pointer;
}

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

button, a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 5px;
}

::selection {
    background: var(--cyan);
    color: var(--navy);
}

.accent {
    color: var(--cyan);
}

/* =========================================
   HEADER
   ========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 85px;
    padding: 14px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(3, 13, 28, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}

.brand-text span {
    font-size: 10px;
    color: var(--cyan);
    letter-spacing: 0.7px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 18px;
}

.navigation a {
    position: relative;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
    color: var(--cyan);
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* =========================================
   LANGUAGE FLAGS
   ========================================= */

.language-switch {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 34px;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.language-btn img {
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
}

.language-btn:hover,
.language-btn.active {
    opacity: 1;
    background: rgba(0, 217, 255, 0.08);
    border-color: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
}

/* MOBILE MENU */

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 100px 7%;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(3, 13, 28, 0.94) 0%,
        rgba(3, 13, 28, 0.75) 32%,
        rgba(3, 13, 28, 0.20) 65%,
        rgba(3, 13, 28, 0.05) 100%
    );
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 130px;
    z-index: -1;
    background: linear-gradient(
        transparent,
        var(--dark)
    );
}

.hero-content {
    position: relative;
    max-width: 660px;
    animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 24px;
    padding: 9px 17px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: rgba(0, 217, 255, 0.08);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(46px, 5.5vw, 85px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 25px;
    line-height: 1.05;
}

.hero h1 .accent {
    display: block;
    text-shadow: 0 0 35px rgba(0, 217, 255, 0.25);
}

.hero p {
    max-width: 550px;
    font-size: 17px;
    color: var(--muted);
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 53px;
    padding: 14px 25px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--cyan),
        #36b5ff
    );
    color: var(--dark);
    border: 1px solid var(--cyan);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 217, 255, 0.35);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
}

.hero-motto {
    margin-top: 32px;
    font-family: var(--heading-font);
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* =========================================
   STUDENT DASHBOARD
   ========================================= */

.student-dashboard {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1450px;
    margin: -35px auto 0;
    padding: 28px;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    align-items: center;
    gap: 20px;
    background: linear-gradient(
        135deg,
        #102b49,
        #081b32
    );
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.student-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-profile img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    background: var(--navy);
}

.student-profile span {
    color: var(--mint);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.student-profile h2 {
    font-size: 20px;
}

.dashboard-stat {
    text-align: center;
    border-left: 1px solid var(--border);
    padding: 8px;
}

.dashboard-stat strong {
    display: block;
    color: var(--cyan);
    font-family: var(--heading-font);
    font-size: 32px;
    line-height: 1.3;
}

.dashboard-stat span {
    font-size: 11px;
    color: var(--muted);
}

/* =========================================
   SECTION HEADINGS
   ========================================= */

.academy-section,
.journey-section,
.levels-section {
    max-width: 1600px;
    margin: auto;
    padding: 100px 6%;
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.eyebrow {
    display: inline-block;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--muted);
    font-size: 15px;
}

/* =========================================
   ACADEMY CARDS
   ========================================= */

.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.12);
}

.feature-card > img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    object-position: center;
}

.card-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(
        145deg,
        #102b49,
        #081b32
    );
}

.card-number {
    color: var(--cyan);
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.card-content h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.card-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.card-link {
    margin-top: auto;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
}

.card-link::after {
    content: ' →';
}

/* =========================================
   LEARNING JOURNEY
   ========================================= */

.journey-section {
    background: linear-gradient(
        180deg,
        transparent,
        rgba(0, 217, 255, 0.035),
        transparent
    );
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.journey-step {
    position: relative;
    padding: 35px 25px;
    text-align: center;
    background: rgba(11, 35, 64, 0.7);
    border: 1px solid var(--border);
    border-radius: 17px;
    transition: all 0.3s ease;
}

.journey-step:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
}

.journey-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--heading-font);
    font-size: 25px;
    font-weight: 700;
}

.journey-step h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.journey-step p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================================
   THREE LEARNING LEVELS
   ========================================= */

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.level-card {
    position: relative;
    min-height: 280px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        #102b49,
        #081b32
    );
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.level-number {
    color: var(--cyan);
    font-family: var(--heading-font);
    font-size: 45px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

.level-card h3 {
    font-size: 27px;
    margin-bottom: 15px;
}

.level-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.level-status {
    display: inline-block;
    margin-top: auto;
    padding: 6px 15px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 30px;
}

.current-level {
    border-color: var(--mint);
    box-shadow: 0 0 30px rgba(80, 227, 179, 0.08);
}

.current-level .level-status {
    color: var(--mint);
    background: rgba(80, 227, 179, 0.12);
}

.locked-level {
    opacity: 0.8;
}

.locked-level .level-number {
    color: var(--gold);
}

.locked-level .level-status {
    color: var(--gold);
    background: rgba(245, 199, 107, 0.1);
}

/* =========================================
   MOTIVATION SECTION
   ========================================= */

.motivation-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
    width: 88%;
    max-width: 1400px;
    margin: 20px auto 100px;
    padding: 35px;
    background: linear-gradient(
        135deg,
        #102b49,
        #081b32
    );
    border: 1px solid var(--border);
    border-radius: 24px;
}

.motivation-section > img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 15px;
}

.motivation-content {
    padding: 20px;
}

.motivation-content h2 {
    font-size: clamp(30px, 3.5vw, 48px);
    margin-bottom: 20px;
}

.motivation-content p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 25px;
}

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

.footer {
    padding: 60px 6% 25px;
    text-align: center;
    background: #020a16;
    border-top: 1px solid var(--border);
}

.footer-brand img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    margin: 0 auto 15px;
    border-radius: 15px;
}

.footer-brand h3 {
    font-size: 25px;
    letter-spacing: 2px;
}

.footer-brand p {
    color: var(--cyan);
    font-size: 13px;
    margin-top: 5px;
}

.footer-motto {
    font-family: var(--heading-font);
    font-size: 17px;
    letter-spacing: 1px;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 35px auto;
}

.footer-links a {
    color: var(--muted);
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cyan);
}

.education-notice {
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 25px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--muted);
}

.footer-bottom strong {
    color: var(--cyan);
    letter-spacing: 1px;
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   TABLET & SMALL DESKTOP
   ========================================= */

@media (max-width: 1250px) {

    .header {
        padding: 12px 4%;
    }

    .menu-toggle {
        display: flex;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5%;
        background: #06172e;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        max-height: 75vh;
        overflow-y: auto;
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        padding: 14px 8px;
        font-size: 15px;
        border-bottom: 1px solid var(--border);
    }

    .navigation a::after {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .student-dashboard {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .student-profile {
        grid-column: 1 / -1;
        justify-content: center;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border);
    }

    .dashboard-stat:nth-child(2) {
        border-left: none;
    }

    .feature-card > img {
        height: 200px;
    }

}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .hero {
        min-height: 620px;
        padding: 80px 6%;
        background-position: 60% center;
    }

    .hero-content {
        max-width: 500px;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(3, 13, 28, 0.94),
            rgba(3, 13, 28, 0.48)
        );
    }

    .academy-grid,
    .journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .levels-grid {
        grid-template-columns: 1fr;
    }

    .level-card {
        min-height: auto;
    }

    .motivation-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .motivation-content {
        text-align: center;
    }

}

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

@media (max-width: 600px) {

    .header {
        flex-wrap: wrap;
        justify-content: space-between;
        min-height: 75px;
        padding: 12px 4%;
        gap: 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        width: 43px;
        height: 43px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .brand-text span {
        font-size: 8px;
        letter-spacing: 0;
    }

    .header-actions {
        gap: 10px;
        flex: 1;
        justify-content: flex-end;
    }

    .language-switch {
        gap: 3px;
    }

    .language-btn {
        width: 30px;
        height: 29px;
        padding: 4px;
    }

    .language-btn img {
        width: 21px;
        height: 14px;
    }

    .menu-toggle {
        width: 35px;
        height: 35px;
    }

    .hero {
        min-height: 760px;
        padding: 310px 6% 65px;
        align-items: flex-end;
        background-size: auto 430px;
        background-position: 85% top;
        background-color: var(--dark);
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            transparent 5%,
            rgba(3, 13, 28, 0.05) 25%,
            var(--dark) 53%
        );
    }

    .hero-content {
        text-align: center;
        width: 100%;
    }

    .hero-eyebrow {
        font-size: 9px;
        letter-spacing: 1px;
        margin-bottom: 20px;
        padding: 8px 12px;
    }

    .hero h1 {
        font-size: clamp(38px, 10vw, 52px);
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

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

    .hero-buttons {
        flex-direction: column;
        margin-top: 25px;
        gap: 12px;
    }

    .btn {
        width: 100%;
    }

    .hero-motto {
        font-size: 19px;
        margin-top: 25px;
    }

    .student-dashboard {
        width: 92%;
        padding: 20px 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        margin-top: 0;
        border-radius: 16px;
    }

    .student-profile img {
        width: 60px;
        height: 60px;
    }

    .student-profile h2 {
        font-size: 19px;
    }

    .dashboard-stat {
        border-left: none;
        padding: 12px 5px;
        background: rgba(0, 217, 255, 0.035);
        border-radius: 10px;
    }

    .dashboard-stat strong {
        font-size: 29px;
    }

    .dashboard-stat span {
        font-size: 10px;
    }

    .academy-section,
    .journey-section,
    .levels-section {
        padding: 65px 5%;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .academy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card > img {
        height: 220px;
    }

    .card-content {
        padding: 22px;
    }

    .card-content h3 {
        font-size: 23px;
    }

    .journey-grid {
        gap: 12px;
    }

    .journey-step {
        padding: 25px 12px;
    }

    .journey-step > span {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .journey-step h3 {
        font-size: 19px;
    }

    .journey-step p {
        font-size: 12px;
    }

    .level-card {
        padding: 25px;
    }

    .motivation-section {
        width: 90%;
        padding: 15px;
        margin-bottom: 60px;
    }

    .motivation-section > img {
        height: 250px;
    }

    .motivation-content {
        padding: 15px 5px;
    }

    .motivation-content h2 {
        font-size: 30px;
    }

    .footer {
        padding: 45px 5% 25px;
    }

    .footer-links {
        gap: 15px 20px;
    }

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

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================
   END — GODZYA GROUP
   Learn. Care. Heal.
   ========================================= */
