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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondary-color);
    padding: 15px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 80px;
    transition: filter 0.3s ease-in-out;
}

/* Logo Red Effect on Hover */
.navbar:hover .logo img,
.footer:hover .footer-logo img {
    filter: hue-rotate(320deg) brightness(1.2);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links ul li a {
    text-decoration: none;
    color: rgb(7, 7, 7);
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

/* Hover Effect: Red Background */
.nav-links ul li a:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Default: Hide Toggle Button on Large Screens */
.menu-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 1100;
}

/* ✅ Show Only on Small Screens */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Sirf mobile screens ke liye show hoga */
    }

    .nav-links ul {
        display: none;
        flex-direction: column;
        background: var(--white);
        position: absolute;
        top: 60px;
        right: 0;
        width: 115px;
        padding: 15px;
    }

    .nav-links ul.active {
        display: flex;
    }
}


/* Hero Banner */
.banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: rgb(248, 247, 247);
    margin-left: -40px;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: bold;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.banner-btn {
    padding: 12px 24px;
    background: var(--white);
    color: #030303;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

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


/* Services Section */
.services-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 30px;
    padding: 0;
    width: 100%;
    max-width: 100%; /* Proper width for center alignment */
    margin: 0 auto; /* Center alignment */
    margin-top: 200px;
    margin-bottom: 20px;
}

/* Service Card */
.service-card {
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is evenly spread */
    height: 100%; /* Ensures all cards are equal height */
}

/* Image Size Adjusted */
.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Service Content Box */
.service-content {
    padding: 20px;
    background: var(--white);
    transition: background 0.3s, color 0.3s;
    border-radius: 0 0 10px 10px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; /* Ensures content box grows evenly */
    align-items: center;
    padding-bottom: 10px; /* Removes extra white space */
}

/* Hover Effect on Card */
.service-card:hover .service-content {
    background: var(--primary-color);
    color: var(--white);
}

/* Service Title */
.service-content h3 {
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-weight: bold;
    transition: color 0.3s;
}

/* Service Description */
.service-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    transition: color 0.3s;
}

/* Change paragraph color on hover */
.service-card:hover .service-content p {
    color: var(--white) !important;
}

/* Learn More Button */
.service-content a {
    display: inline-block;
    margin-top: 12px;
    text-decoration: none;
    color: var(--white);  /* White text by default */
    font-weight: bold;
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    background: var(--primary-color); /* Default red background */
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Button Hover Effect */
.service-card:hover .service-content a {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Card Hover Effect */
.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-section {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .services-section {
        grid-template-columns: 1fr; /* 1 column on mobile */
        text-align: center;
    }
}


/* Modes Section */
.modes-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    margin-top: 300px;
    margin-bottom: 20px;
}

/* Title Styling */
.modes-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: left; /* Left align */
    margin-bottom: 20px;
}

/* Grid Layout */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns by default */
    gap: 20px;
    justify-content: center;
}

/* Individual Mode Card */
.mode-card {
    background: transparent; /* No box by default */
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align */
    justify-content: center; /* Vertical center */
}

/* Icon Box */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgb(230, 230, 38); /* Yellow box around icon */
    border-radius: 10px;
    transition: background 0.3s ease-in-out;
}

/* Icon Image (White Default) */
.icon-box img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1); /* White icon */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* Hover Effect */
.mode-card:hover {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

/* Hover pe Box Color Red */
.mode-card:hover .icon-box {
    background: var(--primary-color);
}

/* Hover pe Icon Color Yellow */
.mode-card:hover .icon-box img {
    filter: brightness(0) saturate(100%) invert(94%) sepia(67%) saturate(5455%) hue-rotate(355deg) brightness(102%) contrast(104%);
    transform: scale(1.1);
}

/* Mode Text */
.mode-card p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px; /* Space below icon */
    transition: color 0.3s ease-in-out;
}

