:root {
    --primary-yellow: #DEAD25;
    --primary-green: #2B7A0B;
    --secondary-green: #1E5108;
    --accent-yellow: #FFEE8C;
    --accent-green: #5BB318;
    --bg-gradient: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    --dark: #080054;
    --light: #FFFFFF;
    --gray-light: #E2E8F0;
    --text-main: #080054;
    --text-muted: #64748B;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --header-offset: 130px;
    --header-breathing-space: 14px;
}

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

.text-dark {
    color: #080054 !important;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    padding-top: calc(var(--header-offset) + var(--header-breathing-space));
}

body.page-home-tight main {
    padding-top: 0;
}

html {
    scroll-padding-top: calc(var(--header-offset) + var(--header-breathing-space));
}

body.page-fade {
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.page-fade.page-visible {
    opacity: 1;
}

body.page-fade.page-leave {
    opacity: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- PRESERVE LOGO ASPECT --- */
.logo img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER
   ============================================ */
header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-yellow);
    height: 45px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.top-info {
    font-size: 13px;
    font-weight: 600;
    color: #111;
}

.top-social {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.top-social:hover {
    background: var(--primary-green);
    color: #fff;
}

.top-bar-sep {
    width: 1px;
    height: 20px;
    background: rgba(0,0,0,0.2);
}

.header-main {
    background-color: var(--primary-green);
    height: 90px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.logo-block {
    position: absolute;
    top: 0;
    left: 40px;
    width: 140px;
    height: 135px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1010;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}

.logo img { max-width: 100%; height: auto; }

/* Nav Links */
.nav-link-custom {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s;
}

.nav-link-custom:hover {
    color: var(--primary-yellow);
}

.nav-link-custom.active {
    color: var(--primary-yellow);
}

.nav-link-custom:hover::after {
    width: 100%;
}

.nav-link-custom.active::after {
    width: 100%;
}

/* Sticky header override */
header.sticky {
    position: fixed;
}

header.sticky .header-top {
    display: none !important;
}

header.sticky .header-main {
    background-color: rgba(8, 0, 60, 0.97) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.btn-nav-cta {
    background: var(--primary-yellow);
    color: #111 !important;
    padding: 11px 24px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background: var(--primary-green);
    color: #fff !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    width: 44px;
    height: 44px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    z-index: 1020;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Dropdown Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(8, 0, 60, 0.98);
    padding: 20px 30px 30px;
    gap: 5px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--primary-yellow); }

/* ============================================
   SECTION COMMON
   ============================================ */
.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-yellow);
    margin: 20px auto 0;
}

.inner-page-hero {
    padding: 170px 0 70px;
    background: linear-gradient(135deg, rgba(43, 122, 11, 0.95) 0%, rgba(8, 0, 84, 0.95) 100%);
    color: #fff;
}

.inner-page-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 12px;
}

.inner-page-hero p {
    font-size: 18px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.page-section {
    padding: 90px 0;
    background: #fff;
}

.page-links-showcase {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.page-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.page-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: block;
    color: inherit;
}

.page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
}

.page-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}

.page-card p {
    color: var(--text-muted);
    margin: 0;
}

.page-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}

.contact-form .form-control {
    border: 1px solid #dbe1ea;
    padding: 12px 14px;
}

.mobile-menu a.active {
    color: var(--primary-yellow);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    position: relative;
    background-image: url('footer-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 20, 0.93);
    z-index: 0;
}

footer .container-fluid {
    position: relative;
    z-index: 1;
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-yellow);
    display: inline-block;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 4px;
}

