/* ==========================================================================
   🇮🇳 Indian Independence Day Theme & Hero Section Stylesheet
   ========================================================================== */

:root {
    --tricolor-saffron: #FF9933;
    --tricolor-saffron-dark: #E65100;
    --tricolor-white: #FFFFFF;
    --tricolor-green: #138808;
    --tricolor-green-dark: #15803d;
    --ashoka-navy: #000080;
}

/* Announcement Ticker Bar */
.tricolor-ticker-bg {
    background: linear-gradient(90deg, #0f172a 0%, #FF9933 25%, #000080 50%, #138808 75%, #0f172a 100%) !important;
}

/* Hero Section Components */
.hero-radar-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.hero-tricolor-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 80% 30%, rgba(255, 153, 51, 0.14) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 20% 70%, rgba(19, 136, 8, 0.14) 0%, rgba(248, 250, 252, 0) 50%);
}

.hero-ashoka-bg {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.5rem;
    pointer-events: none;
    opacity: 0.25;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(19, 136, 8, 0.15) 100%) !important;
    border: 1px solid rgba(255, 153, 51, 0.35) !important;
    border-left: 4px solid #FF9933 !important;
    border-right: 4px solid #138808 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.12) !important;
}

.hero-badge-dot {
    font-size: 8px;
}

.hero-search-icon {
    color: #FF9933;
}

.btn-hero-search {
    white-space: nowrap;
}

.hero-features-list {
    color: #475569;
    font-size: 13px;
}

.hero-banner-img {
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(255, 153, 51, 0.18), 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-banner-img:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 48px rgba(255, 153, 51, 0.25) !important;
}

/* Card Tri-Color Top Accent Ribbons */
.home-card,
.product-card,
.service-card,
.dlock-plan-card {
    position: relative;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
}

.home-card::before,
.product-card::before,
.dlock-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #FF9933 0%, #ffffff 40%, #000080 50%, #ffffff 60%, #138808 100%);
    z-index: 2;
}

.home-card:hover,
.product-card:hover,
.dlock-plan-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(255, 153, 51, 0.15), 0 4px 14px rgba(19, 136, 8, 0.1) !important;
    border-color: rgba(255, 153, 51, 0.45) !important;
}

/* Patriotic Buttons */
.btn-brand, .btn-freedom {
    background: linear-gradient(135deg, #FF9933 0%, #e65100 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 153, 51, 0.35) !important;
    transition: all 0.25s ease !important;
}

.btn-brand:hover, .btn-freedom:hover {
    background: linear-gradient(135deg, #138808 0%, #15803d 100%) !important;
    box-shadow: 0 6px 18px rgba(19, 136, 8, 0.4) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* Flag Badge Pill */
.flag-badge-pill {
    background: linear-gradient(90deg, #FF9933 0%, #ffffff 50%, #138808 100%);
    color: #0f172a;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Independence Offer Modal Styles */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(255, 153, 51, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0); }
}

.offer-discount-badge {
    animation: pulseGlow 2s infinite;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .hero-banner-img {
        max-height: 280px !important;
    }
}

@media (max-width: 575px) {
    .hero-banner-img {
        max-height: 220px !important;
    }
}
