/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    --primary-color: #f89320;
    --primary-hover: #e07f15;
    --primary-light: #fff3e5;
    --dark-color: #1a1a1a;
    --gray-dark: #333333;
    --gray-light: #f5f5f5;
    --gray-text: #666666;
    --white: #ffffff;
    --font-sans: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 4px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ==========================================
   TOP HEADER (REQUESTED SPECIFICATION)
   ========================================== */
.top-header {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 13px;
    font-weight: 400;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Left Contact Info */
.contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    font-size: 14px;
    opacity: 0.9;
}

.phone-link {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.phone-link:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

/* Right Social Media Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transition: var(--transition);
}

.social-icon i {
    font-size: 13px;
}

/* Hover Animations for Social Icons */
.social-icon:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   MAIN NAVIGATION HEADER
   ========================================== */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-dark);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    display: none;
}

.nav-link:not(.nav-btn):hover,
.nav-link:not(.nav-btn).active {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Button style nav link */
.nav-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(248, 147, 32, 0.3);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--white);
    min-width: 260px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        visibility 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    border-top: 3px solid var(--primary-color);
}

/* Hover behaviors to display dropdown - triggered by JS class */
.dropdown.dropdown--open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown.dropdown--open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-dark);
    text-transform: none;
    /* Keep items in title case */
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding-left: 28px;
    border-left-color: var(--primary-color);
}

/* Invisible helper element to bridge hover gap */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    display: block;
}

/* ==========================================
   HERO SECTION
   ========================================== */
/* ==========================================
   HERO SLIDER SECTION
   ========================================== */
.hero-slider-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    color: var(--white);
}