.footer-links a i {
    color: var(--primary-yellow);
    font-size: 11px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-list li i {
    color: var(--primary-yellow);
    margin-top: 2px;
    min-width: 14px;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-list a:hover { color: var(--primary-yellow); }

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-btn:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: #111;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.footer-bottom a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -80px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.cta-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.cta-sub {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    margin: 0;
}

.btn-cta-phone {
    display: inline-flex;
    align-items: center;
    background: var(--primary-yellow);
    color: #111;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta-phone:hover {
    background: #fff;
    color: var(--primary-green);
}

.btn-cta-mail {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta-mail:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* About highlights */
.about-highlight-item {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.text-primary-green { color: var(--primary-green) !important; }


/* ============================================
   HERO SLIDER - FULL SCREEN
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s ease, transform 5s ease;
    will-change: opacity, transform;
}

.hero-bg-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(7, 16, 12, 0.58) 0%,
        rgba(7, 16, 12, 0.52) 48%,
        rgba(7, 16, 12, 0.44) 100%
    );
    z-index: 2;
}

.hero-content-wrap {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 110px;
}

.hero-content-fixed {
    max-width: 720px;
}

.tagline {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--dark);
    padding: 6px 18px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 65px);
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 22px;
    font-weight: 800;
}

.hero-title span {
    color: var(--primary-yellow);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.92);
    max-width: 680px;
    margin-bottom: 35px;
    line-height: 1.75;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.slider-nav {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 12px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.65);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: rgba(255,255,255,0.7);
}

.dot.active {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    transform: scale(1.2);
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(8, 15, 12, 0.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.hero-nav-btn:hover {
    background: rgba(222, 173, 37, 0.95);
    border-color: rgba(222, 173, 37, 0.95);
    color: #111;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

@media (max-width: 991px) {
    .hero {
        min-height: 620px;
    }

    .hero-content-wrap {
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content-fixed {
        max-width: 92%;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-nav-btn {
        width: 46px;
        height: 46px;
    }

    .hero-prev {
        left: 14px;
    }

    .hero-next {
        right: 14px;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 560px;
    }

    .hero-title {
        font-size: clamp(30px, 9vw, 44px);
    }

    .hero-desc {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .hero-nav-btn {
        top: auto;
        bottom: 22px;
        transform: none;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .hero-prev {
        left: 12px;
    }

    .hero-next {
        right: 12px;
    }

    .slider-nav {
        bottom: 20px;
    }
}


.btn {
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--light);
}

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

.btn-secondary {
    background-color: var(--dark);
    color: var(--light);
}

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

.engin-float {
    width: 150%;
    max-width: none !important;
    filter: drop-shadow(20px 20px 30px rgba(0,0,0,0.15));
    animation: floating 6s ease-in-out infinite;
    opacity: 0;
    transform: translateX(100px);
    z-index: 10;
    position: relative;
}

@keyframes floating {
    0% { transform: translate(0, 0px) translateX(0); }
    50% { transform: translate(0, -20px) translateX(10px); }
    100% { transform: translate(0, 0px) translateX(0); }
}

/* Animations Trigger Classes */
.animate-in {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.transition {
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    background-color: var(--light) !important;
}

/* --- ABOUT SECTION --- */
.about-section {
    background-color: #fdfdfd;
    overflow: hidden;
}

.about-image-box {
    padding-right: 30px;
    padding-bottom: 30px;
}

.about-image-box img {
    border-radius: 15px;
    width: 100%;
    object-fit: cover;
    height: 500px;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-yellow);
    color: var(--dark);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-width: 130px;
    z-index: 2;
}

.experience-badge .number {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
}

.text-primary-green {
    color: var(--primary-green) !important;
}

.services-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-subtitle::before {
    content: '';
    width: 2px;
    height: 18px;
    background-color: var(--primary-green);
}

.accordion-container {
    display: flex;
    width: 100%;
    height: 550px;
    gap: 0;
    margin-top: 50px;
    padding: 0 15px;
}

.accordion-item {
    flex: 0.8;
    position: relative;
    border-radius: 10px;
    margin: 0 5px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    transition: var(--transition);
    z-index: 1;
}

.accordion-item.active {
    flex: 3;
}

.accordion-item.active::before {
    background: var(--primary-green);
    opacity: 0.95;
}

.accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 3;
    color: var(--light);
}

.accordion-icon {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
    color: #080054;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.accordion-item.active .accordion-icon {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

.accordion-title-active {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.accordion-item.active .accordion-title-active {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.accordion-desc {
    font-size: 16px;
    opacity: 0;
    max-width: 450px;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.accordion-item.active .accordion-desc {
    opacity: 0.9;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.accordion-label {
    position: absolute;
    bottom: 115px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    font-size: 22px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--transition);
    z-index: 2;
    transform-origin: center;
}

.accordion-item.active .accordion-label {
    opacity: 0;
}

/* --- WHY CHOOSE US STYLES (Translo Grid Style) --- */
.why-choose-us {
    padding: 100px 0;
    background-color: #ffffff;
}

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

.feature-card-wrapper {
    position: relative;
    padding-bottom: 15px;
    padding-right: 15px;
}

/* The "Stacked" background effect */
.feature-card-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - 15px);
    height: calc(100% - 15px);
    background-color: #f8f9fa;
    z-index: 1;
    border-radius: 5px;
}

.feature-card {
    position: relative;
    background-color: #ffffff;
    padding: 45px;
    z-index: 2;
    border-left: 4px solid var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.feature-icon-box {
    width: 65px;
    height: 65px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
    color: #080054;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
    background-color: var(--primary-yellow);
    color: var(--dark);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #080054;
    margin-bottom: 15px;
}

.feature-text {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

 / *   - - -   R E S P O N S I V E   A D J U S T M E N T S   - - -   * / 
 @ m e d i a   ( m a x - w i d t h :   9 9 1 p x )   { 
         . s l i d e - t e x t   { 
                 p a d d i n g - l e f t :   1 5 p x   ! i m p o r t a n t ; 
                 t e x t - a l i g n :   c e n t e r ; 
         } 
         . s l i d e - i m a g e   { 
                 p a d d i n g - r i g h t :   0   ! i m p o r t a n t ; 
                 m a r g i n - b o t t o m :   3 0 p x ; 
         } 
         . h e r o - s l i d e   . c o n t a i n e r   { 
                 p a d d i n g - t o p :   1 0 0 p x ; 
         } 
         . h e r o - b t n s   { 
                 j u s t i f y - c o n t e n t :   c e n t e r ; 
         } 
         . h e r o - d e s c   { 
                 m a r g i n - l e f t :   a u t o ; 
                 m a r g i n - r i g h t :   a u t o ; 
         } 
 } 
 
 
/* =================================================================
   RESPONSIVE GLOBAL — KENAM SOLUTIONS LOGISTIQUE
   Breakpoints: 1400, 1200, 992, 768, 576, 480, 390, 360, 320
   ================================================================= */

/* --- Global images & media --- */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* --- Container padding on smaller screens --- */
@media (max-width: 575.98px) {
    .container { padding: 0 16px; }
    .container-fluid { padding-left: 16px !important; padding-right: 16px !important; }
}

/* =================================================================
   HEADER
   ================================================================= */
/* Logo block scales down gracefully */
@media (max-width: 1399.98px) {
    .logo-block { width: 120px; height: 115px; left: 28px; }
    .header-main { height: 80px; }
    --header-offset: 120px;
}

@media (max-width: 1199.98px) {
    .logo-block { width: 110px; height: 105px; left: 20px; }
}

@media (max-width: 1279.98px) {
    .header-main .container-fluid { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
}

/* Mobile header: hide logo-block overhang, let header be solid */
@media (max-width: 1199.98px) {
    .header-top { display: none !important; }
    .header-main { position: fixed !important; top: 0; z-index: 1100; width: 100%; height: 72px; }
    .logo-block { position: relative; left: auto; top: auto; width: auto; height: 100%; clip-path: none; box-shadow: none; padding: 8px 12px; background: transparent; }
    .logo-block img { height: 52px; width: auto; max-width: 120px; object-fit: contain; }
    .header-main .container-fluid { height: 100%; display: flex; align-items: center; justify-content: space-between; }
    main { padding-top: 72px; }
    :root { --header-offset: 72px; }
}

/* Mobile menu full width */
@media (max-width: 1199.98px) {
    .mobile-menu { position: fixed; top: 72px; left: 0; right: 0; width: 100%; z-index: 1099; max-height: calc(100vh - 72px); overflow-y: auto; }
}

@media (max-width: 575.98px) {
    .mobile-menu { padding: 16px 20px 24px; }
    .mobile-menu a { font-size: 15px; padding: 12px 0; }
    .btn-nav-cta { font-size: 13px; padding: 10px 18px; }
}

/* =================================================================
   HERO
   ================================================================= */
@media (max-width: 575.98px) {
    .hero { min-height: 100svh; }
    .hero-title { font-size: clamp(26px, 8vw, 38px); }
    .hero-desc { font-size: 14px; margin-bottom: 20px; }
    .hero-btns { flex-direction: column; gap: 10px; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 280px; text-align: center; justify-content: center; padding: 14px 20px; }
    .hero-nav-btn { display: none; }
    .slider-nav { gap: 8px; bottom: 18px; }
    .dot { width: 10px; height: 10px; }
}

@media (max-width: 389.98px) {
    .hero-title { font-size: clamp(22px, 7.5vw, 32px); }
    .hero-desc { font-size: 13px; }
}

/* =================================================================
   INNER PAGE HERO
   ================================================================= */
@media (max-width: 991.98px) {
    .inner-page-hero { padding: 130px 0 50px; text-align: center; }
}
@media (max-width: 575.98px) {
    .inner-page-hero { padding: 100px 0 40px; }
    .inner-page-hero h1 { font-size: clamp(26px, 7vw, 38px); }
    .inner-page-hero p { font-size: 15px; }
}

/* =================================================================
   ACCORDION / SERVICES SECTION (home page)
   ================================================================= */
@media (max-width: 991.98px) {
    .accordion-container {
        flex-direction: column;
        height: auto;
        gap: 10px;
        padding: 0;
    }
    .accordion-item { flex: 1 !important; height: 180px; margin: 0; border-radius: 12px; }
    .accordion-item.active { height: 280px; }
    .accordion-content { padding: 20px 24px; }
    .accordion-icon { width: 50px; height: 50px; font-size: 20px; }
}

@media (max-width: 575.98px) {
    .accordion-item { height: 140px; }
    .accordion-item.active { height: 240px; }
    .accordion-content { padding: 16px 18px; }
    .accordion-label { font-size: 14px !important; }
}

/* =================================================================
   ABOUT SECTION (home)
   ================================================================= */
@media (max-width: 991.98px) {
    .about-image-box { padding-right: 0; padding-bottom: 20px; }
    .about-image-box img { height: 380px; }
}
@media (max-width: 767.98px) {
    .about-image-box img { height: 280px; }
    .experience-badge { padding: 16px; min-width: 100px; }
    .experience-badge .number { font-size: 24px; }
}
@media (max-width: 575.98px) {
    .about-image-box img { height: 220px; }
    .experience-badge { display: none; }
}

/* =================================================================
   PAGE SECTIONS & CARDS
   ================================================================= */
@media (max-width: 767.98px) {
    .page-section { padding: 60px 0; }
    .page-card-image { height: 160px; }
    .section-title { font-size: clamp(22px, 6vw, 34px); }
}

@media (max-width: 575.98px) {
    .page-section { padding: 48px 0; }
    .page-card-grid { grid-template-columns: 1fr; }
    .section-title { font-size: clamp(20px, 6vw, 30px); }
    .section-subtitle { font-size: 12px; letter-spacing: 1px; }
}

/* =================================================================
   WHY CHOOSE US / FEATURE GRID
   ================================================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

@media (max-width: 991.98px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 575.98px) {
    .feature-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
    .feature-card { padding: 24px 20px; }
    .feature-icon-box { width: 52px; height: 52px; font-size: 24px; }
    .feature-title { font-size: 17px; }
}

/* =================================================================
   CTA BAND
   ================================================================= */
@media (max-width: 767.98px) {
    .cta-band { padding: 50px 0; text-align: center; }
    .cta-band .d-flex.gap-3 { justify-content: center !important; flex-wrap: wrap; }
}

@media (max-width: 575.98px) {
    .cta-band { padding: 40px 0; }
    .btn-cta-phone, .btn-cta-mail { width: 100%; justify-content: center; }
}

/* =================================================================
   FOOTER
   ================================================================= */
@media (max-width: 767.98px) {
    .footer-main { padding: 50px 0 36px; }
    .footer-heading { font-size: 15px; margin-bottom: 18px; }
}

@media (max-width: 575.98px) {
    .footer-main { padding: 36px 0 28px; }
    .footer-bottom { text-align: center; padding: 18px 0; }
    .footer-bottom .d-flex { flex-direction: column; align-items: center; gap: 8px !important; }
}

/* =================================================================
   SERVICES INDEX PAGE (Blade inline CSS supplement)
   ================================================================= */
@media (max-width: 575.98px) {
    .sv-section { padding: 60px 0; }
    .sv-section-head h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); max-width: none; }
    .sv-solution-media img { height: 200px; }
    .sv-solution-body { padding: 18px 16px 20px; }
    .sv-hero-notes { grid-template-columns: repeat(2, 1fr); }
    .sv-request-shell { grid-template-columns: 1fr; }
    .sv-sectors-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 389.98px) {
    .sv-sectors-grid { grid-template-columns: 1fr; }
    .sv-hero-notes { grid-template-columns: 1fr; }
}

/* =================================================================
   ABOUT PAGE (Blade inline CSS supplement)
   ================================================================= */
@media (max-width: 767.98px) {
    .about-grid { grid-template-columns: 1fr !important; }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 575.98px) {
    .about-stats-grid { grid-template-columns: 1fr !important; }
    .about-copy { padding: 24px !important; }
}

/* =================================================================
   WHY-US PAGE (Blade inline CSS supplement)
   ================================================================= */
@media (max-width: 575.98px) {
    .whyx-compare-card { padding: 16px 18px !important; }
    .whyx-compare-cards { max-width: 100%; }
    .whyx-compare-answer span, .whyx-compare-need span { font-size: 0.87rem !important; }
}

/* =================================================================
   FLEET PAGES (Blade inline CSS supplement)
   ================================================================= */
@media (max-width: 575.98px) {
    .fleet-category-grid { grid-template-columns: 1fr !important; }
    .fleet-entry-title { font-size: clamp(1.8rem, 7vw, 2.8rem) !important; }
}

/* =================================================================
   PROJECTS PAGE (Blade inline CSS supplement)
   ================================================================= */
@media (max-width: 767.98px) {
    .ksl-map-grid { grid-template-columns: 1fr !important; }
}

/* =================================================================
   CONTACT PAGE FORM
   ================================================================= */
@media (max-width: 575.98px) {
    .contact-form .row.g-4 > .col-md-6 { width: 100%; }
    .contact-form .btn { width: 100%; }
}

/* =================================================================
   GENERAL OVERFLOW GUARD
   ================================================================= */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@media (max-width: 575.98px) {
    .row { margin-left: 0; margin-right: 0; }
    .row > * { padding-left: 0; padding-right: 0; }
    .container, .container-fluid { overflow-x: hidden; }
}

/* =================================================================
   RESPONSIVE FONT SCALE — ensure no text ever overflows
   ================================================================= */
@media (max-width: 389.98px) {
    body { font-size: 14px; }
    .section-title { font-size: clamp(18px, 7vw, 28px); }
    .cta-title { font-size: clamp(20px, 7vw, 30px); }
    .footer-heading { font-size: 14px; }
}

/* =================================================================
   BUTTONS — no truncation on small screens
   ================================================================= */
@media (max-width: 575.98px) {
    .btn, .btn-nav-cta, .btn-cta-phone, .btn-cta-mail {
        white-space: normal;
        word-break: break-word;
    }
}

