:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e40af;
    --light-blue: #3b82f6;
    --accent-color: #f59e0b;
    --dark-gray: #505050;
    --medium-gray: #6b7280;
    --light-gray: #e1e1e1;
    --white: #ffffff;

    --primary: #E42B24;
    --secondary: #008DD2;
    --accent: #008DD2;
    --dark: #2B2A29;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: all 0.4s ease;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--accent-color);
    margin-right: 8px;
}

.navbar-brand img {
    width: 240px;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    margin: 0 5px;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgb(255 232 231);
    color: var(--primary);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark);
    border-color: var(--dark);
    transform: translateY(-3px);
}

.btn-outline-primary {
    color: var(--white);
    border-color: var(--white);
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    color: var(--white);
    background-color: var(--secondary);
    border-color: var(--secondary);
}

/* --- Hero Section --- */
#hero {
    margin-top: 85px;
    padding-top: 60px;
    padding-bottom: 60px;
    /* background: radial-gradient(circle at top right, rgb(4 27 131) 0%, #000000 60%), radial-gradient(circle at bottom left, rgb(72 149 239) 0%, transparent 60%); */
    background: url('img/hreo-bg.jpg')no-repeat;
    background-position: center top;
    background-size: cover;
    overflow: hidden;
    position: relative;
}

#hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 75%);
}

.hero-badge {
    /* background: rgba(67, 97, 238, 0.1); */
    color: var(--primary);
    padding: 8px 0;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    /* margin-bottom: 15px; */
}

#hero h1 {
    font-size: 3rem;
}

.lead {
    font-size: 1rem;
}

.hero-img-wrapper {
    position: relative;
}

.text-gradient {
    background: var(--secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.z-index-2 {
    z-index: 2;
}

.hero-img-wrapper::before {
    content: '';
    position: absolute;
    top: -115px;
    right: 50px;
    width: 550px;
    height: 550px;
    background: rgb(255 255 255 / 0%);
    filter: blur(65px);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}


/* Hero Section */

.hero-btns {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-btns {
        gap: 15px;
    }

    #hero h1 {
        font-size: 2rem;
    }
}

/* Sections Common */
.section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--medium-gray);
    margin: 12px auto 0;
}

/* Modules Section */
/* --- Module Tabs Section (Left List, Right Image) --- */
#modules {
    background: white;
    padding: 50px 0 0;
}

.module-nav-pills .nav-link {
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 15px;
    background: #fff;
    color: var(--dark-gray);
    text-align: left;
    border: 1px solid #d0d0d0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    line-height: 20px;
}

.module-nav-pills .nav-link i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #ccc;
    transition: 0.3s;
}

.nav-pills small {
    color: var(--medium-gray);
}

.module-nav-pills .nav-link.active {
    background: var(--gradient);
    color: white;
    border: 1px solid var(--gradient);
}

.nav-pills .nav-link.active small {
    color: white;
}

.module-nav-pills .nav-link.active i {
    color: white;
}

.tab-img-container img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.nav-pills {
    background-color: var(--white);
    padding: 0 40px 0 0;
    border-right: 1px solid #e5e7eb;
}

.module-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.module-content p {
    margin-bottom: 25px;
    color: var(--medium-gray);
}

.module-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.module-features li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: var(--medium-gray);
}

.module-features li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary);
}

.module-image {
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.module-image img:hover {
    transform: translateY(-10px);
}

/* Transport Flow Section */
.flow-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.flow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(245, 158, 11, 0.03) 100%);
    z-index: -1;
}

.flow-container {
    position: relative;
    margin: 0 auto;
}

.flow-line {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: 1;
}

.flow-step {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.flow-icon {
    width: 120px;
    height: 120px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.flow-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.flow-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.flow-step h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.flow-step p {
    color: var(--medium-gray);
    max-width: 250px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .flow-line {
        display: none;
    }

    .flow-step {
        margin-bottom: 50px;
    }

    .nav-pills {
        padding: 0;
    }
}

/* Features Section */
.features-section {
    background-color: var(--primary);
}

.feature-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--dark), var(--dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--medium-gray);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--white);
}

.testimonial-slider {
    max-width: 650px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: var(--light);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-10px);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex: 0 0 80px;
    border: 4px solid var(--light-gray);
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.client-details p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.8;
    position: relative;
    padding-left: 30px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Clients Section */
.clients-section {
    background-color: var(--dark);
    padding: 50px 0;
}

.client-logo {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/2;
    display: flex;
    align-items: center;
}

.client-logo img {
    transition: all 0.3s ease;
}

