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

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f6f7fd;
    color: #111827;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

a {
    text-decoration: none;
}

.container {
    width: 88%;
    max-width: 1240px;
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #090a0d 0%, #101318 48%, #161b24 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
}

.nav {
    height: 90px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #eef2f7;
}

.brand img {
    height: 58px;
    width: auto;
}

.brand span {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #eef2f7;
    letter-spacing: -0.2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #dbe4ee;
    font-size: 16px;
    font-weight: 500;
    transition: 0.2s ease;
}

.contact-btn {
    background: linear-gradient(90deg, #2f7cff, #4a8fff);
    padding: 12px 20px;
    border-radius: 12px;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(47, 124, 255, 0.30);
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #60a5fa;
    font-weight: 700;
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #eef2f7;
    border-radius: 999px;
    transition: 0.25s ease;
}

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

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

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

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(4, 6, 10, 0.88) 0%, rgba(5, 8, 14, 0.78) 28%, rgba(7, 12, 22, 0.48) 48%, rgba(8, 15, 28, 0.20) 62%, rgba(9, 18, 34, 0.14) 100%),
        url("../image/hexagon-hero-tech.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #f2f4f8;
    padding: 86px 0 74px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(3, 5, 8, 0.72) 0%,
            rgba(4, 7, 12, 0.58) 20%,
            rgba(5, 9, 16, 0.30) 40%,
            rgba(7, 12, 20, 0.12) 62%,
            rgba(8, 13, 22, 0.08) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    min-height: 560px;
}

.hero-left {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-left h1 {
    font-size: 82px;
    line-height: 0.98;
    font-weight: 800;
    margin-bottom: 26px;
    letter-spacing: -1.8px;
    color: #ffffff;
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.34);
}

.hero-left h1 span {
    font-weight: 500;
    color: #46a0ff;
}

.hero-left p {
    max-width: 670px;
    font-size: 20px;
    color: #d7e2f2;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-right {
    display: none;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 30px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    transition: 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #2f7cff, #4e93ff);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(47, 124, 255, 0.30);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: #eef4ff;
    border: 1px solid rgba(201, 219, 245, 0.24);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
}

.btn-project {
    min-height: 48px;
    padding: 0 22px;
    font-size: 16px;
    background: linear-gradient(90deg, #2f7cff, #4e93ff);
    color: #ffffff;
}

/* FEATURE BAR */

.feature-bar {
    background: linear-gradient(90deg, #0a0d13 0%, #10151d 52%, #121a24 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 30px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.feature-item:last-child {
    border-right: none;
}

.feature-icon {
    font-size: 30px;
    line-height: 1;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #f3f7ff;
}

.feature-text p {
    font-size: 14px;
    color: #d0daeb;
}

/* SECTION HEADERS */

.section-head {
    margin-bottom: 34px;
}

.section-head h2 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 6px;
    color: #1e3a8a;
}

.section-head p {
    font-size: 18px;
    color: #475569;
}

.section-head.dark h2,
.section-head.dark p {
    color: #ffffff;
}

.section-head.center {
    text-align: center;
}

/* SERVICES */

.services-section {
    position: relative;
    overflow: hidden;
    padding: 72px 0 86px;
    background:
        linear-gradient(180deg, rgba(250, 251, 255, 0.93) 0%, rgba(242, 244, 251, 0.93) 100%);
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='190' viewBox='0 0 220 190'%3E%3Cg fill='none' stroke='rgba(59,130,246,0.13)' stroke-width='1.2'%3E%3Cpath d='M55 12 L110 12 L137 55 L110 98 L55 98 L28 55 Z'/%3E%3Cpath d='M137 55 L192 55 L219 98 L192 141 L137 141 L110 98 Z'/%3E%3Cpath d='M55 98 L110 98 L137 141 L110 184 L55 184 L28 141 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 220px 190px;
    background-position: center;
    opacity: 0.85;
    pointer-events: none;
}

.services-section::after {
    content: "";
    position: absolute;
    left: -120px;
    top: 80px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.03));
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: linear-gradient(145deg, #111318 0%, #171a22 55%, #1d2330 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), transparent 60%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.service-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-icon {
    font-size: 28px;
}

.service-card h3 {
    font-size: 20px;
    line-height: 1.2;
}

.service-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
    margin-bottom: 16px;
}

