*,
*::before,
*::after {
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
    font-size: 16px; /* Base font size for rem units */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text); /* Default text color */
    background-color: var(--light-background); /* Default background color */
    overflow-x: hidden; /* Prevent horizontal scroll on smaller screens */
}

a {
    text-decoration: none;
    color: inherit; /* Inherit color by default */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transitions for links */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
}

/* --- 2. CSS Variables (Color Palette) --- */
:root {
    --primary-blue: #004A8F; /* Deep, strong blue */
    --accent-purple: #8C228E; /* Vibrant magenta/purple */
    --dark-background: #2C3E50; /* Dark blue-gray for contrast sections */
    --light-background: #F4F4F4; /* Off-white for general backgrounds */
    --white: #FFFFFF;
    --dark-text: #333333; /* For main body text */
    --medium-gray: #666666; /* For secondary text, borders */
    --light-gray-border: #DDDDDD; /* For subtle borders */

    /* Gradient for specific elements, e.g., hero overlay, special buttons */
    --gradient-primary: linear-gradient(to right, var(--primary-blue), var(--accent-purple));
    /* Updated gradient for hero overlay */
    --gradient-hero-overlay: linear-gradient(rgba(0, 30, 60, 0.65), rgba(80, 10, 80, 0.65));
}

/* --- 3. Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Responsive padding */
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary); /* Gradient underline */
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px; /* Fully rounded buttons */
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent; /* Default transparent border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--accent-purple); /* Hover to accent color */
    border-color: var(--accent-purple);
    transform: translateY(-3px); /* Subtle lift effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--dark-background);
    color: var(--white);
    border-color: var(--dark-background);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* --- 4. Custom Alert Modal --- */
.custom-alert-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* High z-index to be on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-alert-modal.show {
    opacity: 1;
    visibility: visible;
}

.custom-alert-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.custom-alert-modal.show .custom-alert-content {
    transform: translateY(0);
}

.custom-alert-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.custom-alert-content p {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.custom-alert-content .btn {
    width: 100px;
    padding: 0.7rem 1.5rem;
}


/* --- 5. Header & Navigation --- */
.header {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky; /* Make header sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900; /* Ensure it stays above other content */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for scroll effect */
}

/* Class added by JS when scrolled or mobile menu is open */
.header.scrolled,
.header.menu-open {
    background-color: var(--dark-background); /* Dark background when scrolled or menu open */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header.scrolled .logo h1,
.header.menu-open .logo h1,
.header.scrolled .nav-link,
.header.menu-open .nav-link,
.header.scrolled .hamburger,
.header.menu-open .hamburger {
    color: var(--white); /* White text/icon on dark header */
}

.header.scrolled .logo h1 span,
.header.menu-open .logo h1 span {
    color: var(--primary-blue); /* Keep 'Pro' blue */
}

.header.scrolled .nav-link::after,
.header.menu-open .nav-link::after {
    background: var(--gradient-primary); /* Keep gradient underline */
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 50px; /* Adjust logo height */
    width: auto;
    border-radius: 8px; /* Rounded corners for the logo image */
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1;
    transition: color 0.3s ease; /* Smooth color transition for logo text */
}

.logo h1 span {
    color: var(--primary-blue); /* Color for 'Pro' part */
}

.nav-menu {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none; /* Hidden by default on larger screens */
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 999; /* Ensure hamburger is on top */
}

/* Hamburger active state (icon transformation) */
.hamburger.active i {
    transform: rotate(90deg); /* Rotate to an 'X' or just animate */
    color: var(--accent-purple); /* Change color when active */
}

.hamburger:hover {
    background-color: rgba(0, 74, 143, 0.1);
}

.nav-list {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease, opacity 0.3s ease; /* For mobile menu animation */
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-text);
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease; /* Smooth color transition for nav links */
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 180px;
    padding: 0.5rem 0;
    z-index: 950;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block; /* Show on hover */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark-text);
    font-weight: 400;
}

.dropdown-item a:hover {
    background-color: var(--light-background);
    color: var(--primary-blue);
    border-radius: 8px; /* Rounded corners for dropdown items */
}

/* --- 6. Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 85vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire slide area */
    z-index: 1;
    filter: brightness(0.8); /* Slightly darken images */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Updated gradient for a more professional and subtle overlay */
    background: linear-gradient(rgba(0, 30, 60, 0.65), rgba(80, 10, 80, 0.65));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Swiper Navigation & Pagination */
