/* Page Header Banner */
.section-page-header {
    background-color: #003056;
    padding: 80px 0px;
    position: relative;
    background-image: url(../imgs/page/trackyourparcel/world-map.png);
    /* Using an existing generic bg or similar if available, otherwise just color */
    background-size: cover;
    background-position: center;
}

.section-page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 48, 86, 0.4);
    /* Reduced opacity to show image */
    z-index: 1;
}

.section-page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.section-page-header h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-page-header .subtitle {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.breadcrumb li a {
    color: #FFC107;
    /* Yellow accent */
    text-decoration: none;
    transition: 0.2s;
}

.breadcrumb li a:hover {
    color: #fff;
}

.breadcrumb li+li::before {
    content: "/";
    padding: 0 10px;
    color: #fff;
    opacity: 0.7;
}

/* --- Navigation Fixes for Localization --- */

/* Reduce padding on the nav container */
.header .main-header .header-left .header-nav {
    padding-left: 40px !important;
    /* Increased to push away from logo */
    width: auto !important;
    flex: 1;
    text-align: center !important;
    /* Center the menu items in the available space */
}

/* Reduce padding between menu items */
.header .main-menu li {
    padding-right: 0px !important;
    /* Reduced from 15px */
    display: inline-block;
    /* Ensure they respect text-align center */
    float: none !important;
    /* Use inline-block instead of float for centering */
}

/* Reduce padding inside links and adjust font size */
.header .main-menu li a {
    padding: 28px 10px 28px 10px !important;
    /* Reduced horizontal padding */
    font-size: 15px !important;
    /* Slightly smaller to fit longer text */
}

/* Adjust arrow position for dropdowns */
.header .main-menu li.has-children>a::after {
    right: -2px !important;
    /* Adjust since we reduced padding */
}

/* Ensure the header right section doesn't take unnecessary fix width causing wrap */
.header .main-header .header-left .header-right {
    min-width: unset !important;
    width: auto !important;
    flex-shrink: 0;
}

/* --- Dropdown Improvements --- */
.header .main-menu li ul {
    min-width: 200px !important;
    /* Reduced min-width to make it less "big" */
    padding: 5px 0 !important;
    /* Reduced vertical padding on the container */
}

.header .main-menu li ul li a {
    padding: 6px 15px !important;
    /* Reduced padding (originally 6px 22px) */
    font-size: 14px !important;
}

/* --- Footer Customizations --- */
.footer {
    background-color: #003056;
    /* Deep Brand Blue */
    color: #fff;
    font-family: 'Manrope', sans-serif;
}

.footer-1 {
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: transparent;
    /* Uses parent bg */
}

.footer-2 {
    background-color: rgba(0, 0, 0, 0.2);
    /* Slightly darker for bottom */
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h5.color-brand-1,
.footer h6.color-brand-1,
.footer span.color-brand-1 {
    color: #fff !important;
    /* Override brand color to white for better contrast on dark footer */
    opacity: 0.95;
    font-weight: 700;
}

.footer .menu-footer li a {
    color: #d1d5db;
    /* Light grey */
    font-size: 15px;
    font-weight: 700 !important;
    /* Bold like top menu */
    line-height: 2.2;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.footer .menu-footer li a:hover {
    color: #fe7701;
    /* Brand Yellow */
    padding-left: 5px;
}

.footer .payment-icon {
    height: 35px;
    border-radius: 4px;
    background-color: #fff;
    padding: 2px;
    transition: transform 0.2s;
}

.footer .payment-icon:hover {
    transform: translateY(-2px);
}

.footer .social-icons {
    display: flex;
    gap: 8px;
}

.footer .icon-socials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50% !important;
    color: #fff;
    transition: all 0.3s ease;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px !important;
}

.footer .icon-socials:hover {
    background-color: #fe7701;
    color: #003056;
    transform: translateY(-3px);
}

/* Specific icon background adjustments if they are using images */
.footer .icon-facebook {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'%3E%3C/path%3E%3C/svg%3E");
}

.footer .icon-instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
}

.footer .icon-twitter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'%3E%3C/path%3E%3C/svg%3E");
}

.footer .icon-linkedin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'%3E%3C/path%3E%3Crect x='2' y='9' width='4' height='12'%3E%3C/rect%3E%3Ccircle cx='4' cy='4' r='2'%3E%3C/circle%3E%3C/svg%3E");
}

.footer .icon-youtube {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z'%3E%3C/path%3E%3Cpolygon points='9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02'%3E%3C/polygon%3E%3C/svg%3E");
}

.footer .icon-skype {
    display: none;
}

/* Hide skype if not needed, or add svg */

.footer .menu-bottom li a {
    color: #9ca3af !important;
}

.footer .menu-bottom li a:hover {
    color: #fff !important;
}

/* Ensure Logo in Footer is OK */
.footer-1 img[src*='logo- footer-wakavite.png'] {
    background-color: transparent !important;
    padding: 0px;
    border-radius: 0px;
    width: auto;
    height: 60px;
    /* Constrain height */
}


/* Fix footer contact info color */
.footer .galleries-footer span,
.footer .galleries-footer li {
    color: #e5e7eb !important;
    /* Light grey */
}


/* Backup fix for old footer layout if present */
.footer .cardInfo p.color-grey-900,
.footer .cardInfo p {
    color: #e5e7eb !important;
}

/* Global Bold for Footer */
.footer p,
.footer span,
.footer li,
.footer div,
.footer a {
    font-weight: 500 !important;
}


/* Styles for Payment Section in Footer */
.footer h6.color-brand-1.payment-header {
    color: #ff6600 !important;
    /* Orange to match user request */
    font-size: 18px;
    /* Slightly larger heading */
}

/* Ensure payment icons fit on one line */
.footer .payment-icon {
    height: 30px !important;
    /* Reduced from 35px */
    width: auto;
    padding: 1px;
}

.footer .payment-icons-container {
    gap: 8px !important;
    /* Ensure tight gap */
    flex-wrap: nowrap !important;
    /* Force single line */
}

/* --- Custom Preloader --- */
.preloader-inner {
    width: 60px;
    height: 60px;
    position: relative;
}

.wakavite-spinner {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(254, 119, 1, 0.2);
    border-top-color: #fe7701;
    border-radius: 50%;
    animation: wakavite-spin 1s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
}

.wakavite-loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px !important;
    height: 24px !important;
    animation: none !important;
}

@keyframes wakavite-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Fix horizontal scrollbar */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}