/* =============================================================================
   Global & Base Styles
============================================================================= */

/* Universal reset & font smoothing */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'DM Sans', serif !important;
}

/* Section container */
section {
    overflow: hidden;
}

/* HTML and Body defaults */
html,
body {
    font-size: 16px;
    color: #444444;
    width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    font-weight: 400;
    font-family: 'DM Sans', serif !important;
    scroll-behavior: smooth !important;
}

/* =============================================================================
   Media Queries
============================================================================= */

/* Mobile adjustments (max-width: 768px) */
@media (max-width: 768px) {
    /* Remove left padding for lists */
    ul {
        padding-left: 0 !important;
    }
}

/* =============================================================================
   Dropdown & Navbar Overrides
============================================================================= */

/* Dropdown Menu styling */
.dropdown-menu {
    width: 100%;
    background-color: rgb(68, 68, 68) !important;
}

.dropdown-menu .dropdown-item {
    color: #fff !important;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #ff5d02 !important;
    color: #fff !important;
}

/* Widget area layout */
.widget_area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Desktop adjustments for widget area and navbar */
@media (min-width: 768px) {
    .widget_area {
        flex-wrap: nowrap;
    }
    .widget_area .col-md-3 {
        flex: 1 1 auto;
    }
    .navbar-callus {
        display: none;
    }
    .navbar-expand-md .navbar-toggler {
        display: none;
    }
}

/* Navbar toggler icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M1.5 12.5h13v-1h-13v1zm0-5h13v-1h-13v1zm0-5h13v-1h-13v1z'/%3E%3C/svg%3E") !important;
}

/* Focus state for navigation links */
.nav-link:focus {
    color: #ff5d02 !important;
}

/* Utility for logo color */
.orange-logo-color {
    color: #ff5d02 !important;
}

/* Button minimum width override */
.btn {
    min-width: 200px !important;
}

/* =============================================================================
   Service & Content Sections
============================================================================= */

/* Service Section styling */
.service_section {
    color: white;
    font-family: 'DM Sans', serif !important;
    line-height: 1.6;
}
.service_section h2 {
    font-weight: bold;
}
.service_section p {
    margin-bottom: 1rem;
}
.service_section ul {
    margin-left: 2rem;
    list-style-type: disc;
}

/* Specialty Services styling */
.specialty_services {
    margin: 1rem 0;
    background-color: transparent;
    color: white;
}
.specialty_services .list-group-item {
    background-color: transparent;
    font-weight: bold;
    border: none;
    line-height: 3rem;
}
.specialty_services .list-group-item span {
    font-weight: normal;
}

/* FAQ answer background */
.faq_answer {
    background-color: #303030;
}

/* Full width for .tow element on smaller screens */
@media (max-width: 991px) {
    .tow {
        width: 100% !important;
    }
}

/* Custom accordion button icon */
.accordion-button:after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

/* Paragraph defaults */
p {
    font-size: 1rem;
    line-height: 2rem;
    margin: 0 0 15px;
}

/* =============================================================================
   Service Card Component
============================================================================= */

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}
.service-card .icon {
    font-size: 3rem;
    margin-bottom: 8px;
}
.service-card h5 {
    font-size: 1.2rem;
    margin: 5px 0;
    color: #ff6e20 !important;
    font-weight: bold;
}
.service-card p {
    font-size: 1rem;
    line-height: 2rem;
    margin: 0;
}
.service-card:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Service Card margin for mobile devices */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 15px;
    }
}

/* =============================================================================
   Service Area Accordion & Region Cards
============================================================================= */

.service_area_item {
    border: none;
    margin-bottom: 3px;
}
.service_area_item .accordion-body {
    background-color: black;
    color: white;
    line-height: 1.5;
}
.service_area_item .region-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.service_area_item .region-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    flex: 1 1 calc(50% - 8px);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    color: white;
}
.accordion-header h5 {
    color: #ff6e20 !important;
}
.service_area_item .region-card h5 {
    font-size: 1.2rem;
    margin: 5px 0;
    color: #ff6e20 !important;
    font-weight: bold;
}

/* =============================================================================
   Reviews Section
============================================================================= */

.reviews {
    background-color: #303030;
}
.review-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.2);
}
/* Review Card margin for mobile devices */
@media (max-width: 768px) {
    .review-card {
        margin-bottom: 20px;
    }
}

/* =============================================================================
   Spacing & Alignment Utilities
============================================================================= */

