/* ===== MODERN UNITY EXPRESS STYLES ===== */

/* CSS Variables for Easy Theme Management */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary-color: #0d9488;
    --accent-color: #ea580c;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #ea580c;
    --info-color: #0d9488;
    
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #0d9488 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-success: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-800);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Utilities */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

/* Topbar */
.topbar {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 10px 0;
    font-size: 0.875rem;
}

.topbar-contact {
    display: flex;
    gap: 1.5rem;
}

.topbar-contact span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-social {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.topbar-social .social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--gray-400);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar-social .social-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--gray-800) !important;
    text-decoration: none;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.whatsapp-btn {
    background: #25d366;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128c7e;
    color: var(--white);
    transform: translateY(-1px);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: var(--gray-100);
}

.navbar-actions .contact-info {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/header.jpg') center/cover;
    opacity: 0.1;
    z-index: -1;
}

/* Responsive Hero Title Styles */
.responsive-title {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.title-line-1 {
    color: #60a5fa !important;
    font-weight: 800 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
    display: inline-block;
    white-space: nowrap;
}

.title-line-2 {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
    display: inline-block;
    white-space: nowrap;
}

/* Enhanced responsive design for hero title */
@media (max-width: 1200px) {
    .responsive-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem) !important;
    }
}

@media (max-width: 992px) {
    .responsive-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem) !important;
    }
    
    .title-line-1,
    .title-line-2 {
        white-space: normal;
        word-break: break-word;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .tracking-card {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .responsive-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
        text-align: center;
    }
    
    .title-line-1,
    .title-line-2 {
        display: block;
        white-space: normal;
        word-break: break-word;
        line-height: 1.1;
    }
    
    .hero-section {
        min-height: 85vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.125rem) !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
    }
    
    .tracking-card {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .tracking-input .form-control {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    .tracking-input .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 576px) {
    .responsive-title {
        font-size: clamp(1.3rem, 3.5vw, 2rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .title-line-1,
    .title-line-2 {
        font-size: inherit;
        line-height: 1.1;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 2vw, 1rem) !important;
        margin-bottom: 1.5rem !important;
    }
    
    .tracking-card {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .tracking-title {
        font-size: 1.1rem;
    }
    
    .tracking-input {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tracking-input .form-control,
    .tracking-input .btn {
        width: 100%;
        border-radius: 8px !important;
    }
}

@media (max-width: 480px) {
    .responsive-title {
        font-size: clamp(1.2rem, 3vw, 1.8rem) !important;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 500px;
}

/* Tracking Card */
.tracking-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.tracking-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.tracking-input {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tracking-input .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: var(--white);
}

.tracking-input .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border: none;
}

/* Hero Stats */
.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
}

.floating-card {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite reverse;
    max-width: calc(100% - 4rem);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.card-content h6 {
    margin: 0;
    font-weight: 600;
    color: var(--gray-800);
}

.card-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.about-content {
    padding: 2rem 0;
}

.features-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.25rem;
}

.about-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* About Page Specific Styles */
.about-hero {
    background: var(--gradient-hero);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/about.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(13, 148, 136, 0.7) 100%);
    z-index: 2;
}

.about-hero .hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
}

.about-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero .breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.about-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
}

.about-hero .breadcrumb-item a:hover {
    color: var(--white);
}

.about-hero .breadcrumb-item.active {
    color: var(--white);
    font-weight: 600;
}

/* Ensure all hero content text is white */
.about-hero .hero-content,
.about-hero .hero-content h1,
.about-hero .hero-content h2,
.about-hero .hero-content h3,
.about-hero .hero-content h4,
.about-hero .hero-content h5,
.about-hero .hero-content h6,
.about-hero .hero-content p,
.about-hero .hero-content span {
    color: var(--white) !important;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    min-height: 450px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: calc(100% - 40px);
}

