/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080b12;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 100px 8%;
}


/* =========================
   NAVBAR
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 11, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}

/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 150px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
    display: block;
}


/* Logo Footer */

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    width: 135px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

.logo span,
.footer-logo span {
    color: #00d9ff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: #b9c0cc;
    font-size: 14px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #00d9ff;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    padding-top: 150px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

    max-width: 1400px;
    margin: auto;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(0, 217, 255, 0.12),
            transparent 30%
        );
}

.hero-text {
    max-width: 650px;
}

.small-title {
    color: #00d9ff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #00d9ff;
}

.hero-text > p:not(.small-title) {
    color: #9ca6b5;
    max-width: 570px;
    font-size: 17px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background: #00d9ff;
    color: #061018;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.25);
}

.btn-secondary {
    border: 1px solid #303846;
    color: white;
}

.btn-secondary:hover {
    border-color: #00d9ff;
    color: #00d9ff;
}

/* WHATSAPP BUTTON */

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.whatsapp-icon {
    width: 19px;
    height: 19px;
    fill: currentColor;
    flex-shrink: 0;
}

/* =========================
   CODE CARD
========================= */

.hero-card {
    width: 470px;
    max-width: 100%;

    background: #10151f;
    border: 1px solid #252d3a;
    border-radius: 15px;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);

    overflow: hidden;
    transform: rotate(2deg);
}

.code-header {
    height: 45px;
    background: #171d28;

    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 18px;
}

.code-header span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #485363;
}

.code-content {
    padding: 35px;
    font-family: "Courier New", monospace;
    color: #aeb8c8;
    font-size: 14px;
}

.code-content p {
    margin-bottom: 15px;
}

.code-content span {
    color: #00d9ff;
}

.indent {
    padding-left: 25px;
}


/* =========================
   SECTION TITLE
========================= */

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title p {
    color: #00d9ff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 40px;
    line-height: 1.2;
}


/* =========================
   FEATURES
========================= */

.features {
    background: #0b0f17;
}

.feature-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 30px;
    background: #10151f;
    border: 1px solid #252d3a;
    border-radius: 12px;

    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-7px);
    border-color: #00d9ff;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: #8f99a9;
    font-size: 14px;
}


/* =========================
   SERVICES
========================= */

.service-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    padding: 35px;
    background: linear-gradient(
        145deg,
        #111722,
        #0d121b
    );

    border: 1px solid #252d3a;
    border-radius: 14px;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #00d9ff;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    color: #919baa;
}



/* =========================
   ABOUT
========================= */

.about {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about > div > p:last-child {
    color: #9ca6b5;
    font-size: 17px;
}


/* =========================
   CONTACT
========================= */

.contact {
    background: #0b0f17;
}

.contact-box {
    max-width: 900px;
    margin: auto;

    text-align: center;

    padding: 70px 30px;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 217, 255, 0.12),
            transparent 60%
        );

    border: 1px solid #252d3a;
    border-radius: 20px;
}

.contact-box h2 {
    font-size: 45px;
    margin-bottom: 15px;
}

.contact-box > p:not(.small-title) {
    color: #9ca6b5;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 35px 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #202733;

    color: #727c8c;
}

.footer-logo {
    font-size: 22px;
    font-weight: bold;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
    }

    .hero-text {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        width: 100%;
        transform: none;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 650px) {
    
    .logo img {
    width: 120px;
    max-height: 45px;
}

.footer-logo img {
    width: 115px;
    max-height: 42px;
}

    section {
        padding: 75px 6%;
    }

    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 43px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .feature-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .about h2 {
        font-size: 34px;
    }

    .contact-box h2 {
        font-size: 34px;
    }

    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* =========================
   MENU HAMBURGER
========================= */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;

    background: transparent;
    border: 1px solid #303846;
    border-radius: 8px;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 10px;

    transition: 0.3s;
}


/* =========================
   MOBILE NAVBAR
========================= */

@media (max-width: 650px) {

    .navbar {
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 75px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;

        gap: 0;

        padding: 10px 20px 20px;

        background: rgba(8, 11, 18, 0.98);
        border-bottom: 1px solid #252d3a;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 14px 5px;

        border-bottom: 1px solid #1d2430;
    }
}