/* ==========================================================================
   New Header Styles — Two-Row Design (Top Nav + Location Ticker)
   ========================================================================== */

/* ── Reset original header position for two-row layout ──────────────────── */
header.main-header {
    position: relative;
    top: 0;
    width: 100%;
    border-bottom: none;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

/* Sticky behaviour */
header.main-header .header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

header.main-header .header-sticky.active {
    position: sticky;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    border-bottom: none;
}

/* ── Top Nav Row ─────────────────────────────────────────────────────────── */
.header-top-row {
    background: #fff;
    border-bottom: 1px solid #ebebeb;
}

.header-top-row .navbar {
    padding: 10px 0;
    background: #fff;
}

.header-top-row .navbar-brand img {
    max-height: 60px;
    width: auto;
}

/* Nav links — dark colour on white background */
.header-top-row .main-menu ul li a {
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 14px !important;
    transition: color 0.25s ease;
    position: relative;
}

/* Animated underline on hover */
.header-top-row .main-menu ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #e8400c;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-top-row .main-menu ul > li > a:hover::after,
.header-top-row .main-menu ul > li.active > a::after,
.header-top-row .main-menu ul > li.current > a::after {
    transform: scaleX(1);
}

.header-top-row .main-menu ul li a:hover,
.header-top-row .main-menu ul li a:focus {
    color: #e8400c;
}

/* Active / current link */
.header-top-row .main-menu ul li.active > a,
.header-top-row .main-menu ul li.current > a {
    color: #e8400c;
    font-weight: 700;
}

/* Dropdowns — no underline animation inside dropdown */
.header-top-row .main-menu ul ul li a::after {
    display: none;
}

/* Dropdowns on white bg */
.header-top-row .main-menu ul ul {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.header-top-row .main-menu ul ul li a {
    color: #1a1a2e;
    padding: 8px 18px !important;
}

.header-top-row .main-menu ul ul li a:hover {
    color: #e8400c;
    background: #fff7f4;
    padding-left: 22px !important;
}

/* "Get Free Quote" orange button */
.btn-get-quote {
    background: #e8400c !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 22px 12px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-transform: none !important;
    border: 2px solid #e8400c !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}

.btn-get-quote::before {
    display: none !important;
}

.btn-get-quote:hover {
    background: #fff !important;
    color: #e8400c !important;
    border-color: #e8400c !important;
}

/* ── Location Ticker Row ─────────────────────────────────────────────────── */
.header-location-ticker {
    background: #0f1b2d;
    padding: 0;
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
}

.ticker-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Left badge — "All India Delivery" */
.ticker-label {
    flex-shrink: 0;
    background: #e8400c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.ticker-label i {
    font-size: 10px;
    animation: blink 1.4s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Scrolling track wrapper */
.ticker-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Gradient fade edges */
.ticker-track-wrapper::before,
.ticker-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.ticker-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0f1b2d 0%, transparent 100%);
}

.ticker-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0f1b2d 0%, transparent 100%);
}

/* The actual scrolling strip */
.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
    will-change: transform;
}

.ticker-track span {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ticker-track span i {
    font-size: 5px;
    color: #e8400c;
    vertical-align: middle;
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover */
.ticker-track-wrapper:hover .ticker-track {
    animation-play-state: paused;
}

/* ── Contact form feedback messages ─────────────────────────────────────── */
.contact-form-msg {
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-block;
}

.contact-form-msg.success-msg {
    background: #e6f9f0;
    color: #1a7a4a;
    border: 1px solid #b3e6cc;
}

.contact-form-msg.error-msg {
    background: #fff0ee;
    color: #c0392b;
    border: 1px solid #f5c0b8;
}

.contact-form-msg i {
    margin-right: 6px;
}

/* ── Hero padding — push content below sticky two-row header ─────────────── */
/* The original hero was overlapping because header was position:absolute.
   Now that the header is in flow (sticky), remove the top padding offset. */
.hero {
    padding-top: 0 !important;
}

/* Page-header parallax also needs to sit below the new header */
.page-header.parallaxie {
    margin-top: 0;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .header-top-row .main-menu ul li a {
        color: #1a1a2e;
    }
    .btn-get-quote {
        margin: 10px 0 !important;
    }
    .header-location-ticker {
        height: auto;
        min-height: 34px;
    }
    .ticker-label {
        font-size: 11px;
        padding: 6px 12px;
    }
    .ticker-track span {
        font-size: 12px;
        padding: 0 14px;
    }
}

@media (max-width: 575px) {
    .ticker-label {
        display: none;
    }
}


/* ==========================================================================
   Static Hero Banner — Single Image (replaces swiper slider)
   ========================================================================== */

.hero.hero-static {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0 80px;
    background: #0b1a35;
}

/* Background image */
.hero-static-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-static-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
}

/* Dark gradient overlay — stronger on right so text is readable */
.hero.hero-static::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10,20,50,0.92) 40%, rgba(10,20,50,0.55) 100%);
    z-index: 1;
}

