/* Services (aviation services directory) page styles — carbon-copied verbatim from legacy /old services.php embedded <style> (2026-06-20).
   Map is Google Maps (geocoded markers); the live map needs GOOGLE_MAPS_API_KEY (legacy key awaiting renewal). */
  
:root{
  --white:#FFFFFF; --snow:#F8FAFC; --snow2:#EEF4F8; --snow3:#E2EDF5;
  --steel:#5A8AA7; --steel-lt:#7AAEC8; --steel-dk:#3D6B85;
  --royal:#2843A7; --royal-lt:#3A58C4; --royal-dk:#1C2F7A;
  --ink:#0E1A2B; --slate:#2E4A62; --muted:#6A86A0; --muted2:#A8C0D0;
  --border:rgba(40,67,167,.13); --border2:rgba(40,67,167,.07);
  --sh:0 2px 16px rgba(14,26,43,.06),0 1px 4px rgba(14,26,43,.04);
  --sh-hover:0 16px 48px rgba(40,67,167,.14),0 4px 14px rgba(14,26,43,.08);
  --ff-d:'Libre Baskerville',Georgia,serif;
  --ff-b:'Plus Jakarta Sans',sans-serif;
  --ease:cubic-bezier(.25,.46,.45,.94);
}

*{
    margin: 0;
    font-family: "EB Garamond", serif;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    width: 95%;
    margin: auto;
    padding: 20px 0;
}

/* Filter Section */
.filter-section {
    width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.filter-section h3 {
    font-size: 25px;
    margin: 0 0 20px;
    color: #333;
    /* font-weight: bold; */
}

.reset-icon {
    float: right;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    text-decoration: none;
}

.filter-item {
    margin-bottom: 15px;
}

.filter-item label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.filter-item input[type="checkbox"] {
    margin-right: 10px;
}

.filter-item .dropdown-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
}

.filter-item .dropdown-box:hover {
    background-color: #f4f4f4;
}

.expandable-section {
    display: none;
    border-top: 1px solid #ddd;
    margin-top: 10px;
    padding-top: 10px;
}

/* Right Section */
.right-section {
    flex: 1;
    margin-left: 20px;
}

.advanced-options label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.listing-cards {
    display: flex;
    flex-wrap: wrap;
    width:100%;
    row-gap: 20px;
    column-gap: 20px;
}


/* Responsive */

/* Ensure consistent image size */
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* Ensures images are cropped proportionally */
}

/* Adjust card content layout */
.card-title {
    font-size: 1.4rem;
    font-weight: bold;
}

.card-text {
    font-size: 12px;
}

/* Customize Add to Cart button */
.btn-primary {
    background-color: blue;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 5px;
    /* Aircraft-inspired blue */
    border: none;
}

.btn-primary:hover {
    background-color: #003780;
}


.blog-card img {
    border-radius: 10px;
    max-height: 200px;
    object-fit: cover;
}

.blog-card {
    transition: transform 0.3s ease-in-out;
}

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

.carousel-inner {
    padding: 10px 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

.blog-card-title {
    font-weight: bold;
    font-size: 22px;
    color: black;
}

.blog-card-desc {
    color: #666;
    font-size: 13px;
}

.featured-items {
    text-align: center;
    padding: 20px;
}

.featured-items h1 {
    margin-bottom: 20px;
    font-size: 50px;
    font-weight: 400;
}

.items-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.item-card {
    width: 300px;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.item-card img {
    width: 100%;
    height: auto;
}

.item-card .item-info {
    padding: 15px;
}

.item-card .price {

    font-size: 18px;
    margin: 10px 0;
}

.item-card .model {
    color: gray;
    font-size: 14px;
}

.item-card .add-to-cart {
    background: #007bff;
    color: white;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    border-radius: 5px;
}

.item-card .add-to-cart:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .item-card {
        width: 100%;
    }
}

/* General Styling for the Card */
.item-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    margin: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.image-container {
    position: relative;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: 300px;
    border-bottom: 1px solid #ddd;
}

/* Bookmark Icon Styling */
.bookmark-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 20px;
    color: lightslategrey;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 9px 16px 21px;
    border-radius: 0px 0px 0px 35px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.bookmark-icon:hover {
    color: #007bff;
}

/* Item Info Styling */
.item-info {
    padding: 15px;
    text-align: left;
}

.item-info h3 {
    font-size: 15px;
    color: black;
    font-weight: bold;
    text-align: left;
    font-family: "EB Garamond", serif!important;
    margin-bottom: 10px;
}

.item-info .price {
    color: #555;
    font-weight: bold;
    margin: 5px 0;
    font-size: 14px;
}

.item-info .model {
    color: #555;
    font-size: 14px;
    font-weight: bold;
}
@media (max-width: 560px) {
    .item-card {
        width: 100% !important;
    }
}
body {
    background: #f5f5f5;
}

.cards-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
}