.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    transition: color 0.3s ease, transform 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* --- 7. Services Section --- */
.services {
    padding: 6rem 0;
    background-color: var(--light-background);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 220px; /* Fixed height for service images */
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.service-content {
    padding: 1.8rem;
    flex-grow: 1; /* Allows content to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.service-content p {
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-content .btn {
    align-self: flex-start; /* Align button to the start */
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* --- 8. About Section --- */
.about {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-img {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    flex: 1.5;
    min-width: 300px;
}

.about-content .section-header {
    text-align: left; /* Align header to left */
    margin-bottom: 2rem;
}

.about-content .section-header h2::after {
    left: 0;
    transform: translateX(0);
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--dark-text);
}

.about-list {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.about-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.about-item .icon {
    font-size: 2.2rem;
    color: var(--primary-blue);
    min-width: 40px; /* Ensure icon doesn't shrink */
    text-align: center;
}

.about-item h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.about-item p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* --- 9. Tracking Section --- */
.tracking {
    padding: 6rem 0;
    background-color: var(--light-background);
}

.tracking-container {
    text-align: center;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 2rem auto 3rem auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.tracking-form input[type="text"] {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--light-gray-border);
    border-radius: 50px;
    font-size: 1.1rem;
    color: var(--dark-text);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tracking-form input[type="text"]:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 74, 143, 0.2);
}

.tracking-form .btn {
    width: 100%;
    max-width: 200px;
}

.error-message {
    color: #dc3545; /* Red for errors */
    font-size: 0.9rem;
    margin-top: -1rem; /* Adjust spacing */
    height: 1.2rem; /* Reserve space to prevent layout shifts */
}

.tracking-results {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    min-height: 200px; /* Ensure minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Styles for actual results when they are displayed */
    text-align: left; /* Align results text to left */
    gap: 1.5rem; /* Space between summary and detail grid */
}

.tracking-results .initial-message {
    color: var(--medium-gray);
    /* This will be hidden by JS when results are shown */
}

.tracking-results .initial-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light-gray-border);
}

.tracking-results .initial-message p {
    font-size: 1.1rem;
}

