/* ==========================================
   CSS Reset & Base Styles
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    overflow-x: hidden;

}

/* ==========================================
   CSS Variables
   ========================================== */
:root {
    --bs-primary: #0E2275;
    --bs-primary-rgb: 14, 34, 117;
    --warning-color: #f58220;
    --warning-outline: #f47b14;
    --nav-accent: #FFBC09;
}

/* ==========================================
   Buttons & Backgrounds
   ========================================== */
.btn-primary {
    background-color: #0E2275 !important;
    border-color: #0E2275 !important;
}

.btn-primary:hover {
    background-color: #0E2275 !important;
    border-color: #0E2275 !important;
    opacity: 0.9;
}

.btn-warning {
    background-color: var(--warning-color) !important;
    border-color: var(--warning-color) !important;
}

.bg-warning {
    background-color: var(--warning-color) !important;
    border-color: var(--warning-color) !important;
}

.btn-custom {
    background-color: var(--warning-color) !important;
    color: #fff;
}

.btn_primary_outline {
    background-color: transparent !important;
    border-color: var(--warning-outline) !important;
    color: var(--warning-outline) !important;
    font-weight: bold;
    border-radius: 12px !important;
}

/* ==========================================
   Utilities
   ========================================== */
.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.cursor-pointer {
    cursor: pointer;
}

/* ==========================================
   Navigation (Pills)
   ========================================== */
ul#pills-tab {
    gap: 10px;
    font-weight: bold;
}

ul#pills-tab .nav-link {
    color: var(--nav-accent);
    border: 1px solid;
}

.nav-pills .nav-link.active, 
.nav-pills .show > .nav-link {
    color: #fff !important;
    background: linear-gradient(270deg, #bf6464 0%, #4c51a3 100%);
}

/* ==========================================
   Components & Layouts
   ========================================== */
.banner-image {
    max-height: 550px;
}

.banner-content {
    top: 50%;
}

.owl-carousel .owl-stage {
    display: flex;
    padding: 2px;
}

.owl-carousel .owl-item {
    display: flex;
    height: auto;
}

.owl-carousel .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #ddd;
}

/* Timeline */
.timeline {
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 5%;
    width: 90%;
    height: 3px;
    background: #dee2e6;
    z-index: 0;
}

.step-box {
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Overlay Layer & Fields */
.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.form-select {
    padding: 1rem 2.25rem 0.375rem 0.75rem !important;
}

#timer {
    border-radius: 8px;
    font-size: 18px;
}

/* Announcement Box */
.announcement-bar {
    margin: 0 0 10px;
}

.announcement-box {
    background: linear-gradient(
        135deg,
        #FF7A18 0%,
        #FF8C42 35%,
        #F59E0B 70%,
        #FACC15 100%
    );
    background-size: 200% 200%;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 8px 28px;
    font-size: 15px;
    box-shadow:
        0 14px 35px rgba(255, 122, 24, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    text-align: center;
    animation: gradientFlow 8s ease infinite;
}

.announcement-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );
    transform: skewX(-25deg);
    animation: shine 5s infinite;
}

.announcement-box strong {
    font-weight: 800;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes shine {
    100% {
        left: 150%;
    }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================
   Responsive Styles
   ========================================== */
@media (max-width: 768px) {
    .custom-header .container-fluid,
    .announcement-bar .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .announcement-box {
        flex-direction: column;
        gap: 6px;
        font-size: 12px;
        padding: 12px 16px;
        border-radius: 16px;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    .banner-content {
        top: 40%;
    }
    .chat-toggle {
        bottom: 65px !important;
    }
}
