/* Header & Mega Menu Luxury */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 26, 61, 0.4); /* Subtle dark overlay for visibility */
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
    border-bottom-color: var(--gray-mid);
}

.header .logo img {
    height: 50px;
    transition: var(--transition-smooth);
}

.header .nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: static;
}

.header .nav-link {
    font-weight: 600;
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
}

.header.sticky .nav-link {
    color: var(--primary);
}

.header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-smooth);
}

.header .nav-link:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-smooth);
}

.header.sticky .mobile-toggle span {
    background: var(--primary);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: auto;
    min-width: 700px;
    background: var(--white);
    padding: 40px 45px;
    box-shadow: 0 25px 80px rgba(0, 26, 61, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border-top: 3px solid var(--secondary);
    border-radius: 0 0 12px 12px;
    z-index: 100;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-col h4 {
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
    padding-bottom: 8px;
    font-weight: 700;
}

.mega-menu-col ul li {
    margin-bottom: 12px;
}

.mega-menu-col ul li a {
    color: var(--gray-dark);
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
}

.mega-menu-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.mega-menu-col ul li:last-child {
    margin-bottom: 0;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .header {
        padding: 20px 0;
        background: rgba(0, 26, 61, 0.95);
    }
    
    .mobile-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        height: 100dvh;
        background: var(--primary);
        padding: 90px 30px 40px;
        transition: var(--transition-smooth);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1050;
    }

    .nav.active {
        right: 0;
    }

    .header .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-bottom: 40px;
    }

    .header .nav-link {
        font-size: 16px;
        color: var(--white) !important;
    }

    .mega-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 15px 0 5px !important;
        display: none;
        min-width: unset !important;
        width: 100% !important;
        border-top: none !important;
        border-radius: 0 !important;
    }

    .mega-menu .container.grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .nav-item:hover .mega-menu,
    .nav-item.active .mega-menu {
        display: block;
    }

    .mega-menu-col {
        margin-bottom: 5px;
    }

    .mega-menu-col h4 {
        color: var(--secondary);
        border-bottom-color: rgba(255,255,255,0.15);
        font-size: 12px;
        margin-bottom: 12px;
    }

    .mega-menu-col ul li {
        margin-bottom: 10px;
    }

    .mega-menu-col ul li a {
        color: rgba(255,255,255,0.75);
        font-size: 14px;
    }

    .mega-menu-col ul li a:hover {
        color: var(--white);
    }

    /* Hide CTA cards in mobile mega-menu to save space */
    .mega-menu-col > div[style*="background"] {
        display: none;
    }

    /* Phone button in mobile nav */
    .nav-item .btn.btn-secondary {
        margin-top: 10px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Service Cards Luxury */
.service-card {
    background: var(--white);
    padding: 30px 25px; /* Reduced from 60px 40px */
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-mid);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-premium);
    border-color: var(--secondary); /* Reverted to red as per user request */
}

.service-image-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px; /* Reduced from 30px */
    box-shadow: var(--shadow-soft);
    position: relative;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.1);
}

.service-card .icon {
    display: none; /* Hide current icon/emoji system */
}

/* --- Sector Expertise & Industry Section --- */
.expertise-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Slightly adjusted for better 55/45 visual weight */
    gap: 80px;
    align-items: stretch; /* Stretch to match heights */
}

.expert-image-container {
    height: 100%;
}

.expert-image-container .image-reveal {
    height: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
}

.expert-image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.industry-item {
    display: flex;
    gap: 25px;
    padding: 35px 0;
    border-bottom: 1px solid var(--gray-mid);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.industry-item:last-child {
    border-bottom: none; /* Last item divider removed as suggested */
}

.industry-item:hover {
    transform: translateX(10px);
}

.industry-item:hover h4 {
    color: var(--secondary);
}

.accent-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition-smooth);
}