/* Card */
.car-card {
    background: #fff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #DDDDDD !important;
    display: flex !important;
    flex-direction: column !important;
    width: calc(25% - 17px) !important;
}

/* Slider Container */
.slider {
    position: relative !important;
    width: 100% !important;
    /* Fixed height so images are consistent */
    height: 250px !important;
    overflow: hidden !important;
}

/* "NEW" TAG at top-left */
.new-tag {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #fff !important;
    color: #444 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
    z-index: 2 !important;
}

/* Slider Images */
.slides {
  /*    display: flex !important;*/
      /*width: 300% !important; */
  /*    transition: transform 0.4s ease !important;*/
  /*height: 100% !important*/
}
.slides img {
    width: 33.56% !important;
    height: 100% !important;
    object-fit: cover !important;
}
/* Left/Right Arrows */
.arrows {
    position: absolute !important;
    top: 50% !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    transform: translateY(-50%) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 2 !important;
    padding: 0 0.5rem !important; /* Some horizontal breathing room */
}
.arrows span {
    background-color: #fff !important;
    color: #444 !important;
    border: 1px solid #444 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: background-color 0.3s, color 0.3s !important;
}
.arrows span:hover {
    background-color: #444 !important;
    color: #fff !important;
}

/* Favorite + List Icons on the top-right */
.favorite-icons {
    position: absolute !important;
    top: 0px !important;
    right: 0px !important;
    display: flex !important;
    gap: 0.4rem !important;
    z-index: 2 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    background-color: #fff !important;
    padding: 12px 5px 20px 15px;
    border-radius: 0px 0px 0px 40px !important;
}

.favorite-icons i:hover {
    background-color: #444 !important;
    color: #fff !important;
}

/* Slider Dots at bottom-center */
.slider-dots {
    position: absolute !important;
    bottom: 10px !important;
    width: 100% !important;
    display: flex;
    justify-content: center !important;
    gap: 0.5rem !important;
    z-index: 2 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}
.dot {
    width: 8px !important;
    height: 8px !important;
    background: #ccc !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
}
.dot.active {
    background: #444 !important;
}

/* Show arrows, favorite icons, and dots on hover */
.slider:hover .arrows,
.slider:hover .favorite-icons,
.slider:hover .slider-dots {
    opacity: 1 !important;
}

/* Card info */
.car-info {
    padding: 1rem !important;
}
.car-info h3 {
    /* margin-bottom: 0.5rem !important; */
    font-size: 1.2rem !important;
    color: #444 !important;
}
.car-info p {
    margin: 15px 10px  !important;
    color: #000 !important;
    font-size: 18px;
}
.car-info p strong{
    padding-right: 10px;
}
.button-group {
    margin-top: 1rem !important;
    display: flex !important;
    gap: 1rem !important;
}
.button-group button {
    /* flex: 1; */
    border: none !important;
    width: 100%; 
    padding: 1.2rem !important;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 10px;
    border-radius: 4px !important;
    font-weight: bold !important;
    transition: background 0.3s ease, color 0.3s ease !important;
}
.button-group button:nth-child(1) {
    background-color: #fff !important;
    color: #444 !important;
    border: 1px solid #444 !important;
}
.button-group button:nth-child(1):hover {
    background-color: lightgray !important;
    color: black !important;
    border: 1px solid black !important;

}
@media (max-width: 1400px) {
    .car-card {
        width: calc(33.333% - 15px) !important;
    }
    .cards-container{
        justify-content: center !important;
    }
}
@media (max-width: 990px) {
    .car-card {
        width: calc(50% - 11px) !important;
    }
    .cards-container{
        justify-content: center !important;
    }
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .arrows span {
        width: 28px;
        height: 28px;
    }
    .favorite-icons i {
        padding: 0.3rem;
    }
    .car-info h3 {
        font-size: 1rem;
    }
    .car-card{
        width: 100% !important;
    }
}
.load-more {
    margin: 30px 0px;
    width: 100% !important;
    text-align: center !important;
}

