/* ============================================
   BW Supply Chain — Design System Stylesheet
   ============================================ */

/* --- Tokens --- */
:root {
    --primary-color: #0a192f;
    --secondary-color: #c5a059;
    --text-dark: #1a202c;
    --text-body: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --lift: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-weight: 700;
}

h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--primary-color);
    font-weight: 600;
}

h1 { font-size: 3rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
h2 { font-size: 2.25rem; line-height: 1.3; margin-bottom: 1rem; font-weight: 600; }
h3 { font-size: 1.5rem; line-height: 1.4; margin-bottom: 0.75rem; font-weight: 600; }
h4 { font-size: 1.125rem; line-height: 1.5; margin-bottom: 0.5rem; }

p { color: var(--text-body); margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.overline {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 12px;
    display: block;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body);
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.flex { display: flex; }
.grid { display: grid; gap: 30px; }

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.text-gold { color: var(--secondary-color); }
.text-white { color: var(--white); }

/* Divider bar */
.divider {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border: none;
    margin: 40px auto 0;
}

.divider-left {
    margin-left: 0;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    background-color: transparent;
    color: var(--primary-color);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-ghost {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* --- Header --- */
header {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    position: relative;
}

.nav-links a:not(.contact-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.contact-btn):hover::after,
.nav-links a:not(.contact-btn).active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.contact-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    letter-spacing: 1px;
    font-size: 0.8rem !important;
}

.contact-btn::after { display: none !important; }

.contact-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white) !important;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p,
.footer-col a {
    color: #a0aec0;
    margin-bottom: 12px;
    display: block;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* --- Feature Images --- */
.feature-image {
    width: 100%;
    height: auto;
    display: block;
}

.feature-image-section {
    padding: 0;
    overflow: hidden;
}

.feature-image-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Philosophy Section --- */
.philosophy-section {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 100%), url('https://assets.k12path.com/BWSupplyChain/1370.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.3) 0%, rgba(26, 54, 93, 0.3) 100%);
    z-index: 1;
}

.philosophy-section > .container {
    position: relative;
    z-index: 2;
}

.philosophy-quote {
    background-color: rgba(10, 25, 47, 0.75);
    padding: 40px;
    border-radius: 4px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-quote p {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--secondary-color);
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 0;
    text-align: center;
    color: var(--white);
}

.philosophy-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 4px;
}

.philosophy-content .overline {
    color: var(--secondary-color);
}

.philosophy-content h2,
.philosophy-content h4,
.philosophy-content p {
    color: var(--text-dark);
}

.philosophy-content p {
    color: var(--text-body);
}

/* --- Hero --- */
.hero {
    height: 90vh;
    background-color: var(--primary-color);
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cbd5e0;
    line-height: 1.8;
}

/* --- Service Cards --- */
.service-card {
    background: var(--white);
    padding: 44px 36px;
    border-top: 4px solid transparent;
    transition: var(--lift);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    position: relative;
}

.service-card:hover {
    border-top-color: var(--secondary-color);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    font-size: 1.35rem;
}

/* --- Capability Sections (Landing Page) --- */
.capability-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.capability-section:nth-child(even) {
    background-color: var(--bg-light);
}

.capability-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.capability-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.95rem;
}

.capability-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* --- Feature Cards (border-left accent) --- */
.feature-card {
    background-color: var(--white);
    padding: 32px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: var(--lift);
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.feature-card h4 {
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* --- Showcase Page: Case Studies --- */
.showcase-hero {
    background-color: var(--primary-color);
    color: var(--white);
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.showcase-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.showcase-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.showcase-hero .container {
    position: relative;
    z-index: 2;
}

.showcase-hero .overline {
    color: var(--white) !important;
}

.showcase-hero h1 {
    color: var(--white);
    font-size: 3.25rem;
    margin-bottom: 16px;
}

.showcase-hero p {
    font-size: 1.15rem;
    color: #cbd5e0;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

.case-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--lift);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.case-card-img {
    height: 220px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.case-card-img .case-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

.case-card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-card-body .overline {
    margin-bottom: 10px;
}

.case-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.case-card-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    flex: 1;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.case-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    background-color: var(--bg-light);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    letter-spacing: 0.5px;
}

/* --- Stat Bar --- */
.stat-bar {
    background-color: var(--white);
    padding: 60px 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.75rem;
    margin-bottom: 8px;
}

.stat-item p {
    color: #718096;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-bottom: 0;
}

/* --- Page Headers (FAQ, Policy) --- */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 12px;
}

.page-header p {
    color: #cbd5e0;
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #cbd5e0;
}

.faq-question {
    padding: 22px 28px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease;
    color: var(--text-body);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 20px 28px;
    max-height: 500px;
    border-top: 1px solid var(--border-color);
}

.icon-plus {
    font-size: 1.4rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .icon-plus {
    transform: rotate(45deg);
}

/* --- Policy Tabs --- */
.policy-container {
    display: flex;
    gap: 50px;
    min-height: 600px;
}

.policy-tabs {
    flex: 0 0 250px;
    border-right: 1px solid var(--border-color);
}

.tab-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 24px;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--transition);
}

.tab-btn:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.tab-btn.active {
    border-left-color: var(--secondary-color);
    color: var(--primary-color);
    background-color: var(--bg-light);
    font-weight: 600;
}

.tab-content {
    flex: 1;
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: #cbd5e0;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-buttons .btn:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-buttons .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* --- Grid Helpers --- */
.grid-2col {
    grid-template-columns: 1fr 1fr;
}

.grid-2col-showcase {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

/* --- Mobile Menu --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .hero h1 { font-size: 3rem; }

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

@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px 40px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.35s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        letter-spacing: 1px;
    }

    .nav-links a:not(.contact-btn)::after {
        display: none;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.4);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Hero */
    .hero { height: 75vh; }
    .hero h1 { font-size: 2.2rem; line-height: 1.15; }
    .hero p { font-size: 1rem; margin-bottom: 28px; }
    .hero-content { padding: 0 4px; }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.25rem; }

    /* Sections */
    .section { padding: 60px 0; }
    .capability-section { padding: 60px 0; }

    /* All 2-col grids collapse to 1 on mobile */
    .grid-2col {
        grid-template-columns: 1fr;
    }

    .grid-2col-showcase {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    /* Service cards grid */
    .service-card { padding: 32px 24px; }
    .service-card p { min-height: auto !important; }

    /* Feature cards grid */
    .feature-card { padding: 24px; }

    /* Philosophy quote block */
    .grid-2col > div[style*="height: 420px"] {
        height: auto !important;
        min-height: 240px;
    }

    /* Stats */
    .stat-bar { padding: 40px 0; }
    .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .stat-item h3 { font-size: 2.2rem; }
    .stat-item p { font-size: 0.8rem; letter-spacing: 1px; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    footer { padding: 50px 0 24px; }
    .footer-grid { margin-bottom: 32px; }

    /* Policy */
    .policy-container {
        flex-direction: column;
        gap: 0;
        min-height: auto;
    }

    .policy-tabs {
        flex: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 24px;
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .tab-btn {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 12px 16px;
        font-size: 0.85rem;
        text-align: center;
        flex: 1;
        min-width: auto;
    }

    .tab-btn.active {
        border-left-color: transparent;
        border-bottom-color: var(--secondary-color);
    }

    /* Showcase hero */
    .showcase-hero { padding: 80px 0 60px; }
    .showcase-hero h1 { font-size: 2.2rem; }
    .showcase-hero p { font-size: 1rem; }

    /* Case cards */
    .case-card-img { height: 160px; }
    .case-card-body { padding: 24px; }
    .case-card-body h3 { font-size: 1.15rem; }

    /* Page headers */
    .page-header { padding: 70px 0 50px; }
    .page-header h1 { font-size: 2rem; }
    .page-header p { font-size: 0.95rem; }

    /* CTA */
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 1.8rem; }
    .cta-section p { font-size: 0.95rem; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
    .cta-buttons .btn,
    .cta-buttons .btn-outline { width: 100%; max-width: 280px; text-align: center; }

    /* Buttons */
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .btn-outline { padding: 12px 24px; font-size: 0.9rem; }

    /* Overline */
    .overline { font-size: 0.7rem; letter-spacing: 2.5px; }

    /* Lead text */
    .lead { font-size: 1.05rem; }

    /* FAQ */
    .faq-question { padding: 18px 20px; font-size: 0.95rem; }
    .faq-item.active .faq-answer { padding: 16px 20px; }
    .faq-answer p { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .hero { height: 70vh; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.9rem; }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }

    .stat-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item h3 { font-size: 1.8rem; }

    .container { padding: 0 16px; }

    .nav-links { width: 240px; padding: 90px 28px 28px; }

    .logo { font-size: 1.5rem; }

    .tab-btn { font-size: 0.75rem; padding: 10px 8px; }

    .case-card-img { height: 140px; }
    .case-card-body { padding: 20px; }
    .case-tag { font-size: 0.65rem; padding: 3px 8px; }

    .showcase-hero h1 { font-size: 1.8rem; }
    .page-header h1 { font-size: 1.75rem; }
}