.slides-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slides-wrapper {
    display: flex;
    width: 300%;
    /* 3 slides */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
    flex: 0 0 33.333333%;
    /* exactly 1/3 of the wrapper (which is 300% wide) */
    width: 33.333333%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.slide-content-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.slide-content {
    max-width: 720px;
}

.slide-content.left-align {
    text-align: left;
    margin-right: auto;
}

/* Individual Content Elements (Initial state for transitions) */
.slide-tagline {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Service Boxes on Slider */
.slide-services-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide.active .slide-services-pills {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.service-box {
    background: rgba(248, 147, 32, 0.18);
    border: 1px solid rgba(248, 147, 32, 0.45);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-box i {
    color: var(--primary-color);
    font-size: 13px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-desc {
    font-size: 15px;
    margin-bottom: 25px;
    color: #d1d1d1;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Stats list */
.slide-stats {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 25px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-stats li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #e0e0e0;
    font-weight: 500;
}

.slide-stats li i {
    color: var(--primary-color);
    font-size: 16px;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Slide active transition triggers */
.slide.active .slide-tagline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.slide.active .slide-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.slide.active .slide-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.slide.active .slide-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}

/* Slider arrows */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.prev-btn {
    left: 25px;
}

.next-btn {
    right: 25px;
}

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

/* Slide Grid and Right Columns */
.slide-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.slide-left-col {
    width: 100%;
}

.slide-right-col {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.slide-graphic {
    position: relative;
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Graphic animation trigger */
.slide.active .slide-graphic {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition-delay: 1.2s;
    /* Visual elements enter last */
}

/* Floating Animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes float-delayed {
    0% {
        transform: translateY(-12px);
    }

    50% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-12px);
    }
}

.element-float {
    animation: float 6s ease-in-out infinite;
}

.element-float-delayed {
    animation: float-delayed 6s ease-in-out infinite;
}

/* Premium Image Card Wrapper */
.image-card-wrapper {
    position: relative;
    background: var(--white);
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 320px;
}

.graphic-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.graphic-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(248, 147, 32, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
}

.graphic-stats-card {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--white);
    color: var(--dark-color);
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--primary-color);
}

.graphic-stats-card .card-number {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.graphic-stats-card .card-label {
    font-size: 10px;
    color: var(--gray-text);
    font-weight: 600;
    margin-top: 3px;
    text-transform: uppercase;
}

/* Glassmorphism Values Card */
.values-glass-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px 22px;
    border-radius: 16px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
    color: var(--white);
    width: 320px;
}

.values-glass-card .card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(248, 147, 32, 0.2);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.value-text p {
    font-size: 11.5px;
    color: #c5c5c5;
    line-height: 1.35;
}

/* Button UI */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(248, 147, 32, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   ABOUT US SECTION
   ========================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About Left Side: Images */
.about-images {
    position: relative;
    height: 520px;
    width: 100%;
}

.about-img-main-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 82%;
    height: 82%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 6px solid var(--white);
    z-index: 2;
}

.about-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-img-main-wrapper:hover .about-img-main {
    transform: scale(1.05);
}

.about-img-sub-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48%;
    height: 48%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    border: 6px solid var(--white);
    z-index: 2;
}

.about-img-sub {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-img-sub-wrapper:hover .about-img-sub {
    transform: scale(1.05);
}

/* Decorative Arrow Image */
.about-arrow-shape {
    position: absolute;
    left: 0;
    top: 41%;
    /* Center of the main image wrapper (82% / 2) */
    width: 120px;
    height: auto;
    z-index: 1;
    /* Below the main image wrapper */
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: arrowZoom 4s ease-in-out infinite;
}

.about-arrow-shape img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes arrowZoom {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@media (max-width: 768px) {
    .about-arrow-shape {
        width: 90px;
    }
}

@media (max-width: 480px) {
    .about-arrow-shape {
        width: 70px;
    }
}

/* About Right Side: Content */
.about-content {
    width: 100%;
}

.about-subtitle {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: inline-block;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.25;
    margin-bottom: 25px;
}

.about-paragraph {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.65;
    margin-bottom: 20px;
}

.highlight-paragraph {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    color: var(--dark-color);
    font-style: italic;
    font-weight: 500;
    font-size: 15.5px;
    margin: 25px 0;
}

.about-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
}

.about-feature-item i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Scroll Reveal Initial and Revealed States */
.reveal-images {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-images.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-content {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.2s;
}

.reveal-content.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   WHY CHOOSE US SECTION – MODERN ASYMMETRIC REDESIGN
   ========================================== */
.why-choose-us-section {
    padding: 120px 0;
    background-color: #0c0e12; /* Premium midnight dark */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Background glowing orbs */
.why-glow-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 147, 32, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.why-glow-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 147, 32, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.why-choose-us-section .container {
    position: relative;
    z-index: 2;
}

/* Split layout: Sticky Left, Scrollable Right Grid */
.why-split-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.8fr;
    gap: 60px;
    align-items: start;
}

/* Left panel: Sticky */
.why-left-panel {
    position: sticky;
    top: 120px;
}

.why-subtitle {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
}

.why-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.why-desc-text {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* circular stats badge with spinning ring */
.why-stats-badge {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.why-badge-ring {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(248, 147, 32, 0.35);
    border-radius: 50%;
    animation: spinRing 25s linear infinite;
}

.why-badge-inner {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.why-badge-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.why-badge-lbl {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    font-weight: 600;
    text-align: center;
}

@keyframes spinRing {
    100% { transform: rotate(360deg); }
}

/* Right Grid: 2 columns */
.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Modern Card */
.why-card-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 36px 30px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s ease,
                background 0.4s ease;
}

.why-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.why-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease;
}

.why-card-num {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.why-card-modern h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.why-card-modern p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* Hover States */
.why-card-modern:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(248, 147, 32, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.why-card-modern:hover .why-card-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.why-card-modern:hover .why-card-num {
    color: var(--primary-color);
}

.why-card-modern:hover h3 {
    color: var(--primary-color);
}

/* Staggered Delay for grid reveal */
.why-card-modern:nth-child(1) { transition-delay: 0.05s; }
.why-card-modern:nth-child(2) { transition-delay: 0.12s; }
.why-card-modern:nth-child(3) { transition-delay: 0.19s; }
.why-card-modern:nth-child(4) { transition-delay: 0.26s; }
.why-card-modern:nth-child(5) { transition-delay: 0.33s; }
.why-card-modern:nth-child(6) { transition-delay: 0.40s; }

/* ── Responsive breakpoints ── */
@media (max-width: 992px) {
    .why-split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .why-left-panel {
        position: relative;
        top: 0;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .why-title {
        font-size: 34px;
    }
    
    .why-stats-badge {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 80px 0;
    }
    
    .why-title {
        font-size: 28px;
    }
    
    .why-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .why-card-modern {
        padding: 30px 24px;
    }
}

@media (max-width: 576px) {
    .why-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .why-card-modern {
        padding: 26px 20px;
    }
}

/* ==========================================
   CORE VALUES SECTION
   ========================================== */
.core-values-section {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.core-values-section .container {
    position: relative;
    z-index: 2;
}

/* Background Animated Elements */
.values-bg-element {
    position: absolute;
    color: rgba(47, 44, 51, 0.04);
    /* Soft gray watermark */
    pointer-events: none;
    z-index: 1;
}

.element-val-1 {
    font-size: 140px;
    top: 10%;
    left: 3%;
    animation: valDrift 18s ease-in-out infinite;
}

.element-val-2 {
    font-size: 110px;
    bottom: 15%;
    left: 15%;
    animation: valRotate 28s linear infinite;
}

.element-val-3 {
    font-size: 160px;
    top: 25%;
    left: 45%;
    animation: valRotateReverse 36s linear infinite;
}

.element-val-4 {
    font-size: 95px;
    bottom: 10%;
    left: 5%;
    animation: valDriftReverse 15s ease-in-out infinite;
}

.element-val-lines {
    position: absolute;
    top: 0;
    left: 30%;
    width: 2px;
    height: 100%;
    background-image: linear-gradient(to bottom,
            rgba(47, 44, 51, 0.04) 0%, rgba(47, 44, 51, 0.04) 50%,
            transparent 50%, transparent 100%);
    background-size: 2px 40px;
    animation: valLinesScroll 6s linear infinite;
    z-index: 1;
}

/* Keyframes for Core Values Animations */
@keyframes valRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes valRotateReverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes valDrift {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(25px) rotate(15deg);
    }
}

@keyframes valDriftReverse {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(-15deg);
    }
}

@keyframes valLinesScroll {
    0% {
        background-position-y: 0;
    }

    100% {
        background-position-y: 40px;
    }
}

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

.values-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.25;
    margin-bottom: 0;
}

.core-values-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: stretch;
}

.core-values-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.core-value-row {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.core-value-card {
    background-color: #ffffff;
    border: 1px solid #e6e7e8;
    border-radius: 6px;
    padding: 18px 24px;
    flex-grow: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.core-value-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.core-value-card p {
    font-size: 13.5px;
    color: var(--gray-text);
    margin: 0;
    line-height: 1.45;
}

.core-value-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-color: #2f2c33;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
    margin-left: 15px;
    position: relative;
    z-index: 15;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.core-value-icon-box i {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.core-value-hover-arrow {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%) scale(0) rotate(-135deg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(248, 147, 32, 0.2);
}

/* Hover Shifting Effect */
.core-value-card:hover {
    transform: translateX(70px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(248, 147, 32, 0.1);
}

.core-value-card:hover h3 {
    color: var(--primary-color);
}

.core-value-card:hover~.core-value-hover-arrow {
    opacity: 1;
    transform: translateY(-50%) scale(1) rotate(-45deg);
}

.core-value-card:hover~.core-value-icon-box {
    transform: translateX(70px);
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(248, 147, 32, 0.2);
}

.core-value-card:hover~.core-value-icon-box i {
    transform: scale(1.15) rotate(5deg);
}

/* Right Column: Image */
.core-values-right {
    position: relative;
    z-index: 1;
}

.values-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Inner white stroke with a 35px gap from edge */
.values-image-wrapper::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 35px;
    right: 35px;
    bottom: 35px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.values-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover effects for the image wrapper */
.values-image-wrapper:hover::after {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(248, 147, 32, 0.3);
}

.values-image-wrapper:hover .values-img {
    transform: scale(1.05);
}

/* Scroll Reveal States */
.reveal-value-row {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-value-row.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-value-row:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-value-row:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-value-row:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-value-row:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-value-row:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-value-row:nth-child(6) {
    transition-delay: 0.6s;
}

.reveal-value-image {
    opacity: 0;
    transform: scale(0.95) translateX(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-value-image.revealed {
    opacity: 1;
    transform: scale(1) translateX(0);
}




/* ==========================================
   MACHINERY & EQUIPMENT SECTION – MODERN REDESIGN
   ========================================== */
.machinery-section {
    padding: 0 0 110px;
    background-color: #0f1117;
    overflow: hidden;
    position: relative;
}

/* ── Ticker Marquee Strip ── */
.machinery-ticker {
    width: 100%;
    overflow: hidden;
    background: rgba(248, 147, 32, 0.08);
    border-top: 1px solid rgba(248, 147, 32, 0.15);
    border-bottom: 1px solid rgba(248, 147, 32, 0.15);
    padding: 14px 0;
    margin-bottom: 80px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    animation: ticker-scroll 35s linear infinite;
    will-change: transform;
}

.ticker-track span {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.55);
}

.ticker-track i {
    color: var(--primary-color);
    font-size: 10px;
    flex-shrink: 0;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Section Header ── */
.machinery-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
}

.machinery-subtitle {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.machinery-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.machinery-desc-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 28px;
}

.machinery-title-bar {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 0 auto;
}

/* ── Equipment Grid ── */
.machinery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

/* ── Individual Equipment Card ── */
.mach-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.mach-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
}

/* Background image (covers full card) */
.mach-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1d26;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

/* PNG machinery images: contain + white BG inside card */
.mach-bg[style*=".png"] {
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #1e2130;
}

.mach-card:hover .mach-bg {
    transform: scale(1.07);
}

/* Dark gradient overlay */
.mach-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 8, 12, 0.97) 0%,
        rgba(8, 8, 12, 0.65) 45%,
        rgba(8, 8, 12, 0.15) 100%
    );
    z-index: 1;
    transition: background 0.4s ease;
}

.mach-card:hover .mach-overlay {
    background: linear-gradient(
        to top,
        rgba(8, 8, 12, 1) 0%,
        rgba(8, 8, 12, 0.80) 55%,
        rgba(8, 8, 12, 0.3) 100%
    );
}

/* Body: icon + title + slide-up text */
.mach-body {
    position: relative;
    z-index: 2;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Icon badge */
.mach-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: rgba(248, 147, 32, 0.15);
    border: 1px solid rgba(248, 147, 32, 0.3);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 2px;
    transition: background 0.3s ease, transform 0.35s ease;
}

.mach-card:hover .mach-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Title */
.mach-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin: 0;
}

/* Description text — hidden by default, slides up on hover */
.mach-text {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.35s ease,
                transform 0.35s ease;
}

.mach-card:hover .mach-text {
    max-height: 80px;
    opacity: 1;
    transform: translateY(0);
}

/* Wide variant card (last RMC Plants – 2 cols) */
.mach-card--wide {
    grid-column: span 2;
}

.mach-card--wide .mach-bg[style*=".png"] {
    background-size: cover;
}

/* ── Stats / CTA Panel ── */
.mach-stats-panel {
    grid-column: span 2;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: stretch;
    isolation: isolate;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.mach-stats-panel:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
}

.mach-stats-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: #151820;
    z-index: 0;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.25;
}

.mach-stats-panel:hover .mach-stats-bg {
    transform: scale(1.06);
    opacity: 0.35;
}

.mach-stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 17, 23, 0.97) 0%,
        rgba(15, 17, 23, 0.88) 60%,
        rgba(15, 17, 23, 0.7) 100%
    );
    z-index: 1;
}

.mach-stats-content {
    position: relative;
    z-index: 2;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

.mach-stats-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(248, 147, 32, 0.15);
    border: 1px solid rgba(248, 147, 32, 0.35);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 4px;
}

.mach-stats-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    letter-spacing: -0.3px;
}

.mach-stats-content p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
    max-width: 360px;
}

.mach-stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 4px;
}

.mach-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mach-stat-num {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.mach-stat-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.mach-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* CTA button inside stats panel */
.mach-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    background: transparent;
    border: 1.5px solid rgba(248, 147, 32, 0.5);
    color: var(--primary-color);
    padding: 10px 26px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.mach-cta-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateX(4px);
}

.mach-cta-btn i {
    transition: transform 0.3s ease;
}

.mach-cta-btn:hover i {
    transform: translateX(4px);
}

/* ── Scroll Reveal ── */
.mach-card:nth-child(1),
.mach-card:nth-child(2),
.mach-card:nth-child(3),
.mach-card:nth-child(4)  { transition-delay: 0.05s; }
.mach-card:nth-child(5),
.mach-card:nth-child(6),
.mach-card:nth-child(7),
.mach-card:nth-child(8)  { transition-delay: 0.15s; }
.mach-card:nth-child(9),
.mach-card:nth-child(10),
.mach-card:nth-child(11),
.mach-card:nth-child(12) { transition-delay: 0.25s; }
.mach-stats-panel        { transition-delay: 0.30s; }
.mach-card--wide         { transition-delay: 0.35s; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .machinery-grid { grid-template-columns: repeat(3, 1fr); }
    .mach-stats-panel { grid-column: span 3; min-height: 220px; }
    .mach-card--wide  { grid-column: span 3; }
}

@media (max-width: 768px) {
    .machinery-section { padding-bottom: 80px; }
    .machinery-title { font-size: 32px; }
    .machinery-ticker { margin-bottom: 60px; }
    .machinery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mach-card { min-height: 220px; }
    .mach-stats-panel { grid-column: span 2; min-height: 200px; }
    .mach-card--wide  { grid-column: span 2; }
    .mach-stats-content { padding: 24px 26px; }
    .mach-stats-content h3 { font-size: 18px; }
    .mach-stat-num { font-size: 22px; }
}

@media (max-width: 500px) {
    .machinery-grid { grid-template-columns: 1fr; }
    .mach-stats-panel { grid-column: span 1; }
    .mach-card--wide  { grid-column: span 1; }
    .mach-stats-row { flex-wrap: wrap; gap: 16px; }
    .mach-stat-divider { display: none; }
}


/* ==========================================
   QUOTATION SECTION
   ========================================== */
.quotation-section {
    position: relative;
    width: 100%;
    height: 160px; /* Matched to natural image aspect ratio */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.quotation-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.quotation-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 100% fill of the space */
    display: block;
}

.quotation-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.help-text-block {
    text-align: left;
}

.help-subtitle {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.35); /* High contrast dark transparent box */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px; /* Pill shape badge */
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.help-subtitle::before {
    content: '';
    width: 20px;
    height: 1px;
    border-top: 2px dashed var(--white); /* White dashed line for high contrast */
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.help-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}

/* Button with 45-degree hover color slide effect */
.appointment-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(45deg, var(--white) 50%, #2f2c33 50%);
    background-size: 220% 100%;
    background-position: right bottom;
    border-radius: 8px;
    text-decoration: none;
    transition: background-position 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                color 0.3s ease,
                transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.appointment-btn:hover {
    background-position: left top;
    color: #2f2c33; /* Dark grey text color on white hover */
    transform: translateY(-2px);
}

/* 45-degree rotated arrow mark next to the text */
.btn-arrow {
    font-size: 14px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease, color 0.3s ease;
}

.appointment-btn:hover .btn-arrow {
    transform: rotate(-45deg) translate(3px, -3px);
    color: var(--primary-color); /* Orange arrow mark next to the text on hover */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .quotation-section {
        height: 150px;
    }
    .help-title {
        font-size: 28px;
    }
    .appointment-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .quotation-section {
        height: auto;
        padding: 40px 0;
    }
    
    .quotation-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }
    
    .help-text-block {
        text-align: center;
    }

    .help-title {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .quotation-section {
        padding: 30px 0;
    }
    
    .help-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .help-title {
        font-size: 22px;
    }

    .appointment-btn {
        padding: 10px 20px;
        font-size: 13px;
        gap: 8px;
    }
}


/* ==========================================
   OUR SERVICES SECTION – MODERN REDESIGN
   ========================================== */
.services-section {
    padding: 110px 0 100px;
    background-color: #0f1117;
    overflow: hidden;
    position: relative;
}

/* Decorative dot grid background */
.services-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(248, 147, 32, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

/* Section Header */
.services-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
}

.services-subtitle {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.services-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.services-desc-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 28px;
}

.services-title-bar {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 0 auto;
}

/* Services Grid: 4-col on desktop */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* ─── Individual Service Card ─── */
.svc-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    text-decoration: none;
    /* Clipping for hover reveal */
    isolation: isolate;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

/* Full background image */
.svc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.svc-card:hover .svc-bg {
    transform: scale(1.08);
}

/* Dark gradient overlay */
.svc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.96) 0%,
        rgba(10, 10, 10, 0.70) 40%,
        rgba(10, 10, 10, 0.25) 100%
    );
    z-index: 1;
    transition: background 0.4s ease;
}

