:root {
    --bg: #040A15;
    --bg-secondary: #081221;
    --card: rgba(13, 23, 40, 0.8);
    --primary: #00D8FF;
    --primary-light: #77EAFF;
    --text: #FFFFFF;
    --muted: #9EB7D2;
    --border: rgba(0, 216, 255, 0.15);

    --glow:
        0 0 10px rgba(0, 216, 255, 0.4),
        0 0 20px rgba(0, 216, 255, 0.2);

    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(
        180deg,
        var(--bg),
        var(--bg-secondary)
    );
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at top center,
            rgba(0,216,255,.10),
            transparent 45%
        ),
        radial-gradient(
            circle at bottom center,
            rgba(0,216,255,.05),
            transparent 60%
        );

    z-index: -3;
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* --------------------- */
/* NAVIGATION */
/* --------------------- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(4,10,21,.75);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo-text {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* --------------------- */
/* HERO */
/* --------------------- */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 4.5rem 0;
}

.hero-logo {
    width: 960px;
    max-width: 90%;
    margin-bottom: 1.625rem;
    filter: drop-shadow(0 0 20px rgba(0,216,255,.3));
}

.eyebrow {
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: .875rem;
    font-size: .9rem;
}

.hero h1 {
    text-shadow:
        0 0 10px rgba(0,216,255,.20),
        0 0 30px rgba(0,216,255,.10);

    max-width: 1000px;
    margin: 0 auto 1.28rem;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 1.75rem;
    color: var(--muted);
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --------------------- */
/* BUTTONS */
/* --------------------- */

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: #04111d;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 15px rgba(0,216,255,.5),
        0 0 35px rgba(0,216,255,.2);
}

.btn-secondary {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.02);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --------------------- */
/* SECTIONS */
/* --------------------- */

section {
    padding: 5.5rem 0;
    /* keeps anchor targets clear of the sticky navbar */
    scroll-margin-top: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 3.125rem;
}

.section-tag {
    color: var(--primary);
    font-size: .85rem;
    letter-spacing: 3px;
    margin-bottom: .75rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: .75rem;
}

.content-block {
    max-width: 900px;
    margin: auto;
}

.content-block p {
    color: var(--muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* --------------------- */
/* SERVICES */
/* --------------------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow:
        0 0 25px rgba(0,216,255,.15);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--muted);
}

/* --------------------- */
/* PORTFOLIO */
/* --------------------- */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}


.portfolio-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background:
    linear-gradient(
        135deg,
        rgba(0,216,255,.25),
        rgba(0,216,255,.05)
    );
}

.portfolio-card h3 {
    padding: 1.25rem 1.25rem .5rem;
}

.portfolio-card p {
    padding: 0 1.25rem 1.25rem;
    color: var(--muted);
}

/* --------------------- */
/* CONTACT */
/* --------------------- */

/* Contact Form */

.contact-form {
    max-width: 800px;
    margin: auto;
    display: grid;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 15px;

    background: rgba(255,255,255,.03);
    background-color: #0D1728;

    border: 1px solid var(--border);
    border-radius: 12px;

    color: var(--text);

    font-family: inherit;
    font-size: 1rem;

    transition: all .3s ease;
}

/* Dropdown Options */

.contact-form option {
    background-color: #0D1728;
    color: #FFFFFF;
}

/* Focus States */

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;

    border-color: var(--primary);

    box-shadow:
        0 0 15px rgba(0,216,255,.15),
        0 0 30px rgba(0,216,255,.05);

    background-color: rgba(13,23,40,.95);
}

/* Hover States */

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
    border-color: rgba(0,216,255,.35);
}

/* Placeholder Text */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,.45);
}

/* Text Area */

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

/* Submit Button */

.contact-form .btn-primary {
    margin-top: .5rem;
    justify-self: center;

    /* 640px on desktop, but never wider than the form column on mobile */
    width: min(640px, 100%);
}

.contact-note {
    margin-top: 1.5rem;
    color: var(--muted);
}

/* last block in a section shouldn't add trailing space */
.section-header:last-child {
    margin-bottom: 0;
}


/* --------------------- */
/* FOOTER */
/* --------------------- */

.footer {
    border-top: 1px solid var(--border);
    padding: 2.625rem 0;
    text-align: center;
}

.footer h3 {
    color: var(--primary);
    margin-bottom: .75rem;
}

.footer p {
    color: var(--muted);
    margin-bottom: .5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;

    margin: 1.625rem 0;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;

    padding: 10px 18px;

    border: 1px solid transparent;
    border-radius: 999px;

    transition: all .3s ease;
}

.footer-links a:hover {

    color: var(--primary);

    border-color: rgba(0,216,255,.25);

    background: rgba(0,216,255,.08);

    box-shadow:
        0 0 10px rgba(0,216,255,.15),
        inset 0 0 10px rgba(0,216,255,.05);

    transform: translateY(-2px);
}

/* --------------------- */
/* SCROLLBAR */
/* --------------------- */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* --------------------- */
/* RESPONSIVE */
/* --------------------- */

@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    section {
        padding: 4rem 0;
        scroll-margin-top: 140px;
    }
}

.background-glow {
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0,216,255,.15),
            transparent 70%
        );

    z-index: -2;
    pointer-events: none;

    animation: floatGlow 12s ease-in-out infinite;
}

@keyframes floatGlow {

    0% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.2);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

.announcement-banner {

    max-width: 900px;
    margin: 0 auto 2.875rem;

    background: rgba(0,216,255,.08);

    border: 1px solid rgba(0,216,255,.25);

    padding: 16px;
    border-radius: 14px;

    text-align: center;

    color: #77EAFF;
}
.stats {

    display: flex;
    justify-content: center;
    gap: 3.5rem;

    text-align: center;

    margin-top: 3.25rem;
    flex-wrap: wrap;
}

.stat h3 {

    color: var(--primary);
    font-size: 2rem;

    margin-bottom: .5rem;
}

.stat p {
    color: var(--muted);
}

.gradient-text {
    background: linear-gradient(
        90deg,
        #00D8FF 0%,
        #77EAFF 50%,
        #00D8FF 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    text-shadow: none;
}

/* Scroll Animation */

.hidden {

    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s ease;

}

.show {

    opacity: 1;
    transform: translateY(0);

}

/* Active Menu Item */

.active-link {

    color: var(--primary) !important;

}

/* Navbar Logo */

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo 
    img {  height: 52px;
    width: auto;
    margin-left: -40px;
    transition: all 0.3s ease;

   filter:
        drop-shadow(0 0 8px rgba(0,216,255,.15))
        drop-shadow(0 0 10px rgba(0,216,255,.10));
}

.nav-logo:hover img {

   transform: scale(1.05);

   filter:
        drop-shadow(0 0 8px rgba(0,216,255,.30))
        drop-shadow(0 0 10px rgba(0,216,255,.25))
        drop-shadow(0 0 28px rgba(0,216,255,.15));
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;}