.load-more-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #444; /* Dark gray text */
    background-color: #fff; /* White background */
    border: 1px solid #DDDDDD; /* Border matching text color */
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background-color: #444;
    color: #fff;
}
.car-info img{
    width:25px;
}
.filter-item select{
    width: 100%;
    padding: 11px;
    border: 1px solid gray;
}
.car-info p{
    color:#757575 !important;
}
.headers {
    position: relative;
    width: 100%;
    min-height: 550px;         /* fixed height, consistent with the index hero (not 80vh) */
    padding: 160px 16px 120px; /* top clears the 130px nav; bottom = fixed search→bottom gap */
    box-sizing: border-box;
    background: url('/assets/pages/img/products/services.jpg') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* anchor content to bottom so search→bottom is a fixed 120px (not centred free-space) */
    align-items: center;
    color: white;
    text-align: center;
}

.headers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.headers h1, .headers p {
    position: relative;
    z-index: 2;
}

.headers h1 {
    font-size: 4.5rem;
    /* font-weight: ; */
        
    margin-top: 0;             /* nav clearance handled by .headers padding-top */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.headers p {
    font-size: 1.5rem;
    color:white !important;
    z-index: 2;
    margin: 10px 0 0;          /* gap below tagline handled by the search element margin-top (match index) */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}
.svc-dropdown {
    position: relative;
    display: inline-block;
    z-index: 100;
    margin-top: 60px;          /* match index hero: fixed gap above the search element */
}
.svc-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 550px;
    padding: 16px 22px;
    border-radius: 30px;
    border: none;
    background: white;
    color: #142238;
    font-size: 17px;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    outline: none;
    transition: box-shadow 0.2s;
    gap: 10px;
}
.svc-dropdown-trigger:hover,
.svc-dropdown-trigger.open {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
.svc-dropdown-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.svc-dropdown-trigger.open .svc-dropdown-chevron {
    transform: rotate(180deg);
}
.svc-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    overflow: hidden;
    z-index: 200;
}
.svc-dropdown-menu.open {
    display: block;
    animation: svcDropFade 0.18s ease;
}
@keyframes svcDropFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.svc-dropdown-item {
    padding: 12px 22px;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px;
    font-weight: 400;
    color: #2E4A62;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.svc-dropdown-item:hover {
    background: #EEF4F8;
    color: #2843A7;
}
.svc-dropdown-item.active {
    font-weight: 600;
    color: #2843A7;
    background: #f0f4ff;
}
@media (max-width: 1024px) {
    .svc-dropdown-trigger { width: 500px; font-size: 15px; }
}
@media (max-width: 768px) {
    .svc-dropdown-trigger { width: 60vw; font-size: 14px; }
}
@media (max-width: 480px) {
    .svc-dropdown-trigger { width: 90vw; font-size: 14px; }
}

.filter-section {
    width: 250px;
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
   
}