/* Color Accents for Icons */
.accent-retail { background: rgba(227, 30, 36, 0.08); color: #E31E24; }
.accent-pharma { background: rgba(0, 43, 91, 0.08); color: #002B5B; }
.accent-manuf { background: rgba(108, 117, 125, 0.08); color: #6C757D; }
.accent-fmcg { background: rgba(0, 26, 61, 0.08); color: #001A3D; }

.industry-item:hover .accent-icon {
    transform: scale(1.1) rotate(5deg);
}

.industry-item p {
    line-height: 1.8; /* Premium Readability */
    color: var(--gray-dark);
    margin-top: 10px;
}

/* Industry Checklist */
.industry-checklist {
    margin-top: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--secondary);
}

.checklist-title {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 25px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 500;
}

.checklist-item i, .checklist-item:before {
    content: "✓";
    color: var(--secondary);
    font-weight: 900;
}

.checklist-item:last-child {
    margin-bottom: 0;
}

/* Swiper Navigation Custom */
.services-prev, .services-next {
    background: var(--primary);
    color: var(--white) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.services-prev:after, .services-next:after {
    font-size: 18px !important;
    font-weight: 800;
}

.services-prev:hover, .services-next:hover {
    background: var(--secondary);
    border-color: var(--white);
    transform: scale(1.1);
}

.services-prev { left: 0 !important; }
.services-next { right: 0 !important; }

/* Workflow Horizontal Section */
.workflow-section {
    width: 100%;
    overflow: hidden;
    background: var(--primary);
    color: var(--white);
    padding: 100px 0;
}

.workflow-wrapper {
    display: flex;
    padding: 0 100px;
    gap: 100px;
    height: 60vh;
    align-items: center;
}

.workflow-step {
    flex: 0 0 450px;
    background: rgba(255, 255, 255, 0.05);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition-smooth);
}

.workflow-step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

.workflow-step .step-number {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
}

/* Client Logos */
.client-logo-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.client-logo {
    filter: grayscale(1);
    opacity: 0.4;
    transition: var(--transition-smooth);
    max-width: 180px;
    height: auto;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gray-mid);
}

.timeline-item {
    margin-bottom: 40px;
    width: 50%;
    position: relative;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    padding-left: 50px;
}

.timeline-item:nth-child(odd) {
    padding-right: 50px;
    text-align: right;
}

/* Stats Section */
.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-family: var(--font-heading);
    color: var(--gray-mid);
    text-transform: uppercase;
}

/* Footer High-End */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 120px 0 40px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.03;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 100px;
    position: relative;
}

.footer h4 {
    margin-bottom: 35px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
}

.cert-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    opacity: 0.5;
}

.cert-icons img {
    height: 40px;
}

/* --- Global Responsive Overrides --- */
@media (max-width: 991px) {
    .expertise-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .expert-image-container {
        position: relative !important;
        top: 0 !important;
        margin-top: 30px;
    }
    
    .content-left {
        width: 100% !important;
    }
}

/* --- Enterprise Tech Interactive Section --- */
.tech-trigger {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-trigger::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.tech-trigger:hover, .tech-trigger.active {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02) translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(227, 30, 36, 0.15);
    border-color: rgba(227, 30, 36, 0.5); /* Glow border */
}

.tech-trigger:hover::before, .tech-trigger.active::before {
    transform: scaleY(1);
}

.tech-trigger .tech-icon {
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
    transition: transform 0.4s ease;
}

.tech-trigger:hover .tech-icon, .tech-trigger.active .tech-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Update tech image item styles for preloaded fades */
.tech-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    z-index: 1;
}

.tech-image-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.tech-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.6s ease-in-out;
}

.tech-image-item.active img {
    transform: scale(1);
}

