/* white you custom css code here. only css code will work */
.hero-slider-wrapper,
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1; /* keep the slider below your site nav */
}
/* IMPORTANT: your actual site header/nav needs this so it always stays on top */
.site-header,
header.main-header,
.header-top-area,
.navbar {
    position: relative;
    z-index: 999;
}

.hero-slides-track {
    position: relative;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 1.4s ease, visibility 1s;
    z-index: 1;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

/* Dark overlay for text readability over any photo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

/* Content entrance animation */
.hero-slide .header-inner > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active .header-inner .sub-title { transition-delay: .15s; }
.hero-slide.active .header-inner .title { transition-delay: .3s; }
.hero-slide.active .header-inner .description { transition-delay: .45s; }
.hero-slide.active .header-inner .btn-wrapper { transition-delay: .6s; }

.hero-slide.active .header-inner > * {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide .sub-title {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffb600;
    margin-bottom: 15px;
}

.hero-slide .title,
.hero-slide .description {
    color: #fff;
}

/* Navigation arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-nav:hover {
    background: #ffb600;
    color: #111;
    transform: translateY(-50%) scale(1.08);
}

.hero-prev { left: 30px; }
.hero-next { right: 30px; }

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #ffb600;
    border-color: #ffb600;
    width: 26px;
    border-radius: 6px;
}

/* Autoplay progress bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.hero-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: #ffb600;
}

.hero-progress span.running {
    transition: width 5s linear;
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-slide { min-height: 550px; }
    .hero-nav { width: 40px; height: 40px; font-size: 14px; }
    .hero-prev { left: 15px; }
    .hero-next { right: 15px; }
}

@media (max-width: 767px) {
    .hero-slide { min-height: 480px; text-align: center; }
    .hero-nav { display: none; }
    .hero-dots { bottom: 18px; }
}

/* Equal height thumbnail images */
.political-single-what-we-cover-item .thumb {
    position: relative;
    width: 100%;
    height: 240px; /* adjust to your preferred consistent height */
    overflow: hidden;
    border-radius: 10px;
}

.political-single-what-we-cover-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.political-single-what-we-cover-item:hover .thumb img {
    transform: scale(1.05);
}

/* View All Services button */
.view-all-services-btn {
    margin-top: 10px;
}

.view-all-services-btn .boxed-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 30px;
    background: #ffb600;
    color: #111;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.view-all-services-btn .boxed-btn:hover {
    background: #111;
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .political-single-what-we-cover-item .thumb {
        height: 200px;
    }
}

.mission-vision-values-section {
    background: #fafafa;
}

.mission-vision-values-section .section-title .subtitle {
    display: inline-block;
    color: #ffb600;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.mission-vision-values-section .section-title .title {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 0;
}

/* ---- Mission & Vision Cards ---- */
.mv-card {
    background: #fff;
    border-radius: 16px;
    padding: 45px 35px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #ffb600;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.1);
    border-color: transparent;
}

.mv-card:hover::before {
    transform: scaleY(1);
}

.mv-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 182, 0, 0.12);
    color: #ffb600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.mv-card:hover .mv-icon {
    background: #ffb600;
    color: #111;
    transform: rotate(-8deg) scale(1.05);
}

.mv-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mv-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ---- Core Values Flip Cards ---- */
.core-values-row {
    margin-top: 10px;
}

.value-card {
    perspective: 1200px;
    height: 220px;
    margin-bottom: 30px;
    cursor: pointer;
    outline: none;
}

.value-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

/* Flip on hover (desktop) and focus/tap (mobile/keyboard) */
.value-card:hover .value-card-inner,
.value-card:focus .value-card-inner,
.value-card.flipped .value-card-inner {
    transform: rotateY(180deg);
}

.value-card-front,
.value-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.value-card-front {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.value-card-back {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    transform: rotateY(180deg);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 182, 0, 0.12);
    color: #ffb600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.value-card-back .value-icon {
    background: rgba(255, 182, 0, 0.2);
}

.value-card-front h4,
.value-card-back h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

.value-card-back h4 {
    margin-bottom: 10px;
}

.value-card-back p {
    font-size: 14px;
    line-height: 1.6;
    color: #d5d5d5;
    margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .mv-card {
        padding: 35px 25px;
    }
    .value-card {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .mv-card {
        margin-bottom: 20px;
    }
    .value-card {
        height: 190px;
        margin-bottom: 25px;
    }
    .value-card-front h4,
    .value-card-back h4 {
        font-size: 16px;
    }
    .value-card-back p {
        font-size: 13px;
    }
}

.logistic-single-testimonial-item .thumb {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.logistic-single-testimonial-item .thumb img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
@media (max-width: 767px) {
    .logistic-single-testimonial-item .thumb,
    .logistic-single-testimonial-item .thumb img {
        width: 100px;
        height: 100px;
    }
}