/* Premium B2B Enterprise Theme - Council Transport */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Premium Corporate */
    --bg-main: #F9FAFB;
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;
    --bg-slate: #1E293B;
    --primary: #1D4ED8;
    /* Royal Blue */
    --primary-hover: #2563EB;
    --secondary: #475569;
    --accent: #10B981;
    /* Trust/Success Green */
    --text-main: #111827;
    --text-muted: #6B7280;
    --text-light: #F8FAFC;
    --border: #E5E7EB;
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    scroll-padding-top: 80px;
    /* Accounts for the fixed header */
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-main);
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary.dark {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--bg-main);
    border-color: #D1D5DB;
}

.btn-secondary.dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.nav-logo .logo {
    height: 110px;
    width: auto;
    transform: scale(1.1);
    transform-origin: left center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a.btn-primary {
    color: #fff;
    opacity: 1;
    /* Ensure text is fully visible */
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.btn-primary:hover {
    color: #fff;
}

.btn-login {
    color: var(--text-main);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 81px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 6px;
}

.mobile-menu a.btn-primary {
    color: #ffffff !important;
}

.mobile-menu a:hover {
    background: var(--bg-main);
}

.mobile-menu a.btn-primary:hover {
    background: var(--primary-hover);
    color: #ffffff !important;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(29, 78, 216, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
}

.badge-icon {
    color: var(--accent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-trust {
    font-size: 0.875rem;
    color: #64748B;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-image-container {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-slate);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Sections General */
section {
    padding: 100px 0;
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-gray {
    background-color: var(--bg-main);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Split Feature Blocks */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-split.reverse {
    direction: rtl;
}

.feature-split.reverse>* {
    direction: ltr;
}

.feature-split:last-child {
    margin-bottom: 0;
}

.feature-text {
    max-width: 500px;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.check-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-image {
    position: relative;
}

.feature-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: block;
}

/* Value Cards (Council Benefits) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(29, 78, 216, 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.value-card p {
    color: var(--text-muted);
}

/* Metrics/Stats Strip */
.stats-strip {
    background: var(--primary);
    padding: 64px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 32px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}

.stat-desc {
    font-weight: 500;
    opacity: 0.9;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Carousel Section (Platform View) */
.carousel-container {
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-dark);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    border: 1px solid var(--border);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.carousel-btn.prev {
    left: 24px;
}

.carousel-btn.next {
    right: 24px;
}

.carousel-nav-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-nav-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-nav-dots .dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.carousel-nav-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

/* CTA Banner Section */
.cta-banner {
    background: var(--bg-slate);
    border-radius: 16px;
    padding: 64px;
    text-align: center;
    color: white;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(29, 78, 216, 0.2), transparent 40%);
    pointer-events: none;
}

.cta-banner h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-banner p {
    color: #94A3B8;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 2;
}

.cta-banner .cta-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 110px;
    width: auto;
    margin-bottom: 24px;
    transform: scale(1.1);
    transform-origin: left center;
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 1rem;
    max-width: 350px;
    font-size: 0.95rem;
}

.footer-h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: #64748B;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: white;
}

/* Security Feature Image Custom Styling */
.security-feature-image {
    background: var(--bg-dark);
    padding: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.security-icon-box {
    text-align: center;
    color: white;
}

.security-icon-box svg {
    margin-bottom: 16px;
}

.security-icon-box div {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .hero-content-wrapper,
    .feature-split,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .feature-split {
        gap: 40px;
    }

    .feature-split.reverse {
        direction: ltr;
    }

    .feature-split.reverse>* {
        direction: ltr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .nav-logo .logo {
        height: 60px;
    }

    .nav-content {
        padding: 0.5rem 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 40px 24px;
        margin: 40px 0;
    }

    .cta-banner .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-banner .cta-buttons a {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta a {
        width: 100%;
        text-align: center;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .feature-split {
        margin-bottom: 60px;
    }

    .feature-text h3 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .security-feature-image {
        padding: 32px 24px;
        flex-direction: column;
        gap: 24px;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 12px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .carousel-btn.prev {
        left: 12px;
    }

    .carousel-btn.next {
        right: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    section {
        padding: 60px 0;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}