/*
Theme Name: ArmorNoble
Theme URI: https://armornoble.com
Author: ExcellentMirror
Author URI: https://excellentmirror.com
Description: A professional WordPress theme for ArmorNoble - Advanced Armored Solutions. Features responsive design, mobile navigation, and custom page templates for vehicle categories.
Version: 1.0.3
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: armornoble
Tags: custom-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout, one-column, two-columns, flexible-header, accessibility-ready
*/

/* :root variables moved to Customizer */

label {
    color: var(--text-color);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* WordPress Core Styles */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: var(--secondary-color);
    border: 1px solid #333;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/*
Theme Name: ArmorNoble
Theme URI: https://example.com/armornoble
Author: ExcellentMirror
Author URI: https://excellentmirror.com
Description: A custom WordPress theme cloning the design of tagdyn.com, now ArmorNoble.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: armornoble
*/

:root {
    --primary-color: var(--primary-color);
    /* Gold/Yellow accent */
    --secondary-color: var(--secondary-color);
    /* Dark Grey background */
    --text-color: var(--text-color);
    --text-muted: #CCCCCC;
    --bg-dark: #000000;
    --font-main: var(--font-main), sans-serif;
    --font-heading: var(--font-heading), sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding h1 {
    font-size: 24px;
    margin: 0;
    letter-spacing: 2px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.main-navigation li {
    position: relative;
}

.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    min-width: 250px;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.main-navigation ul li:hover>ul {
    display: flex;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul a {
    padding: 10px 20px;
    display: block;
    font-size: 12px;
    border-bottom: 1px solid #333;
}

.main-navigation ul ul li:last-child a {
    border-bottom: none;
}

.main-navigation ul ul a:hover {
    background-color: #222;
    color: var(--primary-color);
}

.main-navigation ul ul a::after {
    display: none;
    /* Remove underline effect for dropdown items */
}

.header-actions {
    margin-left: 40px;
}

.btn-quote {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-size: 14px;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
}

.btn-quote:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Responsive Navigation */
@media screen and (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-navigation {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        border-top: 1px solid #333;
        padding: 20px 0;
    }

    .main-navigation.is-active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #333;
    }

    .main-navigation a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }

    .main-navigation a:hover {
        background-color: #222;
    }

    .main-navigation a::after {
        display: none;
    }

    /* Mobile Dropdown */
    .main-navigation ul ul {
        position: static;
        display: none;
        background-color: #111;
        box-shadow: none;
        width: 100%;
        padding: 0;
    }

    .main-navigation ul ul li {
        border-bottom: 1px solid #222;
    }

    .main-navigation ul ul a {
        padding-left: 40px;
        font-size: 12px;
        color: #ddd;
    }

    .main-navigation li.menu-item-has-children>a::after {
        content: '+';
        /* Expand icon */
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        height: auto;
        background: none;
        color: #fff;
        font-size: 16px;
    }

    .main-navigation li.menu-item-has-children.open>a::after {
        content: '-';
    }

    .main-navigation li.menu-item-has-children.open>ul {
        display: block;
    }

    /* Disable hover on mobile */
    .main-navigation ul li:hover>ul {
        display: none;
        /* Let JS handle it */
    }

    .main-navigation li.menu-item-has-children.open>ul {
        display: block !important;
    }

    .header-actions {
        display: none;
    }
}

/* Main Content - Offset for fixed header */
.site-main {
    padding-top: 100px;
    /* Offset for fixed header */
}



/* Hero Section */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--section-padding);
    /* Offset for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Reduced from 0.6 to 0.3 for better image visibility */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    /* Above overlay (z-index: 2) */
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

/* About Section */
.about-section {
    background-color: var(--secondary-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #2a2a2a;
    padding: 40px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background-color: #111;
    padding: 60px 0 20px;
    border-top: 1px solid #333;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.footer-widget h4 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
    font-size: 14px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links i {
    width: 20px;
    text-align: center;
}

.contact-info li {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-navigation ul {
        gap: 20px;
    }

    .main-navigation a {
        font-size: 11px;
    }
}

@media (max-width: 768px) {

    /* Mobile Navigation */
    .header-inner {
        flex-wrap: wrap;
    }

    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 20px;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
    }

    .main-navigation li {
        border-bottom: 1px solid #333;
        padding: 15px 0;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    /* Hamburger Menu Button */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        margin-left: auto;
    }

    .header-actions {
        margin-left: 0;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 32px;
        word-wrap: break-word;
        hyphens: auto;
    }

    .hero-subtitle {
        font-size: 16px;
        word-wrap: break-word;
    }

    /* Content slider */
    .slide-title {
        font-size: 28px;
        word-wrap: break-word;
        line-height: 1.3;
    }

    .slide-text {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .slide-label {
        font-size: 12px;
    }

    .slider-controls {
        bottom: 20px;
        right: 20px;
    }

    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Vehicle categories */
    .vehicle-category {
        min-width: 100%;
        height: 400px;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Section titles */
    .section-title {
        font-size: 28px;
        word-wrap: break-word;
    }

    /* Protection section */
    .protection-title {
        font-size: 28px;
        word-wrap: break-word;
    }

    .protection-text {
        font-size: 14px;
        word-wrap: break-word;
    }

    /* General text overflow prevention */
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    span {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}


@media (max-width: 576px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        word-wrap: break-word;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .carousel-button {
        font-size: 1.5rem;
        padding: 5px 10px;
    }

    .carousel-button.prev {
        left: 10px;
    }

    .carousel-button.next {
        right: 10px;
    }

    .slide-title {
        font-size: 22px;
        line-height: 1.2;
        padding: 0 60px 0 20px;
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .slide-content {
        padding: 0 20px;
    }

    .slider-controls {
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }



    .section-title {
        font-size: 24px;
    }

    .modal-content {
        padding: 20px;
        margin: 20% auto;
    }
}

/* Mobile Portrait Adjustments */
@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
        /* Adjusted for better fit */
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .hero-content {
        padding: 0 15px;
        width: 100%;
    }

    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Ensure content doesn't get cut off */
    .carousel-slide {
        padding: 0 10px;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 14px;
}

/* Carousel Styles */
.hero-carousel {
    position: relative;
    height: 100vh;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding-top: var(--section-padding);
    /* Offset for header */
    /* background-color: var(--text-color); */
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 500ms ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Above base slide (z-index: 0) */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Z-index stacking order for carousel:
   0: .carousel-slide (base)
   1: .carousel-video (background image)
   2: .hero-overlay (dark tint)
   3: .hero-content (text and buttons)
*/
.hero-content {
    z-index: 3 !important;
}

.hero-overlay {
    z-index: 2 !important;
}

/* Carousel Controls */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-button:hover {
    background: var(--primary-color);
    color: var(--text-color);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    position: absolute;
    bottom: 30px;
    width: 100%;
    z-index: 10;
}

.carousel-indicator {
    border: none;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-indicator.current-slide {
    background: var(--primary-color);
}

/* Vehicle Categories Strip */
.vehicle-strip-section {
    padding: 0;
    /* background-color: var(--text-color); */
}

.vehicle-strip {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.vehicle-category {
    flex: 1;
    min-width: 250px;
    /* height: 600px; */
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    /* Make anchor tag fill the area */
    text-decoration: none;
}

.vehicle-category:last-child {
    border-right: none;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.vehicle-category:hover .category-bg {
    transform: scale(1.05);
}

.category-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 40px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Logo Marquee Section */
.marquee-section {
    /* background-color: var(--text-color); */
    padding: 30px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    display: inline-block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.marquee-item:hover {
    opacity: 1;
    color: var(--primary-color);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Content Slider Section */
.content-slider-section {
    position: relative;
    height: 600px;
    background-color: #111;
    overflow: hidden;
}

.content-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.content-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.content-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-left: 5%;
}

.slide-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 25px;
}

.slide-text {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 600px;
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 20px;
}

.slider-arrow {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-color);
}

/* 360 Protection Section */
.protection-section {
    /* background-color: var(--text-color); */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.protection-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.protection-visual {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protection-image {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/* Scanning Animation */
.protection-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    z-index: 3;
    animation: scan 3s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes scan {
    0% {
        top: 10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/protection-bg.png');
    /* Using the uploaded image as a tech background base */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
    /* Add a subtle pulse to the tech lines */
    animation: pulse-opacity 4s infinite alternate;
}

@keyframes pulse-opacity {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 0.4;
    }
}

.protection-content {
    flex: 1;
    padding-left: 60px;
    color: #fff;
    z-index: 2;
}

.protection-title {
    font-size: 60px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.protection-text {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
}

.btn-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 40px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s;
}

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

@media (max-width: 991px) {
    .protection-container {
        flex-direction: column;
        text-align: center;
    }

    .protection-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .protection-title {
        font-size: 40px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--primary-color);
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal p {
    margin-bottom: 30px;
    color: #ccc;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #333;
    border: 1px solid #444;
    color: #fff;
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ========================================
   Blog Styles
   ======================================== */

/* Blog Search Bar */
.blog-search-bar {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.search-field {
    flex: 1;
    padding: 14px 20px;
    border: none;
    font-size: 15px;
    color: #333;
    background: transparent;
}

.search-field::placeholder {
    color: #999;
}

.search-field:focus {
    outline: none;
}

.search-submit {
    padding: 14px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.search-submit:hover {
    color: var(--primary-color);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    padding: 40px 0;
}

/* Blog Card - Modern Design */
.blog-card {
    background: var(--secondary-color);
    border: 1px solid #333;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    overflow: hidden;
    height: 200px;
}

.blog-card-image img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.blog-card-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.3;
}

.blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more-link:hover {
    gap: 8px;
}

/* Blog Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 60px;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color);
}

/* Single Post Styles */
.post-content .entry-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content .entry-content p {
    margin-bottom: 20px;
}

.post-content .entry-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.post-content .entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content .entry-content img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border: 1px solid #333;
}

.post-content .entry-content blockquote {
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #999;
}

.post-categories a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary-color);
    color: var(--text-color);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 5px;
    transition: background 0.3s ease;
}

.post-categories a:hover {
    background: var(--primary-color);
    color: var(--text-color);
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ccc;
    font-size: 13px;
    margin: 5px 5px 5px 0;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Post Navigation */
.post-navigation a {
    color: #ccc;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: var(--primary-color);
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-title {
        font-size: 20px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 8px;
    }

    .post-content .entry-content {
        font-size: 16px;
    }
}

/* ========================================
   WhatsApp Floating Icon
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    animation: none;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

/* ========================================
   Accessories Section Styles
   ======================================== */

/* Accessories Section */
.accessories-section {
    /* background-color: var(--text-color); */
    padding: var(--section-padding) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accessories-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 700;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.accessory-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.accessory-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(185, 151, 91, 0.2);
}

.accessory-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessory-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 15px;
}

.accessory-card:hover .accessory-image {
    transform: scale(1.05);
}

.accessory-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 48px;
}

.accessory-content {
    padding: 20px;
    text-align: center;
}

.accessory-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accessory-category {
    font-size: 13px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991px) {
    .accessories-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }

    .accessories-title {
        font-size: 24px;
    }

    .accessory-image-wrapper {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .accessories-section {
        padding: 50px 0;
    }

    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .accessories-title {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .accessory-image-wrapper {
        height: 140px;
    }

    .accessory-content {
        padding: 15px 10px;
    }

    .accessory-name {
        font-size: 13px;
    }

    .accessory-category {
        font-size: 11px;
    }
}

/* ========================================
   Accessories Management Page Styles
   ======================================== */

.accessories-manager {
    padding: 40px 0;
    /* background-color: var(--text-color); */
    min-height: calc(100vh - 200px);
}

.accessories-manager-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.accessories-manager h1 {
    color: var(--primary-color);
    font-size: 36px;
    margin: 0;
}

.btn-add-accessory {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-add-accessory:hover {
    background-color: #d4a960;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(185, 151, 91, 0.3);
}

.accessories-table-wrapper {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow-x: auto;
}

.accessories-table {
    width: 100%;
    border-collapse: collapse;
}

.accessories-table thead {
    background: #111;
}

.accessories-table th {
    padding: 15px 20px;
    text-align: left;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary-color);
}

.accessories-table td {
    padding: 15px 20px;
    color: #ccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accessories-table tbody tr {
    transition: background 0.2s ease;
}

.accessories-table tbody tr:hover {
    background: rgba(185, 151, 91, 0.05);
}

.accessory-table-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-edit,
.btn-delete {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-edit {
    background-color: #4CAF50;
    color: white;
}

.btn-edit:hover {
    background-color: #45a049;
}

.btn-delete {
    background-color: #f44336;
    color: white;
}

.btn-delete:hover {
    background-color: #da190b;
}

/* Accessory Form Styles */
.accessory-form-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.accessory-form-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid var(--primary-color);
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.form-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.form-close:hover {
    color: var(--primary-color);
}

.accessory-form h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 30px;
}

.form-success,
.form-error {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 600;
}

.form-success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.form-error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-main);
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(185, 151, 91, 0.1);
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-input {
    display: none;
}

.file-upload-label {
    display: inline-block;
    padding: 12px 24px;
    background-color: #333;
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background-color: #444;
    border-color: var(--primary-color);
}

.file-name-display {
    margin-top: 8px;
    color: #999;
    font-size: 13px;
}

.image-preview {
    margin-top: 15px;
    max-width: 200px;
}

.image-preview img {
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-submit,
.btn-cancel {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--text-color);
    flex: 1;
}

.btn-submit:hover {
    background-color: #d4a960;
    transform: translateY(-2px);
}

.btn-cancel {
    background-color: #333;
    color: #fff;
}

.btn-cancel:hover {
    background-color: #444;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #444;
}

.empty-state h3 {
    color: #999;
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
}

/* Responsive Management Page */
@media (max-width: 768px) {
    .accessories-manager-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .accessories-manager h1 {
        font-size: 28px;
    }

    .btn-add-accessory {
        width: 100%;
    }

    .accessories-table-wrapper {
        border-radius: 0;
        margin: 0 -20px;
    }

    .accessories-table th,
    .accessories-table td {
        padding: 10px;
        font-size: 12px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 5px;
    }

    .btn-edit,
    .btn-delete {
        padding: 6px 12px;
        font-size: 11px;
    }

    .accessory-form-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* =========================================
   Testimonials Section (Global)
   ========================================= */
.testimonials-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    text-align: left;
}

.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 18px;
    margin: 0 0 5px 0;
}

.testimonial-role {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Labels (Global Override) */
.modal-content label {
    color: #000000 !important;
    font-weight: 600;
}

/* Footer Map */
.footer-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

/* Browse by Armored Vehicle Section */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    padding-top: 20px;
}

.vehicle-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.vehicle-image-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.vehicle-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.1);
}

.vehicle-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.vehicle-card .btn-enquiry {
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
}

.vehicle-card .btn-enquiry:hover {
    background-color: #333;
    color: #fff;
}

/* Page Header Banner */
.page-header {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    /* Offset for fixed header */
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-header-content .page-title {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 18px;
    color: #e0e0e0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-header {
        height: 300px;
        margin-top: 60px;
    }

    .page-header-content .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
        padding: 0 15px;
    }
}

/* Global Responsiveness Enhancements */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .page-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .site-main {
        padding-top: 80px;
    }

    .vehicle-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .container {
        padding: 0 20px;
    }
}

/* Feature Row (Responsive 2-column layout) */
.feature-row {
    display: flex;
    gap: 50px;
    align-items: center;
}

.feature-col {
    flex: 1;
}

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        gap: 30px;
    }

    .feature-col {
        width: 100%;
    }


    /* =========================================
   Mobile / Responsive Overrides (Applied)
   ========================================= */
    @media screen and (max-width: 768px) {

        /* Typography */
        h1.hero-title {
            font-size: 32px;
        }

        h2,
        .section-title {
            font-size: 28px;
        }

        .hero-subtitle {
            font-size: 16px;
        }

        /* Hero Carousel */
        .hero-carousel {
            height: 80vh;
        }

        /* Vehicle Strip - Force Vertical Stack */
        .vehicle-strip {
            flex-direction: column;
        }

        .vehicle-category {
            width: 100%;
            min-width: 100%;
            height: 300px;
            flex: none;
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .category-title {
            font-size: 24px;
        }

        /* Grids */
        .testimonials-grid,
        .services-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        /* Content Slider */
        .content-slider-section {
            height: auto;
            min-height: 600px;
        }

        .slide-content {
            padding: 20px;
            text-align: center;
        }

        .slide-title {
            font-size: 28px;
        }

        /* Protection Section */
        .protection-container {
            flex-direction: column;
        }

        .protection-visual,
        .protection-content {
            width: 100%;
            padding: 20px;
        }

        .protection-visual {
            order: -1;
            height: 300px;
        }

        .protection-content {
            text-align: center;
        }

        /* Footer */
        .footer-widgets {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .footer-links-bar nav {
            flex-direction: column;
            gap: 15px;
        }

        /* General Container */
        /* General Container */
        .container {
            padding-left: 15px;
            padding-right: 15px;
        }
    }

    /* =========================================
   Dark Premium Cards (matched to user screenshot)
   ========================================= */
    .special-vehicle-card {
        background: #121212;
        /* Very dark grid background */
        border: 1px solid #333;
        /* Subtle border */
        border-radius: 8px;
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .special-vehicle-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
        border-color: #B9975B;
        /* Gold border on hover */
    }

    /* White Image Box Container */
    .special-vehicle-img-box {
        width: 100%;
        height: 200px;
        /* Fixed height for consistency across all cards */
        background: #2a2a2a;
        /* Dark grey instead of white for better dark theme integration */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        border-bottom: 2px solid #222;
        overflow: hidden;
    }

    .special-vehicle-img-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        /* Maintain aspect ratio within fixed container */
        transition: transform 0.3s ease;
    }

    .special-vehicle-card:hover .special-vehicle-img-box img {
        transform: scale(1.05);
    }

    .special-vehicle-info {
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex-grow: 1;
        background: #121212;
        /* Ensure body matches card */
    }

    h3.vehicle-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        /* Slightly smaller for 6-col grid */
        font-weight: 700;
        color: #ffffff !important;
        /* White Title */
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0 0 5px 0;
        line-height: 1.3;
        min-height: 42px;
        /* Fixed height for alignment */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .vehicle-subtitle {
        font-size: 12px;
        font-weight: 500;
        color: #B9975B !important;
        /* Gold Subtitle */
        margin-bottom: 15px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        min-height: 20px;
    }

    .btn-enquiry.special-btn {
        margin-top: auto;
        background-color: #B9975B;
        /* Solid Gold Button */
        color: #ffffff;
        border: none;
        font-weight: 600;
        font-size: 13px;
        padding: 8px 20px;
        border-radius: 4px;
        text-transform: uppercase;
        transition: all 0.3s ease;
        width: auto;
        /* Allow button to size to text */
        min-width: 120px;
    }

    .btn-enquiry.special-btn:hover {
        background-color: #fff;
        color: #121212;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(185, 151, 91, 0.3);
    }

    /* =========================================
       SPECIAL VEHICLES - MOBILE OPTIMIZATIONS
       ========================================= */

    /* Mobile: 2-column grid for better space usage */
    @media screen and (max-width: 767px) {

        /* Force 2-column grid on mobile */
        .special-vehicle-card {
            margin-bottom: 20px;
        }

        .special-vehicle-img-box {
            height: 150px;
            /* Compact height for mobile */
            padding: 15px;
        }

        .special-vehicle-card:hover {
            transform: none;
            /* Disable hover lift on mobile */
        }

        .special-vehicle-info {
            padding: 15px;
        }

        h3.vehicle-title {
            font-size: 14px;
            min-height: 36px;
            margin-bottom: 8px;
        }

        .vehicle-subtitle {
            font-size: 11px;
            margin-bottom: 10px;
        }

        .btn-enquiry.special-btn {
            padding: 10px 15px;
            font-size: 12px;
            width: 100%;
        }
    }

    /* Tablet: Optimize for 3-4 column layout */
    @media screen and (min-width: 768px) and (max-width: 991px) {
        .special-vehicle-img-box {
            height: 180px;
        }

        h3.vehicle-title {
            font-size: 15px;
        }
    }

    /* =========================================
       INTRO SECTION - RESPONSIVE TYPOGRAPHY
       ========================================= */

    .special-vehicles-intro .intro-heading {
        font-size: 36px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .special-vehicles-intro .intro-description {
        font-size: 16px;
        line-height: 1.7;
        color: #ccc;
    }

    /* Mobile: Smaller typography and center alignment */
    @media screen and (max-width: 767px) {
        .special-vehicles-intro {
            text-align: center;
        }

        .special-vehicles-intro .intro-heading {
            font-size: 24px !important;
            margin-bottom: 20px;
        }

        .special-vehicles-intro .intro-description {
            font-size: 15px;
        }
    }

    /* Tablet: Medium typography */
    @media screen and (min-width: 768px) and (max-width: 991px) {
        .special-vehicles-intro .intro-heading {
            font-size: 30px;
        }
    }
}
}

/* ========================================
   COMPREHENSIVE RESPONSIVE CSS ADDITIONS
   ArmorNoble Theme - Complete Mobile Optimization
   ======================================== */

/* ========================================
   1. GLOBAL RESPONSIVE UTILITIES
   ======================================== */

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive iframes (maps, videos) */
iframe {
    max-width: 100%;
}

/* Responsive tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.table-responsive table {
    min-width: 600px;
}

/* ========================================
   2. MOBILE BREAKPOINT (max-width: 480px)
   ======================================== */

@media (max-width: 480px) {

    /* Typography scaling */
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 24px !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 22px !important;
        line-height: 1.3;
    }

    h3 {
        font-size: 18px !important;
    }

    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero section */
    .hero-carousel {
        height: 70vh !important;
    }

    .hero-title {
        font-size: 26px !important;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 14px !important;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Carousel controls */
    .carousel-button {
        font-size: 1.2rem;
        padding: 8px 12px;
    }

    .carousel-button.prev {
        left: 5px;
    }

    .carousel-button.next {
        right: 5px;
    }

    .carousel-nav {
        bottom: 15px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }

    /* Ensure carousel background images load on mobile */
    .carousel-video {
        background-attachment: scroll !important;
        /* Better performance on mobile */
    }

    /* Section padding */
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px !important;
        margin-bottom: 30px;
    }

    /* Marquee */
    .marquee-item {
        font-size: 18px;
        margin: 0 20px;
    }

    /* Content slider */
    .content-slider-section {
        height: auto;
        min-height: 500px;
    }

    .slide-title {
        font-size: 22px !important;
        padding: 0 40px 0 15px;
    }

    .slide-text {
        font-size: 13px;
        padding: 0 15px;
    }

    .slide-label {
        font-size: 11px;
    }

    .slider-controls {
        bottom: 10px;
        right: 10px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    /* Vehicle categories strip */
    .vehicle-category {
        height: 250px !important;
    }

    .category-title {
        font-size: 20px !important;
    }

    /* Protection section */
    .protection-title {
        font-size: 24px !important;
    }

    .protection-text {
        font-size: 13px;
    }

    /* Modal adjustments */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }

    .close-modal {
        font-size: 24px;
        right: 10px;
        top: 10px;
    }

    /* Form controls */
    .form-control {
        font-size: 14px;
        padding: 10px;
    }

    /* Blog grid */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .blog-card-title {
        font-size: 15px;
    }

    .blog-excerpt {
        font-size: 12px;
    }

    /* Footer */
    .footer-widgets {
        gap: 30px;
    }

    .footer-widget h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-links-bar nav {
        gap: 10px !important;
    }

    .footer-links-bar a {
        font-size: 12px !important;
    }
}

/* ========================================
   3. SMALL MOBILE (max-width: 375px)
   ======================================== */

@media (max-width: 375px) {
    .hero-title {
        font-size: 22px !important;
    }

    .hero-subtitle {
        font-size: 13px !important;
    }

    .section-title {
        font-size: 22px !important;
    }

    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .vehicle-category {
        height: 220px !important;
    }

    .category-title {
        font-size: 18px !important;
    }
}

/* ========================================
   4. TABLET BREAKPOINT (481px - 768px)
   ======================================== */

@media (min-width: 481px) and (max-width: 768px) {

    /* Hero adjustments */
    .hero-carousel {
        height: 80vh;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* Services grid - 2 columns on tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Testimonials - 2 columns on tablet */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Blog grid - 2 columns on tablet */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Vehicle categories - 2 per row on tablet */
    .vehicle-strip {
        flex-wrap: wrap;
    }

    .vehicle-category {
        flex: 0 0 50%;
        min-width: 50%;
        height: 400px;
    }

    /* Footer - 2 columns on tablet */
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Content slider */
    .content-slider-section {
        height: 500px;
    }

    .slide-title {
        font-size: 32px;
    }
}

/* ========================================
   5. VEHICLE GRID PAGES RESPONSIVE
   ======================================== */

/* Mobile (< 576px) - 1 column */
@media (max-width: 575px) {

    .special-vehicle-card,
    .part-item {
        margin-bottom: 20px;
    }

    .special-vehicle-img-box {
        height: 180px;
    }

    .vehicle-title {
        font-size: 15px !important;
        min-height: auto !important;
    }

    .vehicle-subtitle {
        font-size: 11px !important;
    }

    .special-btn,
    .btn-enquiry {
        width: 100%;
        padding: 10px 15px;
        font-size: 12px;
    }
}

/* Small tablet (576px - 767px) - 2 columns */
@media (min-width: 576px) and (max-width: 767px) {
    .special-vehicle-img-box {
        height: 160px;
    }

    .vehicle-title {
        font-size: 14px !important;
    }

    .special-btn,
    .btn-enquiry {
        font-size: 11px;
        padding: 7px 12px;
    }
}

/* Tablet (768px - 991px) - 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .special-vehicle-img-box {
        height: 150px;
    }

    .vehicle-title {
        font-size: 13px !important;
    }

    .special-btn,
    .btn-enquiry {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* ========================================
   6. PAGE HEADER BANNERS
   ======================================== */

@media (max-width: 768px) {
    .page-header {
        height: 40vh !important;
        min-height: 300px;
    }

    .page-title {
        font-size: 28px !important;
    }

    .page-header-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 35vh !important;
        min-height: 250px;
    }

    .page-title {
        font-size: 24px !important;
    }
}

/* ========================================
   7. CONTACT PAGE
   ======================================== */

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        gap: 30px;
    }

    .feature-col {
        width: 100%;
    }

    /* Contact form */
    #contact-form {
        max-width: 100% !important;
    }

    #contact-form input,
    #contact-form textarea {
        font-size: 14px !important;
    }

    /* Map embed */
    iframe[src*="google.com/maps"] {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    iframe[src*="google.com/maps"] {
        height: 250px !important;
    }
}

/* ========================================
   8. BLOG SYSTEM
   ======================================== */

/* Blog listing page */
@media (max-width: 768px) {
    .blog-header-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .btn-add-blog {
        width: 100%;
        justify-content: center;
    }

    .blog-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blog-image-wrapper {
        height: 180px;
    }

    .blog-card-title {
        font-size: 14px;
    }

    .blog-excerpt {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .read-more-btn {
        font-size: 12px;
    }
}

/* Single blog post */
@media (max-width: 768px) {
    .post-title {
        font-size: 32px !important;
    }

    .post-content {
        font-size: 16px;
    }

    .post-content h2 {
        font-size: 24px !important;
    }

    .post-content blockquote {
        font-size: 18px;
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 26px !important;
    }

    .post-content {
        font-size: 15px;
    }

    .post-content h2 {
        font-size: 22px !important;
    }

    .post-content blockquote {
        font-size: 16px;
    }

    .post-meta {
        font-size: 12px;
    }
}

/* ========================================
   9. MODALS RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        padding: 30px 20px;
    }

    #blogModal .modal-content {
        margin: 20px auto;
    }

    .ql-container {
        height: 200px !important;
    }

    .form-group label {
        font-size: 14px;
    }

    .btn-submit {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 20px 15px;
        margin: 10px auto;
    }

    #blogModal .modal-content,
    #enquiryModal .modal-content {
        max-width: 95%;
    }

    .modal h2 {
        font-size: 20px !important;
        margin-bottom: 15px;
    }

    .ql-container {
        height: 150px !important;
    }

    .ql-toolbar {
        font-size: 12px;
    }

    .form-control {
        font-size: 13px;
        padding: 8px;
    }

    .btn-submit {
        font-size: 13px;
        padding: 10px 15px;
    }
}

/* ========================================
   10. ACCESSORIES PAGE SPECIFIC
   ======================================== */

@media (max-width: 768px) {
    #partSearch {
        font-size: 14px !important;
        padding: 10px !important;
    }

    .table-responsive {
        font-size: 13px;
    }

    .table-responsive th,
    .table-responsive td {
        padding: 8px !important;
    }
}

@media (max-width: 480px) {
    .table-responsive {
        font-size: 11px;
    }

    .table-responsive th,
    .table-responsive td {
        padding: 6px !important;
    }
}

/* ========================================
   11. PROTECTION SECTION
   ======================================== */

@media (max-width: 991px) {
    .protection-container {
        flex-direction: column;
    }

    .protection-visual,
    .protection-content {
        width: 100%;
    }

    .protection-visual {
        height: 400px;
        margin-bottom: 30px;
    }

    .protection-content {
        text-align: center;
        padding: 0 20px 40px;
    }
}

@media (max-width: 768px) {
    .protection-visual {
        height: 300px;
    }

    .protection-title {
        font-size: 28px !important;
    }

    .protection-text {
        font-size: 14px;
    }
}

/* ========================================
   12. TOUCH-FRIENDLY ELEMENTS
   ======================================== */

@media (max-width: 768px) {

    /* Ensure all clickable elements are at least 44px */
    .btn,
    .special-btn,
    .btn-enquiry,
    .carousel-button,
    .slider-arrow,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }

    /* Increase spacing for touch targets */
    .main-navigation a {
        padding: 15px 20px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Form inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        min-height: 44px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}

/* ========================================
   13. LANDSCAPE MOBILE ORIENTATION
   ======================================== */

@media (max-width: 768px) and (orientation: landscape) {
    .hero-carousel {
        height: 100vh;
    }

    .content-slider-section {
        height: 100vh;
    }

    .vehicle-category {
        height: 80vh;
    }
}

/* ========================================
   14. UTILITY CLASSES
   ======================================== */

/* Hide on mobile */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }

    .full-width-mobile {
        width: 100% !important;
    }

    .text-center-mobile {
        text-align: center !important;
    }
}