.service-card p {
    color: #dbe4f5;
    font-size: 16px;
    margin-bottom: 22px;
}

.service-link {
    display: inline-block;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: #ffffff;
    padding: 11px 18px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22);
}

/* PROJECTS */

.projects-section {
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.18), transparent 30%),
        linear-gradient(90deg, #090a0d 0%, #111318 55%, #1a1f28 100%);
    padding: 70px 0 86px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 90px - 72px);
}

.projects-section::before {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -60px;
    width: 360px;
    height: 240px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(255, 255, 255, 0.02));
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.project-highlight {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #111318 0%, #1a1f29 100%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 32px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.project-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 14px;
}

.project-info p {
    color: #dce3ff;
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 600px;
}

/* CTA */

.cta-section {
    background: linear-gradient(180deg, #f6f7fc 0%, #f1f3fa 100%);
    padding: 70px 0 54px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    left: -100px;
    bottom: 0;
    width: 320px;
    height: 220px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.02));
    clip-path: polygon(0 100%, 100% 45%, 100% 100%);
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-top-line {
    width: 100%;
    max-width: 720px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.35), transparent);
    margin: 0 auto 26px;
}

.cta-content h2 {
    font-size: 34px;
    color: #1e293b;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 24px;
}

/* TRUST / VALUES */

.trust-section {
    background: linear-gradient(180deg, #f4f5fb 0%, #f8f9fd 100%);
    padding: 8px 0 48px;
}

.trust-heading {
    text-align: center;
    margin-bottom: 28px;
    color: #475569;
    font-size: 18px;
    font-weight: 700;
}

.values-inline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.value-item {
    text-align: center;
    min-height: 92px;
}

.value-item h3 {
    color: #334155;
    font-size: 20px;
    font-weight: 700;
    opacity: 0.88;
    transition: 0.25s ease;
    cursor: default;
}

.value-item p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.value-item:hover h3 {
    color: #1e3a8a;
    opacity: 1;
}

.value-item:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* CONTACT */

.contact-section {
    background: linear-gradient(180deg, #f8f9fd 0%, #f5f6fb 100%);
    padding: 0 0 84px;
}

.contact-card {
    max-width: 920px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 18px 38px rgba(22, 34, 80, 0.08);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #d9deef;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3b82f6;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

#formStatus {
    color: #475569;
    font-size: 15px;
}

/* FOOTER */

.site-footer {
    background: linear-gradient(90deg, #0a0a0c 0%, #111216 50%, #181b22 100%);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner p,
.footer-links a {
    color: #d6def9;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 18px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero {
        background-position: center right;
        padding: 72px 0 58px;
    }

    .hero-left h1 {
        font-size: 54px;
    }

    .hero-right {
        min-height: 0;
    }

    .feature-grid,
    .services-grid,
    .project-highlight {
        grid-template-columns: 1fr;
    }

    .values-inline {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .nav {
        height: 90px;
        min-height: 90px;
        flex-direction: row;
        gap: 20px;
        padding: 0;
    }
}

@media (max-width: 700px) {
    .hero {
        background:
            linear-gradient(180deg, rgba(4, 6, 10, 0.82) 0%, rgba(5, 8, 14, 0.62) 42%, rgba(8, 14, 24, 0.28) 100%),
            url("../image/hexagon-hero-tech.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 58px 0 48px;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .hero-left p {
        font-size: 18px;
    }

    .container {
        width: 92%;
    }

    .nav {
        height: 82px;
        min-height: 82px;
        flex-direction: row;
        gap: 0;
        padding: 0;
        position: relative;
    }

    .brand {
        gap: 12px;
    }

    .brand span {
        font-size: 17px;
    }

    .brand img {
        height: 46px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: 260px;
        padding: 18px;
        border-radius: 16px;
        background: linear-gradient(180deg, #0f1217 0%, #181c24 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.25s ease;
        z-index: 1200;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        font-size: 16px;
        color: #dbe4ee;
    }

    .nav-links .contact-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: inline-flex;
    }

    .section-head p,
    .cta-content p {
        font-size: 18px;
    }

    .section-head h2,
    .cta-content h2 {
        font-size: 30px;
    }

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

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

    .values-inline {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
    }

    .value-item {
        min-height: auto;
    }

    .value-item h3 {
        font-size: 18px;
    }

    .value-item p {
        display: none;
    }
}