:root {
    --primary: #3aa0c8;
    --primary-dark: #1d7ea4;
    --secondary: #0f172a;
    --text: #1f2937;
    --muted: #6b7280;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    --radius: 18px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
}

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

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.brand-mini {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    color: var(--text);
    font-weight: 500;
    transition: 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background:
        linear-gradient(135deg, rgba(58, 160, 200, 0.08), rgba(29, 126, 164, 0.02)),
        linear-gradient(180deg, #ffffff, #f8fbfd);
    padding: 70px 0 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge,
.section-tag {
    display: inline-block;
    background: rgba(58, 160, 200, 0.12);
    color: var(--primary-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--secondary);
    margin-bottom: 18px;
    font-weight: 800;
}

.hero-text {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 720px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.btn {
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

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

.btn-outline {
    border: 1px solid var(--border);
    color: var(--secondary);
    background: var(--white);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 6px;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-right {
    display: grid;
    gap: 20px;
}

.logo-card,
.contact-card {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.logo-card img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.contact-card h3 {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.contact-card ul {
    list-style: none;
}

.contact-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 500;
}

.contact-card li span {
    width: 28px;
    text-align: center;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg);
}

.section-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 42px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--secondary);
    line-height: 1.2;
}

/* About */
.about-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--shadow);
    max-width: 980px;
    margin: 0 auto;
}

.about-box p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 1.03rem;
}

.about-box p:last-child {
    margin-bottom: 0;
}

/* Services */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
}

/* Projects */
.projects-list {
    display: grid;
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}

.project-item {
    background: var(--white);
    border-left: 5px solid var(--primary);
    padding: 24px 24px 24px 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.project-item h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.project-item p {
    color: var(--muted);
}

/* Approach */
.approach-grid,
.tech-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.approach-box,
.tech-card,
.why-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.approach-box h3,
.tech-card h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.approach-box p,
.tech-card p {
    color: var(--muted);
}

.why-item {
    font-weight: 600;
    color: var(--text);
}

/* Contact */
.contact-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
}

.contact-left h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 14px;
}

.contact-left p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 700px;
}

.contact-right {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 28px;
    backdrop-filter: blur(8px);
}

.contact-line {
    margin-bottom: 14px;
    color: var(--white);
}

.contact-line:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #0b1220;
    color: rgba(255, 255, 255, 0.75);
    padding: 22px 0;
    text-align: center;
}

.footer-content p {
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-grid,
    .contact-wrapper,
    .cards-grid,
    .approach-grid,
    .tech-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 50px;
    }
}

@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
        gap: 12px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    .logo-card,
    .contact-card,
    .about-box,
    .service-card,
    .approach-box,
    .tech-card,
    .why-item,
    .project-item {
        padding: 20px;
    }
}