/* High-End UI Overrides for Yati Global Express */

/* -- 1. Global Polish -- */
body {
    background-color: #f9faff;
    /* Very subtle blue-grey tint for premium feel */
}

h2 {
    font-weight: 700 !important;
    letter-spacing: -1px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Add a premium underline to headings */
.sec_middle_title h2::after,
.our_about_left_content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0e718e;
    margin: 10px auto 0;
    border-radius: 2px;
}

.our_about_left_content h2::after {
    margin: 10px 0 0;
    /* Left align for about section */
}

/* -- 2. Floating Tracking Section -- */
.tracking-section-wrapper {
    position: relative;
    z-index: 10;
    /* margin-top: -80px; */
    /* Pull up to overlap slightly if desired, or just sit high */
    /* padding-bottom: 60px; */
}

.tracking-box-premium {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    /* Soft, deep shadow */
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.tracking-box-premium:hover {
    transform: translateY(-5px);
}

.tracking-box-premium h2 {
    font-size: 28px;
    color: #00044b;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tracking-box-premium p {
    color: #666;
    margin-bottom: 30px;
}

.tracking-input-group {
    display: flex;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.tracking-input-group input {
    flex: 1;
    height: 55px;
    padding: 0 25px;
    border-radius: 30px;
    border: 2px solid #eee;
    font-size: 16px;
    transition: all 0.3s;
}

.tracking-input-group input:focus {
    border-color: #00044b;
    box-shadow: 0 0 0 4px rgba(0, 4, 75, 0.1);
}

.btn-premium {
    height: 55px;
    padding: 0 40px;
    border-radius: 30px;
    background: #00044b;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 4, 75, 0.3);
}

.btn-premium:hover {
    background: #0e718e;
    /* Lighter blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 113, 142, 0.4);
}

/* -- 3. Modern Service Cards -- */
.service_box_area {
    padding-top: 60px;
    padding-bottom: 80px;
    background: #fff;
    position: relative;
    z-index: 5;
}

.service-card-modern {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #00044b;
}

.service-card-img {
    height: 220px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.service-card-modern:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 25px;
}

.service-card-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #00044b;
    margin-bottom: 15px;
}

.service-card-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* -- 4. Visual Process Flow -- */
.work-process-area {
    background: white;
    padding: 80px 0;
    position: relative;
    z-index: 5;
}

.process-step-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

/* The connecting line */
.process-step-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
    border-top: 2px dashed #bbb;
    background: none;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    background: white;
    /* To hide the line behind text if needed */
    width: 200px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #00044b;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(0, 4, 75, 0.2);
    transition: all 0.3s;
}

.process-step:hover .icon-circle {
    background: #0e718e;
    transform: scale(1.1);
}

.process-step h6 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* -- 5. Why Choose Us & Quote -- */
.why-choose_area {
    padding: 80px 0;
    background: #f4f6f9;
    position: relative;
    z-index: 5;
}

.quote-form-premium {
    background: #00044b;
    padding: 40px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 4, 75, 0.3);
}

.quote-form-premium h3 {
    color: white !important;
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.quote-form-premium input,
.quote-form-premium textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    width: 100%;
}

.quote-form-premium input::placeholder,
.quote-form-premium textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.quote-form-premium input:focus,
.quote-form-premium textarea:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.btn-quote {
    background: #0e718e;
    color: white;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-quote:hover {
    background: white;
    color: #00044b;
}

/* -- 6. Footer Fixes -- */
.site-footer {
    background: #00044b;
    /* Navy blue background as per new branding */
    color: #fff;
    padding-top: 60px;
    position: relative;
    z-index: 10;
    clear: both;
    /* Ensure it clears floating elements */
    margin-top: 0 !important;
    display: block !important;
    width: 100%;
}

.footer-area {
    display: block;
    width: 100%;
    overflow: hidden;
    /* Clearfix behavior */
}

/* Ensure row behaves correctly if flex is broken */
.footer-area .row {
    display: flex;
    flex-wrap: wrap;
}

.footer-widget-title h4 {
    color: #fff !important;
    border-bottom: 2px solid #0e718e;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-widget p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

.footer-widget-link ul li a,
.footer-widget-link-2 li a {
    color: #ccc;
    font-size: 14px;
    padding: 5px 0;
    display: block;
    transition: 0.3s;
}

.footer-widget-link ul li a:hover,
.footer-widget-link-2 li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Map Fixes */
.footer-map {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 5px;
}

.footer-map iframe {
    width: 100% !important;
    height: 200px !important;
    /* Fixed height for consistency */
    display: block;
}

.footer-menu-area {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #00033a;
    padding: 20px 0;
    margin-top: 50px;
    width: 100%;
    position: relative;
    clear: both;
    /* Ensure it sits below everything */
}

.footer-menu-area p {
    color: #888;
    margin: 0;
    font-size: 14px;
}

.footer-social-links-bar ul li {
    display: inline-block;
    margin-left: 15px;
}

.footer-social-links-bar ul li a {
    color: #fff;
    font-size: 16px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .tracking-section-wrapper {
        margin-top: 0;
    }

    .process-step-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .process-step-container::before {
        display: none;
    }

    .tracking-input-group {
        flex-direction: column;
    }

    .tracking-input-group input {
        width: 100%;
    }

    .btn-premium {
        width: 100%;
    }

    .footer-area .row>div {
        margin-bottom: 30px;
    }

    /* Add spacing on mobile */
    .footer-menu-area {
        text-align: center;
    }

    /* -- Ends Premium Overrides -- */
}