/* Roomy spacing (padding-top and padding-bottom) */
.roomy-100 { padding: 100px 0; }
.roomy-80  { padding: 100px 0 80px; }
.roomy-70  { padding: 70px 0; }
.roomy-60  { padding: 60px 0; }
.roomy-50  { padding: 50px 0; }
.roomy-40  { padding: 40px 0; }
.roomy-10  { padding: 10px 0; }

/* =============================================================================
   Text Color Utilities
============================================================================= */
.text-primary-onsite,
.text-primary {
    color: #ff5f09 !important;
}
.text-white {
    color: #fff !important;
}
.text-black {
    color: #000 !important;
}

/* =============================================================================
   Background Color Utilities
============================================================================= */
.bg-primary,
.bg-primary-brand {
    background-color: #ff5d02 !important;
}
.bg-mega {
    background-color: #1b1b1b;
}
.bg-black {
    background-color: #222222;
}
.bg-white {
    background-color: #fff;
}

/* =============================================================================
   Image & Anchor Utilities
============================================================================= */

/* Prevent image dragging and selection */
img {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    max-width: 100%;
}

/* Remove default anchor styling */
a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
}

/* Transition effects for links, buttons, and inline spans */
a, button, a span {
    transition: 0.2s ease-in-out;
}
a {
    transition: 0.3s ease-in-out;
}

/* Clearfix */
.clear {
    clear: both;
}

/* =============================================================================
   Form & Input Overrides
============================================================================= */

/* Autofill background reset */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-color: transparent;
    background-image: none;
    color: rgb(0, 0, 0);
}

/* Form control styling (overrides Bootstrap) */
.form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.075);
    width: 100%;
    height: 50px;
}
.form-control:focus {
    border-color: #bcefeb;
    outline: 0;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.075), 0 0 0 rgba(102, 175, 233, 0.6);
}

/* =============================================================================
   Headings & Typography
============================================================================= */

/* Heading defaults (overrides Bootstrap) */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: 'DM Sans', serif !important;
    color: #a1a1a1;
    margin-bottom: 10px;
}
h1 {
    font-size: 3rem;
    line-height: 4rem;
}
h2 {
    font-size: 2.5rem;
    line-height: 3rem;
}
h3 {
    font-size: 1.5rem;
    line-height: 2rem;
}
h4 {
    font-size: 1.6rem;
    line-height: 2.2rem;
}
h5 {
    font-size: 1.125rem;
    line-height: 1.575rem;
}
h6 {
    font-size: 1rem;
}

/* Span coloring within headings and paragraphs */
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
p span {
    color: #ff5d02;
}

/* Remove bottom margin for last paragraph */
p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   List & Overlay Utilities
============================================================================= */

