/* ==========================================================================
   Premium RailYatri Replica - High End Animations
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ry-blue: #01478c;
    --ry-blue-dark: #002d5c;
    --ry-gold: #f2a900;
    --ry-red: #d92228;
    --text-dark: #212121;
    --text-grey: #757575;
    --bg-light: #f5f7f9;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 20px 40px rgba(1, 71, 140, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light); /* Fixed! Was completely blue before */
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(1, 71, 140, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(1, 71, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(1, 71, 140, 0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   Header Top
   ========================================================================== */
.header-wrapper {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.saving-strip {
    background-color: var(--white);
    text-align: center;
    padding: 8px 20px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}
.saving-strip strong {
    color: var(--text-dark);
}

.main-header {
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo-area i {
    font-size: 28px;
    color: var(--ry-blue);
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 900;
    color: var(--ry-blue);
    letter-spacing: -0.5px;
}
.logo-text h1 span { color: var(--ry-red); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.radio-group {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-grey);
    white-space: nowrap;
}
.radio-group label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.radio-group label:hover { color: var(--ry-blue); }
.radio-group input { accent-color: var(--ry-blue); transform: scale(1.1); margin: 0; }

.status-form {
    display: flex;
    box-shadow: var(--shadow-sm);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
}
.status-form:focus-within {
    box-shadow: 0 0 0 2px rgba(1,71,140,0.2);
}
.status-form input {
    border: 1px solid #e0e0e0;
    border-right: none;
    padding: 10px 15px;
    outline: none;
    font-size: 13px;
    width: 170px;
}
.status-form button {
    background: var(--ry-blue);
    color: var(--white);
    border: none;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.status-form button:hover { background: var(--ry-blue-dark); }

.btn-login {
    border: 2px solid var(--ry-blue);
    color: var(--ry-blue);
    background: transparent;
    padding: 8px 25px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-login:hover {
    background: var(--ry-blue);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.menu-strip {
    border-top: 1px solid #eee;
    background: var(--white);
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
}
.menu-strip a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.menu-strip a i { color: var(--ry-blue); font-size: 18px; }
.menu-strip a:hover { color: var(--ry-red); }

/* ==========================================================================
   Hero Section & Video Background
   ========================================================================== */
.hero-section {
    background-color: var(--ry-blue-dark);
    position: relative;
    padding: 70px 20px 180px 20px;
    overflow: hidden;
}

.hero-image-bg {
    position: absolute;
    top: -10%; left: -10%;
    width: 120%; height: 120%;
    background-position: center;
    background-size: cover;
    z-index: 0;
    opacity: 0;
}

.bg-metro {
    background-image: url('../images/bg-metro.png');
    animation: cinematicFade1 30s infinite;
}

.bg-train {
    background-image: url('../images/bg-train.png');
    animation: cinematicFade2 30s infinite;
}

@keyframes cinematicFade1 {
    0%   { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
    40%  { opacity: 1; transform: translate(-4%, 2%) scale(1.05) rotate(0.5deg); }
    50%  { opacity: 0; transform: translate(-5%, 2.5%) scale(1.07) rotate(0.6deg); }
    90%  { opacity: 0; transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes cinematicFade2 {
    0%   { opacity: 0; transform: translate(0, 0) scale(1) rotate(0deg); }
    40%  { opacity: 0; transform: translate(0, 0) scale(1) rotate(0deg); }
    50%  { opacity: 1; transform: translate(2%, -2%) scale(1.03) rotate(-0.3deg); }
    90%  { opacity: 1; transform: translate(5%, -4%) scale(1.1) rotate(-0.6deg); }
    100% { opacity: 0; transform: translate(0, 0) scale(1) rotate(0deg); }
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Clean and simple darkening */
    z-index: 1;
}

.hero-content {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
    padding-top: 60px;
}
.hero-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: var(--ry-gold);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-tags {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    opacity: 0.9;
}
.hero-action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.hero-action-buttons button {
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-secondary {
    background: var(--ry-red);
    color: var(--white);
}
.btn-secondary:hover { background: #b81c21; transform: translateY(-3px); }
.btn-outline {
    background: transparent;
    border: 2px solid var(--white) !important;
    color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--text-dark); transform: translateY(-3px); }

.hero-qr-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: slideInRight 1s ease-out;
}
.hero-qr-box h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 15px;
}
.hero-qr-box img.qr {
    width: 120px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Widget (The Core Feature)
   ========================================================================== */
.widget-wrapper {
    max-width: 1200px;
    margin: -120px auto 0 auto; /* Pulls it up over the hero */
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

/* Floating Tabs */
.floating-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: -25px; /* Pull it down into the white box */
    position: relative;
    z-index: 12;
    padding-left: 40px;
}

.pill-tab {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.pill-tab i {
    font-size: 24px;
    transition: transform 0.3s;
}

.pill-tab:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}
.pill-tab:hover i {
    transform: scale(1.2);
}

.pill-tab.active {
    background: var(--white);
    color: var(--ry-blue);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    border: none;
}

/* White Box */
.widget-box {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px 30px 40px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.input-row {
    display: flex;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 30px;
}

.grey-input {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.grey-input:hover, .grey-input:focus-within {
    border-color: var(--ry-blue);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(1,71,140,0.08);
    transform: translateY(-2px);
}

.grey-input i {
    color: var(--ry-blue);
    font-size: 24px;
}

.input-texts {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.input-texts label {
    font-size: 13px;
    color: var(--text-grey);
    font-weight: 500;
    margin-bottom: 4px;
    transition: var(--transition);
}
.input-texts input {
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    outline: none;
    width: 100%;
    font-family: inherit;
}

/* Swap Button */
.swap-circle {
    width: 50px;
    height: 50px;
    background: var(--ry-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 15px -15px 0 -15px;
    z-index: 5;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(1,71,140,0.3);
    transition: var(--transition);
}
.swap-circle:hover {
    transform: rotate(180deg) scale(1.1);
    background: var(--ry-red);
}
/* ==========================================================================
   Shared Section Styles
   ========================================================================== */
.services-section, .features-section, .process-section {
    padding: 80px 20px;
    max-width: 1300px;
    margin: 0 auto;
}
.features-section {
    background-color: #f8fbff;
    max-width: 100%;
    padding: 80px 5%;
}
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.section-heading h2 {
    font-size: 36px;
    color: var(--ry-blue-dark);
    margin-bottom: 15px;
}
.section-heading p {
    font-size: 18px;
    color: var(--text-grey);
}

/* ==========================================================================
   What We Offer (Services Grid)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ry-blue);
}
.service-card i {
    font-size: 40px;
    color: var(--ry-blue);
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--ry-blue-dark);
}
.service-card p {
    color: var(--text-grey);
    line-height: 1.6;
    font-size: 15px;
}

/* ==========================================================================
   Why Choose Us (Features Grid)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}
.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--ry-red);
}
.feature-box i {
    font-size: 30px;
    color: var(--ry-red);
    margin-bottom: 15px;
}
.feature-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.feature-box p {
    color: var(--text-grey);
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   Placement Process (Steps)
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
}
.step {
    text-align: center;
    padding: 20px;
    position: relative;
}
.step-icon {
    width: 60px;
    height: 60px;
    background: var(--ry-blue);
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(1, 71, 140, 0.3);
    position: relative;
    z-index: 2;
}
.step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--ry-blue-dark);
}
.step p {
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.5;
}
/* Connecting Line */
@media (min-width: 768px) {
    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: #e0e0e0;
        z-index: 1;
    }
}

/* Date Selector Block */
.date-input {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}
.date-input:hover {
    border-color: var(--ry-blue);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(1,71,140,0.08);
}
.date-main {
    padding-right: 20px;
    border-right: 1px solid #ddd;
}
.date-main span.label {
    display: block;
    font-size: 13px;
    color: var(--text-grey);
    font-weight: 500;
}
.date-main span.value {
    font-size: 18px;
    font-weight: 700;
}

.date-days {
    display: flex;
    gap: 15px;
    padding-left: 20px;
}
.day-box {
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    transition: var(--transition);
}
.day-box:hover {
    background: rgba(1,71,140,0.1);
    color: var(--ry-blue);
}
.day-box .d-val { font-size: 16px; font-weight: 700; }
.day-box .d-day { font-size: 12px; color: var(--text-grey); }

/* Search Button */
.btn-search {
    background: var(--ry-blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 0 40px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(1,71,140,0.3);
    animation: pulseGlow 2s infinite;
}
.btn-search:hover {
    background: var(--ry-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(1,71,140,0.4);
}

/* Filters */
.filters-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.quick-filters {
    display: flex;
    align-items: center;
    gap: 20px;
}
.quick-filters span { font-weight: 700; color: var(--text-dark); }
.quick-filters label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-grey);
    transition: var(--transition);
}
.quick-filters label:hover { color: var(--ry-blue); }
.quick-filters input { width: 18px; height: 18px; accent-color: var(--ry-blue); }

.widget-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ==========================================================================
   Premium Trains Gallery
   ========================================================================== */
.train-gallery {
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 20px;
}
.train-gallery h2 {
    font-size: 32px;
    color: var(--ry-blue);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 900;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.train-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}
.train-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.img-wrap {
    overflow: hidden;
    height: 200px;
}
.train-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.train-card:hover img {
    transform: scale(1.1);
}
.train-card h4 {
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ry-blue);
    text-align: center;
}

/* ==========================================================================
   Map & Info Layout (Like Metro UI)
   ========================================================================== */
.map-layout-section {
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 20px;
}
.map-layout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.info-card {
    border: 1px solid var(--ry-red);
    border-radius: 12px;
    padding: 25px 20px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.info-card:hover {
    box-shadow: 0 10px 20px rgba(217, 34, 40, 0.15);
    transform: translateY(-5px);
}
.info-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}
.info-card p {
    font-size: 13px;
    color: var(--text-grey);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
}
.card-icons {
    text-align: center;
    color: var(--ry-blue);
    font-size: 24px;
    margin-bottom: 15px;
}
.card-icons i { margin: 0 5px; }
.more-link {
    text-align: center;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.more-link:hover { color: var(--ry-red); }

.map-display-box {
    border: 1px solid var(--ry-red);
    border-radius: 12px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.map-display-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-grow: 1;
    border-bottom: 1px solid #eee;
}
.map-controls {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
}
.toggle-label {
    font-size: 15px;
    color: #333;
}
/* Toggle Switch UI */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 10px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider { background-color: var(--ry-red); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }

.interact-btn {
    background: #e9ecef;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}
.interact-btn:hover { background: #dee2e6; }

/* ==========================================================================
   Call To Action & Footer
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--ry-blue-dark), var(--ry-blue));
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}
.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}
.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.main-footer {
    background: #111;
    color: #fff;
    padding-top: 70px;
}
.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-col h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--ry-red);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}
.footer-links a:hover {
    color: var(--ry-red);
    padding-left: 5px;
}
.footer-contact {
    list-style: none;
}
.footer-contact li {
    color: #aaa;
    margin-bottom: 15px;
    font-size: 15px;
    display: flex;
    align-items: center;
}
.footer-contact i {
    color: var(--ry-red);
    margin-right: 15px;
    font-size: 18px;
}
.social-icons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: #222;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}
.social-icons a:hover {
    background: var(--ry-red);
    transform: translateY(-3px);
}
.footer-bottom {
    background: #0a0a0a;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #222;
}

/* ==========================================================================
   Live Stats Counters
   ========================================================================== */
.live-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 60px auto 30px auto;
    max-width: 1000px;
    flex-wrap: wrap;
}
.stat-box {
    background: var(--white);
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--ry-red);
    flex: 1;
    min-width: 200px;
}
.stat-box h2 {
    font-size: 40px;
    color: var(--ry-blue);
    margin-bottom: 10px;
}
.stat-box p {
    font-size: 16px;
    color: var(--text-grey);
    font-weight: 500;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: var(--transition);
}
.my-float-wa {
    margin-top: 16px;
}
.float-wa:hover {
    color: #fff;
    transform: scale(1.1);
}

/* ==========================================================================
   Hiring Categories
   ========================================================================== */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.cat-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    transition: var(--transition);
}
.cat-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--ry-red);
    transform: translateY(-5px);
}
.cat-card i {
    font-size: 40px;
    color: var(--ry-blue);
    margin-bottom: 15px;
}
.cat-card h3 {
    font-size: 18px;
    color: var(--text-dark);
}

/* ==========================================================================
   Training Gallery
   ========================================================================== */
.training-gallery {
    padding: 80px 20px;
    background: #fff;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.photo-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}
.placeholder-img {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 20px;
    font-weight: 500;
}
.placeholder-img i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ccc;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    padding: 80px 20px;
    background: var(--bg-light);
}
.testi-grid {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.testi-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
}
.testi-card .stars {
    color: var(--ry-gold);
    margin-bottom: 15px;
}
.testi-card p {
    font-style: italic;
    color: var(--text-grey);
    margin-bottom: 20px;
}
.testi-card h4 {
    color: var(--ry-blue);
    margin-bottom: 5px;
}
.testi-card span {
    font-size: 13px;
    color: #888;
}
.video-testi {
    padding: 0;
    overflow: hidden;
    position: relative;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.video-placeholder {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
}
.video-placeholder:hover { color: #fff; transform: scale(1.1); transition: 0.3s; }
.video-testi h4 { color: #fff; margin-top: 20px; }
.video-testi span { margin-bottom: 20px; color: #ccc; }

/* ==========================================================================
   FAQs Section
   ========================================================================== */
.faq-section {
    padding: 80px 20px;
    background: #fff;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    background: #fdfdfd;
    padding: 20px;
    font-weight: 600;
    color: var(--ry-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question:hover { background: #f5f7f9; }
.faq-answer {
    padding: 20px;
    color: var(--text-grey);
    background: #fff;
    display: block;
}
/* ==========================================================================
   Menu Dropdowns
   ========================================================================== */
.menu-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
}
.menu-item {
    position: relative;
}
.menu-item > a {
    display: block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--ry-blue);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}
.menu-item:hover .dropdown-menu {
    display: block;
}
.dropdown-menu a {
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
}
.dropdown-menu a:hover {
    background: var(--ry-red);
    color: white !important;
}
.dropdown-menu a i { margin-right: 8px; }

/* ==========================================================================
   AI Chatbot
   ========================================================================== */
.ai-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 100px;
    background: var(--ry-blue);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.ai-chat-btn:hover { background: #002d5c; transform: translateY(-3px); }
.ai-chat-window {
    position: fixed;
    bottom: 80px;
    right: 100px;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
}
.chat-header {
    background: var(--ry-blue);
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header span { cursor: pointer; }
.chat-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
    background: #f9f9f9;
}
.msg.bot {
    background: #e3f2fd;
    color: #1976d2;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    display: inline-block;
}
.chat-input {
    display: flex;
    border-top: 1px solid #eee;
}
.chat-input input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
}
.chat-input button {
    background: none;
    border: none;
    color: var(--ry-red);
    padding: 0 20px;
    cursor: pointer;
    font-size: 18px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ry-blue);
    padding: 10px;
}

/* Responsive Header */
@media (max-width: 992px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    .header-wrapper {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    .main-header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .logo-area {
        flex: 1;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        box-sizing: border-box;
        order: 3;
        margin-top: 20px;
    }
    .status-form {
        width: 100%;
        display: flex;
        box-sizing: border-box;
    }
    .status-form input {
        width: 100%;
        flex: 1;
        box-sizing: border-box;
    }
    .radio-group {
        justify-content: center;
        flex-wrap: wrap;
        margin-right: 0 !important;
        white-space: normal;
    }
    .login-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        box-sizing: border-box;
    }
    .btn-login {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        white-space: normal;
    }
    .menu-strip {
        display: none !important;
        gap: 10px;
        padding: 10px 20px;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
    }
    .header-wrapper.menu-open .menu-strip {
        display: flex !important;
    }
    .menu-item {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #eee;
        padding: 10px 0;
    }
    .menu-strip a {
        font-size: 16px;
        justify-content: flex-start;
        white-space: normal;
        text-align: left;
    }
    .dropdown-menu {
        position: relative;
        width: 100%;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        border-radius: 5px;
    }
    .dropdown-menu a {
        color: var(--text-dark);
        padding: 10px 15px;
    }
    .dropdown-menu a:hover {
        background: #e9ecef;
        color: var(--ry-red) !important;
    }
    .saving-strip {
        font-size: 12px;
        padding: 8px 10px;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
    }
    .ai-chat-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
        font-size: 14px;
    }
    .ai-chat-window {
        right: 10px;
        bottom: 70px;
        width: calc(100% - 20px);
    }
}

/* Mobile Specific Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px 120px 15px;
    }
    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .hero-tags {
        font-size: 14px;
        margin-bottom: 25px;
    }
    .hero-action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-action-buttons button {
        width: 100%;
    }
    .widget-wrapper {
        margin: -80px 15px 0 15px;
        max-width: calc(100% - 30px);
    }
    .floating-tabs {
        flex-direction: column;
        gap: 10px;
        padding-left: 0;
        margin-bottom: -15px;
        align-items: center;
    }
    .pill-tab {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 16px;
    }
    .widget-box {
        padding: 30px 20px 20px 20px;
        border-radius: 15px;
    }
    .input-row {
        flex-direction: column;
        gap: 15px;
    }
    .filters-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .quick-filters {
        flex-wrap: wrap;
        gap: 10px;
    }
    .grey-input {
        width: 100%;
        padding: 12px 15px;
    }
    .swap-circle {
        margin: 0 auto;
        transform: rotate(90deg);
    }
    .swap-circle:hover {
        transform: rotate(270deg) scale(1.1);
    }
    .widget-box button[style*="padding: 20px"] {
        padding: 15px !important;
        font-size: 18px !important;
    }
    .services-grid, .features-grid, .process-steps {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .features-section, .services-section, .process-section {
        padding: 50px 15px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons {
        justify-content: center;
    }
    .footer-contact li {
        justify-content: center;
    }
    .live-stats {
        gap: 20px;
        flex-direction: column;
    }
    .map-layout-container {
        grid-template-columns: 1fr;
    }
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
    .float-wa {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    .my-float-wa {
        margin-top: 13px;
    }
}
