:root {
    --primary: #00403f;
    --accent: #e6f4f3;
    --text-dark: #1f2937;
    --bg-light: #f9fafb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", "Inter", sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
}

/* ================= APP LAYOUT ================= */
.app-container,
.app-row {
    height: 100vh;
}

/* ================= LEFT BANNER ================= */

.banner-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.left-wrapper {
    height: 100%;
     background-image: url("../images/desktop_img.png");  /*cit-logo.png */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 60, 60, 0.75),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 1;
}

.banner-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 20px 32px;
    gap: 16px;
}

.top-logo {
    height: 42px;
}

.banner-title {
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.banner-title {
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Recycling Logo Highlight Section */
.banner-center {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Card style makes it look separate */
.recycle-card {
    width: 80%;
    max-width: 520px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
}

.recycle-card {
    border: 1px solid rgba(255,255,255,0.25);
}

/* Logo size controlled here */
.center-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
     /* animation: slowRotate 40s linear infinite; */
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



/* .left-wrapper{
    background-image: url(../images/ground.png);
    background-size: cover;
    background-position: center;
    height: 100vh;
    background-repeat: no-repeat;
}

.banner-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
}
.banner-title{
    color: #fff;
}

.banner-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
} */

/* .banner-image {
    width: 100%;
    height: 100%;
    object-fit: fill;    
    object-position: center top;
    background-color: #000;
} */

/* .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,64,63,0.75),
        rgba(0,0,0,0.1)
    );
} */

.banner-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: #fff;
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.banner-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ================= RIGHT FORM ================= */
.form-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;

    padding: 18px 22px;
    background: var(--bg-light);
}

/* ================= CARD ================= */
.booking-card {
    width: 100%;
    max-width: 460px;
    margin: auto 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    padding: 18px 20px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.form-title {
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 16px;
    margin-top: 5px;
}

.form-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 32px;
}

/* ================= FLOATING INPUTS ================= */
.form-group {
    position: relative;
    margin-bottom: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 45px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 11px 13px;
    font-size: 0.95rem;
    background: transparent;
    outline: none;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 6px;
    font-size: 0.85rem;
    color: #6b7280;
    pointer-events: none;
    transition: 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,64,63,0.2);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -6px;
    font-size: 0.62rem;
    color: var(--primary);
}

.booking-form{
    width: 90%;
    margin: 0 auto;
}

/* ================= BUTTON ================= */
.btn-submit {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00403f, #0b5f5c);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    margin-top: 10px;
    transition: 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,64,63,0.35);
}

.already-text {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
}

.already-text a {
    color: #00403f;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* SweetAlert Input Styling */
.custom-swal-input {
    border-radius: 10px !important;
    border: 1.5px solid #27ae60 !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2) !important;
    transition: all 0.25s ease;
}

.custom-swal-input:focus {
    border-color: #1e8449 !important;
    box-shadow: 0 6px 18px rgba(39, 174, 96, 0.35) !important;
    outline: none !important;
}

/* Popup rounding */
.custom-swal-popup {
    border-radius: 16px !important;
}

/* Buttons */
.custom-swal-confirm {
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-weight: 600;
}

.custom-swal-cancel {
    border-radius: 8px !important;
    padding: 10px 18px !important;
}

/* ==================Bottom fab button =================== */

/* ===== Floating Right Arrow Button ===== */
.fab-arrow {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #00403f, #0b5f5c);
    color: #fff;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(0, 64, 63, 0.45);
    z-index: 999;
    transition: all 0.3s ease;
}

/* Hover / Tap effect */
.fab-arrow:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 35px rgba(0, 64, 63, 0.55);
    color: #fff;
}

/* Mobile adjustment */
@media (max-width: 576px) {
    .fab-arrow {
        width: 50px;
        height: 50px;
        font-size: 22px;
        right: 16px;
        bottom: 16px;
    }
}


/* ================= LOADER & ALERTS ================= */

/* Fullscreen loader */
#loader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;

    /* CENTER ALWAYS */
    display: flex;
    justify-content: center;
    align-items: center;

    /* HIDDEN BY DEFAULT */
    visibility: hidden;
    opacity: 0;
}

/* Show loader */
#loader.active {
    visibility: visible;
    opacity: 1;
}

/* Spinner size & color */
.custom-spinner {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--primary);
}

/* sweet alert */

.swal2-small-popup {
    font-size: 0.85rem !important;
    width: 300px !important;
}







@media (max-width:1090px) {

    .banner-wrapper {
        width: 100%;
        height: 40vh;
    }
    .form-wrapper{
        width: 100%;
    }

    .app-container,
    .app-row {
        height: auto;
        min-height: auto;
    }

    .form-wrapper {
        height: auto;
        min-height: auto;
        align-items: stretch; /* prevent vertical centering gap */
    }

     .booking-card {
        max-width: 95%;
        margin: 0 auto;
       
    }

    .form-group {
    position: relative;
    margin-bottom: 22px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 55px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 16px 14px;
    font-size: 1rem;
    background: transparent;
    outline: none;
}

.form-group label {

    padding: 0 6px;
    font-size: 0.95rem;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -6px;
    font-size: 0.72rem;
}

.btn-submit {

    height: 55px;
    border-radius: 12px;
    font-size: 1.2rem;
    margin-top: 16px;
    
}

.form-title{
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.already-text {
  
    margin-top: 16px;
    font-size: 18px;
}



}


@media (max-width: 991px) {
    /* .banner-wrapper {
        height: 45vh;
    } */

    .banner-top {
        padding: 15px 20px;
    }

    .top-logo {
        height: 36px;
    }

    .banner-title {
        font-size: 1rem;
    }

    .recycle-card {
        width: 95%;
        padding: 20px;
    }

    .center-logo {
        max-width: 260px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .app-container,
    .app-row {
        height: auto;
    }

    .banner-wrapper {
        height: 280px;
    }

    .banner-content {
        bottom: 20px;
        left: 20px;
    }

    .banner-content h1 {
        font-size: 1.6rem;
    }

    .form-wrapper {
        height: auto;
        padding: 30px 16px;
    }

    .booking-card {
        padding: 32px 26px;
    }

    .booking-form{
     width: 100%;
    
    }

    .already-text .text-line {
        display: block;
        margin-bottom: 4px;
    }
}

/* TABLET – LANDSCAPE FIX */
@media (min-width: 768px) and (orientation: landscape) {

    .banner-wrapper {
        height: 100vh;           /* Full height */
    }

    .left-wrapper {
        background-image: url(../images/banner_img_tab.png);
        background-size: cover;   
        background-position: center ;
        background-repeat: no-repeat;
             
    }
}




