:root {
    --primary: #4da6ff;
    --secondary: #0056b3;
    --light: #F8F9FA;
    --dark: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg') center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #ffffff00, #4da6ffc4);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Fact Section Styles */
.fact-section {
    background-color: var(--light);
    position: relative;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.bg-primary-soft {
    background-color: rgba(77, 166, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact-icon i {
    font-size: 1.2rem;
}

.fact-item {
    transition: all 0.3s ease;
}

.fact-item:hover {
    transform: translateX(10px);
}

.fact-item p {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
}

.fact-card {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.fact-card.primary { background: var(--primary); }
.fact-card.secondary { background: var(--secondary); }
.fact-card.info { background: #36b9cc; }

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.fact-card .fact-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.fact-card .fact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.fact-card .fact-number .counter {
    display: inline-block;
}

.fact-card .fact-number .plus {
    font-size: 2rem;
    font-weight: 500;
}

.fact-card .fact-text {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.hero-section {
    background: linear-gradient(to right, #007bff, #0056b3);
    height: 80vh;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.service-box {
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.navbar-brand img {
  height: 45px !important;
}

.navbar {
  padding: 0.8rem 1rem;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-link {
  font-size: 1.1rem !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffd700 !important; /* subtle golden hover effect */
}


.facts-section {
  background: linear-gradient(180deg, #f7fbff 0%, #e6f1ff 100%);
}

.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.hover-up {
  transition: all 0.3s ease;
}
.hover-up:hover {
  transform: translateY(-5px);
  background-color: #f0f8ff;
}

/* === Network Section === */
.network-section {
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.network-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fbff;
  border: 1px solid #d9e9ff;
  border-radius: 10px;
  padding: 10px 18px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.network-item:hover {
  background: #e0efff;
  transform: translateX(4px);
  box-shadow: 0 4px 10px rgba(0, 119, 255, 0.1);
}

.network-item h6 {
  margin: 0;
  color: #004aad;
  font-weight: 600;
}

.network-item p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #007bff;
}

.network-item span {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #b3d9ff, #007bff);
  margin: 0 12px;
  border-radius: 2px;
}

.image-container {
  height: 420px;
  border: 5px solid #e6f2ff;
  transition: transform 0.4s ease;
}

.image-container:hover {
  transform: scale(1.03);
}
/* Our Network Section */
#network-container {
  width: 100%;
}

.network-item {
  position: relative;
  background: #e9f5ff;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  transition: all 0.3s ease;
}

.network-item span {
  font-weight: 600;
  font-size: 14px;
  color: #003366;
  z-index: 2;
}

.network-item::after {
  content: attr(data-count);
  font-weight: 700;
  color: #003366;
  position: absolute;
  right: 15px;
  z-index: 2;
  font-size: 14px;
}

.network-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #4da6ff, #0066cc);
  width: 0%;
  transition: width 1.2s ease-in-out;
  border-radius: 10px;
  z-index: 1;
  opacity: 0.6;
}
/* ------------------------------------------- */
/* --- NEW: Client Logos Section Styling --- */
/* ------------------------------------------- */

.client-logo-grid {
    /* Ensures the section has a distinct background */
    background-color: #f7f7f7;
}

.logo-item {
    border: 1px solid #dee2e6;
    border-radius: 12px !important;
    height: 120px; /* Fixed height for consistent grid look */
    overflow: hidden;
    /* Smooth transition for interactivity */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.logo-img {
    /* Initial state: Grayscale filter for a professional look */
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.6;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    /* Smooth transition for the image effect */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover Effects (Impressive Interactivity) */
.logo-item:hover {
    /* Lift the card and add a subtle shadow */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border-color: #4da6ff; /* Highlight border on hover using a primary color */
}

.logo-item:hover .logo-img {
    /* Restore color, opacity, and scale the logo slightly */
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}
/* ------------------------------------------- */
/* --- NEW: Footer Section Styling --- */
/* ------------------------------------------- */

/* Footer Title Enhancements */
.footer-title {
    /* Set the footer titles to be a vibrant color for contrast */
    color: #4da6ff !important;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #2ec4b6; /* Use secondary color for the underline */
}

/* Footer Links Styling */
.btn-link.footer-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-link.footer-link:hover {
    color: #4da6ff !important; /* Primary color on hover */
    letter-spacing: 0.5px;
    transform: translateX(5px); /* Slide effect */
}

/* Social Button Styling */
.btn-social {
    margin-right: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: #4da6ff; /* Primary color fill on hover */
    border-color: #4da6ff;
    color: #ffffff;
    transform: translateY(-2px); /* Slight lift */
}

/* Newsletter/Subscribe Button Styling */
.newsletter-btn {
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #2ec4b6; /* Use secondary color for a pop on hover */
    border-color: #2ec4b6;
}

/* Copyright Bar Style */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright a.border-bottom:hover {
    color: #4da6ff !important;
}
/* ------------------------------------------- */
/* --- UPDATED: Vision & Mission Section Styling (MATCHED) --- */
/* ------------------------------------------- */

/* Shared Base Card Styles for both Vision and Mission */
.vision-card,
.mission-card {
    /* Set to white background with light border */
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    /* Smooth transition for interactive effects */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Shared Hover Effect for both Vision and Mission */
.vision-card:hover,
.mission-card:hover {
    /* Lift and add subtle shadow on hover */
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Mission List Styling */
.mission-list {
    list-style: none;
    padding-left: 0;
}

.mission-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #495057; /* Darker text for readability */
    line-height: 1.5;
    transition: color 0.3s ease;
}

.mission-list li:hover {
    color: #343a40; /* Darken text slightly on hover */
}
.page-header {
    /* Use a dark overlay over a background image for a professional look */
    background: linear-gradient(rgba(0, 0, 0, 0.15), #1f66ad), url('../images/general.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}

/* About Section Image Style */
.about-image {
    object-fit: cover;
    max-height: 400px;
    /* Add border radius for modern look */
    border-radius: 1rem !important;
}

/* Team Card (Founders/Mentors) Styling */
.team-card {
    border: 1px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Impressive Lift and Shadow on Hover */
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.founder-img {
    border: 5px solid var(--bs-light);
    /* Creates a striking colored ring effect */
    box-shadow: 0 0 0 5px var(--bs-primary); 
}

/* Special styling for the Mentor/Investor card */
.mentor-card {
    /* Subtle glow effect for the mentor/investor card */
    border: 2px solid var(--bs-primary); 
}
.contact-info-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

/* Hover effect for contact cards */
.contact-info-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-4px);
    border-color: var(--bs-primary);
}

/* Map Container */
.map-container {
    height: 100%;
    min-height: 400px; /* Ensure map is visible on mobile */
    overflow: hidden;
}

.map-container iframe {
    /* Style the iframe border to match the container */
    border-radius: 0.5rem;
}

/* Contact Form Styling */
.contact-form {
    background-color: #f8f9fa; /* Light background for contrast */
    border: 1px solid #e9ecef;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 1rem 1.25rem;
    border-color: #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(77, 166, 255, 0.25); /* Primary color glow */
}

/* Submit Button Hover */
.submit-btn:hover {
    transform: scale(1.01);
    background-color: #2ec4b6 !important; /* Use secondary color for interactive pop */
    border-color: #2ec4b6 !important;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .map-container {
        height: 100%;
    }
}
contact-form {
    background-color: #f8f9fa; 
    border: 1px solid #e9ecef;
}

.contact-form .form-control {
    /* These styles apply to ALL inputs, including the new mobile number field */
    border-radius: 8px;
    padding: 1rem 1.25rem;
    border-color: #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(77, 166, 255, 0.25); 
}
/* ------------------------------------------- */
/* --- NEW: Careers Page Specific Styling --- */
/* ------------------------------------------- */

/* Feature Cards (Culture/Perks) */
.career-feature-card {
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.career-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--bs-primary);
}

/* Job Opening Cards */
.job-opening-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.job-opening-card:hover {
    /* Subtle change on hover to indicate clickability */
    border-color: var(--bs-primary);
    background-color: #f7f9fc !important;
    cursor: pointer;
}

/* Apply Button Styling */
.apply-btn {
    min-width: 150px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.apply-btn:hover {
    background-color: var(--bs-primary);
    color: var(--bs-white) !important;
}

/* Application Form Background */
.application-form {
    background-color: #ffffff; /* Use white background for the form within the light section */
    border: 1px solid #e9ecef;
}
/* ------------------------------------------- */
/* --- NEW: Service Page Specific Styling --- */
/* ------------------------------------------- */

/* Style the anchor tag holding the card */
.service-card-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
}

/* Base style for all service cards (Business & 3PL) */
.service-card,
.service-card-3pl {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Hover effect for ALL cards */
.service-card:hover,
.service-card-3pl:hover {
    transform: translateY(-8px); /* Lift the card */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important; /* Stronger shadow */
    border-color: var(--bs-primary); /* Primary color border */
}

/* Business Service Cards (Larger Icons/Text) */
.service-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 3PL Service Cards (Smaller, Tighter Grid) */
.service-card-3pl {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem !important; /* Slightly smaller padding */
}

/* Overriding the text color on hover for better visibility */
.service-card-link:hover h4,
.service-card-link:hover h5 {
    color: var(--bs-primary) !important;
}
/* ------------------------------------------- */
/* --- NEW: Interactive Tabbed Service Styling --- */
/* ------------------------------------------- */

/* Styling for the Tab Navigation (Pills) */
.service-tabs .nav-link {
    color: var(--bs-dark);
    background-color: #f7f9fc; /* Light background for pill */
    border: 1px solid #e9ecef;
    margin: 0 5px; /* Spacing between pills */
    transition: all 0.3s ease;
    border-radius: 10px !important;
}

/* Hover and Inactive State */
.service-tabs .nav-link:hover {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Active Tab State */
.service-tabs .nav-link.active {
    color: var(--bs-white);
    background-color: var(--bs-primary); /* Primary color background */
    border-color: var(--bs-primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure active tab icons/text remains visible */
.service-tabs .nav-link.active i {
    color: var(--bs-white) !important;
}

/* Business Service Card (Specific styling for the larger cards) */
.business-service-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card-link:hover .business-service-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--bs-primary);
}

/* Overriding the text color on hover for better visibility */
.service-card-link:hover h4,
.service-card-link:hover h5 {
    color: var(--bs-primary) !important;
}
/* Service Detail Page Styles */
.service-detail-image {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    transition: transform .3s ease;
    cursor: pointer;
}

.img-hover-zoom {
    transition: transform .3s ease;
    cursor: pointer;
}

.img-hover-zoom:hover {
    transform: scale(1.05);
}

.carousel-control-prev, 
.carousel-control-next {
    cursor: pointer;
}

.carousel-item a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    transition: background .3s ease;
}

.carousel-item a:hover::after {
    background: rgba(0,0,0,0.1);
}
/* ------------------------------------------- */
/* --- NEW: Home Page Specific Styling --- */
/* ------------------------------------------- */

/* --- Hero Section with Background Image --- */
.hero-image-background {
    /* Assuming the image is saved in static/img/logistics_cta_bg.jpg from previous steps */
    background: url('../images/background.png') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 10rem 0; /* Adjust padding for height */
    overflow: hidden;
    min-height: 500px;
}

/* Dark Overlay for Hero Section (same logic as CTA) */
.hero-image-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay (adjust opacity if needed) */
    background-color: rgba(246, 249, 252, 0.75); /* Dark blue overlay */
    z-index: 1; 
}

/* Ensure content is above the overlay */
.hero-image-background .container {
    position: relative;
    z-index: 2;
}

/* --- Interactive Elements --- */
/* Facts & Feature Cards Hover */
.hover-up, .hover-scale, .feature-box, .stat-card {
    transition: all 0.3s ease;
}

.hover-up:hover, .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.hover-scale:hover, .stat-card:hover {
    transform: scale(1.03);
}

.logo-hover:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid var(--bs-primary);
}

.highlight-card {
    border-top: 5px solid var(--bs-primary) !important;
}

/* --- Vision & Mission Cards --- */
.vision-card, .mission-card {
    border-left: 5px solid var(--bs-primary);
}

.mission-list {
    list-style: none;
    padding-left: 0;
}

/* --- Dynamic Network Bars --- */
#network-container {
    padding-right: 20px;
}

.network-item {
    margin-bottom: 15px;
    position: relative;
    padding: 8px 0;
    color: var(--bs-dark);
    font-weight: 600;
}

.network-item span:first-child {
    display: block;
    margin-bottom: 5px;
}

.network-bar {
    height: 25px;
    background-color: var(--bs-primary);
    width: 0; /* Starts at 0, animated by JS */
    transition: width 1.5s ease-out; /* Animation effect */
    border-radius: 4px;
    position: relative;
}

.network-count {
    position: absolute;
    right: -35px; /* Position count outside the bar */
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-dark);
    font-size: 0.9rem;
    font-weight: bold;
    min-width: 25px;
    text-align: center;
}