.hero.hero-static .container {
    position: relative;
    z-index: 2;
}

/* ── Content ─────────────────────────────────────────────────────────────── */
.hero-static-content {
    padding: 50px 0 10px 40px;
}

/* Heading */
.hero-static-title {
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

.hero-static-title .hero-highlight {
    color: #f4823a;
    display: block;
}

/* Description */
.hero-static-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin: 0 0 28px;
}

/* ── Feature pills grid ──────────────────────────────────────────────────── */
.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,0.90);
    font-size: 14px;
    font-weight: 500;
}

.hero-feature-item i {
    color: #4ade80;
    font-size: 15px;
    flex-shrink: 0;
}

.hero-feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.35);
    border-radius: 7px;
    flex-shrink: 0;
    color: #4ade80;
}

.hero-feat-icon svg {
    width: 16px;
    height: 16px;
    stroke: #4ade80;
}

/* ── Three CTA buttons ───────────────────────────────────────────────────── */
.hero-static-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* Shared button base */
.hero-static-btns a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    white-space: nowrap;
}

.hero-static-btns a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-static-btns a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.30);
}

/* Button 1 — Get Free Quote (orange/red) */
.hero-btn-quote {
    background: #e8400c;
    color: #fff !important;
    border: 2px solid #e8400c;
}

.hero-btn-quote:hover {
    background: #c93309;
    border-color: #c93309;
}

/* Button 2 — Call (dark charcoal) */
.hero-btn-call {
    background: #2a2f3e;
    color: #fff !important;
    border: 2px solid #444b5e;
}

.hero-btn-call:hover {
    background: #373e52;
    border-color: #373e52;
}

/* Button 3 — WhatsApp (green) */
.hero-btn-whatsapp {
    background: #25d366;
    color: #fff !important;
    border: 2px solid #25d366;
}

.hero-btn-whatsapp:hover {
    background: #1db954;
    border-color: #1db954;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hero.hero-static {
        min-height: auto;
        padding: 70px 0 60px;
    }

    .hero-static-content {
        padding: 30px 0 0 15px;
    }

    .hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
    }

    .hero-static-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-static-btns a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-features {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Hero Banner — Right Side Contact Form
   ========================================================================== */

.hero-contact-form {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 28px 26px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    margin-top: 40px;
}

/* Form header */
.hero-form-header {
    margin-bottom: 20px;
    text-align: center;
}

.hero-form-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
    line-height: 1.2;
}

.hero-form-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Each input row */
.hero-form-group {
    position: relative;
    margin-bottom: 11px;
}

.hero-form-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.hero-form-icon svg {
    width: 15px;
    height: 15px;
    stroke: rgba(255, 255, 255, 0.5);
}

/* Inputs & selects */
.hero-form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    padding: 10px 12px 10px 36px;
    font-size: 13.5px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.4;
}

.hero-form-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hero-form-input:focus {
    border-color: #e8400c;
    background: rgba(255, 255, 255, 0.13);
}

/* Select arrow */
.hero-form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.hero-form-select option {
    background: #0f1b2d;
    color: #ffffff;
}

/* Date input calendar icon colour fix */
.hero-form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.6);
    cursor: pointer;
}

/* Submit button */
.hero-form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 14px;
    padding: 13px 20px;
    background: #e8400c;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
}

.hero-form-submit svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hero-form-submit:hover {
    background: #c93309;
    transform: translateY(-1px);
}

.hero-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Feedback message */
.hero-form-msg {
    font-size: 13px;
    border-radius: 7px;
    padding: 0;
    margin-top: 4px;
}

.hero-form-msg.success-msg {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 8px 12px;
}

.hero-form-msg.error-msg {
    background: rgba(232, 64, 12, 0.12);
    color: #ff8060;
    border: 1px solid rgba(232, 64, 12, 0.3);
    padding: 8px 12px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .hero-contact-form {
        margin-top: 30px;
        padding: 22px 18px 20px;
    }
}

@media (max-width: 767px) {
    .hero-contact-form {
        backdrop-filter: none;
        background: rgba(10, 20, 50, 0.88);
    }
}