/* Hover Effect on Text */
.mode-card:hover p {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modes-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .modes-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* Industries Served Section */
.industries-served {
    text-align: center;
    padding: 90px 8%;
    margin-top: 300px;
    margin-bottom: 200px;
}

/* Title Centered */
.industries-served h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20spx;
}

/* Industries Container (Proper Row Layout) */
.industries-container {
    display: flex;
    justify-content: space-between; /* Remove right side gap */
    align-items: center;
    gap: 70px;
    flex-wrap: nowrap; /* Prevent wrapping on large screens */
}

/* Industry Box - Bigger & Equal Width */
.industry-box {
    text-align: center;
    flex: 1;
    max-width: 250px; /* Increased width */
    padding: 20px;
}

/* Industry Image */
.industry-box img {
    width: 120px; /* Bigger icons */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px auto;
}

/* Industry Title */
.industry-box h3 {
    font-size: 1.6rem; /* Bigger text */
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

/* Learn More Button */
.industry-box a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

/* Button Hover Effect - Box Appears */
.industry-box a:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 15px var(--primary-color); /* Red glow effect */
    transform: scale(1.05); /* Slight pop effect */
}
/* Center Button Container */
.center-button {
    text-align: center;
    margin-top: 30px; /* Spacing from industries section */
}

/* Learn More Button */
.learn-more-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .industries-container {
        flex-wrap: wrap; /* Wrap on tablets */
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .industries-container {
        flex-direction: column; /* Stack on smaller screens */
        align-items: center;
    }
}
/* Hover Effect - Red Box Appears */
.learn-more-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 15px var(--primary-color); /* Red glow effect */
    transform: scale(1.05); /* Slight pop effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .learn-more-btn {
        padding: 10px 20px; /* Slightly smaller padding for tablets */
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .learn-more-btn {
        padding: 10px 18px; /* Adjust padding for mobile */
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .learn-more-btn {
        width: 100%; /* Full-width button on small devices */
        padding: 12px;
        font-size: 1rem;
    }
}

/* Trusted Section */
.trusted-section {
    padding: 60px 5%;
    background: #f9f9f9;
}

/* Trusted Container */
.trusted-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Trusted Text - Left Side */
.trusted-text {
    flex: 1;
    max-width: 50%;
}

.trusted-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.trusted-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Learn More Button */
.learn-more-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.learn-more-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 15px var(--primary-color);
    transform: scale(1.05);
}

/* Trusted Image - Right Side */
.trusted-image {
    flex: 1;
    text-align: right;
}

.trusted-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image Hover Effect */
.trusted-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .trusted-container {
        flex-direction: column;
        text-align: center;
    }

    .trusted-text {
        max-width: 100%;
    }

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

    .trusted-image img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .trusted-text h2 {
        font-size: 2rem;
    }

    .trusted-text p {
        font-size: 1rem;
    }

    .learn-more-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .trusted-text h2 {
        font-size: 1.8rem;
    }

    .trusted-text p {
        font-size: 0.95rem;
    }

    .trusted-image img {
        max-width: 100%;
    }
}


/* Shipper's First Choice Section */
.shipper-choice-section {
    width: 100%;
    padding: 60px 0;
    background: var(--secondary-color-b);
    display: flex;
    justify-content: center;
}

.shipper-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    gap: 50px;
}

/* Left Image */
.shipper-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
}

.shipper-image img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

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

/* Right Text */
.shipper-text {
    flex: 1;
    text-align: left;
}

.shipper-text h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.shipper-text p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button (Same as Other Buttons) */
.find-out-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    background: transparent;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.2s ease;
}

.find-out-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .shipper-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .shipper-text h2 {
        font-size: 1.8rem;
    }

    .shipper-text p {
        font-size: 1rem;
    }

    .find-out-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .shipper-container {
        width: 95%;
    }

    .shipper-text h2 {
        font-size: 1.6rem;
    }

    .shipper-text p {
        font-size: 0.9rem;
    }

    .find-out-btn {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
}


