/*
 * FATKOT GLOBAL LIMITED — Frontend Custom CSS
 * Applied on top of National Cab / Bootstrap 3 theme
 * Version: 2.0 — Icon fix using display:table (Bootstrap 3 safe)
 */

/* ============================================================
   BOOTSTRAP 3 NUCLEAR OVERRIDE
   Forces visible text on ALL selects and file inputs sitewide
   Must be first so other rules can build on it
   ============================================================ */
select,
select.form-control,
input[type="file"],
input[type="file"].form-control {
    color: #333333 !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #333333 !important;
    opacity: 1 !important;
}
select option {
    color: #333333 !important;
    background-color: #ffffff !important;
}

:root {
    --fatkot-gold:       #F5A623;
    --fatkot-gold-dark:  #D98E1A;
    --fatkot-gold-light: #FFB938;
    --fatkot-black:      #0A0A0A;
    --fatkot-black-alt:  #121212;
    --fatkot-steel:      #6B7280;
    --fatkot-blue:       #4FA3D1;
}

/* ============================================================
   OVERRIDE: National Cab red → FATKOT Gold
   ============================================================ */
.top-header .top-menu ul li a:hover { color: var(--fatkot-gold) !important; }
.phone p span { color: var(--fatkot-gold) !important; }
.subscribe-box .input-group-btn > .btn {
    background-color: var(--fatkot-gold) !important;
    border-color: var(--fatkot-gold) !important;
    color: #000 !important;
    font-weight: 700;
}

/* ============================================================
   NAVIGATION CTA BUTTON
   ============================================================ */
.fatkot-cta-btn {
    background: linear-gradient(135deg, var(--fatkot-gold), var(--fatkot-gold-dark));
    color: #000 !important;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s;
    font-family: 'Cabin', sans-serif;
}
.fatkot-cta-btn:hover {
    background: linear-gradient(135deg, var(--fatkot-gold-light), var(--fatkot-gold));
    box-shadow: 0 5px 20px rgba(245,166,35,0.4);
    transform: translateY(-1px);
    color: #000 !important;
    text-decoration: none;
}

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.ow-navigation {
    background: var(--fatkot-black) !important;
    border: none !important;
}
.ow-navigation .nav > li > a {
    color: #ccc !important;
    font-family: 'Cabin', sans-serif;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 14px;
    transition: color 0.25s;
}
.ow-navigation .nav > li > a:hover,
.ow-navigation .nav > li.active > a {
    color: var(--fatkot-gold) !important;
    background: transparent !important;
}
.ow-navigation .dropdown-menu {
    background: var(--fatkot-black-alt);
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: 4px;
    padding: 8px 0;
}
.ow-navigation .dropdown-menu > li > a {
    color: #ccc !important;
    padding: 10px 20px;
    font-size: 13px;
    transition: all 0.2s;
}
.ow-navigation .dropdown-menu > li > a:hover {
    background: rgba(245,166,35,0.1) !important;
    color: var(--fatkot-gold) !important;
}

/* ============================================================
   HEADERS
   ============================================================ */

/* Middle header — black background matching letterhead */
.middle-header,
.middle-header.container-fluid {
    background: #0A0A0A !important;
    border-bottom: 4px solid var(--fatkot-gold) !important;
    padding: 0 !important;
}

/* Override Bootstrap .logo-block absolute positioning */
.middle-header .logo-block a {
    padding-left: 0 !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
}
.middle-header .logo-block a img {
    position: static !important;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .middle-header .container > div {
        justify-content: center !important;
        padding: 14px 12px !important;
        gap: 14px !important;
    }
    .middle-header img {
        width: 80px !important;
        height: 80px !important;
    }
}
.top-header { background: var(--fatkot-black) !important; }
.top-header .social li a { color: #888; transition: color 0.2s; }
.top-header .social li a:hover { color: var(--fatkot-gold); }
.top-header .top-menu ul li a { color: #aaa !important; }
.top-header .top-menu ul li:before { color: #444; }

/* ============================================================
   PAGE BANNER
   ============================================================ */
.page-banner .page-heading h3 {
    color: var(--fatkot-gold) !important;
    font-family: 'Cabin', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header h3 {
    color: var(--fatkot-black) !important;
    position: relative;
}
.section-header h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--fatkot-gold);
    margin: 10px 0 0;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.fatkot-service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.fatkot-service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fatkot-gold), var(--fatkot-gold-dark));
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.fatkot-service-card:hover::before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.fatkot-service-card:hover {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* -------------------------------------------------------
   ICON CIRCLE — display:table method
   Works with Bootstrap 3, Font Awesome, no flex conflicts
   ------------------------------------------------------- */
.fatkot-service-card .svc-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(245,166,35,0.12);
    display: table;
    margin: 0 auto 22px;
    transition: background 0.3s;
}
.fatkot-service-card .svc-icon-circle > span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 80px;
    height: 80px;
}
.fatkot-service-card .svc-icon-circle > span > i {
    font-size: 32px;
    color: var(--fatkot-gold);
    display: inline;
    line-height: 1;
}
.fatkot-service-card:hover .svc-icon-circle {
    background: var(--fatkot-gold);
}
.fatkot-service-card:hover .svc-icon-circle > span > i {
    color: #000;
}

