/* CSS Variables */
:root {
    --primary-color: #002147;
    /* Deep Navy Blue */
    --secondary-color: #FF8C00;
    /* Industrial Orange */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e67e22;
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #001a38;
}

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-action .btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Layout Padder to offset fixed header */
main {
    padding-top: 80px;
}

/* Footer structure */
.footer {
    background-color: var(--primary-color);
    color: #ccd6e0;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #ccd6e0;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo img {
    filter: brightness(0) invert(1);
}

/* --- Homepage Styles --- */

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    /* Full height minus header */
    min-height: 500px;
    background-color: var(--primary-color);
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--secondary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Home About Us Section */
.home-about {
    padding: 6rem 0;
    position: relative;
    background-color: #fcfdfe;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23002147' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.home-about .section-title::after {
    background-color: #e3000f;
    /* Red line to match design */
}

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.about-icon {
    width: 60px;
    height: 60px;
    background-color: #e3000f;
    /* Red */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--white);
    z-index: 2;
}

.about-text {
    padding: 50px 25px 30px;
    text-align: center;
}

.about-text h3 {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: 800;
}

.about-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-image-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-image-card h3 {
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    /* Increased top and bottom spacing */
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.03) 10%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.steps-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
}

.step-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
}

.step-icon-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.step-icon-wrapper .hex-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.step-icon-wrapper .step-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step-icon-wrapper i {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.step-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0;
}

.step-arrow {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.step-arrow svg {
    width: 100%;
    height: auto;
}

/* --- Secondary Page Styles --- */

/* Page Header */
.page-header {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.text-center {
    text-align: center;
}

/* Alternating Services Layout */
.service-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

.service-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.service-details {
    flex: 1;
}

/* Why Choose Us Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.trust-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact Page Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.contact-info-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

/* Check list for Packing */
.check-list {
    margin-top: 15px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* --- Moving Process Section --- */
.moving-process-section {
    padding: 5rem 0;
    background-color: #f4f7fb;
    /* Light blue-grey to match the theme */
}

.process-subtitle {
    color: #999;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.moving-process-section .section-title {
    color: #001f3f;
    /* Deep blue from image */
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.moving-process-section .section-title::after {
    display: none;
    /* override the default red line */
}

.process-title-line {
    width: 40px;
    height: 1px;
    background-color: #000;
    margin: 0 auto 20px;
}

.process-desc {
    color: #a0a0a0;
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.process-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.process-card {
    background-color: #faf9f5;
    /* Off-white background */
    padding: 50px 20px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.process-card h3 {
    color: #001f3f;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.process-card p {
    color: #b0b0b0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
}

.process-icon {
    font-size: 3.5rem;
    color: #1a1a1a;
    /* Dark icon color */
}

.btn-yellow {
    background-color: var(--primary-color);
    /* Use primary red theme color */
    color: var(--white);
    font-weight: 600;
    padding: 15px 35px;
    display: inline-block;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1.05rem;
}

.btn-yellow:hover {
    background-color: #c4000d;
    /* Darker red for hover */
    color: var(--white);
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 6rem 0;
    background-color: #f9fbfc;
}

.testimonials-title {
    color: #1a1a1a;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.testimonials-title::after {
    background-color: #e3000f;
    /* Match the red line */
    width: 50px;
    height: 2px;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding-bottom: 20px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-color: #f0f0ff;
    padding: 6px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 5px;
    font-weight: 800;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 25px;
}

.testimonial-content {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    display: inline;
}

.quote-mark {
    font-family: serif;
    font-size: 3rem;
    color: #d8f1f8;
    /* Very light blue block quotes matching user image */
    line-height: 0;
    vertical-align: bottom;
    display: inline-block;
}

.left-quote {
    margin-right: 15px;
    transform: translateY(10px);
}

.right-quote {
    margin-left: 15px;
    transform: translateY(15px);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #e3000f;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.t-dot.active {
    background-color: #e3000f;
}

/* Responsive globals */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a::after {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .header-action {
        display: none;
        /* Hide button on mobile and show in menu */
    }

    .steps-grid {
        flex-direction: column;
        gap: 50px;
        align-items: center;
    }

    .step-arrow {
        display: none;
    }
}

/* --- Floating Action Buttons --- */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-whatsapp {
    background-color: #25d366;
    animation: pulse-whatsapp 2s infinite;
}

.float-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

.float-call {
    background-color: var(--secondary-color);
    animation: pulse-call 2s infinite;
    animation-delay: 1s;
    /* Offset animation */
}

.float-call:hover {
    background-color: #e67e22;
    color: white;
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-call {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 140, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}