/* Tracking Summary Section */
.tracking-summary {
    width: 100%;
    border-bottom: 1px solid var(--light-gray-border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.tracking-summary h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space out status badge */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.tracking-summary h3 span {
    color: var(--accent-purple); /* Highlight status */
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--primary-blue); /* Default badge color */
    margin-left: 1rem; /* Space from status text */
}

/* Specific status badge colors */
.status-badge.in-transit { background-color: #FFC107; color: #333; } /* Yellow for in transit */
.status-badge.out-for-delivery { background-color: #28A745; } /* Green for out for delivery */
.status-badge.delivered { background-color: #007BFF; } /* Blue for delivered */
.status-badge.pending { background-color: #6C757D; } /* Gray for pending */
.status-badge.exception { background-color: #DC3545; } /* Red for exception */


.tracking-summary p {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.tracking-summary p strong {
    color: var(--dark-background); /* Stronger color for labels */
    font-weight: 700;
}

.tracking-summary p span {
    font-weight: 500;
    color: var(--primary-blue); /* Values in primary blue */
}

/* New: Detailed Tracking Grid */
.tracking-details-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid for details */
    gap: 1.5rem;
    margin-bottom: 2rem; /* Space below the grid */
}

.tracking-detail-card {
    background-color: var(--light-background);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.tracking-detail-card h4 {
    font-size: 1.2rem;
    color: var(--dark-background); /* Darker heading for detail cards */
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.tracking-detail-card h4 i {
    color: var(--accent-purple); /* Accent color for icons in detail cards */
    font-size: 1.4rem;
}

.tracking-detail-card p {
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 0;
}

/* Removed the tracking-timeline section as requested */
/* .tracking-timeline {
    width: 100%;
}

.tracking-timeline h4 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-left: 2px solid var(--light-gray-border);
    position: relative;
    margin-left: 10px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 1.3rem;
    width: 18px;
    height: 18px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.timeline-item:last-child::before {
    background-color: var(--accent-purple);
    box-shadow: 0 0 0 2px var(--accent-purple);
}

.timeline-date {
    flex-shrink: 0;
    width: 100px;
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.timeline-location {
    flex-grow: 1;
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 500;
}

.timeline-status {
    flex-shrink: 0;
    width: 150px;
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: right;
} */

/* --- 10. Fun Facts Section --- */
.fun-facts {
    padding: 5rem 0;
    background-color: var(--primary-blue); /* Primary blue background */
    color: var(--white);
    text-align: center;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.fact-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white background */
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fact-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.fact-icon {
    font-size: 2.5rem;
    color: var(--accent-purple); /* Accent color for icons */
    margin-bottom: 1rem;
    display: block;
}

.fact-item h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.fact-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- 11. Testimonials Section --- */
.testimonials {
    padding: 6rem 0;
    background-color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.quote::before {
    content: '"';
    font-family: 'Font Awesome 5 Free'; /* Using Font Awesome for quote icon */
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2.5rem;
    color: var(--primary-blue);
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto; /* Push to bottom of card */
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue); /* Border matching primary color */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.client-title {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* --- 12. Call to Action Section --- */
.call-to-action {
    background: var(--gradient-primary); /* Use gradient from logo */
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white); /* Ensure white text on gradient background */
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* --- 13. FAQ Section --- */
.faq {
    padding: 6rem 0;
    background-color: var(--light-background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* Hide overflow for smooth answer animation */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray-border);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-background);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Change + to X or rotate for active state */
    color: var(--accent-purple);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth slide effect */
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed for content height */
    padding: 1.5rem 2rem;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 0;
}


/* --- 14. Contact Section --- */
.contact {
    padding: 6rem 0;
    background-color: var(--white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-background);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    min-width: 40px;
    text-align: center;
}

.info-item h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.info-item p {
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="subject"],
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--light-gray-border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-text);
    background-color: var(--white);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 74, 143, 0.2);
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}

.contact-form .btn {
    width: auto; /* Allow button to size naturally */
    padding: 0.9rem 2.5rem;
}

/* --- 15. Footer --- */
.footer {
    background-color: var(--dark-background);
    color: var(--white);
    padding: 4rem 0 1.5rem 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px; /* Minimum width for columns */
}

.footer-column h3 {
    font-size: 1.5rem;
    color: var(--primary-blue); /* Primary blue for footer headings */
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-footer p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.8rem;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-purple);
    transform: translateY(-3px);
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- 16. Responsiveness (Media Queries) --- */

/* Small devices (phones, 600px and down) */
@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Header */
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        width: 100%;
        justify-content: flex-end; /* Align hamburger to the right */
        position: relative;
    }

    .hamburger {
        display: block; /* Show hamburger on small screens */
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        background-color: var(--dark-background); /* Dark background for mobile menu */
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        padding: 1rem 0;
        display: none; /* Hidden by default */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    .nav-list.active {
        display: flex; /* Show when active */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list .nav-link {
        color: var(--white); /* White links on dark mobile menu */
    }
    .nav-list .nav-link:hover {
        color: var(--primary-blue); /* Primary blue on hover */
        background-color: rgba(255, 255, 255, 0.1);
    }
    .nav-list .nav-link::after {
        background: var(--gradient-primary); /* Keep gradient underline */
    }


    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        padding: 0.8rem 1rem;
        display: block;
    }

    .dropdown-menu {
        position: static; /* Remove absolute positioning for mobile dropdown */
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background-color: var(--dark-background); /* Keep dark background for nested items */
        margin-top: 0.5rem;
        opacity: 1; /* Always visible when parent is active */
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-item a {
        padding: 0.7rem 1rem 0.7rem 2rem; /* Indent nested items */
        color: rgba(255, 255, 255, 0.8); /* Lighter white for nested links */
    }
    .dropdown-item a:hover {
        background-color: rgba(255, 255, 255, 0.05); /* Very subtle hover for nested items */
        color: var(--primary-blue);
    }

    /* Hero Section */
    .hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 80%; /* Make buttons wider on mobile */
        max-width: 250px;
    }

    /* Service Cards */
    .service-img {
        height: 180px;
    }

    .service-content h3 {
        font-size: 1.4rem;
    }

    /* About Section */
    .about-container {
        flex-direction: column;
    }

    .about-content .section-header {
        text-align: center;
    }

    .about-content .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .about-item .icon {
        margin-bottom: 0.5rem;
    }

    /* Fun Facts */
    .fact-item h3 {
        font-size: 2.2rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }

    .quote {
        font-size: 1rem;
        padding-left: 1rem;
    }

    .quote::before {
        font-size: 2rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* FAQ */
    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer {
        padding: 1rem 1.5rem;
    }

    /* Contact */
    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin-bottom: 0.5rem;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        min-width: unset; /* Remove min-width to stack properly */
        width: 100%;
    }

    .social-links {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Medium devices (tablets, 601px to 992px) */
@media (min-width: 601px) and (max-width: 992px) {
    .container {
        padding: 0 2rem;
    }

    .section-header h2 {
        font-size: 2.8rem;
    }

    /* Header */
    .logo h1 {
        font-size: 1.6rem;
    }

    .nav-list {
        gap: 1.5rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Service Grid */
    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
    }

    /* About Section */
    .about-container {
        flex-direction: column;
    }

    .about-content .section-header {
        text-align: center;
    }

    .about-content .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
    }

    /* Contact */
    .contact-container {
        flex-direction: column;
    }

    /* Tracking Results for Tablets */
    .tracking-details-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for details on tablets */
    }
}

/* Large devices (desktops, 993px and up) */
@media (min-width: 993px) {
    .container {
        padding: 0 1.5rem;
    }

    .header-container {
        flex-wrap: nowrap;
    }

    .nav-list {
        display: flex !important; /* Ensure menu is visible on desktop */
        flex-direction: row;
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hamburger {
        display: none;
    }

    .dropdown-menu {
        display: none; /* Hide by default, show on hover */
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        min-width: 180px;
        padding: 0.5rem 0;
        z-index: 950;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-item a {
        padding: 0.8rem 1.5rem;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr); /* Three columns on desktop */
    }

    .testimonial-grid {
        grid-template-columns: repeat(4, 1fr); /* Four columns on desktop */
    }
}
