/* =========================================================
   NAUM TECH - TEACHING FACTORY
   Main Stylesheet
   Brand Color:
   Navy  : #052649
   Gold  : #F0B006
   White : #FFFFFF
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #475569;
    line-height: 1.6;
}

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

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


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --navy: #052649;
    --navy-light: #0b3b68;
    --navy-dark: #031a31;

    --gold: #F0B006;
    --gold-light: #FFF4C7;
    --gold-dark: #D99D00;

    --white: #FFFFFF;

    --light: #F8FAFC;
    --light-gold: #FBF8EA;

    --text: #475569;
    --text-dark: #1E293B;
    --border: #E2E8F0;

    --shadow:
        0 15px 40px rgba(5, 38, 73, 0.08);
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1150px, 92%);
    margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.nav-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;

    color: var(--navy);
}

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


/* MENU */

.nav-menu {
    display: flex;

    align-items: center;

    gap: 28px;

    list-style: none;
}

.nav-menu a {
    position: relative;

    font-size: 15px;
    font-weight: 600;

    color: var(--navy);

    transition: 0.3s;
}

.nav-menu a:not(.nav-button)::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: 0.3s;
}

.nav-menu a:not(.nav-button):hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--gold-dark);
}


/* NAV BUTTON */

.nav-button {

    background: var(--gold);

    color: var(--navy) !important;

    padding: 11px 19px;

    border-radius: 8px;

    font-weight: 800 !important;

    transition: 0.3s;
}

.nav-button:hover {

    background: var(--gold-dark);

    transform: translateY(-2px);
}


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

.hero {

    min-height: 650px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    color: var(--white);

    background:

        radial-gradient(
            circle at 80% 20%,
            rgba(240, 176, 6, 0.18),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            var(--navy-dark) 0%,
            var(--navy) 55%,
            var(--navy-light) 100%
        );
}


/* Decorative circle */

.hero::before {

    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    right: -220px;
    top: -170px;

    border-radius: 50%;

    border: 1px solid rgba(240, 176, 6, 0.25);
}

.hero::after {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -100px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(240, 176, 6, 0.08);
}


/* HERO CONTENT */

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 760px;
}


/* BADGE */

.hero-badge {

    display: inline-flex;

    align-items: center;

    padding: 8px 15px;

    margin-bottom: 24px;

    border:

        1px solid
        rgba(240, 176, 6, 0.5);

    border-radius: 50px;

    background:

        rgba(240, 176, 6, 0.08);

    color: #FFD75A;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.5px;
}


/* HERO TITLE */

.hero h1 {

    font-size: clamp(
        42px,
        6vw,
        72px
    );

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 26px;

    color: var(--white);
}

.hero h1 span {

    color: var(--gold);

}


/* HERO DESCRIPTION */

.hero p {

    max-width: 680px;

    margin-bottom: 34px;

    color: #DCE8F4;

    font-size: 18px;

    line-height: 1.8;
}


/* HERO BUTTONS */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 23px;

    border-radius: 8px;

    font-weight: 800;

    transition: 0.3s;
}


/* PRIMARY */

.btn-primary {

    background: var(--gold);

    color: var(--navy);

    box-shadow:

        0 8px 20px
        rgba(240, 176, 6, 0.25);
}

.btn-primary:hover {

    background: var(--gold-dark);

    transform: translateY(-3px);

    box-shadow:

        0 12px 25px
        rgba(240, 176, 6, 0.35);
}


/* OUTLINE */