.svc-card:hover .svc-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.99) 0%,
        rgba(10, 10, 10, 0.82) 50%,
        rgba(10, 10, 10, 0.35) 100%
    );
}

/* Orange overlay variant for CTA card */
.svc-overlay--orange {
    background: linear-gradient(
        135deg,
        rgba(248, 147, 32, 0.88) 0%,
        rgba(200, 100, 10, 0.92) 100%
    );
}

.svc-card--cta:hover .svc-overlay--orange {
    background: linear-gradient(
        135deg,
        rgba(248, 147, 32, 0.96) 0%,
        rgba(180, 80, 5, 0.98) 100%
    );
}

/* Service Number Badge */
.svc-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    z-index: 2;
    transition: color 0.3s ease;
}

.svc-card:hover .svc-num {
    color: var(--primary-color);
}

.svc-card--cta:hover .svc-num {
    color: rgba(255, 255, 255, 0.7);
}

/* Body content: icon + title + text + arrow */
.svc-body {
    position: relative;
    z-index: 2;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Hide text/arrow by default, reveal on hover */
}

/* Icon */
.svc-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(248, 147, 32, 0.18);
    border: 1px solid rgba(248, 147, 32, 0.35);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
    transition: background 0.3s ease, transform 0.35s ease;
}

.svc-card:hover .svc-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* White icon variant */
.svc-icon--white {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.svc-card--cta:hover .svc-icon--white {
    background: rgba(255, 255, 255, 0.35);
}

/* Title */
.svc-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
}