/* Hide on desktop */
@media (min-width: 992px) {
    .hide-desktop {
        display: none !important;
    }
}

/* ========================================
   15. PRINT STYLES
   ======================================== */

@media print {

    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .carousel-button,
    .slider-controls,
    .btn,
    .modal {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}

/* ========================================
   ACCESSORIES PAGE SPECIFIC FIXES
   ======================================== */

/* Page header improvements */
.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    min-height: 400px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Compatibility title responsive */
.compatibility-title {
    font-size: 28px !important;
}

/* Mobile fixes for accessories page */
@media (max-width: 768px) {
    .page-header {
        height: 40vh;
        min-height: 300px;
    }

    .page-title {
        font-size: 32px !important;
        letter-spacing: 1px;
        padding: 0 20px;
    }

    .page-subtitle {
        font-size: 14px;
        padding: 0 20px;
    }

    .compatibility-title {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }

    /* Fix container padding on mobile */
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Search bar mobile */
    #partSearch {
        font-size: 14px !important;
        padding: 10px 15px !important;
    }

    /* Table mobile improvements */
    .table-responsive {
        font-size: 12px !important;
    }

    .table-responsive th,
    .table-responsive td {
        padding: 8px 6px !important;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 35vh;
        min-height: 250px;
    }

    .page-title {
        font-size: 24px !important;
        margin-bottom: 10px;
    }

    .compatibility-title {
        font-size: 18px !important;
    }

    .container-fluid {
        padding: 40px 15px !important;
    }

    .table-responsive {
        font-size: 11px !important;
    }

    .table-responsive th,
    .table-responsive td {
        padding: 6px 4px !important;
    }
}