/* Reset list styling */
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Generic overlay element */
.overlay {
    background-color: rgba(41, 39, 34, 0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

/* Padding reset utilities */
.no-padding {
    padding: 0 !important;
    margin: 0 !important;
}
.left-no-padding {
    padding-left: 0 !important;
}
.right-no-padding {
    padding-right: 0 !important;
}

/* =============================================================================
   Button Styles
============================================================================= */

.btn {
    transition: all 0.6s;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid;
    padding: 1rem 4rem;
}

.btn-primary {
    color: #fff !important;
    background-color: #ff5d02 !important;
    border: 1px solid !important;
    border-color: #ff5d02 !important;
}
.btn-primary:hover {
    background-color: #eee !important;
    border-color: #eee !important;
    color: #ff5d02 !important;
}

.btn-default {
    color: #fff !important;
    background-color: transparent !important;
    border: 1px solid !important;
    border-color: #b6b6b6 !important;
}
.btn-default:hover {
    color: #fff !important;
    background-color: #ff5d02 !important;
    border-color: #ff5d02 !important;
}

/* =============================================================================
   Extra Spacing & Margin Classes
============================================================================= */

.m-top-20 { margin-top: 20px; }
.m-top-30 { margin-top: 30px; }
.m-top-40 { margin-top: 40px; }
.m-top-80 { margin-top: 80px; }

.p-top-10 { padding-top: 10px; }
.p-top-20 { padding-top: 1.33rem; }
.p-bottom-20 { padding-bottom: 1.33rem; }
.p-top-30 { padding-top: 1.875rem; }
.p-bottom-30 { padding-bottom: 1.875rem; }
.p-top-40 { padding-top: 2.66rem; }
.p-top-60 { padding-top: 5rem; }
.p-bottom-60 { padding-bottom: 5rem; }
.p-top-100 { padding-top: 100px; }
.p-bottom-100 { padding-bottom: 100px; }
.p-bottom-0 { padding-bottom: 0; }

/* =============================================================================
   Border & Layout Utilities
============================================================================= */

.no-border-top {
    border-top: 0 !important;
}
.no-border-right {
    border-right: 0 !important;
}

.column {
    width: 100%;
    overflow: hidden;
}
.fix {
    overflow: hidden;
}

/* =============================================================================
   Heading Title Area
============================================================================= */

.head_title {
    overflow: hidden;
    color: #dedede;
}
.head_title h4 {
    padding: 0 1rem;
}
.head_title h1 {
    font-size: 5rem;
}
.head_title h2 {
    font-weight: 700;
    font-size: 2.25rem;
}
.head_title h5 {
    font-weight: 400;
    font-size: 1.125rem;
    color: #999999;
}

/* =============================================================================
   Navigation Menu
============================================================================= */

.navbar-brand {
    padding: 10px 15px;
}
.navbar-brand > img {
    display: block;
    width: 80%;
}
.navbar-nav a {
    color: #fff;
}
.navbar-nav a:hover {
    color: #ff5f09;
}
.navbar-callus li a {
    font-size: 14px;
    padding: 10px;
    color: #444444;
    display: inline-block;
}
.navbar-callus li a i {
    font-size: 13px;
    color: #1abc9c;
    margin-right: 5px;
}
.navbar-social li a {
    font-size: 16px;
    padding: 10px;
    color: #aaaaaa;
    display: inline-block;
}
.navbar-social li a:hover {
    background-color: #3765a3;
    color: #fff;
}
.navbar {
    background-color: #303030;
    color: #a1a1a1;
    border-bottom: 5px solid #ff5d02;
}
.navbar li a.nav-link:active {
    color: #ff5d02;
}

/* =============================================================================
   Home Section
============================================================================= */

.home {
    background: url(../images/onsite-towing-recovery-los-angeles-night-rear-parking-garage-1920.jpg)
    no-repeat center center;
    background-size: cover;
    position: relative;
    padding-top: 190px;
    padding-bottom: 90px;
    width: 100%;
}

/* =============================================================================
   Featured Section
============================================================================= */

.features_item .f_item_icon i {
    font-size: 4rem;
    color: #ff5d02;
}
.features_item .f_item_text {
    display: inline-block;
    width: 100%;
}
.features_item .f_item_text p {
    padding-top: 1em;
}
.features_item h3 {
    color: #ff5f09 !important;
}
.features_item {
    background-color: #000;
    border-radius: 1.5rem;
    color: #dedede;
    margin: 10px;
    padding: 3rem;
    min-height: 420px;
}
@media (max-width: 991px) {
    .features_item {
        min-height: 310px;
    }
}
.features {
    background-color: #303030;
}
.features li {
    font-size: 1.5rem;
    color: #a1a1a1;
}
.gradient {
    background-image: linear-gradient(#606060, #000000);
}
.gradient_reverse {
    background-image: linear-gradient(#000000, #303030);
}
.gradient_grey_orange {
    background-image: linear-gradient(#303030, #ff5d02);
}

/* =============================================================================
   Business Section
============================================================================= */

.business_item {
    color: #dedede;
}
.business_item h2 {
    font-size: 26px;
    font-weight: 800;
}
.business_item li {
    font-size: 18px;
    font-weight: 300;
    line-height: 2rem;
}
.business_item li i {
    font-size: 1em;
    margin-right: 5px;
}
.business_item p {
    line-height: 2rem;
}
.business_item .business_btn {
    margin-left: -10px;
}
.business_item .business_btn a {
    margin-left: 10px;
}
.business_item .business_btn .btn-default {
    color: #444444;
}

/* =============================================================================
   Main Product Carousel
============================================================================= */

.main_product .carousel-control {
    background-color: #fff;
    color: #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1rem;
    text-align: center;
    top: 30%;
}
.main_product .carousel-control:hover {
    background-color: #ff5d02;
    color: #fff;
}
.main_product .carousel-control.left {
    left: -1.4%;
}
.main_product .carousel-control.right {
    right: -1.4%;
}
.main_product .port_img img {
    width: 100%;
}
.main_product .port_overlay a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-block;
    font-size: 2rem;
    position: relative;
    bottom: -150px;
}
.main_product .port_img:hover .port_overlay a {
    bottom: 0;
}

/* =============================================================================
   Call To Action
============================================================================= */

.action_btn .btn-default:hover {
    background-color: #fff;
    color: #ff5d02;
}
.action-lage {
    position: relative;
    width: 100%;
}
.action-lage:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #ff5d02;
    left: 50%;
    top: 0;
    z-index: 3;
    margin-left: -15px;
}

/* =============================================================================
   Footer Section
============================================================================= */

.widget_ab_item_text h6 {
    margin-bottom: 5px;
    color: #ff5d02;
    font-weight: 900;
}
.widget_item h5 {
    font-weight: 700;
}
.widget_item .btn:hover {
    background-color: #0ec9a2;
}
.widget_item li a {
    color: #aaa;
}
.widget_item li a:hover {
    color: #fff;
}
.widget_latest_item_text p {
    margin-bottom: 0;
    color: #aaaaaa;
}
.widget_service li i,
.widget_latest_item_text a {
    font-size: 12px;
    color: #aaaaaa;
}
.widget_service li i {
    margin-right: 5px;
}
.widget_service li {
    font-size: 13px;
    border-bottom: 1px dashed #aaa;
    padding-bottom: 10px;
}
.widget_newsletter li a:hover i,
.widget_latest_item_text:hover p,
.widget_service li:hover,
.widget_service li:hover i {
    color: #fff;
}
.widget_ab_item .widget_ab_item_text {
    display: inline-block;
    width: 80%;
}
.widget_newsletter .form-inline .form-group {
    display: block;
}
.widget_newsletter .form-control {
    width: 80%;
    height: 40px;
    background-color: #1a1a1a;
    border-color: #333333;
    display: inline-block;
}
.widget_newsletter .btn {
    width: 20%;
    padding: 0.65rem 1.2rem;
    background-color: #ff5d02;
    border-color: #ff5d02;
    color: #fff;
    border-radius: 0;
    margin-left: -4px;
    display: inline-block;
}
.widget_brand a {
    font-size: 30px;
    font-weight: 800;
    color: #aaa;
}
.widget_newsletter li a i {
    color: #aaa;
}
.main_footer {
    color: #dedede;
}
.main_footer i {
    padding: 0 5px;
    color: #ff0000;
}
.main_footer a {
    color: #ddd;
    padding: 5px;
}

/* =============================================================================
   Additional Sections & Overrides
============================================================================= */

/* Heavy Duty Background Section */
.bg-heavyduty {
    background: url(../images/onsite-towing-recovery-los-angeles-heavy-duty-bg-1920.jpg)
    no-repeat center center;
    background-size: cover;
    position: relative;
    width: 100%;
    border-bottom: 10px solid #000;
}

/* Text Stroke Effect */
.text-stroke {
    font-family: "Noto Sans", sans-serif !important;
    -webkit-text-stroke: 0.03em #ff5f09;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: 1px;
}

/* =============================================================================
   Bootstrap Column Adjustment
============================================================================= */
@media (min-width: 768px) {
    .col-md-4 {
        width: 33.33333333%;
        float: left;
    }
}

/* =============================================================================
   Inline & List Helpers
============================================================================= */
.callus {
    display: inline-block;
}
.list-inline li {
    display: inline;
}

/* =============================================================================
   Product Section
============================================================================= */
.product {
    background-color: #303030;
    line-height: 5rem;
}
.product h5 {
    line-height: 1.5em;
    color: #a1a1a1;
}
.product-bg {
    background-color: #303030;
}

/* =============================================================================
   Dropdown Hover (Desktop Only)
============================================================================= */
@media (min-width: 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* =============================================================================
   Mobile Visibility Classes
============================================================================= */
@media (max-width: 767px) {
    .mobile-false {
        display: none !important;
    }
    .mobile-true {
        display: block !important;
    }
}
@media (min-width: 768px) {
    .mobile-true {
        display: none !important;
    }
    .mobile-false {
        display: block !important;
    }
}

/* =============================================================================
   Sub-text Styling
============================================================================= */
.sub-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}


/* =============================================================================
   Sub-page Styling
============================================================================= */
.subpage-fs-1{
    font-size: calc(2.5rem + 2vw) !important;
}

.subpage_section {
    background-image:linear-gradient(#ff5d02, #30303099)
}

.limit-width {
    max-width: 550px;
    margin: 0 auto; /* Centers the div */
}

.image-bottom-border{
    max-width: 100%;
    height: auto;
    border-bottom: 1rem solid #ff5f09;
}
