:root {
    --brand-red: rgb(203, 32, 38);
    --brand-red-dark: rgb(152, 35, 38);
    --brand-red-darker: rgb(120, 28, 30);
}

/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    background: black;
}

/* Logo */
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.9) !important;
    background-color: #000000 !important;
    backdrop-filter: blur(10px);
    height: 80px;
}

.navbar-nav .nav-link {
    color: #d1d5db !important;
    transition: color 0.3s;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--brand-red) !important;
    }

.btn-danger {
    background-color: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
}

    .btn-danger:hover {
        background-color: var(--brand-red-dark) !important;
        border-color: var(--brand-red-dark) !important;
    }

@media (max-width: 991px) {
    #navbarNav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
        --bs-border-opacity: 1;
        border-color: rgba(var(--bs-secondary-rgb),var(--bs-border-opacity)) !important;
        --bs-bg-opacity: 1;
        background-color: rgba(var(--bs-black-rgb),var(--bs-bg-opacity)) !important;
    }

    .navbar-nav.mx-auto {
        margin: 20px !important;
    }

    #navbarNav a.btn.btn-danger {
        width: 100%;
    }

    .nav-btn-wrapper {
        margin: 0 20px 20px !important;
    }
}

/* Hero Sections */
.hero-section {
    min-height: 0;
    background: linear-gradient(135deg, #000000 0%, #27272a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

/* Responsive */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 80vh;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, rgb(152, 35, 38) 1px, transparent 1px), linear-gradient(rgb(152, 35, 38) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

    .gradient-text svg {
        color: var(--brand-red);
        min-width: 20px;
        min-height: 20px;
    }

.badge-custom {
    background-color: rgba(203, 32, 38, 0.1);
    border: 1px solid rgba(203, 32, 38, 0.2);
    color: var(--brand-red);
}

/* Cards */
.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

.bg-gradient-red {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
}

.bg-gradient-red {
    background: linear-gradient(135deg, var(--brand-red-dark), var(--brand-red-darker));
}

/* Stats Section */
.stats-card {
    background-color: rgba(39, 39, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(113, 113, 122, 0.3);
}

/* Feature Cards */
.feature-card {
    background-color: rgba(39, 39, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(113, 113, 122, 0.3);
    transition: all 0.3s;
}

    .feature-card:hover {
        transform: scale(1.05);
        border-color: rgba(203, 32, 38, 0.5);
    }

/* Text Colors */
.text-danger-custom {
    color: var(--brand-red) !important;
}

.text-secondary-custom {
    color: #9ca3af !important;
}

/* Buttons */
.btn-outline-danger {
    color: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
}

    .btn-outline-danger:hover {
        background-color: rgba(203, 32, 38, 0.1) !important;
        border-color: var(--brand-red) !important;
        color: var(--brand-red) !important;
    }

/* Footer Links */
footer a:hover {
    color: var(--brand-red) !important;
}

/* Team Member Cards */
.team-card img {
    transition: transform 0.3s;
}

.team-card:hover img {
    transform: scale(1.05);
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 0.25rem rgba(203, 32, 38, 0.25);
}

/* Page Transitions */
.page {
    display: none;
    animation: fadeIn 0.5s;
}

    .page.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    /*    .hero-section {
        min-height: 60vh;
    }*/

    .display-1 {
        font-size: 2.5rem;
    }

    .display-2 {
        font-size: 2rem;
    }
}

.tracking-tight {
    --tw-tracking: -0.025em;
    letter-spacing: -0.025em;
}

h1, h2, h3, h4, h5 {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.squares-bg {
    background-image: linear-gradient(to right, rgb(152, 35, 38) 1px, transparent 1px), linear-gradient(rgb(152, 35, 38) 1px, transparent 1px);
    background-size: 80px 80px;
}

.CaseStudiesUnderBlocks {
    max-width: 200px;
}

.rounded20 {
    border-radius: 20px;
}

.bg-danger-dark {
    background-color: #982326;
}

.bg-brand-red {
    background-color: var(--brand-red);
}

.bg-brand-red-dark {
    background-color: var(--brand-red-dark);
}

.bg-gradient-hard {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0));
}

svg.bi {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-content: center;
    justify-content: center;
}

    .icon-box i,
    .icon-box svg.bi {
        display: flex;
        justify-self: center;
        align-self: center;
        margin: 0;
        min-width: 24px;
        min-height: 24px;
    }

#map_canvas {
    height: 300px;
    border-width: 1px;
    border-color: #666666;
    border-style: solid;
}

#map_canvas_wrapper {
    position: relative;
    padding-top: 470px;
    min-height: 300px;
    background-color: #ebe8de;
    width: 100%;
}

    #map_canvas_wrapper > #map_canvas {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 0;
    }

.pb-32 {
    padding-bottom: calc(var(--spacing)*32) !important;
}

.minw-0 {
    min-width: 0 !important;
}

@media(max-width:991px) {
    .w-auto-sm {
        width: auto !important;
    }
}

@media (min-width: 992px) {
    .order-first-lg {
        order: -1;
    }
}

.mw-16,
.icon-box svg.bi.mw-16 {
    min-width: 16px;
}

.mh-16,
.icon-box svg.bi.mh-16 {
    min-width: 16px;
}

.mw-28,
.icon-box svg.bi.mw-28 {
    min-width: 28px;
}

.mh-28,
.icon-box svg.bi.mh-28 {
    min-width: 28px;
}

.figure-caption li {
    position: relative;
    padding-left: 14px;
}

    .figure-caption li svg {
        position: absolute;
        left: 0;
        top: 5px;
    }

.rolloverLink {
    -webkit-text-decoration: none;
    text-decoration: none;
    color: var(--bs-heading-color);
}

    .rolloverLink:hover {
        color: var(--brand-red);
    }

.mh-0 {
    min-height: 0;
}