.fatkot-service-card h4 {
    font-family: 'Cabin', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    color: var(--fatkot-black);
    margin-bottom: 10px;
}
.fatkot-service-card p {
    color: var(--fatkot-steel);
    font-size: 13px;
    line-height: 22px;
}

/* ============================================================
   HOW IT WORKS — STEP CIRCLES
   Same display:table approach
   ============================================================ */
.fatkot-step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fatkot-gold), var(--fatkot-gold-dark));
    display: table;
    margin: 0 auto 16px;
    box-shadow: 0 8px 25px rgba(245,166,35,0.35);
}
.fatkot-step-circle > span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 80px;
    height: 80px;
}
.fatkot-step-circle > span > i {
    font-size: 30px;
    color: #000;
    display: inline;
    line-height: 1;
}

/* ============================================================
   WHY CHOOSE US — ICONS
   ============================================================ */
.fatkot-why-box i {
    font-size: 32px;
    color: var(--fatkot-gold);
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

/* ============================================================
   RFQ FORMS
   ============================================================ */
.fatkot-rfq-section { background: #f8f8f8; padding: 60px 0; }
.fatkot-rfq-form {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.fatkot-rfq-form h3 {
    font-family: 'Cabin', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--fatkot-black);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.fatkot-rfq-form .form-subtitle {
    color: var(--fatkot-steel);
    font-size: 13px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--fatkot-gold);
}
.fatkot-rfq-form .form-group label {
    font-weight: 600;
    font-size: 13px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fatkot-rfq-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s;
}
.fatkot-rfq-form .form-control:focus {
    border-color: var(--fatkot-gold);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}
/* Fix select option text visibility */
.fatkot-rfq-form select.form-control {
    cursor: pointer;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: menulist !important;
    background-color: #fff !important;
    color: #333 !important;
    padding-right: 30px;
}
.fatkot-rfq-form select.form-control option {
    background: #fff !important;
    color: #333 !important;
    font-size: 14px;
    padding: 8px;
}

/* ============================================================
   GLOBAL SELECT & FILE INPUT FIX
   Bootstrap 3 resets these — this override restores visibility
   ============================================================ */

/* Every select on the page */
select,
select.form-control,
.form-control[type="select"],
.fatkot-rfq-form select,
.fatkot-rfq-form select.form-control {
    color: #333333 !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #333333 !important;
    opacity: 1 !important;
}

/* Every option inside any select */
select option,
select.form-control option {
    color: #333333 !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #333333 !important;
}

/* Placeholder option (the "— Select —" first option) */
select option[value=""],
select option:first-child {
    color: #999999 !important;
}

/* File input fix — make label text visible */
input[type="file"],
input[type="file"].form-control {
    color: #333333 !important;
    background-color: #ffffff !important;
    padding: 8px 12px !important;
    height: auto !important;
    line-height: 1.5 !important;
    cursor: pointer;
}
input[type="file"]::-webkit-file-upload-button {
    background: linear-gradient(135deg, #F5A623, #D98E1A);
    color: #000;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 10px;
    font-family: 'Cabin', sans-serif;
}
input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, #F5A623, #D98E1A);
    color: #000;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 10px;
    font-family: 'Cabin', sans-serif;
}
.fatkot-form-section {
    margin: 28px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-family: 'Cabin', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--fatkot-gold);
}
.fatkot-submit-btn {
    background: linear-gradient(135deg, var(--fatkot-gold), var(--fatkot-gold-dark));
    color: #000;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cabin', sans-serif;
    width: 100%;
    margin-top: 10px;
}
.fatkot-submit-btn:hover {
    background: linear-gradient(135deg, var(--fatkot-gold-light), var(--fatkot-gold));
    box-shadow: 0 6px 25px rgba(245,166,35,0.4);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}
.required-mark { color: #e74c3c; margin-left: 3px; }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.fatkot-success-box {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto;
}
.fatkot-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(245,166,35,0.1);
    display: table;
    margin: 0 auto 24px;
    border: 3px solid var(--fatkot-gold);
}
.fatkot-success-icon > span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.fatkot-success-icon > span > i {
    font-size: 40px;
    color: var(--fatkot-gold);
    display: inline;
    line-height: 1;
}
.fatkot-ref-badge {
    display: inline-block;
    background: rgba(245,166,35,0.1);
    border: 1px solid rgba(245,166,35,0.3);
    color: var(--fatkot-gold-dark);
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 24px;
    border-radius: 6px;
    margin: 16px 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main { background: var(--fatkot-black) !important; }
.bottom-footer { background: #050505 !important; }
.footer-main .widget-title { color: var(--fatkot-gold) !important; }
.footer-main .widget-links ul li a:before {
    background-image: none !important;
    content: '›' !important;
    color: var(--fatkot-gold);
    font-size: 18px;
    line-height: 1;
}
