:root {
    --primary: #0F172A;
    --primary-dark: #111827;
    --accent: #D4A017;
    --accent-dark: #b98b12;
    --light-bg: #f8fafc;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    --card-shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.container-custom {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

/* Topbar */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    padding: 10px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.topbar strong {
    color: #fde68a;
}

/* Header */
.site-header {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-custom {
    min-height: 88px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--primary) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.18rem;
}

.site-logo {
    width: auto;
    height: 54px;
    max-height: 54px;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 10px 14px !important;
    border-radius: 10px;
    transition: 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: #f1f5f9;
    color: var(--primary) !important;
}

.btn-brand,
.btn-outline-brand,
.btn-outline-darkbrand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 13px 22px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-brand {
    background: var(--accent);
    color: #fff;
    border: none;
}

.btn-brand:hover {
    background: var(--accent-dark);
    color: #fff;
}

.btn-outline-brand {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-brand:hover {
    background: var(--primary);
    color: #fff;
}

.btn-outline-darkbrand {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-darkbrand:hover {
    background: var(--primary);
    color: #fff;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 1.06;
    margin-bottom: 18px;
    color: #fff;
}

.hero-text {
    color: rgba(255,255,255,0.88);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-chip {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
}

.hero-side-card {
    background: #fff;
    color: var(--text-dark);
    border-radius: 24px;
    box-shadow: var(--card-shadow-lg);
    padding: 30px;
}

.hero-side-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.hero-side-card p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.hero-side-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.hero-side-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.hero-side-list span {
    color: var(--accent);
    font-weight: 700;
}

/* Section generic */
.section-padding {
    padding: 88px 0;
}

.bg-light-custom {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 42px;
}

.section-subtitle {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3vw, 2.9rem);
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--primary);
}

.section-text {
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.image-stack {
    position: relative;
}

.main-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--card-shadow-lg);
    object-fit: cover;
    min-height: 480px;
}

.floating-card {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    padding: 20px;
    max-width: 290px;
}

.floating-card h4 {
    font-family: 'Poppins', sans-serif;
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 1.1rem;
}

.floating-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.content-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 34px;
}

.feature-list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.feature-line {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-icon-small {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(212,160,23,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-line h5 {
    font-family: 'Poppins', sans-serif;
    margin: 0 0 4px;
    color: var(--primary);
}

.feature-line p {
    margin: 0;
    color: var(--text-muted);
}

/* Cards */
.service-card,
.project-card,
.team-card,
.testimonial-card,
.blog-card,
.contact-card,
.stats-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    height: 100%;
}

.service-card-inner,
.project-card-inner,
.team-card-inner,
.testimonial-card-inner,
.blog-card-inner,
.contact-card-inner,
.stats-card-inner {
    padding: 24px;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(212,160,23,0.14);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.card-link {
    color: var(--accent-dark);
    font-weight: 700;
}

.card-link:hover {
    color: var(--accent);
}

.service-card h5,
.project-card h5,
.team-card h5,
.blog-card h5,
.contact-card h5 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-card p,
.project-card p,
.team-card p,
.blog-card p,
.contact-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.project-card img,
.team-card img,
.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-meta,
.blog-meta {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.team-role {
    color: var(--accent-dark);
    font-weight: 700;
    margin-bottom: 8px;
}

/* Stats */
.stats-wrapper {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--card-shadow-lg);
}

.stats-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: none;
}

.stats-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    line-height: 1;
    color: #fde68a;
    font-weight: 800;
    margin-bottom: 8px;
}

.stats-label {
    color: rgba(255,255,255,0.88);
    font-weight: 600;
}

/* Testimonials */
.quote-mark {
    font-family: 'Poppins', sans-serif;
    font-size: 72px;
    line-height: 1;
    color: rgba(212,160,23,0.18);
    padding: 18px 24px 0;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-company {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 14px;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 28px;
    box-shadow: var(--card-shadow-lg);
    padding: 54px 28px;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 14px;
    color: #fff;
}

.cta-section p {
    color: rgba(255,255,255,0.88);
    max-width: 760px;
    margin: 0 auto 24px;
}

/* Footer */
.footer-section {
    background: #0b1220;
    color: #d1d5db;
    padding: 74px 0 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.08rem;
    margin-bottom: 16px;
}

.footer-site-logo {
    width: auto;
    height: 48px;
    max-height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-text {
    color: #cbd5e1;
    margin-bottom: 0;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
}

.footer-links a:hover {
    color: #fde68a;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 34px;
    padding-top: 18px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .navbar-brand {
        font-size: 1.02rem;
    }

    .site-logo {
        height: 48px;
        max-height: 48px;
    }

    .footer-site-logo {
        height: 44px;
        max-height: 44px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 80px 0;
    }

    .section-padding {
        padding: 70px 0;
    }

    .topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .topbar-left,
    .topbar-right {
        justify-content: center;
    }

    .content-card,
    .hero-side-card,
    .service-card-inner,
    .project-card-inner,
    .team-card-inner,
    .testimonial-card-inner,
    .blog-card-inner,
    .contact-card-inner,
    .stats-card-inner {
        padding: 20px;
    }

    .main-image img {
        min-height: 320px;
    }

    .project-card img,
    .team-card img,
    .blog-card img {
        height: 220px;
    }

    .site-logo {
        height: 44px;
        max-height: 44px;
    }

    .footer-site-logo {
        height: 40px;
        max-height: 40px;
    }
}