/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Poppins:wght@600;700&display=swap');

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0d47a1;
    --secondary-color: #ff6f00;
    --dark-color: #263238;
    --light-color: #f4f4f4;
    --font-family-body: 'Roboto', sans-serif;
    --font-family-heading: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.7;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    color: var(--dark-color);
}

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

.btn-primary:hover {
    background-color: #0b3a80;
    border-color: #0b3a80;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #e66000;
    border-color: #e66000;
    color: #fff;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--light-color);
}

/* --- Hero Section with Continuous Pan Animation --- */
.hero-section {
    position: relative;
    height: 95vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: url('../images/hero-background.jpg') no-repeat center center/cover;
    /* NEW: Continuous pan animation */
    animation: pan-background 40s linear infinite alternate;
}

@keyframes pan-background {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-33.33%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 71, 161, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.8rem;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.tracking-form-container {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(5px);
}

.tracking-form-container .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
}

.tracking-form-container .btn {
    border-radius: 0 50px 50px 0;
}

/* --- Service Cards --- */
.service-card {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- Why Choose Us Section --- */
.why-us-list {
    list-style: none;
    padding-left: 0;
}

.why-us-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.why-us-list i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* --- Quote CTA Section --- */
.quote-cta-section {
    padding: 100px 0;
    background: url('../images/cta-background.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
}

.quote-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 71, 161, 0.8);
}

.quote-cta-section .container {
    position: relative;
    z-index: 2;
}

/* --- Testimonials Section --- */
.testimonial-card {
    padding: 30px;
}

.testimonial-card .fa-quote-left {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-card .feedback {
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 15px;
}

.testimonial-card .client-name {
    font-weight: 700;
    margin-top: 20px;
}

/* --- Latest News Section --- */
.post-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.post-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

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

    .hero-background {
        width: 200%;
    }

    /* Adjust for smaller screens */
    @keyframes pan-background {
        to {
            transform: translateX(-50%);
        }
    }
}