:root {
    /* Brand Palette: White & Red */
    --primary-color: #D32F2F;
    /* Brand Red */
    --primary-dark: #b71c1c;
    --text-primary: #333333;
    --text-secondary: #555555;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #eeeeee;
    --border-color: #e0e0e0;

    --transition: all 0.3s ease;
    --section-padding: 60px 0;
    /* Compact padding */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    /* Slightly tighter container */
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-weight: 700;
    color: var(--text-primary);
}

.text-left {
    text-align: left;
}

.text-white {
    color: white !important;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-gray {
    background-color: var(--bg-gray);
}

.p-4 {
    padding: 2rem;
}

.rounded {
    border-radius: 8px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    /* Less rounded for professional look */
    font-weight: 600;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid white;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.btn-nav {
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 6px 18px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: white !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Hero Section - Optimized Height */
.hero {
    height: 65vh;
    /* Reduced from 100vh for compactness */
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero_background.png') center/cover;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 70px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
    color: white;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 300;
    color: #efefef;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Consolidated Section Layouts */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* About section wider than Differentiators */
    gap: 50px;
    align-items: start;
}

.subsection-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    display: inline-block;
}

.content-block p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* Feature List (Differentiators) */
.feature-list.compact li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.feature-list.compact li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Services Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    /* Tighter gap */
}

.card.small-card {
    background: white;
    padding: 25px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    /* Red accent border */
    border-radius: 4px;
    text-align: left;
    /* Left align is smarter for reading */
    transition: var(--transition);
}

.card.small-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card.small-card .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.card.small-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card.small-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Engagement List */
.list-compact .item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.list-compact .item i {
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Location Map Column */
.map-bg {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.location-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.location-list li i {
    margin-right: 15px;
    opacity: 0.8;
}

/* Floating Widget */
.floating-widget {
    position: fixed;
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-direction: column;
    align-items: flex-end;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
    /* Let clicks pass through when collapsed */
}

.floating-widget.active {
    right: 20px;
    bottom: 20px;
}

/* The Button state */
.widget-toggle {
    pointer-events: auto;
    background: var(--primary-color);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    font-weight: 600;
    transform: none;
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.widget-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* The Panel state */
.widget-content {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 320px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 0;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-widget.active .widget-content {
    transform: scale(1);
    opacity: 1;
}

.floating-widget.active .widget-toggle {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.widget-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
}

.widget-close:hover {
    color: var(--primary-color);
}

.widget-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.widget-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Footer */
footer {
    background: #111;
    color: #888;
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left,
.footer-right {
    flex: 1;
    min-width: 250px;
}

.footer-right {
    text-align: left;
}

.footer-right i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        height: auto;
        padding: 100px 0 60px;
    }

    .floating-widget {
        right: 15px;
        bottom: 15px;
    }

    .widget-content {
        width: 300px;
        /* Slightly smaller on mobile if needed */
    }
}