.svc-card:hover .svc-title {
    color: #fff;
}

/* Description text — initially hidden, slides up on hover */
.svc-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.4s ease,
                transform 0.4s ease;
}

.svc-card:hover .svc-text {
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
}

/* Arrow */
.svc-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(248, 147, 32, 0.4);
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease 0.1s,
                transform 0.35s ease 0.1s,
                background 0.3s ease,
                border-color 0.3s ease;
}

.svc-card:hover .svc-arrow {
    opacity: 1;
    transform: translateY(0);
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* White arrow for CTA card */
.svc-arrow--white {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.svc-card--cta:hover .svc-arrow--white {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
}

/* CTA View All button */
.services-cta {
    text-align: center;
    margin-top: 56px;
    position: relative;
    z-index: 1;
}

.services-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid rgba(248, 147, 32, 0.5);
    color: var(--primary-color);
    padding: 14px 38px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.services-cta-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(248, 147, 32, 0.35);
}

.services-cta-btn i {
    transition: transform 0.3s ease;
}

.services-cta-btn:hover i {
    transform: translateX(5px);
}

/* Scroll Reveal */
.reveal-service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-service-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-service-card:nth-child(2) { transition-delay: 0.12s; }
.reveal-service-card:nth-child(3) { transition-delay: 0.19s; }
.reveal-service-card:nth-child(4) { transition-delay: 0.26s; }
.reveal-service-card:nth-child(5) { transition-delay: 0.33s; }
.reveal-service-card:nth-child(6) { transition-delay: 0.40s; }
.reveal-service-card:nth-child(7) { transition-delay: 0.47s; }
.reveal-service-card:nth-child(8) { transition-delay: 0.54s; }

/* ─── Responsive ─── */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .services-title { font-size: 34px; }
    .svc-card { min-height: 280px; }
}