/* Ensure parts grid works properly */
#partsGrid {
    display: flex;
    flex-wrap: wrap;
}

#partsGrid .part-item {
    display: flex;
    flex-direction: column;
}

/* ========================================
   ARMORED VEHICLE PARTS PAGE - COMPREHENSIVE UI FIXES
   ======================================== */

/* Parts Grid Container */
#partsGrid .special-vehicle-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#partsGrid .special-vehicle-card:hover {
    transform: translateY(-5px);
    border-color: #B9975B;
    box-shadow: 0 10px 30px rgba(185, 151, 91, 0.2);
}

/* Fixed Image Container */
#partsGrid .special-vehicle-img-box {
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    background: #2a2a2a;
    /* Dark grey instead of white */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

#partsGrid .special-vehicle-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Maintain aspect ratio */
    transition: transform 0.3s ease;
}

#partsGrid .special-vehicle-card:hover .special-vehicle-img-box img {
    transform: scale(1.05);
}

/* Card Info Section */
#partsGrid .special-vehicle-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

#partsGrid .vehicle-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    min-height: 40px;
    /* Reserve space for 2 lines */
    line-height: 1.3;
}

#partsGrid .vehicle-subtitle {
    font-size: 13px;
    color: #B9975B;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button anchored to bottom */
#partsGrid .special-btn {
    margin-top: auto;
    width: 100%;
    padding: 12px 20px;
    background: #B9975B;
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#partsGrid .special-btn:hover {
    background: #caa65a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 151, 91, 0.3);
}

/* Search Bar Improvements */
#partSearch {
    background: #1a1a1a !important;
    border: 2px solid #B9975B !important;
    color: #fff !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

#partSearch::placeholder {
    color: #888 !important;
    /* Better contrast */
}

#partSearch:focus {
    border-color: #caa65a !important;
    box-shadow: 0 0 15px rgba(185, 151, 91, 0.4) !important;
    outline: none !important;
}

/* Mobile Optimizations */
@media (max-width: 767px) {

    /* 2-column grid on mobile */
    #partsGrid .part-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Compact cards on mobile */
    #partsGrid .special-vehicle-img-box {
        height: 150px;
        padding: 15px;
    }

    #partsGrid .special-vehicle-info {
        padding: 15px;
    }

    #partsGrid .vehicle-title {
        font-size: 14px;
        min-height: 36px;
    }

    #partsGrid .vehicle-subtitle {
        font-size: 11px;
        margin-bottom: 10px;
    }

    #partsGrid .special-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 991px) {
    #partsGrid .special-vehicle-img-box {
        height: 180px;
    }

    #partsGrid .vehicle-title {
        font-size: 15px;
    }
}