.filter-item h4 {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px;
    background: #f1f1f1;
    margin: 0;
    border: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

 @media (max-width: 768px) {
    .filter-section {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .right-section {
        width: 100%;
        margin: 0;
    }

    
    .listing-cards {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
.arrow {
    font-size: 14px;
    color: #333;
}

.filter-content {
    display: none;
    padding: 10px;
    /*max-height: 200px;*/
    overflow-y: auto;
    border: 1px solid #ddd;
    background: #fff;
}

.filter-content label {
    display: block;
    padding: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #757575;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background: #008cba;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    display: none;
}

.selected-filters {
    background: #f8f8f8;
    padding: 23px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}
.selected-filters span:hover{
    cursor: pointer;
}
.breed-list {
    flex: 0 0 260px;
    min-width: 240px;
    max-width: 260px;
}
/* ── v1 Filter Panel ── */
.filter-panel {
    background: #fff;
    border: 1px solid rgba(40,67,167,0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(14,26,43,0.06), 0 1px 3px rgba(14,26,43,0.04);
    position: sticky;
    top: 20px;
}
.filter-panel-head {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(40,67,167,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.filter-panel-title {
    font-family: "EB Garamond", serif !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0E1A2B;
}
/* Retain existing clear button style */
.svc-clear-btn {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #2843A7 !important;
    background: none !important;
    border: 1px solid rgba(90,138,167,0.18) !important;
    border-radius: 6px !important;
    padding: 5px 12px !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}
.svc-clear-btn:hover {
    background: #2843A7 !important;
    color: #fff !important;
    border-color: #2843A7 !important;
}
.filter-list { padding: 6px 0; }
.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}
.filter-row:hover { background: #F8FAFC; }
.filter-row.active { background: rgba(40,67,167,0.05); }
.filter-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid #A8C0D0;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.filter-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #2843A7;
    opacity: 0;
    transition: opacity 0.2s;
}
.filter-row.active .filter-radio {
    border-color: #2843A7;
    box-shadow: 0 0 0 3px rgba(40,67,167,0.12);
}
.filter-row.active .filter-radio::after { opacity: 1; }
.filter-row:hover .filter-radio { border-color: #5A8AA7; }
.filter-label {
    font-family: "EB Garamond", serif !important;
    font-size: 13px;
    font-weight: 500;
    color: #2E4A62;
}
.filter-row.active .filter-label { color: #2843A7; font-weight: 600; }
.filter-badge {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    background: #EEF4F8;
    color: #6A86A0;
}
.filter-row.active .filter-badge { background: rgba(40,67,167,0.1); color: #2843A7; }
/* Per-row chevron toggle (only present on rows with a subcategory list) */
.filter-row-chevron {
    margin-left: 8px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 1;
    color: #6A86A0;
    cursor: pointer;
    transition: transform 0.18s ease, color 0.18s ease;
    user-select: none;
    display: inline-block;
}
.filter-row-chevron:hover { color: #2843A7; }
.filter-row-chevron.is-open { transform: rotate(90deg); color: #2843A7; }
/* Sub-rows (e.g. Flight School Part 141 / 61) — hidden by default, revealed via chevron */
.filter-sub-list { padding: 2px 0 6px 46px; display: none; }
.filter-sub-list.is-open { display: block; }
.filter-sub-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px 7px 0;
    cursor: pointer;
    transition: background 0.2s;
}
.filter-sub-row:hover { background: #F8FAFC; }
.filter-sub-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1.5px solid #A8C0D0;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}
.filter-sub-row:hover .filter-sub-dot,
.filter-sub-row.active .filter-sub-dot { border-color: #2843A7; background: #2843A7; }
.filter-sub-label {
    font-family: "EB Garamond", serif !important;
    font-size: 12px;
    color: #6A86A0;
    transition: color 0.2s;
}
.filter-sub-row:hover .filter-sub-label,
.filter-sub-row.active .filter-sub-label { color: #2843A7; }
.filter-sub-badge {
    font-family: "EB Garamond", serif !important;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 100px;
    background: #F4F7FA;
    color: #B8CDD8;
    margin-left: auto;
    border: 1px solid rgba(40,67,167,0.07);
}
.filter-sub-row.active .filter-sub-badge {
    background: rgba(40,67,167,0.06);
    color: #7AAEC8;
    border-color: rgba(40,67,167,0.12);
}
.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
iframe {
    width: 100%;
    height: 350px;
    border: none;
}
.upload-container {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}
@media (max-width: 768px) {
    .container {
        align-items: center;
    }
    .services-container {
        align-items: center;
    }
    .breed-list {
        width: 100%;
        min-width: unset;
        max-width: 100%;
        flex: none;
    }
    .filter-panel { position: static; }
    .map-container {
        width: 100%;
        flex: none;
    }
    #map { height: 300px; }
}
.filter-bar {
    display: flex;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.filter-bar select, .filter-bar input, .filter-bar button {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 40%;
    padding: 14px
}
.service-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    column-gap: 22px;
    row-gap: 22px;
    width: 100%;
}
.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-size: 14px;
    width:30% !important;
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-card .content {
    padding: 15px;
}
.service-card h3 {
    margin: 10px 0;
    font-size: 18px;
}
.rating {
    color: gold;
}
.contact-info {
    font-size: 14px;
    margin: 10px 0;
}
.inquiry-btn {
    display: block;
    text-align: center;
    background: white;
    color: black;
    padding: 8px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    border:1px solid black;
}
.inquiry-btn:hover{
    background-color: lightgray;
    color: white;
}
         
.suggestions-box {
    position: absolute;
    background: white;
   
    max-width: 300px;
    z-index: 1000;
    color: black;
    top: 53px;
    width: 29%;
}
.suggestion-item {
    padding: 13px;
    font-size: 14px;
    cursor: pointer;
}
.suggestion-item:hover {
    background: #f0f0f0;
}


#map {
    width: 100%;
    height: 420px;
    border-radius: 12px;
}
.search-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
        
        
        
@media (max-width: 560px) {
    .search-container input{
        width:190px !important;
    }
    }
    .headers {
    position: relative;
    width: 100%;
    min-height: 550px;         /* fixed height, consistent with the index hero (not 80vh) */
    padding: 160px 16px 120px; /* top clears the 130px nav; bottom = fixed search→bottom gap */
    box-sizing: border-box;
    /*background: url('/assets/pages/img/products/aircraft.jpg') center center/cover no-repeat;*/
    background: url('/assets/pages/img/products/aircraft1.jpg') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* anchor content to bottom so search→bottom is a fixed 120px (not centred free-space) */
    align-items: center;
    color: white;
    text-align: center;
}

.headers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.headers h1, .headers p {
    position: relative;
    z-index: 2;
}

.headers h1 {
    font-size: 4.5rem;
    /* font-weight: ; */
        
    margin-top: 0;             /* nav clearance handled by .headers padding-top */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.headers p {
    font-size: 1.5rem;
    color:white !important;
    z-index: 2;
    margin: 10px 0 0;          /* gap below tagline handled by the search element margin-top (match index) */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

 .car-card {
    background: #fff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #DDDDDD !important;
    display: flex !important;
    flex-direction: column !important;
    width: calc(25% - 17px) !important;
}

/* Slider Container */
.slider {
    position: relative !important;
    width: 100% !important;
    /* Fixed height so images are consistent */
    height: auto !important;
    /*height: 250px !important;*/
    overflow: hidden !important;
}

/* "NEW" TAG at top-left */
.new-tag {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #fff !important;
    color: #444 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
    z-index: 2 !important;
}

/* Container for the slides */
.slides {
    display: flex !important;
    transition: transform 0.4s ease !important;
    height: 100% !important;
}

/* Style for each image inside the slide */
.slides img {
    width: 100% !important;  /* Each image takes full width */
    height: 320px !important;
    /*object-fit: cover !important;*/
}

/* Left/Right Arrows */
.arrows {
    position: absolute !important;
    top: 50% !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    transform: translateY(-50%) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 2 !important;
padding: 0 0.5rem !important; /* Some horizontal breathing room */
}
.arrows span {
    background-color: #fff !important;
    color: #444 !important;
    border: 1px solid #444 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: background-color 0.3s, color 0.3s !important;
}
.arrows span:hover {
    background-color: #444 !important;
    color: #fff !important;
}

/* Favorite + List Icons on the top-right */
.favorite-icons {
    position: absolute !important;
    top: 0px !important;
    right: 0px !important;
    display: flex !important;
    gap: 0.4rem !important;
    z-index: 2 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    background-color: #fff !important;
    padding: 12px 5px 20px 15px;
    border-radius: 0px 0px 0px 40px !important;
}

.favorite-icons i:hover {
    background-color: #444 !important;
    color: #fff !important;
}

/* Slider Dots at bottom-center */
.slider-dots {
    position: absolute !important;
    bottom: 10px !important;
    width: 100% !important;
    display: flex;
    justify-content: center !important;
    gap: 0.5rem !important;
    z-index: 2 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}
.dot {
    width: 8px !important;
    height: 8px !important;
    background: #ccc !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
}
.dot.active {
    background: #444 !important;
}

/* Show arrows, favorite icons, and dots on hover */
.slider:hover .arrows,
.slider:hover .favorite-icons,
.slider:hover .slider-dots {
    opacity: 1 !important;
}

/* Card info */
.car-info {
    padding: 1rem !important;
}
.car-info h3 {
    /* margin-bottom: 0.5rem !important; */
    font-size: 1.2rem !important;
    color: #444 !important;
}
.car-info p {
    margin: 15px 10px  !important;
    color: #000 !important;
    font-size: 18px;
}
.car-info p strong{
    padding-right: 10px;
}
.button-group {
    margin-top: 1rem !important;
    display: flex !important;
    gap: 1rem !important;
}
.button-group button {
    /* flex: 1; */
    border: none !important;
    width: 100%; 
    padding: 1.2rem !important;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 10px;
    border-radius: 4px !important;
    font-weight: bold !important;
    transition: background 0.3s ease, color 0.3s ease !important;
}
.button-group button:nth-child(1) {
    background-color: #fff !important;
    color: #444 !important;
    border: 1px solid #444 !important;
}
.button-group button:nth-child(1):hover {
    background-color: lightgray !important;
    color: black !important;
    border: 1px solid black !important;

}
@media (max-width: 1400px) {
    .car-card {
        width: calc(33.333% - 15px) !important;
    }
    .cards-container{
        justify-content: center !important;
    }
}
@media (max-width: 990px) {
    .car-card {
        width: calc(50% - 11px) !important;
    }
    .cards-container{
        justify-content: center !important;
    }
}
/* Responsive Tweaks */
@media (max-width: 768px) {
    .arrows span {
    width: 28px;
    height: 28px;
    }
    .favorite-icons i {
    padding: 0.3rem;
    }
    .car-info h3 {
    font-size: 1rem;
    }
    .car-card{
    width: 100% !important;
    }
}
.load-more {
    margin: 30px 0px;
    width: 100% !important;
    text-align: center !important;
}

.load-more-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #444; /* Dark gray text */
  background-color: #fff; /* White background */
  border: 1px solid #DDDDDD; /* Border matching text color */
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background-color: #444;
  color: #fff;
}
.car-info img{
  width:25px;
}
.filter-item select{
    width: 100%;
    padding: 11px;
    border: 1px solid gray;
}
.car-info p{
  color:#757575 !important;
  display: flex;
  justify-content: space-between;
  text-align: right;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    min-width: 100%; /* Ensures each image takes up full slider width */
    /*object-fit: cover;*/
}




/* Hide legacy elements */
.service-filters, .service-bubble, .dropdown-menu { display: none !important; }



#pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
    gap: 6px;
}
#pagination a, #pagination span {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #2E4A62;
    background-color: #fff;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(40,67,167,.13);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
}
#pagination a:hover {
    background-color: #EEF4F8;
    border-color: #2843A7;
    color: #2843A7;
}
#pagination a.active {
    background-color: #2843A7;
    color: #fff;
    font-weight: 700;
    border: 1px solid #2843A7;
    pointer-events: none;
}
#pagination span.dots {
    background-color: transparent;
    color: #A8C0D0;
    border: none;
    cursor: default;
}
/* ════ V2 Service Card Design ════ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}
.svc-card {
    background: #fff;
    border: 1px solid rgba(40,67,167,.07);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(14,26,43,.06), 0 1px 4px rgba(14,26,43,.04);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s, border-color .3s;
    cursor: pointer;
}
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(40,67,167,.14), 0 4px 14px rgba(14,26,43,.08);
    border-color: rgba(40,67,167,.18);
}
.svc-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2843A7, #5A8AA7);
    border-radius: 12px 12px 0 0;
    opacity: 0; transition: opacity .3s; z-index: 3;
}
.svc-card:hover::before { opacity: 1; }
.scard-img {
    height: 320px; overflow: hidden; background: #EEF4F8;
    position: relative; display: flex; align-items: center; justify-content: center;
}
.scard-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.svc-card:hover .scard-img img { transform: scale(1.07); }
.scard-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    background: linear-gradient(145deg, #EEF4F8 0%, #CCE0EE 100%);
    font-size: 40px; color: rgba(40,67,167,.25);
}
.scard-placeholder small {
    font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #A8C0D0;
}
.scard-type-badge {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    position: absolute; bottom: 10px; left: 10px; z-index: 2;
    font-size: 9px; font-weight: 700; letter-spacing: .11em;
    text-transform: uppercase; padding: 3px 9px; border-radius: 4px; color: #fff;
}
.sb-instructor  { background: #2843A7; }
.sb-school      { background: #5A8AA7; }
.sb-engine      { background: #1C4A6E; }
.sb-avionics    { background: #3D6B85; }
.sb-maintenance { background: #1C2F7A; }
.sb-mechanic    { background: #2D4A5E; }
.sb-charter     { background: #4A6BAF; }
.sb-detailing   { background: #6A86A0; }
.scard-verified {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(40,67,167,.15); border-radius: 100px;
    padding: 3px 8px; display: flex; align-items: center; gap: 4px;
    font-size: 9px; font-weight: 700; color: #2843A7;
    letter-spacing: .06em; text-transform: uppercase;
}
.sv-dot {
    width: 5px; height: 5px; background: #2843A7; border-radius: 50%;
    animation: svDotPulse 2s ease-in-out infinite;
}
@keyframes svDotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40,67,167,.4); }
    50%       { box-shadow: 0 0 0 6px rgba(40,67,167,0); }
}
.scard-body { padding: 16px 16px 14px; flex: 1; display: flex; flex-direction: column; }
.scard-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.scard-cat  {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5A8AA7;
}
.scard-name {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 16px; font-weight: 700; color: #0E1A2B; line-height: 1.25; margin-bottom: 6px; letter-spacing: -.01em;
}
.scard-loc  {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    display: flex; align-items: center; gap: 4px; font-size: 11px; color: #6A86A0; margin-bottom: 12px;
}
.scard-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.sv-tag {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 9px; font-weight: 600; letter-spacing: .05em;
    padding: 2px 8px; border-radius: 3px;
    background: rgba(40,67,167,.07); color: #2843A7;
    border: 1px solid rgba(40,67,167,.1);
}
.scard-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px;
    margin-bottom: 10px;
}
.scard-spec-label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 9px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: #A8C0D0;
    margin-bottom: 2px;
}
.scard-spec-val {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px; font-weight: 600; color: #2E4A62;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scard-footer {
    margin-top: auto; padding-top: 10px;
    border-top: 1px solid rgba(40,67,167,.07);
    display: flex; align-items: center; justify-content: flex-end;
}
.scard-cta {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background: #EEF4F8; color: #2843A7;
    font-size: 10px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; padding: 7px 13px;
    border-radius: 5px; border: 1px solid rgba(40,67,167,.13);
    text-decoration: none; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 4px;
    transition: background .2s, color .2s, border-color .2s;
}
.scard-cta:hover { background: #2843A7; color: #fff; border-color: #2843A7; }
@media (max-width: 1280px) { .svc-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 900px)  { .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px)  { .svc-grid { grid-template-columns: 1fr; } }

/* ─── React integration overrides (2026-06-20) ───
   The hero service-type selector uses a native <details> dropdown (JS-free);
   reveal the vendored .svc-dropdown-menu when open + drop the default marker.
   The Flight School subcategory list is rendered always-open server-side. */
details.svc-dropdown { position: relative; }
details.svc-dropdown > summary { list-style: none; cursor: pointer; }
details.svc-dropdown > summary::-webkit-details-marker { display: none; }
details.svc-dropdown > summary::marker { content: ""; }
details.svc-dropdown[open] > .svc-dropdown-menu { display: block; }
details.svc-dropdown[open] > summary .svc-dropdown-chevron { transform: rotate(180deg); }

/* Brand-coloured keyboard focus for the filter menu (replaces the default
   orange focus ring) — v3 royal blue, matching the selected radio dot. */
.breed-list a:focus-visible,
.filter-row:focus-visible,
.filter-sub-row:focus-visible,
.filter-label:focus-visible,
.filter-row-chevron:focus-visible,
.svc-clear-btn:focus-visible,
.svc-dropdown-menu a:focus-visible {
    outline: 2px solid #2843A7 !important;
    outline-offset: 2px;
    border-radius: 6px;
}
