:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #0f766e;
    /* Teal/Forest Green mix - very professional and B2B */
    --accent-hover: #115e59;
    --dark: #020617;
    --light: #f8fafc;
    --body: #334155;
    --surface: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 0.375rem;
    /* Less rounded corners for a more serious/corporate look */
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--body);
    background: var(--light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Navbar */
.bg-gradient-primary {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-link {
    font-weight: 600;
    color: var(--body) !important;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-cta {
    background-color: var(--accent);
    color: #fff;
    border: none;
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    color: #fff;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.text-accent {
    color: var(--accent) !important;
}

/* Hero Section Corporate */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--primary);
    color: #fff;
    position: relative;
    border-bottom: 4px solid var(--accent);
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.85) 100%);
    z-index: 1;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* Trust Ribbon */
.trust-ribbon {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.client-logo {
    height: 40px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Cards & Layout */
.py-6 {
    padding-block: 5rem;
}

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

.card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--surface);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.icon-square {
    width: 64px;
    height: 64px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Forms */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    border-color: var(--border);
    background-color: var(--light);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

/* 30 Years Badge */
.badge-30 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================================================
   RESPONSIVE DESIGN MODIFICATIONS (MOBILE & TABLET)
   ========================================================================= */

@media (max-width: 991.98px) {

    /* Navbar adjustments */
    .navbar-brand img {
        height: 32px !important;
    }

    .navbar-nav {
        background: var(--surface);
        padding: 1rem;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        margin-top: 1rem;
        border: 1px solid var(--border);
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .hero h1.display-4 {
        font-size: 2.2rem !important;
    }

    .hero .lead {
        font-size: 1.1rem !important;
    }

    .badge-30 {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Layout spacing adjustments */
    .py-6 {
        padding-block: 3.5rem;
    }

    /* Flex column button stacking for mobile */
    .hero .d-flex {
        flex-direction: column !important;
        width: 100%;
    }

    .hero .d-flex .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .trust-ribbon .col h5 {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero h1.display-4 {
        font-size: 1.8rem !important;
    }

    .hero .lead {
        font-size: 1rem !important;
        padding-right: 0 !important;
    }

    .card {
        padding: 1.5rem !important;
    }

    .display-6 {
        font-size: 1.7rem !important;
    }

    .trust-ribbon .col {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 1rem;
    }

    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}