.btn-outline {

    border:

        1px solid
        rgba(255, 255, 255, 0.35);

    color: var(--white);

    background:

        rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {

    border-color: var(--gold);

    background:

        rgba(240, 176, 6, 0.08);

    color: var(--gold);
}


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

.section {

    padding: 95px 0;
}


/* SECTION HEADER */

.section-header {

    max-width: 720px;

    margin:

        0 auto
        55px;

    text-align: center;
}

.section-header span {

    display: inline-block;

    margin-bottom: 9px;

    color: var(--gold-dark);

    font-size: 14px;

    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.section-header h2 {

    margin-bottom: 15px;

    color: var(--navy);

    font-size: 40px;

    line-height: 1.2;

    letter-spacing: -1px;
}

.section-header p {

    color: var(--text);

    font-size: 16px;
}


/* =========================================================
   SERVICES
========================================================= */

.services {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.service-card {

    padding: 32px;

    background: var(--white);

    border:

        1px solid
        var(--border);

    border-radius: 14px;

    transition: 0.3s;
}

.service-card:hover {

    transform: translateY(-7px);

    border-color:

        rgba(240, 176, 6, 0.45);

    box-shadow: var(--shadow);
}


/* SERVICE ICON */

.service-icon {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 21px;

    border-radius: 13px;

    background: var(--gold-light);

    color: var(--navy);

    font-size: 27px;

    border:

        1px solid
        rgba(240, 176, 6, 0.25);
}


.service-card h3 {

    margin-bottom: 10px;

    color: var(--navy);

    font-size: 20px;
}

.service-card p {

    color: var(--text);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio {

    background: var(--light-gold);
}


/* GRID */

.portfolio-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


/* CARD */

.portfolio-card {

    overflow: hidden;

    background: var(--white);

    border:

        1px solid
        var(--border);

    border-radius: 14px;

    transition: 0.3s;
}

.portfolio-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);
}


/* IMAGE */

.portfolio-image {

    height: 230px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;

    color: var(--white);

    font-size: 55px;

    background:

        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-light)
        );
}

.portfolio-image::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -70px;

    border-radius: 50%;

    background:

        rgba(240, 176, 6, 0.18);
}


/* CONTENT */

.portfolio-content {

    padding: 24px;
}

.portfolio-content h3 {

    margin-bottom: 8px;

    color: var(--navy);

    font-size: 19px;
}

.portfolio-content p {

    color: var(--text);

    font-size: 14px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;
}


/* ABOUT IMAGE */

.about-image {

    min-height: 420px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    color: var(--white);

    font-size: 90px;

    background:

        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy)
        );

    box-shadow:

        0 20px 50px
        rgba(5, 38, 73, 0.18);
}

.about-image::before {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border:

        2px solid
        rgba(240, 176, 6, 0.25);
}

.about-image::after {

    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: 50px;
    bottom: 40px;

    border-radius: 50%;

    background: var(--gold);

    opacity: 0.9;
}


/* ABOUT CONTENT */

.about-content h2 {

    margin-bottom: 22px;

    color: var(--navy);

    font-size: 40px;

    line-height: 1.2;
}

.about-content p {

    margin-bottom: 16px;

    color: var(--text);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {

    position: relative;

    overflow: hidden;

    background:

        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy)
        );

    color: var(--white);
}

.contact::after {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -150px;
    top: -150px;

    border-radius: 50%;

    background:

        rgba(240, 176, 6, 0.08);
}


.contact .section-header {

    position: relative;

    z-index: 2;
}

.contact .section-header span {

    color: var(--gold);
}

.contact .section-header h2 {

    color: var(--white);
}

.contact .section-header p {

    color: #CBD5E1;
}


/* CONTACT BUTTON */

.contact-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    position: relative;

    z-index: 2;

    padding: 15px 27px;

    border-radius: 8px;

    background: var(--gold);

    color: var(--navy);

    font-weight: 900;

    transition: 0.3s;
}

.contact-button:hover {

    background: var(--gold-dark);

    transform: translateY(-3px);
}


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

footer {

    padding: 28px 0;

    background: #020F1F;

    color: #94A3B8;

    text-align: center;

    font-size: 14px;
}

footer p {

    margin: 0;
}


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

@media (max-width: 900px) {

    .services {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .portfolio-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-image {

        min-height: 320px;
    }
}


@media (max-width: 700px) {

    .nav-container {

        min-height: 68px;
    }

    .nav-menu {

        display: none;
    }

    .hero {

        min-height: 580px;
    }

    .hero h1 {

        font-size: 44px;

        letter-spacing: -1.5px;
    }

    .hero p {

        font-size: 16px;
    }

    .section {

        padding: 70px 0;
    }

    .section-header {

        margin-bottom: 40px;
    }

    .section-header h2 {

        font-size: 32px;
    }

    .services {

        grid-template-columns: 1fr;
    }

    .portfolio-grid {

        grid-template-columns: 1fr;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;
    }

    .btn {

        width: 100%;
    }

    .about-content h2 {

        font-size: 32px;
    }
}