@media (max-width: 768px) {
    .services-section { padding: 80px 0 70px; }
    .services-title { font-size: 28px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .svc-card { min-height: 240px; }
    .svc-title { font-size: 16px; }
    .svc-body { padding: 20px 18px; }
}

@media (max-width: 500px) {
    .services-grid { grid-template-columns: 1fr; }
    .svc-card { min-height: 220px; }
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
    position: relative;
    background-color: #0b0e13; /* Solid premium dark background */
    color: var(--white);
    padding: 80px 0 0 0;
    overflow: hidden;
}

.footer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Assets/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35; /* Dotted map pattern and shapes overlayed on dark background */
    z-index: 1;
    pointer-events: none;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Background box hover effect for the header text (footer column titles) */
.footer-header {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding: 6px 12px;
    margin-left: -12px;
    border-radius: var(--border-radius);
    width: fit-content;
    transition: var(--transition);
}

.footer-header:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(248, 147, 32, 0.3);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 4px;
}

.footer-about-text {
    color: #b0b3b8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

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

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(248, 147, 32, 0.3);
}

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

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

.footer-links a {
    color: #b0b3b8;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

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

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

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #b0b3b8;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-info i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact-info a {
    color: #b0b3b8;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-size: 13px;
    color: #8c8f94;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #8c8f94;
    transition: var(--transition);
}

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

