* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5b7cff;
    --primary-dark: #3f5ce0;
    --secondary: #0f172a;
    --bg: #081120;
    --bg-light: #0d1b2f;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #b6c2d9;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    --radius: 18px;
    --transition: all 0.35s ease;
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #0f0f1e 100%) !important;;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.site-wrapper {
    position: relative;
}

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(91, 124, 255, 0.12);
    border: 1px solid rgba(91, 124, 255, 0.35);
    color: #c9d5ff;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 18px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-heading p {
    color: var(--text-muted);
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 17, 32, 0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 28px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    border-radius: 10px;
    background: var(--text);
}

.hero {
    padding-top: 130px;
    position: relative;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.hero::before {
    width: 260px;
    height: 260px;
    background: rgba(91, 124, 255, 0.22);
    top: 80px;
    left: 5%;
}

.hero::after {
    width: 320px;
    height: 320px;
    background: rgba(84, 242, 255, 0.12);
    bottom: 40px;
    right: 8%;
}

.hero-container,
.about-container,
.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1748ce);
    color: white;
    box-shadow: 0 12px 30px rgba(91, 124, 255, 0.28);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.stat-card {
    min-width: 150px;
    padding: 20px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.stat-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-image {
    position: relative;
}

.hero-image img,
.about-image img {
    border-radius: 24px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    animation: floatY 4s ease-in-out infinite;
}

.card-one {
    top: 20px;
    right: -20px;
}

.card-two {
    bottom: 25px;
    left: -25px;
    animation-delay: 1.2s;
}

.about-content h2,
.contact-info h2,
.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.about-content p,
.contact-info p,
.cta-box p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.about-features {
    display: grid;
    gap: 18px;
    margin-top: 25px;
}

.feature-item {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.feature-item h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.services-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card,
.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(91, 124, 255, 0.45);
}

.service-card img,
.project-card img {
    height: 220px;
    object-fit: cover;
}

.service-card h3,
.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p,
.project-content p {
    color: var(--text-muted);
}

.service-card {
    padding-bottom: 24px;
}

.service-card h3,
.service-card p {
    padding-left: 22px;
    padding-right: 22px;
}

.service-card h3 {
    margin-top: 20px;
}

.project-content {
    padding: 22px;
}

.project-content span {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.9rem;
    color: #c9d5ff;
}

.cta-box {
    text-align: center;
    padding: 60px 30px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.18), rgba(84, 242, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.contact-details {
    margin-top: 25px;
    display: grid;
    gap: 16px;
}

.contact-item {
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.contact-item h4 {
    margin-bottom: 6px;
}

.contact-form {
    background: var(--surface);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(91, 124, 255, 0.6);
    box-shadow: 0 0 0 4px rgba(91, 124, 255, 0.12);
}

.contact-form textarea {
    resize: vertical;
}

.footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@media (max-width: 992px) {

    .hero-container,
    .about-container,
    .contact-container,
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-image,
    .about-image {
        order: -1;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 84px;
        right: 5%;
        width: 260px;
        background: #0c172a;
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 20px;
        display: none;
    }

    .nav.show {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 18px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .section {
        padding: 80px 0;
    }

    .hero-stats {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .container {
        width: 92%;
    }

    .contact-form {
        padding: 22px;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }
}