/* ==== RESET & BASE ==== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    background-color: #f3f4f6;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    font-family: inherit;
}

/* ==== LAYOUT HELPERS ==== */

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px auto;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.section-header p {
    color: #4b5563;
    margin: 0;
}

/* ==== GRID ==== */

.grid {
    display: grid;
    gap: 24px;
}

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

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ==== BUTTONS ==== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #111827;
    color: #f9fafb;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
    background-color: #020617;
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.btn-ghost {
    background-color: transparent;
    color: #f9fafb;
    border: 1px solid rgba(249, 250, 251, 0.7);
}

.btn-ghost:hover {
    background-color: rgba(249, 250, 251, 0.12);
}

.btn-light {
    background-color: #f9fafb;
    color: #111827;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
}

.btn-light:hover {
    background-color: #e5e7eb;
}

.btn-outline {
    background-color: transparent;
    color: #f9fafb;
    border: 1px solid #f9fafb;
}

.btn-outline:hover {
    background-color: #f9fafb;
    color: #111827;
}

/* ==== HEADER ==== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: #111827;
    color: #f9fafb;
    border-bottom: 1px solid #1f2937;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background-color: #020617;
    border: 1px solid #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-weight: 700;
    font-size: 14px;
}

.logo-text {
    color: #e5e7eb;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 15px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.main-nav a {
    color: #e5e7eb;
    position: relative;
    padding-bottom: 2px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #f9fafb;
    transform: translateX(-50%);
    transition: width 0.18s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 18px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 22px;
    height: 18px;
    background: none;
    border: none;
    padding: 0;
}

.nav-toggle span {
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background-color: #e5e7eb;
}

/* ==== HERO ==== */

.hero {
    padding: 120px 0 90px 0;
}

.laravel-hero {
    background-image: url("../../../../images/banners/desktop/laravel-development-services.webp"); /* replace with actual hero image */
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: -2;
    color: #f9fafb;
}

@media (max-width: 768px) {
.laravel-hero {
    background-image: url("../../../../images/banners/mobile/laravel-development-services.webp"); /* replace with actual hero image */
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: -2;
    color: #f9fafb;
}
}
.hero-inner {
    max-width: 700px;
}

.hero-eyebrow {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e5e7eb;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 16px 0;
}

.hero-subtitle {
    color: #e5e7eb;
    max-width: 640px;
    margin-bottom: 26px;
}

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

/* ==== SOLUTIONS ==== */

.section-solutions {
    background-color: #f9fafb;
}

.card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 22px 20px 22px 20px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(209, 213, 219, 0.9);
}

.solution-card h3 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 16px;
}

.solution-card p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background-color: #111827;
}

.card-icon.small {
    width: 24px;
    height: 24px;
    border-radius: 8px;
}

/* ==== STACK ==== */

.section-stack {
    background-color: #ffffff;
}

.stack-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: center;
}

.media-placeholder {
    width: 100%;
    padding-top: 65%;
    border-radius: 20px;
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.stack-copy h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
}

.stack-intro {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 20px;
}

.stack-chips {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    background-color: #111827;
    color: #f9fafb;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.3);
}

/* ==== USE CASES ==== */

.section-use-cases {
    background-color: #f9fafb;
}

.use-cases-grid {
    align-items: flex-start;
}

.use-case h3 {
    margin: 10px 0 6px 0;
    font-size: 16px;
}

.use-case p {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

/* ==== STATS ==== */

.section-stats {
    background-color: #ffffff;
    padding: 40px 0 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.stat {
    text-align: center;
}

.stat-value {
    margin: 0 0 4px 0;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.stat-label {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

/* ==== CTA ==== */

.section-cta {
    background-color: #111827;
    color: #f9fafb;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-text h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
}

.cta-text p {
    margin: 0;
    color: #e5e7eb;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==== FOOTER ==== */

.site-footer {
    background-color: #020617;
    color: #9ca3af;
    padding: 14px 0 18px 0;
}

.footer-inner {
    text-align: center;
    font-size: 12px;
}

/* ==== RESPONSIVE ==== */

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .stack-layout {
        grid-template-columns: 1.1fr 1.4fr;
        gap: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background-color: #111827;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid #1f2937;
        transition: max-height 0.2s ease;
    }

    .main-nav.open {
        max-height: 220px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 10px 20px 14px 20px;
        align-items: flex-start;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 110px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .stack-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .cta-inner {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