.experience-badge h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.experience-badge p {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.features-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.feature-title {
    margin: 0;
    font-weight: 600;
    color: var(--gray-800);
}

.stats-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Quote Section */
.quote-section {
    padding: 5rem 0;
    background: var(--gradient-hero);
    position: relative;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/feature.jpg') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.quote-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.quote-form-card h5 {
    color: var(--gray-800);
    font-weight: 600;
    text-align: center;
}

.quote-form-card .form-control {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.quote-form-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer, .footer-section {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 20px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-title, .widget-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after, .widget-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.footer-desc {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact .contact-item, .contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact .contact-item i, .contact-info .contact-item i {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 20px;
    margin-top: 40px;
}

.footer-copyright {
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Newsletter Styles */
.newsletter-desc {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.newsletter-input {
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    background: transparent;
    border-radius: 0;
}

.newsletter-input:focus {
    box-shadow: none;
    border: none;
    background: transparent;
}

.newsletter-btn {
    border: none;
    padding: 15px 25px;
    font-weight: 600;
    border-radius: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: translateX(-2px);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background: #059669;
    color: var(--white);
    transform: translateY(-2px);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tracking-card {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .quote-form-card {
        padding: 2rem;
    }
    
    .floating-card {
        position: static;
        margin-top: 2rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tracking-input .form-control {
        padding: 0.75rem 1rem;
    }
    
    .tracking-input .btn {
        padding: 0.75rem 1.5rem;
    }
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-valid {
    border-color: var(--success-color);
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Homepage Footer Specific Fixes */
.footer-section {
    min-height: auto;
    display: block;
    visibility: visible;
    opacity: 1;
}

.footer-section .footer-widget {
    margin-bottom: 30px;
}

.footer-section .widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white) !important;
}

.footer-section .footer-links li {
    margin-bottom: 8px;
}

.footer-section .footer-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .footer-links a:hover {
    color: var(--primary-color) !important;
}

.footer-section .contact-info .contact-item {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-section .contact-info .contact-item i {
    color: var(--primary-color) !important;
    width: 20px;
    margin-right: 10px;
}

.footer-section .social-links a {
    background: var(--gray-700);
    color: var(--gray-300);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-section .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
}

.footer-section .copyright {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.testimonial-quote i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Service Features */
.service-features {
    margin-top: 1.5rem;
}

.service-features ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-features ul li:last-child {
    border-bottom: none;
}

/* Professional Stats Section */
.stats-section {
    background: var(--white);
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.stat-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Testimonial Carousel */
.testimonial-slider {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -60px;
    pointer-events: none;
}

.testimonial-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    pointer-events: all;
    position: relative;
    z-index: 10;
}

.testimonial-carousel .owl-nav button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-carousel .owl-nav .owl-prev {
    left: -60px;
}

.testimonial-carousel .owl-nav .owl-next {
    right: -60px;
}

.testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 2rem;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    display: inline-block;
    margin: 0 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-carousel .owl-dots .owl-dot.active,
.testimonial-carousel .owl-dots .owl-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-card {
    margin: 0 15px;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        display: none;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ===== PRICING STYLES ===== */

/* Pricing Section */
.pricing-section {
    background: var(--white);
}

.pricing-section.bg-light {
    background: var(--gray-100) !important;
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 40px;
    font-size: 0.875rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 3;
    box-shadow: var(--shadow-md);
}

/* Pricing Header */
.pricing-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.pricing-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 10px solid var(--primary-color);
}

.pricing-flag {
    margin-bottom: 1rem;
}

.flag-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

/* Pricing Price */
.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.8;
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-price .period {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Pricing Features */
.pricing-features {
    padding: 2rem;
    flex: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-weight: 500;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--success-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.pricing-features li i.fa-globe {
    color: var(--primary-color);
}

/* Pricing Footer */
.pricing-footer {
    padding: 0 2rem 2rem;
    margin-top: auto;
}

.pricing-footer .btn {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.pricing-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sea Cargo Specific Styles */
.pricing-card.sea-cargo {
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
}

.pricing-card.sea-cargo .pricing-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.pricing-card.sea-cargo .pricing-header::after {
    border-top-color: var(--secondary-color);
}

.pricing-body {
    padding: 2rem;
}

.pricing-option {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.pricing-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-option h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-option .pricing-price {
    margin-bottom: 0;
}

.pricing-option .pricing-price .amount {
    font-size: 2.5rem;
}

.pricing-option .pricing-price .currency {
    font-size: 1.25rem;
}

.pricing-option .pricing-price .period {
    font-size: 1rem;
}

/* Features Section for Pricing */
.features-section {
    background: var(--white);
}

.features-section .feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 300px;
}

.features-section .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.features-section .feature-item .feature-icon {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    background: var(--gradient-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 1rem auto 1.5rem auto !important;
    font-size: 2rem !important;
    color: var(--white) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 1;
    box-shadow: var(--shadow-lg);
    border: none !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
    order: 2;
    flex-shrink: 0;
}

.features-section .feature-item .feature-icon i {
    font-size: 2rem !important;
    color: var(--white) !important;
    display: block !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.features-section .feature-item:hover .feature-icon {
    transform: scale(1.1) !important;
    box-shadow: var(--shadow-xl);
}

.features-section .feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    order: 1;
    flex-shrink: 0;
}

.features-section .feature-item p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    order: 3;
    flex: 1;
    text-align: center;
    padding: 0 0.5rem;
}

/* Responsive Design for Pricing */
@media (max-width: 992px) {
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .pricing-price .amount {
        font-size: 2.8rem;
    }
    
    .pricing-features {
        padding: 1.5rem;
    }
    
    .pricing-footer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .popular-badge {
        font-size: 0.75rem;
        padding: 6px 35px;
    }
    
    .pricing-body {
        padding: 1.5rem;
    }
    
    .pricing-option {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .pricing-option .pricing-price .amount {
        font-size: 2rem;
    }
    
    .features-section .feature-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        min-height: 280px;
    }
    
    .features-section .feature-item .feature-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.75rem !important;
        margin: 0.75rem auto 1rem auto !important;
    }
    
    .features-section .feature-item .feature-icon i {
        font-size: 1.75rem !important;
    }
    
    .features-section .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .features-section .feature-item p {
        font-size: 0.9rem;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-price .amount {
        font-size: 2.5rem;
    }
    
    .pricing-title {
        font-size: 1.25rem;
    }
    
    .flag-icon {
        width: 40px;
        height: 40px;
    }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Info Section */
.contact-info-section {
    background: var(--white);
}

.contact-info-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-card a:hover {
    color: var(--primary-dark);
}

/* Contact Form Section */
.contact-section {
    background: var(--gray-100);
}

.contact-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-form-card .form-control {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.contact-form-card .form-control::placeholder {
    color: var(--gray-400);
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.help-block {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.contact-form-card .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.contact-form-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Map Section */
.map-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-header {
    padding: 2rem;
    background: var(--gradient-primary);
    color: var(--white);
}

.map-location-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.map-location-info i {
    font-size: 2rem;
    color: var(--white);
}

.map-location-info h6 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.map-location-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.map-container {
    flex: 1;
    height: 400px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-footer {
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.map-footer .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Success/Error Messages */
#success .alert {
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: none;
    font-weight: 500;
}

#success .alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

#success .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

/* Responsive Design for Contact */
@media (max-width: 992px) {
    .contact-form-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-info-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.75rem;
    }
    
    .map-header {
        padding: 1.5rem;
    }
    
    .map-location-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-footer {
        padding: 1rem 1.5rem;
    }
    
    .map-footer .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .contact-info-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-form-card {
        padding: 1rem;
    }
    
    .form-header {
        margin-bottom: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-form-card .btn-primary {
        width: 100%;
        padding: 1rem;
    }
}

/* ===== TRACKING PAGE STYLES ===== */

/* Tracking Hero Section */
.tracking-hero {
    background: var(--gradient-hero);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.tracking-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/about.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.tracking-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(13, 148, 136, 0.7) 100%);
    z-index: 2;
}

.tracking-hero .hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50vh;
}

.tracking-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 1.2;
}

.tracking-hero .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.9;
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
}

/* Ensure all tracking hero content text is white */
.tracking-hero .hero-content,
.tracking-hero .hero-content h1,
.tracking-hero .hero-content h2,
.tracking-hero .hero-content h3,
.tracking-hero .hero-content h4,
.tracking-hero .hero-content h5,
.tracking-hero .hero-content h6,
.tracking-hero .hero-content p,
.tracking-hero .hero-content span,
.tracking-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.tracking-hero .breadcrumb-item a,
.tracking-hero .breadcrumb-item.active {
    color: var(--white) !important;
}

/* Tracking Search Section */
.tracking-search-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.tracking-search-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.search-header .search-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.search-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.search-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.tracking-search-form .input-group {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tracking-search-form .input-group-text {
    background: var(--gray-100);
    border: none;
    padding: 1rem 1.5rem;
    color: var(--gray-600);
    font-size: 1.25rem;
}

.tracking-search-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    background: var(--white);
}

.tracking-search-form .form-control:focus {
    box-shadow: none;
    background: var(--white);
}

.tracking-search-form .btn {
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.tracking-search-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-help {
    text-align: center;
}

/* Tracking Results Section */
.tracking-results-section {
    background: var(--gray-50);
}

.shipment-overview-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.tracking-number-display .label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.tracking-number-display .tracking-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    font-family: 'Courier New', monospace;
}

.shipment-info {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.info-item i {
    width: 20px;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.info-item span {
    font-size: 0.95rem;
    color: var(--gray-700);
}

.info-item strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Route Display */
.route-display {
    padding: 2rem;
}

.route-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.route-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.route-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.route-point.destination .route-icon {
    background: var(--gradient-success);
}

.route-info .route-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.route-info .route-location {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.route-line {
    flex: 1;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
    margin: 0 2rem;
    position: relative;
    overflow: hidden;
}

.route-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 75%;
    position: relative;
}

.route-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    animation: shimmer 2s ease-in-out infinite;
}

.route-vehicle {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    background: var(--white);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    z-index: 3;
}

/* Timeline Card */
.tracking-timeline-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.timeline-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.timeline-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Modern Timeline Styles */
.modern-timeline {
    position: relative;
}

.order-track {
    position: relative;
    padding: 2rem 0;
}

.order-track-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
}

.order-track-step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.order-track-step.complete {
    border-color: var(--success-color);
    background: linear-gradient(145deg, #f0fdf4, #ffffff);
}

.order-track-step.complete:hover {
    border-color: var(--success-color);
}

.order-track-text {
    flex: 1;
}

.order-track-text-left {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.order-track-text-sub {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.order-track-status {
    margin: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.order-track-status-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gray-400);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--gray-400);
    position: relative;
    z-index: 2;
}

.order-track-status.complete .order-track-status-dot {
    background: var(--success-color);
    box-shadow: 0 0 0 3px var(--success-color);
}

.order-track-status.pending .order-track-status-dot {
    background: var(--gray-300);
    box-shadow: 0 0 0 3px var(--gray-300);
    border-style: dashed;
}

.order-track-status-line {
    width: 3px;
    height: 60px;
    background: var(--gray-300);
    margin-top: -5px;
}

.order-track-status.complete .order-track-status-line {
    background: var(--success-color);
}

.order-track-text-stat {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.order-track-step.complete .order-track-text-stat {
    color: var(--success-color);
}

/* Delivery Partner Highlight */
.delivery-partner-highlight-unique {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-weight: 600;
    margin: 0 0.25rem;
}

/* Tracking Help Section */
.tracking-help-section {
    background: var(--gray-100);
}

.tracking-help-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.help-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.help-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.route-vehicle {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tracking-search-card {
        padding: 2rem;
    }
    
    .shipment-overview-card {
        padding: 2rem;
    }
    
    .route-visual {
        flex-direction: column;
        gap: 2rem;
    }
    
    .route-line {
        width: 4px;
        height: 60px;
        margin: 1rem 0;
    }
    
    .route-vehicle {
        top: 50%;
        left: 50%;
    }
}

@media (max-width: 768px) {
    .tracking-hero {
        padding: 100px 0 60px;
        min-height: 60vh;
    }
    
    .tracking-hero .hero-content {
        min-height: 40vh;
        padding: 0 1rem;
    }
    
    .tracking-hero .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .tracking-hero .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .tracking-search-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .search-header .search-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .tracking-number-display .tracking-number {
        font-size: 2rem;
    }
    
    .order-track-step {
        flex-direction: column;
        text-align: center;
    }
    
    .order-track-status {
        margin: 1rem 0;
        flex-direction: row;
        align-items: center;
    }
    
    .order-track-status-line {
        width: 60px;
        height: 3px;
        margin: 0 1rem;
    }
    
    .shipment-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tracking-hero {
        padding: 80px 0 40px;
        min-height: 50vh;
    }
    
    .tracking-hero .hero-content {
        min-height: 30vh;
        padding: 0 0.5rem;
    }
    
    .tracking-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .tracking-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .tracking-search-form .input-group {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .tracking-search-form .input-group-text,
    .tracking-search-form .form-control,
    .tracking-search-form .btn {
        border-radius: 10px !important;
        margin-bottom: 0.5rem;
    }
    
    .tracking-search-form .btn {
        margin-bottom: 0;
    }
    
    .route-point {
        margin-bottom: 1rem;
    }
    
    .route-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* ===== UNIVERSAL HERO STYLES FOR ALL PAGES ===== */

/* Apply to all hero sections that use the about-hero class */
.about-hero,
.tracking-hero {
    position: relative;
    overflow: hidden;
}

/* Ensure background image for all hero sections except main index */
.about-hero::before,
.tracking-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/about.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

/* Universal overlay for better text visibility */
.about-hero .hero-overlay,
.tracking-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(13, 148, 136, 0.7) 100%);
    z-index: 2;
}

/* Universal white text for all hero content */
.about-hero .hero-content,
.tracking-hero .hero-content,
.about-hero .hero-content *,
.tracking-hero .hero-content *,
.about-hero .hero-title,
.tracking-hero .hero-title,
.about-hero .hero-subtitle,
.tracking-hero .hero-subtitle {
    color: var(--white) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Universal breadcrumb styling */
.about-hero .breadcrumb-item a,
.tracking-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    text-decoration: none;
}

.about-hero .breadcrumb-item a:hover,
.tracking-hero .breadcrumb-item a:hover {
    color: var(--white) !important;
}

.about-hero .breadcrumb-item.active,
.tracking-hero .breadcrumb-item.active {
    color: var(--white) !important;
    font-weight: 600;
}

/* Responsive Hero Stats */
.hero-stats .stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

.hero-stats .stat-label {
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    font-size: clamp(0.75rem, 2vw, 0.9rem) !important;
}

@media (max-width: 768px) {
    .hero-stats {
        margin-top: 2rem !important;
    }
    
    .hero-stats .stat-number {
        font-size: clamp(1.2rem, 2.5vw, 1.5rem) !important;
    }
    
    .hero-stats .stat-label {
        font-size: clamp(0.7rem, 1.8vw, 0.8rem) !important;
    }
}

@media (max-width: 576px) {
    .hero-stats .stat-number {
        font-size: clamp(1rem, 2vw, 1.3rem) !important;
    }
    
    .hero-stats .stat-label {
        font-size: clamp(0.65rem, 1.5vw, 0.75rem) !important;
    }
}