.tech-image-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 3;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease-in-out 0.2s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tech-image-item.active .tech-image-caption {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile Adjustments for Tech Section */
@media (max-width: 991px) {
    .tech-container {
        grid-template-columns: 1fr !important;
    }
    .tech-image-right {
        height: 400px !important;
        margin-top: 40px;
    }
    .tech-trigger:hover, .tech-trigger.active {
        transform: scale(1.02) translateX(0);
    }
    .tech-image-caption {
        padding: 15px;
        font-size: 14px;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
}

/* === High-End Safety Showcase === */
.premium-slide-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #ffffff;
    height: 100%;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    overflow: hidden;
}

.premium-slide-image {
    min-height: 550px;
    max-height: 650px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.premium-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.swiper-slide-active .premium-slide-image img {
    transform: scale(1.05); /* Slow ken burns effect */
}

.image-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.premium-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid #4ade80; /* Dynamic line accent */
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.badge-icon-wrap {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text h5 {
    color: var(--primary);
    font-size: 18px;
    margin: 0 0 2px 0;
    font-weight: 700;
}

.badge-text span {
    color: var(--gray-dark);
    font-size: 14px;
    font-weight: 500;
}

.premium-slide-content {
    background: transparent;
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.slide-watermark {
    position: absolute;
    top: 0px;
    right: 20px;
    font-size: 150px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.slide-title {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.slide-desc {
    font-size: 17px;
    margin-bottom: 35px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.premium-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.icon-circle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.08);
    border-radius: 50%;
    color: var(--secondary);
    flex-shrink: 0;
}

.icon-circle svg {
    width: 16px;
    height: 16px;
}

/* Slider Controls Fixed Below */
.premium-slider-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 25px;
    z-index: 20;
    width: max-content;
}

.premium-nav-btn {
    position: relative !important;
    width: 45px !important;
    height: 45px !important;
    background: #ffffff !important;
    border: 1px solid var(--gray-mid) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    top: auto !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.premium-nav-btn::after {
    display: none !important;
}

.premium-nav-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.premium-nav-btn:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
}

.premium-pagination {
    position: relative !important;
    bottom: 0 !important;
    width: auto !important;
    display: flex !important;
    gap: 8px !important;
}

.premium-pagination .swiper-pagination-bullet {
    width: 25px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background: #d1d5db !important; /* light gray */
    opacity: 1 !important;
    margin: 0 !important;
    transition: all 0.3s !important;
}

.premium-pagination .swiper-pagination-bullet-active {
    background: var(--secondary) !important;
    width: 35px !important;
}

@media (max-width: 991px) {
    .premium-slide-card {
        grid-template-columns: 1fr;
    }
    .premium-slide-image {
        min-height: 400px;
        max-height: 400px;
    }
    .premium-slide-content {
        padding: 40px 30px;
    }
    .slide-watermark {
        top: 10px;
        right: 15px;
        font-size: 100px;
    }
    .slide-title {
        font-size: 28px;
    }
    .premium-badge {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 15px 20px;
    }
}

/* === ESG / Green Logistics Section === */
.esg-section {
    position: relative;
    overflow: hidden;
}

.esg-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.esg-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 35px;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.esg-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-5px);
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.esg-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.esg-card-content h4 {
    color: var(--white);
    font-size: 22px;
    margin: 0 0 18px 0;
    font-weight: 600;
}

.esg-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.esg-card-content li {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.esg-card-content li::before {
    content: "✓";
    color: #4ade80;
    font-weight: 900;
}

.esg-visual-wrap {
    position: sticky;
    top: 120px;
}

.esg-image-container {
    border-radius: 20px;
    overflow: hidden;
    height: calc(100% - 100px);
    min-height: 650px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.esg-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.esg-green-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 43, 91, 0.5) 0%, rgba(74, 222, 128, 0.3) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.esg-stats-panel {
    position: absolute;
    bottom: -40px;
    right: 40px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 10;
    overflow: hidden;
}

.esg-stat {
    padding: 30px 40px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.esg-stat:last-child {
    border-right: none;
}

.esg-stat h4 {
    font-size: 38px;
    margin: 0 0 5px 0;
    font-weight: 700;
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.4); /* Glow effect */
}

.esg-stat p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .esg-stats-panel {
        flex-direction: column;
        right: 10px;
        left: 10px;
        bottom: -20px;
        text-align: center;
    }
    .esg-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        padding: 20px;
    }
    .esg-image-container {
        min-height: 400px;
        margin-bottom: 50px;
    }
}

/* ==================================
   EXTENDED RESPONSIVE - ALL SECTIONS
   ================================== */

/* --- Large Tablets (max-width: 1200px) --- */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .client-logo-grid {
        gap: 30px;
    }
    .client-logo {
        max-width: 130px;
    }
    .workflow-wrapper {
        padding: 0 40px;
        gap: 50px;
    }
    .workflow-step {
        flex: 0 0 350px;
        padding: 40px;
    }
}

/* --- Tablets (max-width: 991px) --- */
@media (max-width: 991px) {
    /* Header adjustments */
    .header {
        padding: 15px 0;
    }
    .header .logo img {
        height: 40px;
    }

    /* Service Cards */
    .service-card {
        padding: 25px 20px;
    }
    .service-image-wrapper {
        height: 150px;
        margin-bottom: 15px;
    }

    /* Swiper navigation */
    .services-prev, .services-next {
        width: 38px !important;
        height: 38px !important;
    }
    .services-prev:after, .services-next:after {
        font-size: 14px !important;
    }

    /* Workflow */
    .workflow-wrapper {
        padding: 0 25px;
        gap: 30px;
        height: auto;
    }
    .workflow-step {
        flex: 0 0 280px;
        padding: 35px;
    }

    /* Industry items */
    .industry-item {
        padding: 25px 0;
    }
    .accent-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 20px;
    }

    /* Footer */
    .footer {
        padding: 80px 0 30px;
    }
    .footer-top {
        gap: 40px;
        margin-bottom: 50px;
    }

    /* Leader cards on index */
    .leader-card.flex {
        flex-direction: column;
    }
    .leader-card.flex > div:first-child {
        width: 100% !important;
        height: 200px !important;
    }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Header */
    .header {
        padding: 12px 0;
    }
    .header .nav-list {
        gap: 20px;
    }
    .header .nav-link {
        font-size: 16px;
    }
    .nav {
        width: 90% !important;
        padding: 80px 20px 30px !important;
    }

    /* Service Cards */
    .service-card {
        padding: 20px 18px;
    }
    .service-image-wrapper {
        height: 140px;
    }

    /* Industry section */
    .industry-item {
        gap: 15px;
        padding: 20px 0;
    }
    .accent-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
        border-radius: 10px;
    }

    /* Premium slide card */
    .premium-slide-image {
        min-height: 280px;
        max-height: 300px;
    }
    .premium-slide-content {
        padding: 30px 20px;
    }
    .slide-title {
        font-size: 24px !important;
    }
    .slide-desc {
        font-size: 15px;
    }
    .premium-list li {
        font-size: 14px;
    }
    .premium-badge {
        bottom: 15px;
        left: 15px;
        right: auto;
        padding: 10px 16px;
        gap: 12px;
    }
    .badge-text h5 {
        font-size: 14px;
    }
    .badge-text span {
        font-size: 12px;
    }
    .premium-slider-controls {
        gap: 15px;
    }
    .premium-nav-btn {
        width: 38px !important;
        height: 38px !important;
    }

    /* Workflow section on mobile */
    .workflow-wrapper {
        flex-wrap: wrap;
        height: auto !important;
        padding: 0 20px;
        gap: 30px;
    }
    .workflow-step {
        flex: 1 1 100% !important;
        max-width: 100%;
    }

    /* Footer mobile */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center;
        gap: 20px !important;
    }
    .footer-bottom > div {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px !important;
    }

    /* Swiper overrides */
    .services-prev { left: -5px !important; }
    .services-next { right: -5px !important; }

    /* ESG section */
    .esg-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    .esg-icon-wrap {
        margin: 0 auto;
    }
    .esg-card-content h4 {
        font-size: 18px;
    }

    /* Stat boxes */
    .stat-number {
        font-size: 36px;
    }

    /* Checklist */
    .industry-checklist {
        padding: 25px;
    }

    /* Client logos */
    .client-logo-grid {
        gap: 25px;
    }
    .client-logo {
        max-width: 100px;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .timeline-item:nth-child(even) {
        margin-left: 0;
    }
}

