    body {
      margin: 0;
      padding: 0;
      font-family: 'Poppins', sans-serif;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #334155;
      overflow-x: hidden;
      position: relative;
    }

    #page-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -2;
      background: url('../img/uaf-bg.png') no-repeat center center fixed;
      background-size: cover;
    }

    #page-bg::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.8) 100%);
      z-index: -1;
    }

    /* Removing bus styles */

    /* Badge */
    /* Badge */
    .badge-updated {
      background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
      color: #ffffff;
      font-size: 0.75rem;
      font-weight: 800; /* Bolder */
      padding: 0.5em 1.2em;
      border-radius: 50px;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 0.8rem;
      display: inline-block;
      box-shadow: 0 4px 10px rgba(218, 165, 32, 0.4); /* Gold Glow */
      text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    /* Main Headings */
    .main-title {
      font-weight: 800;
      color: #ffffff; /* White for high contrast */
      font-size: 2.75rem;
      margin-bottom: 0.2rem;
      text-align: center;
      padding: 0 1rem;
      text-shadow: 0 4px 10px rgba(0,0,0,0.5);
      letter-spacing: -0.5px;
    }
    .main-subtitle {
        color: #e2e8f0; /* Light slate for contrast */
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
        text-align: center;
        padding: 0 1rem;
        text-shadow: 0 2px 5px rgba(0,0,0,0.3);
        font-weight: 500;
    }

    /* STACK CONTAINER STYLES */
    /* FLIP CONTAINER STYLES */
    .stack-container {
      position: relative;
      width: 90%;
      max-width: 450px;
      height: 480px;
      margin-bottom: 2rem;
      perspective: 1000px;
    }
    
    /* INNER FLIPPER */
    .flipper {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 1.5s cubic-bezier(0.4, 0.2, 0.2, 1); /* Slower flip like book */
      transform-style: preserve-3d;
      transform-origin: center; /* Center flip */
    }
    
    .stack-container.flip .flipper {
      transform: rotateY(-180deg); /* Flip left */
    }

    .card-panel {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #ffffff;
      border-radius: 24px;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2.5rem 1.5rem;
      text-align: center;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }

    /* FRONT FACE */
    .card-welcome {
      z-index: 2;
      transform: rotateY(0deg);
      background: white;
    }
    
    /* BACK FACE */
    .card-search {
      transform: rotateY(180deg); /* Start flipped */
      z-index: 1;
    }

    /* Icon */
    .icon-circle {
      width: 80px;
      height: 80px;
      /* Navy Blue Gradient: Dark Blue -> Royal Blue */
      background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.2rem auto;
      color: white;
      font-size: 2rem;
      /* Adjusted Shadow to Blue */
      box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    }

    .card-title {
        font-weight: 700;
        color: #1e293b;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    .card-text {
        color: #64748b;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* Input Container */
    .input-wrapper {
        border: 2px solid #e2e8f0;
        border-radius: 16px;
        padding: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        transition: all 0.2s;
        background: #fff;
        width: 100%;
    }
    .input-wrapper:focus-within {
        /* Focus Border: Navy Blue */
        border-color: #1e3a8a;
        box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
    }
    
    .input-part {
        border: none;
        outline: none;
        text-align: center;
        font-size: 1.25rem;
        font-weight: 600;
        color: #334155;
        width: 80px;
        background: transparent;
    }
    .input-part::placeholder {
        color: #cbd5e1;
        font-weight: 500;
    }
    .input-separator {
        font-weight: 700;
        color: #94a3b8;
        font-size: 1.25rem;
        user-select: none;
        margin: 0 5px;
    }

    /* Checkbox */
    .form-check {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 2rem;
        gap: 0.5rem;
    }
    .form-check-input {
        width: 1.2em;
        height: 1.2em;
        margin-top: 0;
        border-color: #cbd5e1;
        cursor: pointer;
    }
    .form-check-input:checked {
        /* Checkbox Checked: Navy Blue */
        background-color: #1e3a8a;
        border-color: #1e3a8a;
    }
    .form-check-label {
        color: #64748b;
        font-size: 0.95rem;
        cursor: pointer;
    }

    /* Button */
    .btn-submit {
        /* Button Gradient: Very Dark Navy -> Royal Blue -> Blue */
        background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
        background-size: 200% auto;
        color: white;
        border: none;
        width: 100%;
        padding: 1rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1.05rem;
        transition: 0.5s;
        box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    .btn-submit:hover {
        background-position: right center;
        transform: translateY(-2px);
        box-shadow: 0 15px 20px -3px rgba(30, 58, 138, 0.4);
        color: white;
    }
    .btn-submit:active {
        transform: translateY(0);
    }

    /* Loading */
    .loading-view {
        display: none;
        width: 100%;
    }
    .progress {
        height: 10px;
        border-radius: 10px;
        background-color: #f1f5f9;
        margin-top: 1rem;
        overflow: hidden;
    }
    .progress-bar {
        background: linear-gradient(90deg, #1e3a8a, #3b82f6);
        transition: width 0.05s linear;
    }
    
    /* Water Fill Animation */
    .water-fill {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0%;
        /* Water Gradient: Navy Blue Tint -> Royal Blue Tint */
        background: linear-gradient(180deg, rgba(30, 58, 138, 0.4) 0%, rgba(59, 130, 246, 0.6) 100%);
        z-index: 0;
        transition: height 0.1s linear;
        border-radius: 0 0 24px 24px; /* Match card radius */
        overflow: hidden;
    }
    
    /* Dynamic border radius for top while filling */
    .water-fill::before {
        content: "";
        position: absolute;
        top: -10px;
        left: 0;
        width: 200%;
        height: 20px;
        /* Using Navy Blue wave */
        background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(30, 58, 138, 0.4)"></path></svg>');
        background-size: 50% 100%;
        animation: wave 1s linear infinite;
    }

    @keyframes wave {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    .water-progress-text {
        position: absolute;
        top: 20px;
        right: 25px;
        font-weight: 800;
        font-size: 1.5rem;
        /* Text Color: Navy Blue */
        color: #1e3a8a;
        z-index: 10;
        opacity: 0; /* Hidden initially */
        transition: opacity 0.3s;
    }

    /* Content Transition */
    .content-fade {
        transition: opacity 0.3s;
        z-index: 1;
        position: relative;
    }



    /* Header & Contact Styles */
    .app-header {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      padding: 1.5rem 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 100;
      pointer-events: none; /* Let clicks pass through header area */
    }
    
    .header-logo {
        height: 90px;
        width: auto;
        pointer-events: auto;
        /* Make white transparent on light bg */
        mix-blend-mode: multiply;
        filter: contrast(1.1);
    }
    
    .contact-btn {
        background: white;
        color: #1e3a8a;
        padding: 0.7rem 1.5rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        transition: all 0.3s;
        pointer-events: auto;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        border: 1px solid rgba(255,255,255,0.5);
    }
    
    .contact-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.15);
        color: #1e3a8a;
        background: #f8fafc;
    }
    
    .contact-modal-content {
        border-radius: 24px;
        border: none;
        text-align: center;
        padding: 2rem;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }

    @media (max-width: 768px) {
        .main-title { font-size: 2.25rem; }
        .main-subtitle { font-size: 1.05rem; }
        .stack-container { height: 470px; width: 90%; }
    }

    @media (max-width: 576px) {
        body { justify-content: center; padding: 2rem 0; min-height: 100vh; }
        .main-title { font-size: 1.85rem; margin-top: 0; }
        .main-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
        .stack-container { height: 460px; width: 92%; margin-bottom: 1.5rem; }
        .card-panel { padding: 2.5rem 1.5rem; }
        .app-header { 
            position: fixed; 
            padding: 1rem; 
            justify-content: flex-end; 
            background: transparent;
            width: 100%;
        }
        .contact-btn { 
            font-size: 0.8rem; 
            padding: 0.5rem 1rem; 
            margin-right: 0.5rem;
        }
        .icon-circle { width: 75px; height: 75px; font-size: 1.8rem; margin-bottom: 1.2rem; }
        .card-title { font-size: 1.4rem; }
        .input-part { font-size: 1.2rem; width: 75px; }
    }
