/* 
   CONTI Logistics & Transporters - Custom Stylesheet
   Design Scheme: Corporate Premium Logistics
   Primary Color: #0056B3 (Deep Blue)
   Secondary Color: #00AEEF (Light Sky Blue)
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary-blue: #0056B3;
    --secondary-blue: #00AEEF;
    --primary-dark: #0f1c2c;
    --secondary-dark: #1b2d42;
    --light-grey: #f4f7fa;
    --text-muted: #6c757d;
    --text-dark: #2c3e50;
    --text-white: #ffffff;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow-premium: 0 10px 30px rgba(0, 86, 179, 0.08);
    --box-shadow-hover: 0 20px 40px rgba(0, 86, 179, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--secondary-blue);
}

/* Primary/Secondary Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    color: white;
    transition: var(--transition-smooth);
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 12px 28px;
    transition: var(--transition-smooth);
}
.btn-outline-light:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Top Contact Bar */
.top-bar {
    background-color: var(--primary-dark);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar a {
    color: rgba(255, 255, 255, 0.8);
}
.top-bar a:hover {
    color: var(--secondary-blue);
}

/* Sticky Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}
.navbar.scrolled {
    padding: 8px 0;
}
.navbar-brand img {
    height: 48px;
    transition: var(--transition-smooth);
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-dark);
    padding: 25px 15px !important;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--secondary-blue);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 180px 0 140px 0;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 28, 44, 0.85) 0%, rgba(27, 45, 66, 0.65) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.65);
    letter-spacing: -1px;
    color: #ffffff;
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 750px;
}

/* Statistics Section */
.stats-section {
    margin-top: -50px;
    position: relative;
    z-index: 3;
}
.stat-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow-premium);
    border-bottom: 4px solid var(--primary-blue);
    transition: var(--transition-smooth);
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-bottom: 4px solid var(--secondary-blue);
}
.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 5px;
}
.stat-card .stat-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .sub-title {
    color: var(--secondary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}
.section-header .title {
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}
.section-header .title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(0, 86, 179, 0.05);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}
.service-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}
.service-icon {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.service-content {
    padding: 40px 25px 25px 25px;
}
.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--light-grey);
    padding: 100px 0;
}
.feature-box {
    display: flex;
    margin-bottom: 30px;
}
.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    box-shadow: var(--box-shadow-premium);
    margin-right: 20px;
    transition: var(--transition-smooth);
}
.feature-box:hover .feature-icon {
    background-color: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}
.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tracking System Display */
.tracking-stepper {
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
}
.tracking-stepper::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}
.tracking-step {
    position: relative;
    padding-bottom: 30px;
}
.tracking-step:last-child {
    padding-bottom: 0;
}
.tracking-circle {
    position: absolute;
    left: -30px;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #cbd5e0;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e2e8f0;
    transition: var(--transition-smooth);
}
.tracking-step.completed .tracking-circle {
    background-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}
.tracking-step.active .tracking-circle {
    background-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.4);
    animation: pulse 1.5s infinite;
}
.tracking-content {
    margin-left: 10px;
}
.tracking-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}
.tracking-status-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.tracking-location {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 4px;
}
.tracking-details {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Testimonial Carousel */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 100px 0;
}
.testimonials-section .section-header .title {
    color: white;
}
.testimonials-section .section-header .title::after {
    background-color: var(--secondary-blue);
}
.testimonial-item {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.testimonial-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 4px solid var(--secondary-blue);
}
.testimonial-feedback {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}
.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-blue);
    margin-bottom: 2px;
}
.testimonial-designation {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 86, 179, 0.05);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}
.blog-card-img {
    height: 220px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}
.blog-card-body {
    padding: 25px;
}
.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.blog-card-meta i {
    color: var(--secondary-blue);
    margin-right: 6px;
}
.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.blog-card-title a {
    color: var(--primary-dark);
}
.blog-card-title a:hover {
    color: var(--primary-blue);
}
.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Sub-page Header Banner */
.page-banner {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    color: white;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 28, 44, 0.9) 0%, rgba(27, 45, 66, 0.8) 100%);
}
.page-banner-content {
    position: relative;
    z-index: 2;
}
.page-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.breadcrumb {
    margin-bottom: 0;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}
.breadcrumb-item a:hover {
    color: var(--secondary-blue);
}
.breadcrumb-item.active {
    color: var(--secondary-blue);
}

/* Quote/Contact Forms styling */
.form-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(0, 86, 179, 0.05);
}
.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}
.form-control, .form-select {
    padding: 12px 18px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}
.form-control:focus, .form-select:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

/* Footer Section */
.footer-section {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px 0;
}
.footer-widget-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--secondary-blue);
}
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}
.footer-links a i {
    font-size: 0.8rem;
    margin-right: 8px;
    color: var(--secondary-blue);
    transition: var(--transition-smooth);
}
.footer-links a:hover {
    color: var(--secondary-blue);
    padding-left: 5px;
}
.footer-links a:hover i {
    color: white;
}
.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}
.footer-contact-icon {
    font-size: 1.1rem;
    color: var(--secondary-blue);
    margin-right: 15px;
}
.footer-social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
    transition: var(--transition-smooth);
}
.footer-social-links a:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    padding-top: 30px;
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1) rotate(15deg);
}

/* Project Filter */
.project-filters {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}
.project-filters li {
    margin: 0 5px;
}
.project-filters button {
    background: none;
    border: 1px solid #e2e8f0;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.project-filters button:hover,
.project-filters button.active {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Map Container */
.map-container {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(0, 86, 179, 0.05);
}

/* Career Listing Item */
.career-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(0, 86, 179, 0.05);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}
.career-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

/* Loader style */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 12px 0 !important;
    }
    .navbar-nav .nav-link::after {
        bottom: 5px;
        left: 0;
        right: auto;
        width: 30px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .stats-section {
        margin-top: 0;
        padding-top: 50px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 120px 0 80px 0;
    }
    .hero-title {
        font-size: 2.0rem !important;
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 30px;
    }
    .stats-section {
        padding-top: 30px;
    }
    .stat-card {
        padding: 15px;
    }
    .stat-card .stat-number {
        font-size: 1.8rem;
    }
    .stat-card .stat-label {
        font-size: 0.75rem;
    }
}