/*Carrier Centric CSS */
.carrier-section {
    width: 100%;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary-color-b);
}

.carrier-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.carrier-text {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}

.carrier-text h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.carrier-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--white);
    background: var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.carrier-image {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    text-align: center;
}

.carrier-image img {
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .carrier-container {
        flex-direction: column;
        text-align: center;
    }

    .carrier-text, .carrier-image {
        max-width: 100%;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .carrier-text h2 {
        font-size: 1.8rem;
    }

    .carrier-text p {
        font-size: 0.95rem;
    }
}


/* carrier success section */
.carrie-success {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-color);
    padding: 40px;
    margin: 30px 0;
    border-radius: 10px;
    flex-wrap: wrap;
}

.carrie-success .left {
    max-width: 50%;
    padding: 40px 0; /* Top & Bottom space added */
}

.carrie-success .left h2 {
    font-size: 20px; /* Smaller font size */
    color: var(--primary-color);
    margin: 0;
}

.carrie-success .left h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.carrie-success .right {
    max-width: 45%;
}

.carrie-success .right p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .carrie-success {
        flex-direction: column;
        text-align: center;
    }

    .carrie-success .left, 
    .carrie-success .right {
        max-width: 100%;
    }

    .carrie-success .left {
        padding: 30px 0; /* Adjusted for medium screens */
    }

    .carrie-success .left h2 {
        font-size: 18px;
    }

    .carrie-success .left h1 {
        font-size: 30px;
    }

    .carrie-success .right p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .carrie-success {
        padding: 30px;
    }

    .carrie-success .left {
        padding: 25px 0; /* Adjusted for small screens */
    }

    .carrie-success .left h2 {
        font-size: 16px;
    }

    .carrie-success .left h1 {
        font-size: 28px;
    }

    .carrie-success .right p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carrie-success {
        padding: 20px;
    }

    .carrie-success .left {
        padding: 20px 0; /* Adjusted for extra small screens */
    }

    .carrie-success .left h2 {
        font-size: 14px;
    }

    .carrie-success .left h1 {
        font-size: 24px;
    }

    .carrie-success .right p {
        font-size: 13px;
    }
}



/* Footer Section - Full Width */
.footer {
    width: 100%;
    background: var(--secondary-color);
    color: black;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: 0 auto; /* ✅ Center properly */
    overflow: hidden;
}

/* Footer Container */
.footer .container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0 auto; /* ✅ Remove extra right margin */
}

/* Logo on Left Side */
.logo-left {
    max-width: 150px;
    margin: -80px 30px 0 0;
}

/* Footer Content */
.footer .row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 40px;
}

/* Footer Columns */
.footer-col {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

/* Footer Column Titles */
.footer-col h4 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Footer Links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: black;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    transition: color 0.3s ease, background 0.3s ease;
}

/* Footer Hover Effect */
.footer-col ul li a:hover {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
}

/* Social Media Icons */
.social-link {
    display: flex;
    gap: 10px;
}

.social-link a {
    color: rgb(11, 96, 193);
    font-size: 1.5rem;
    padding: 10px;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.social-link a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transform: scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
    width: 100%; /* Fixed: 150% hata diya */
    background: #c8e189;
    text-align: center;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: bold;
    margin: 0 auto; /* Fixed: Extra margin hata diya */
}

/* Footer Bottom Links */
.footer-bottom p {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

/* Footer Bottom Links */
.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, background 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--white);
    background: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
}

/* ✅ Responsive Design */
@media (max-width: 1024px) {
    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .footer .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom p {
        flex-direction: column;
        gap: 5px;
    }

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

@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 10px;
    }
    .footer .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom p {
        flex-direction: column;
        gap: 5px;
    }

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

    .logo-left {
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        margin-bottom: 15px;
    }
}
