/*
Theme Name: Clear Fr8 Manchester
Theme URI: https://technogant.com/clearfr8-manchester/
Author: Custom WordPress Theme
Description: Custom WordPress conversion of the Clear Fr8 Manchester HTML homepage.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Text Domain: clearfr8-manchester
*/

:root {
    --brand-blue: #1666a3;
    --top-bar-blue: #106DB3;
    --brand-red: #c02127;
    --text-dark: #333333;
    --bg-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #f4f4f4;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--top-bar-blue);
    color: var(--bg-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%;
    font-size: 13px;
    font-weight: 300;
}

.top-bar a {
    color: var(--bg-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info span:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    padding-right: 15px;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info i {
    margin-right: 5px;
    font-size: 14px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    padding-right: 5px;
    font-size: 12px;
    width: 140px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

.search-box input::placeholder {
    color: #999;
}

.search-box i {
    color: var(--brand-blue);
    cursor: pointer;
    font-size: 13px;
    transition: color 0.3s ease;
}

.search-box i:hover {
    color: var(--brand-red);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--bg-white);
    color: var(--top-bar-blue);
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--brand-red);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ===== MAIN HEADER ===== */
header {
    background-color: var(--bg-white);
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    border-bottom: 3px solid var(--brand-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    margin: 0 12px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--brand-blue);
}

/* Arrow next to parent menu items */
.menu-arrow {
    font-size: 0.75em;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tracker-btn {
    background-color: var(--brand-red);
    color: var(--bg-white);
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.tracker-btn:hover {
    background-color: var(--brand-blue);
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 10001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* ===== SLIDER ===== */
.slider {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.slide-text h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.slide-text h2 span {
    color: var(--brand-red);
}

.slide-text p {
    color: white;
    font-size: 1.2rem;
    background-color: var(--brand-blue);
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    padding: 80px 5%;
    background-color: var(--bg-white);
}

.intro-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.intro-image {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.intro-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--brand-blue);
    border-radius: 8px;
    z-index: 0;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    display: block;
}

.intro-text {
    flex: 1.2;
    min-width: 280px;
}

.intro-text h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.intro-text h2 span {
    color: var(--brand-red);
}

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--brand-red);
    margin-bottom: 25px;
    border-radius: 2px;
}

.divider.center {
    margin: 0 auto 40px auto;
}

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 20px;
}

.intro-text p strong {
    color: var(--brand-blue);
}

/* ===== SERVICES ICONS ===== */
.services-icons-section {
    padding: 60px 5%;
    background-color: #f4f4f4;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--brand-blue);
    cursor: pointer;
}

.service-card i {
    font-size: 3.5rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--brand-red);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.service-card:hover i {
    color: var(--brand-red);
}

/* ===== WHY CHOOSE US ===== */
.why-choose-section {
    padding: 80px 5%;
    background-color: #e9f0f6;
}

.why-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.why-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.why-header h2 span {
    color: var(--brand-blue);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    border-left: 5px solid var(--brand-blue);
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-left: 5px solid var(--brand-red);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--brand-red);
    margin-bottom: 20px;
}

.why-card h4 {
    font-size: 1.3rem;
    color: var(--brand-blue);
    margin-bottom: 15px;
}

.why-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== PARTNERS CAROUSEL ===== */
.partners-section {
    padding: 80px 0;
    background-color: #f4f7f6;
    position: relative;
    overflow: hidden;
}

.partners-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 5%;
}

.partners-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.partners-header h2 span {
    color: var(--brand-red);
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--brand-blue);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--brand-red);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.partners-track {
    display: flex;
    gap: 40px;
    overflow-x: hidden;
    padding: 40px 10px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.partners-track::-webkit-scrollbar {
    display: none;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

.bob-wrapper-1 { animation: bob 4s ease-in-out infinite; }
.bob-wrapper-2 { animation: bob 4s ease-in-out infinite 2s; }

.partner-card-round {
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    border: 3px solid var(--brand-blue);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.partner-card-round:hover {
    border-color: var(--brand-red);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(192, 33, 39, 0.15);
}

.partner-card-round i {
    font-size: 2.8rem;
    color: var(--brand-blue);
    transition: all 0.4s ease;
}

.partner-card-round:hover i {
    color: var(--brand-red);
    transform: rotateY(180deg);
}

.partner-card-round span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    padding: 0 15px;
    line-height: 1.2;
}

.fade-left, .fade-right {
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.fade-left {
    left: 60px;
    background: linear-gradient(to right, #f4f7f6, transparent);
}

.fade-right {
    right: 60px;
    background: linear-gradient(to left, #f4f7f6, transparent);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background-color: var(--top-bar-blue);
    border-top: 4px solid var(--brand-red);
    padding: 50px 5%;
    text-align: center;
    color: var(--bg-white);
}

.cta-banner p {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.cta-banner p strong {
    font-weight: 700;
    color: var(--bg-white);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #ffffff;
    border-top: 5px solid var(--brand-blue);
    padding: 70px 5% 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 25%;
    height: 5px;
    background-color: var(--brand-red);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 40px;
}

.footer-logo {
    max-height: 80px;
    margin-bottom: 20px;
    display: block;
}

.footer-about p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--brand-blue);
    color: var(--bg-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--brand-red);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.footer-col h3 {
    font-size: 1.3rem;
    color: var(--brand-blue);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--brand-red);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-col ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--brand-blue);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--brand-red);
    transform: translateX(5px);
}

.footer-col ul li a:hover::before {
    color: var(--brand-red);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    color: #555;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    gap: 4px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-list li i {
    color: var(--brand-red);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-list li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list li a:hover {
    color: var(--brand-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    color: #888;
    font-size: 0.9rem;
}

/* =========================================================
   DESKTOP-ONLY DROPDOWN (min-width: 769px)
   ---------------------------------------------------------
   Wrapped in a media query so it does NOT interfere with
   the mobile menu. All hover logic lives here.
   ========================================================= */
@media (min-width: 769px) {

    .nav-menu > li {
        position: relative;
    }

    .nav-menu .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-white);
        min-width: 220px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        list-style: none;
        border-top: 3px solid var(--brand-red);
        border-radius: 0 0 5px 5px;
        padding: 10px 0;
        z-index: 100;
    }

    .nav-menu > li:hover > .sub-menu {
        display: block;
    }

    .nav-menu .sub-menu li {
        position: relative;
        width: 100%;
    }

    .nav-menu .sub-menu li a {
        display: block;
        padding: 10px 20px;
        font-weight: 400;
        color: var(--text-dark);
        font-size: 14px;
    }

    .nav-menu .sub-menu li a:hover {
        background-color: #f9f9f9;
        color: var(--brand-red);
        padding-left: 25px;
        transition: all 0.3s ease;
    }

    /* 3rd-level flyout */
    .nav-menu .sub-menu .sub-menu {
        top: 0;
        left: 100%;
        transform: translateX(10px);
    }

    .nav-menu .sub-menu li:hover > .sub-menu {
        display: block;
        transform: translateX(0);
    }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* --- Large Tablets & Small Desktops (1024px and below) --- */
@media (max-width: 1024px) {
    .nav-menu > li {
        margin: 0 6px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .tracker-btn {
        padding: 8px 12px;
        font-size: 12px;
        gap: 5px;
    }

    .tracker-btn i {
        font-size: 13px;
    }

    .why-card {
        padding: 30px;
    }

    .partner-card-round {
        width: 150px;
        height: 150px;
    }

    .partner-card-round i {
        font-size: 2.4rem;
    }

    .partner-card-round span {
        font-size: 0.95rem;
        padding: 0 10px;
    }
}

/* --- Tablets Portrait (900px and below) --- */
@media (max-width: 900px) {
    .intro-container {
        flex-direction: column;
    }

    .intro-image::before {
        top: -10px;
        left: -10px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card {
        padding: 25px;
    }

    .carousel-container {
        padding: 0 50px;
    }

    .fade-left { left: 50px; }
    .fade-right { right: 50px; }

    .partner-card-round {
        width: 140px;
        height: 140px;
    }

    .partner-card-round i {
        font-size: 2.2rem;
    }

    .partner-card-round span {
        font-size: 0.9rem;
    }

    .partners-track {
        gap: 30px;
    }
}

/* --- Mobile Landscape / Small Tablets (768px and below) --- */
@media (max-width: 768px) {

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Hide desktop nav */
    .header-right nav {
        display: none;
    }

    /* Slide-in mobile nav */
    .header-right nav.mobile-open {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: var(--bg-white);
        padding: 100px 25px 40px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        z-index: 10000;
        overflow-y: auto;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .header-right nav.mobile-open.show {
        right: 0;
    }

    /* Vertical menu */
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav-menu > li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .nav-menu > li > a {
        display: block;
        width: 100%;
        padding: 14px 0;
        font-size: 15px;
        font-weight: 600;
    }

    /* ---- Submenus: collapsed by default, in-flow ---- */
    .nav-menu .sub-menu,
    .nav-menu .sub-menu .sub-menu {
        display: none;
        position: static;
        top: auto;
        left: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: #f9f9f9;
        border-top: none;
        border-radius: 0;
        box-shadow: none;
        min-width: 0;
        width: 100%;
        padding: 0 0 0 15px;
        margin: 0;
    }

    /* Open only when JS adds .submenu-open to the parent <li> */
    .nav-menu li.submenu-open > .sub-menu {
        display: block;
    }

    .nav-menu .sub-menu li {
        position: static;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
        margin: 0;
    }

    .nav-menu .sub-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu .sub-menu li a {
        display: block;
        padding: 10px 15px;
        font-size: 13px;
        font-weight: 400;
        color: var(--text-dark);
    }

    .nav-menu .sub-menu li a:hover {
        background-color: #efefef;
        color: var(--brand-red);
        padding-left: 20px;
    }

    /* Rotate arrow when open */
    .nav-menu li.submenu-open > a .menu-arrow {
        transform: rotate(180deg);
    }

    /* Mobile tracker button */
    .header-right nav.mobile-open .mobile-tracker-wrap {
        margin-top: 25px;
        width: 100%;
    }

    .header-right nav.mobile-open .mobile-tracker-wrap .tracker-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 18px;
        font-size: 15px;
    }

    /* Hide desktop tracker button */
    .header-right > .tracker-btn {
        display: none;
    }

    /* Mobile nav overlay */
    .mobile-nav-overlay.active {
        display: block;
    }

    /* Top bar */
    .top-bar {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        padding: 6px 3%;
    }

    .contact-info {
        order: 1;
        gap: 10px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }

    .contact-info span:first-child {
        border-right: 1px solid rgba(255, 255, 255, 0.5);
        padding-right: 10px;
    }

    .top-bar-right {
        order: 2;
        gap: 12px;
    }

    .search-box input {
        width: 100px;
        font-size: 11px;
    }

    .social-icons a {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    /* Header height */
    header {
        height: 75px;
        padding: 0 4%;
    }

    .logo img {
        max-height: 60px;
    }

    /* Slider */
    .slider {
        height: 400px;
    }

    .slide-text h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .slide-text p {
        font-size: 1rem;
        padding: 8px 16px;
    }

    /* Intro */
    .intro-section {
        padding: 50px 4%;
    }

    .intro-container {
        gap: 35px;
    }

    .intro-text h2 {
        font-size: 1.7rem;
    }

    .intro-text p {
        font-size: 0.95rem;
    }

    /* Services */
    .services-icons-section {
        padding: 40px 4%;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 30px 15px;
    }

    .service-card i {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    /* Why choose */
    .why-choose-section {
        padding: 50px 4%;
    }

    .why-header h2 {
        font-size: 1.7rem;
    }

    .why-grid {
        gap: 25px;
    }

    .why-card {
        padding: 25px 20px;
    }

    .why-card i {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .why-card h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .why-card p {
        font-size: 0.9rem;
    }

    /* Partners */
    .partners-section {
        padding: 50px 0;
    }

    .partners-header h2 {
        font-size: 1.7rem;
    }

    .carousel-container {
        padding: 0 45px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }

    .fade-left { left: 45px; width: 50px; }
    .fade-right { right: 45px; width: 50px; }

    .partners-track {
        gap: 25px;
        padding: 30px 5px;
    }

    .partner-card-round {
        width: 130px;
        height: 130px;
    }

    .partner-card-round i {
        font-size: 2rem;
    }

    .partner-card-round span {
        font-size: 0.85rem;
        padding: 0 8px;
    }

    /* CTA */
    .cta-banner {
        padding: 35px 4%;
    }

    .cta-banner p {
        font-size: 1.1rem;
    }

    /* Footer */
    .footer {
        padding: 50px 4% 15px;
    }

    .footer-container {
        gap: 35px;
    }

    .footer-col h3 {
        font-size: 1.15rem;
    }

    .hours-list li {
        font-size: 0.88rem;
        flex-direction: column;
        gap: 2px;
    }
}

/* --- Mobile Portrait (600px and below) --- */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 25px 20px;
    }

    .service-card i {
        font-size: 2.5rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .service-card h3 {
        font-size: 1.05rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .slider {
        height: 320px;
    }

    .slide-text h2 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }

    .slide-text p {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .intro-section {
        padding: 40px 4%;
    }

    .intro-text h2 {
        font-size: 1.45rem;
    }

    .intro-image::before {
        top: -8px;
        left: -8px;
    }

    .why-choose-section {
        padding: 40px 4%;
    }

    .why-header h2 {
        font-size: 1.45rem;
    }

    .why-card {
        padding: 20px 18px;
    }

    .partners-section {
        padding: 40px 0;
    }

    .partners-header h2 {
        font-size: 1.45rem;
    }

    .carousel-container {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .prev-btn { left: 3px; }
    .next-btn { right: 3px; }

    .fade-left { left: 40px; width: 40px; }
    .fade-right { right: 40px; width: 40px; }

    .partner-card-round {
        width: 110px;
        height: 110px;
        gap: 8px;
    }

    .partner-card-round i {
        font-size: 1.7rem;
    }

    .partner-card-round span {
        font-size: 0.75rem;
        padding: 0 5px;
        line-height: 1.1;
    }

    .partners-track {
        gap: 20px;
        padding: 25px 5px;
    }

    .cta-banner {
        padding: 30px 4%;
    }

    .cta-banner p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 4% 15px;
    }

    .footer-logo {
        max-height: 60px;
    }
}

/* --- Very Small Phones (400px and below) --- */
@media (max-width: 400px) {
    .top-bar {
        padding: 5px 3%;
        font-size: 11px;
    }

    .contact-info {
        flex-direction: column;
        gap: 4px;
    }

    .contact-info span:first-child {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 4px;
    }

    .search-box input {
        width: 80px;
        font-size: 10px;
    }

    .social-icons {
        gap: 6px;
    }

    .social-icons a {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    header {
        height: 65px;
        padding: 0 3%;
    }

    .logo img {
        max-height: 50px;
    }

    .slider {
        height: 260px;
    }

    .slide-text h2 {
        font-size: 1.2rem;
    }

    .slide-text p {
        font-size: 0.78rem;
    }

    .intro-text h2 {
        font-size: 1.25rem;
    }

    .intro-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .service-card {
        padding: 20px 15px;
        gap: 15px;
    }

    .service-card i {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 0.95rem;
    }

    .why-header h2 {
        font-size: 1.2rem;
    }

    .why-card {
        padding: 18px 15px;
    }

    .why-card i {
        font-size: 1.7rem;
    }

    .why-card h4 {
        font-size: 1rem;
    }

    .why-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .partners-header h2 {
        font-size: 1.2rem;
    }

    .carousel-container {
        padding: 0 35px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .prev-btn { left: 2px; }
    .next-btn { right: 2px; }

    .fade-left { left: 35px; width: 30px; }
    .fade-right { right: 35px; width: 30px; }

    .partner-card-round {
        width: 95px;
        height: 95px;
        gap: 6px;
    }

    .partner-card-round i {
        font-size: 1.5rem;
    }

    .partner-card-round span {
        font-size: 0.68rem;
        padding: 0 4px;
    }

    .partners-track {
        gap: 15px;
        padding: 20px 3px;
    }

    .cta-banner p {
        font-size: 0.9rem;
    }

    .footer-col h3 {
        font-size: 1.05rem;
    }

    .footer-col ul li a {
        font-size: 0.88rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* --- Ultra Small (320px and below) --- */
@media (max-width: 320px) {
    .top-bar-right {
        gap: 8px;
    }

    .search-box {
        padding: 3px 8px;
    }

    .search-box input {
        width: 65px;
        font-size: 9px;
    }

    header {
        height: 58px;
    }

    .logo img {
        max-height: 44px;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    .slider {
        height: 220px;
    }

    .slide-text h2 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .slide-text p {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    .partner-card-round {
        width: 80px;
        height: 80px;
    }

    .partner-card-round i {
        font-size: 1.3rem;
    }

    .partner-card-round span {
        font-size: 0.6rem;
    }

    .partners-track {
        gap: 12px;
    }
}

/* ===== ACCESSIBILITY: Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .slide {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== LANDSCAPE PHONES ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .slider {
        height: 280px;
    }

    .slide-text h2 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .slide-text p {
        font-size: 0.85rem;
        padding: 5px 12px;
    }

    header {
        height: 60px;
    }

    .logo img {
        max-height: 45px;
    }
}

/* ===== HIGH RES / LARGE SCREENS ===== */
@media (min-width: 1400px) {
    .services-grid {
        gap: 40px;
    }

    .service-card {
        padding: 50px 25px;
    }

    .service-card i {
        font-size: 4rem;
    }

    .why-grid {
        gap: 50px;
    }

    .why-card {
        padding: 50px;
    }

    .partner-card-round {
        width: 190px;
        height: 190px;
    }

    .partner-card-round i {
        font-size: 3.2rem;
    }

    .slide-text h2 {
        font-size: 3.5rem;
    }

    .slide-text p {
        font-size: 1.4rem;
    }
}


/* ============================================================
   INNER PAGE HERO BANNER
   ============================================================ */
.page-banner {
    position: relative;
    width: 100%;
    height: 35vh;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white, #ffffff);
    overflow: hidden;
    padding: 0 5%;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
}

.page-banner-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    color: #ffffff;
}

/* Social sidebar inside the banner */
.page-banner .social-sidebar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 15px 0 0 15px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInRight 1s ease forwards;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translate(20px, -50%); }
    to   { opacity: 1; transform: translate(0, -50%); }
}

.page-banner .social-sidebar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.page-banner .social-sidebar a:hover {
    background: #2374b6;
    transform: translateX(-5px) scale(1.1);
    box-shadow: 0 4px 12px rgba(35, 116, 182, 0.5);
}

.page-banner .social-sidebar a:nth-child(even):hover {
    background: #c61e27;
    box-shadow: 0 4px 12px rgba(198, 30, 39, 0.5);
}

/* Responsive */
@media (max-width: 860px) {
    .page-banner {
        padding-bottom: 50px;
        min-height: 300px;
        height: 35vh;
    }
    .page-banner-content h2 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    .page-banner-content p {
        font-size: 1rem;
        padding: 0 20px;
    }
    .page-banner .social-sidebar {
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
        border-radius: 12px 12px 0 0;
        padding: 8px 12px;
        gap: 8px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    @keyframes fadeInRight {
        from { opacity: 0; transform: translate(50%, 20px); }
        to   { opacity: 1; transform: translate(50%, 0); }
    }
    .page-banner .social-sidebar a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .page-banner {
        min-height: 250px;
        height: 30vh;
    }
    .page-banner-content h2 {
        font-size: 1.8rem;
        padding: 0 15px;
    }
    .page-banner-content p {
        font-size: 0.95rem;
    }
    .page-banner .social-sidebar {
        padding: 6px 10px;
        gap: 6px;
    }
    .page-banner .social-sidebar a {
        width: 30px;
        height: 30px;
        font-size: 12px;
        border-radius: 6px;
    }
}

@media (max-width: 400px) {
    .page-banner {
        min-height: 200px;
        height: 25vh;
    }
    .page-banner-content h2 { font-size: 1.4rem; }
    .page-banner-content p  { font-size: 0.85rem; }
    .page-banner .social-sidebar a {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}