/* --- Small Phones (max-width: 480px) --- */
@media (max-width: 480px) {
    .header .logo img {
        height: 35px;
        max-height: 35px !important;
    }
    .nav {
        width: 100% !important;
    }

    .service-card {
        padding: 18px 15px;
    }
    .service-image-wrapper {
        height: 120px;
    }

    /* Premium slides - compact */
    .premium-slide-image {
        min-height: 220px;
        max-height: 250px;
    }
    .premium-slide-content {
        padding: 25px 15px;
    }
    .slide-watermark {
        font-size: 70px !important;
    }
    .premium-badge {
        padding: 8px 12px;
    }
    .badge-icon-wrap {
        width: 35px;
        height: 35px;
    }

    .industry-item p {
        font-size: 13px;
    }

    /* Footer newsletter input */
    .footer-col input[type="email"] {
        font-size: 12px;
    }

    /* Workflow step on very small screens */
    .workflow-step {
        flex: 0 0 250px;
        padding: 30px 20px;
    }
    .workflow-wrapper {
        padding: 0 15px;
        gap: 20px;
    }

    /* ESG section */
    .esg-image-container {
        min-height: 280px;
    }
    .esg-stat h4 {
        font-size: 28px;
    }
    .esg-stat {
        padding: 15px;
    }

    /* Stat number */
    .stat-number {
        font-size: 30px;
    }
}