/* ==========================================
   RESPONSIVENESS & MEDIA QUERIES
   ========================================== */

/* Medium Devices (Tablets, 992px and down) */
@media (max-width: 992px) {
    .slide-title {
        font-size: 38px;
    }

    .hero-slider-section {
        height: 75vh;
        min-height: 520px;
    }

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

    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .core-values-right {
        order: -1;
    }

    .values-image-wrapper {
        min-height: 350px;
        height: 350px;
    }

    .reveal-value-image {
        transform: translateY(30px) scale(0.95);
    }

    .reveal-value-image.revealed {
        transform: translateY(0) scale(1);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Small Devices (Tablets/Phones, 768px and down) */
@media (max-width: 768px) {
    .top-header-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 8px 15px;
    }

    .contact-info {
        justify-content: center;
        gap: 15px;
    }

    .social-links {
        justify-content: center;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Responsive Dropdown Menu */
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        justify-content: center;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid var(--primary-color);
        padding: 5px 0 5px 15px;
        background-color: var(--gray-light);
        margin-top: 5px;
        text-align: center;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        transform: none;
    }

    .dropdown::after {
        display: none;
    }

    .dropdown-item {
        padding: 8px 15px;
        text-align: center;
        border-left: none;
    }

    .dropdown-item:hover {
        padding-left: 15px;
        background-color: rgba(248, 147, 32, 0.1);
    }

    /* Responsive Slider Tweaks */
    .hero-slider-section {
        height: auto;
        min-height: 800px;
        padding: 60px 0;
    }

    .slides-wrapper {
        height: auto;
    }

    .slide {
        height: auto;
        min-height: 720px;
        padding: 40px 0;
    }

    .slide-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .slide-content.left-align {
        text-align: center;
    }

    .slide-left-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slide-title {
        font-size: 32px;
    }

    .slide-stats {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 25px;
    }

    .slide-buttons {
        justify-content: center;
    }

    .slide-right-col {
        justify-content: center;
        margin-top: 20px;
    }

    .slide-graphic {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1),
            transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .slide.active .slide-graphic {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    /* Responsive About Section */
    .about-section {
        padding: 70px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-images {
        height: 420px;
        max-width: 550px;
        margin: 0 auto;
    }

    .about-title {
        font-size: 30px;
    }

    .reveal-images {
        transform: translateY(50px);
    }

    .reveal-content {
        transform: translateY(50px);
        transition-delay: 0s;
        /* No delay on mobile since it's stacked */
    }

    /* Why Choose Us Section Responsive */
    .why-choose-us-section {
        padding: 70px 0;
    }

    .why-title {
        font-size: 30px;
    }

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

    .core-values-section {
        padding: 70px 0;
    }

    .values-title {
        font-size: 30px;
    }

    .services-section {
        padding: 70px 0;
    }

    .services-title {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Extra Small Devices (Phones, 576px and down) */
@media (max-width: 576px) {
    .contact-info {
        flex-direction: column;
        gap: 8px;
    }

    .info-item {
        font-size: 12px;
    }

    /* Slider Mobile Specific styling */
    .hero-slider-section {
        min-height: 520px;
        padding: 50px 0;
    }

    .slide {
        min-height: 460px;
        padding: 10px 0;
    }

    .slide-title {
        font-size: 25px;
    }

    .slide-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .slide-stats {
        display: none;
        /* Hide key stats list on mobile to save layout spacing */
    }

    .slide-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn {
        text-align: center;
        width: 100%;
        padding: 12px 20px;
    }

    .slide-graphic {
        display: none;
        /* Hide right graphic column on mobile under 576px to prevent layout overflow */
    }

    .slider-btn {
        display: none;
        /* Hide arrow controls on mobile and rely on bottom dots */
    }

    .slider-dots {
        bottom: 15px;
    }

    /* Extra Small About Section */
    .about-section {
        padding: 50px 0;
    }

    .about-images {
        height: 320px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-paragraph {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .highlight-paragraph {
        font-size: 14.5px;
        padding-left: 15px;
        margin: 20px 0;
    }

    .about-features {
        flex-direction: column;
        gap: 12px;
    }

    .footer {
        padding: 60px 0 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding-bottom: 40px;
    }

    .footer-col {
        align-items: center;
    }

    .footer-header {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .footer-about-text {
        margin-bottom: 20px;
    }

    .footer-contact-info li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 0;
    }
}

/* Extra Small Devices (Phones, 480px and down) */
@media (max-width: 480px) {
    .core-value-card {
        padding: 15px 18px;
    }

    .core-value-icon-box {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-left: 10px;
    }

    .core-value-hover-arrow {
        display: none !important;
    }

    .core-value-card:hover {
        transform: translateX(10px);
    }

    .core-value-card:hover~.core-value-icon-box {
        transform: translateX(10px);
    }

    .values-image-wrapper::after {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

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

    .service-header-row {
        gap: 12px;
    }

    .service-image-wrapper {
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }

    .service-card h3 {
        font-size: 16px;
    }
}

/* ==========================================
   MODERN MEGA DROPDOWN SYSTEM
   ========================================== */

/* The main mega-menu wrapper */
.dropdown-menu.mega-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--white);
    width: 780px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                visibility 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    border-top: 4px solid var(--primary-color);
    display: block; /* Override default block behavior */
}

/* Arrow rotation on hover */
.dropdown.dropdown--open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Open state trigger by JS */
.dropdown.dropdown--open .dropdown-menu.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega menu flex layout container */
.mega-menu-container {
    display: flex;
    gap: 24px;
}

/* Left Featured Showcase Section */
.mega-featured {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: var(--gray-light);
    padding: 16px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: 0.02s;
}

.dropdown--open .mega-featured {
    opacity: 1;
    transform: translateY(0);
}

.mega-featured-img-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 110px;
    width: 100%;
}

.mega-featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mega-featured:hover .mega-featured-img-wrapper img {
    transform: scale(1.08);
}

.mega-featured-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mega-featured-content h5 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 6px;
}

.mega-featured-content p {
    font-size: 11.5px;
    color: var(--gray-dark);
    line-height: 1.5;
    margin: 0 0 10px;
}

.mega-featured-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.mega-featured-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.mega-featured-link:hover {
    color: var(--primary-hover);
}

.mega-featured-link:hover i {
    transform: translateX(4px);
}

/* Right Grid Services Section */
.mega-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Individual Grid Service Item */
.mega-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    background-color: transparent;
    border-left: 3px solid transparent;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.3s ease,
                border-left-color 0.3s ease;
}

/* Hover effects */
.mega-item:hover {
    background-color: var(--primary-light);
    border-left-color: var(--primary-color);
    transform: translateX(4px) translateY(0) !important;
}

/* Stagger transition delay for active state */
.dropdown--open .mega-item {
    opacity: 1;
    transform: translateY(0);
}

.dropdown--open .mega-item:nth-child(1) { transition-delay: 0.05s; }
.dropdown--open .mega-item:nth-child(2) { transition-delay: 0.09s; }
.dropdown--open .mega-item:nth-child(3) { transition-delay: 0.13s; }
.dropdown--open .mega-item:nth-child(4) { transition-delay: 0.17s; }
.dropdown--open .mega-item:nth-child(5) { transition-delay: 0.21s; }
.dropdown--open .mega-item:nth-child(6) { transition-delay: 0.25s; }
.dropdown--open .mega-item:nth-child(7) { transition-delay: 0.29s; }
.dropdown--open .mega-item:nth-child(8) { transition-delay: 0.33s; }

.mega-item-icon {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 6px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mega-item:hover .mega-item-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.mega-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mega-item-title {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-dark);
    line-height: 1.3;
}

.mega-item:hover .mega-item-title {
    color: var(--primary-color);
}

.mega-item-desc {
    font-size: 11.5px;
    color: var(--gray);
    line-height: 1.4;
}

/* ==========================================
   RESPONSIVE OVERRIDES FOR MEGA MENU (MOBILE)
   ========================================== */
@media screen and (max-width: 992px) {
    .dropdown-menu.mega-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: 100% !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease-in-out !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .dropdown.active .dropdown-menu.mega-menu {
        max-height: 800px !important;
        padding-top: 5px !important;
        padding-bottom: 10px !important;
    }

    .mega-menu-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding-left: 15px !important;
        border-left: 2px solid var(--primary-color) !important;
    }

    .mega-featured {
        display: none !important; /* Hide featured image card on mobile */
    }

    .mega-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .mega-item {
        opacity: 1 !important;
        transform: none !important;
        padding: 8px 12px !important;
        gap: 12px !important;
        background: transparent !important;
        border-left: none !important;
        transition: background-color 0.2s ease !important;
    }

    .mega-item:hover {
        background-color: var(--primary-light) !important;
        transform: none !important;
    }

    .mega-item-icon {
        flex: 0 0 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    .mega-item-desc {
        display: none !important; /* Hide descriptions on mobile for compactness */
    }

    .mega-item-title {
        font-size: 13px !important;
    }
}