.client-logo:hover img {
    opacity: .9;
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.form-control,
.form-select {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 16px 40px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background-color: var(--dark);
    transform: translateY(-3px);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer .logo img {
    width: 240px;
    padding-bottom: 20px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-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);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 35px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.logistics-section {
    margin: 40px auto;
}

.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.logistics-item {
    background: #fff;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--bs-gray-300);
    margin: -1px;
}

.logistics-item:hover .logistics-icon {
    transform: translateY(-4px);
    transition: transform 0.2s ease;
}

.logistics-icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--secondary);
    transform: translateY(0px);
    transition: transform 0.2s ease;
}

.logistics-icon img {
    height: 40px;
    width: auto;
    /* Optional: Filter to colorize SVGs if they are monochrome */
    /* filter: drop-shadow(0px 1000px 0 var(--primary)); 
       transform: translateY(-1000px); */
}

.logistics-label {
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
}

.cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.cta-button a {
    display: inline-flex;
    align-items: center;
    background: var(--secondary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    font-size: 1rem;
}

.cta-button a:hover {
    background: var(--primary);
}

.cta-button a .arrow {
    display: inline-block;
    margin-left: 10px;
    font-size: 18px;
}







.footer {
    background: #222;
    color: #fff;
    padding: 40px 20px;
}

.footer .logo {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer .social-icons a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: #d32f2f;
}

.footer .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.footer .info-grid h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #d32f2f;
}

.footer .info-grid p {
    font-size: 14px;
    line-height: 1.5;
}

.footer .services {
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
}

.footer .services span {
    display: inline-block;
    margin: 0 8px;
}

@media (max-width: 480px) {
    .footer .services span {
        display: block;
        margin: 6px 0;
    }

    .testimonial-item {
        padding: 20px;
    }
}






/* Owl Carousel Customization */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary) !important;
    color: white !important;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background-color: var(--dark) !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: -70px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -70px;
}

.owl-carousel .owl-nav button.owl-next span,
.owl-carousel .owl-nav button.owl-prev span {
    width: 40px;
    height: 40px;
}

.owl-carousel .owl-dots {
    margin-top: 15px;
}

.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background-color: #d1d5db !important;
    margin: 5px;
}

.owl-carousel .owl-dot.active span {
    background-color: var(--primary) !important;
}

@media (max-width: 1200px) {
    .owl-carousel .owl-nav button.owl-prev {
        left: -30px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: -30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 30px 0;
    }

    .navbar-brand img {
        width: 210px;
    }

    .section-title h2,
    h2 {
        font-size: calc(1.7rem + .9vw);
    }

    .nav-pills {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .contact-form {
        padding: 20px;
    }

    .owl-carousel .owl-nav {
        display: none;
    }
}

/* =========================================
   Footer Design V2 (New Implementation) 
   ========================================= */
.footer-design-v2 {
    background-color: #222;
    /* Darker background matching reference */
    color: #fff;
    padding: 50px 0 30px;
    text-align: center;
    position: relative;
    /* Visual separation from previous footer */
}

/* Logo & Social Section */
.v2-logo-section {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.v2-footer-logo img {
    height: 50px;
}

.v2-footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.v2-footer-social a {
    width: 40px;
    height: 40px;
    background-color: #2c2e33;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.v2-footer-social a:hover {
    background-color: var(--primary);
    /* Purple accent */
    transform: translateY(-3px);
}

/* Info Grid */
.v2-info-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 25px;
    /* Gaps handled by padding/margins for dividers */
    flex-wrap: nowrap;
    /* Prevent wrapping on desktop */
}

.v2-info-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    min-width: 250px;
    /* Ensure content doesn't squash */
}

.v2-icon-wrapper {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary);
    /* Purple accent border */
    border-radius: 50%;
    /* Approx pin shape */
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.v2-icon-wrapper i {
    transform: rotate(-45deg);
    /* Correct icon rotation */
    color: var(--primary);
    font-size: 18px;
}

.v2-info-item h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.v2-info-item p {
    color: #d1d5db;
    margin: 0;
}

/* Vertical Divider */
.v2-footer-divider {
    width: 1px;
    height: 60px;
    background-color: #4b5563;
    /* Gray divider */
    opacity: 0.5;
}

/* Services Section */
.v2-services-divider {
    height: 1px;
    background-color: #4b5563;
    width: 100%;
    opacity: 0.5;
    margin-bottom: 30px;
}

.v2-services-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.v2-services-list span {
    color: #d1d5db;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    cursor: default;
    transition: color 0.3s;
}

.v2-services-list span:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 991px) {
    .v2-info-grid {
        flex-direction: column;
        gap: 30px;
    }

    .v2-info-item {
        width: 100%;
        justify-content: flex-start;
        padding: 0;
    }

    .v2-footer-divider {
        display: none;
    }

    .v2-services-list {
        gap: 20px;
        flex-direction: column;
    }
}

.whatsapp_btn {
    position: fixed;
    bottom: 10px;
    right: 15px;
    z-index: 99;
    width: 100px;
    height: 100px;
}