/* CSS Variables - Professional & Trustworthy Theme */
:root {
    --color-primary: #0056b3;
    /* Royal Blue */
    --color-primary-dark: #004494;
    --color-accent: #ff6b00;
    /* Energetic Orange */
    --color-accent-hover: #e65c00;
    --color-bg: #f4f7f6;
    /* Light Greyish Blue */
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e0e0e0;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);

    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.bg-light {
    background-color: #f4f7f6;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

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

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

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

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

/* Header */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
}

.header-contact i {
    margin-right: 5px;
    color: var(--color-accent);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--color-accent);
    font-size: 2rem;
}

.logo span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    color: var(--color-text);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* ── Hero Carousel ─────────────────────────────────────────── */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 92vh;
    min-height: 560px;
    overflow: hidden;
    background: #0a192f;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 30, 80, 0.78) 0%,
        rgba(0, 30, 80, 0.45) 60%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 680px;
    padding-top: 2rem;
}

.hero-tag {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Slide-in animation for active slide content */
.hero-slide.active .hero-tag,
.hero-slide.active h1,
.hero-slide.active p,
.hero-slide.active .hero-buttons {
    animation: heroFadeUp 0.8s ease forwards;
}
.hero-slide.active .hero-tag   { animation-delay: 0.1s; opacity: 0; }
.hero-slide.active h1          { animation-delay: 0.25s; opacity: 0; }
.hero-slide.active p           { animation-delay: 0.4s;  opacity: 0; }
.hero-slide.active .hero-buttons { animation-delay: 0.55s; opacity: 0; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Prev / Next buttons */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}

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

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

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-dot.active {
    background: var(--color-accent);
    transform: scale(1.35);
}

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

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    transition: width linear;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-carousel {
        height: 85vh;
        min-height: 480px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

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

/* Section Common */
.section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: block;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-text);
}

/* Features/Services */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--color-accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* About Preview */
.about-preview {
    background-color: var(--color-white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Stats */
.stats-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials {
    background-color: #f8f9fa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(0, 86, 179, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--color-primary);
}

.client-info span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #b3b3b3;
}

.footer-top {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-desc {
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

.footer-social a:hover {
    background-color: var(--color-accent);
}

.footer-heading {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

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

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--color-accent);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Form Styles */
.contact-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(0, 50, 100, 0.9), rgba(0, 50, 100, 0.9)), url('/images/Packed_truck_moving_on_road.webp');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
    color: var(--color-white);
}

.page-header h1 {
    color: var(--color-white);
    font-size: 2.5rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

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

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

/* =====================
   Image Carousel
   ===================== */
.gallery-section {
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    min-width: 33.333%;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.carousel-slide:hover img {
    transform: scale(1.04);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 1.5rem 1rem 0.8rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-slide:hover .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Prev / Next buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn-prev {
    left: 16px;
}

.carousel-btn-next {
    right: 16px;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 10px;
    background: #111;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}

/* Responsive carousel */
@media (max-width: 992px) {
    .carousel-slide {
        min-width: 50%;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        min-width: 100%;
    }

    .carousel-slide img {
        height: 260px;
    }
}

/* =====================
   Scroll Reveal Animations
   ===================== */

/* Initial hidden state — applied via JS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* =====================
   Stat Number Counter
   ===================== */
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

/* Ensure reveal items inside dark sections stay white during animation */
.stats-section .reveal,
.stats-section .reveal.visible {
    color: var(--color-white);
}

/* =====================
   Moving Process Steps
   ===================== */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    position: relative;
}

/* Connecting line behind everything */
.process-steps::before {
    content: '';
    position: absolute;
    top: 44px; /* center of icon circle */
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.process-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.process-step:hover .process-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
    border-color: var(--color-accent);
}

.process-number {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    line-height: 28px;
    text-align: center;
    position: absolute;
    top: 0;
    right: calc(50% - 54px);
    z-index: 3;
}

.process-step h3 {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Arrow between steps */
.process-arrow {
    display: flex;
    align-items: center;
    padding-top: 28px; /* align with icon center */
    color: var(--color-accent);
    font-size: 1.4rem;
    flex-shrink: 0;
    z-index: 1;
}

/* Responsive — stack vertically on mobile */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .process-steps::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 2px;
        height: auto;
    }

    .process-step {
        width: 100%;
        max-width: 340px;
        padding: 1rem 1rem 1.5rem;
    }

    .process-arrow {
        transform: rotate(90deg);
        padding-top: 0;
        margin: -0.5rem 0;
    }
}
