/* =========================
   ROOT VARIABLES
========================= */

:root {
    --primary: #00d2ff;
    --primary-dark: #008c9e;
    --bg-dark: #0a0c10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --accent-orange: #ff8c00;
    --success: #25D366;
    --error: #ff6b6b;
}


/* =========================
   RESET & BASE
========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}


/* =========================
   GLOBAL BACKGROUND EFFECT
========================= */
body::before {
    content: '';
    position: fixed;
    top: -10%; left: -10%;
    width: 50%; height: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
}


/* =========================
   HEADER
========================= */
header {
    padding: 2.5rem;
    text-align: center;
}


/* --- Floating Capsule Header --- */
.main-header {
    position: fixed;
    top: 20px; /* Floating from top */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1235px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05); /* Glass effect */
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 100px; /* Capsule Shape */
    padding: 0.6rem 2rem;
    padding-right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Scroll Effect */
.main-header.scrolled {
    top: 10px;
    background: rgba(10, 12, 16, 0.9);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Dropdown Container */
.nav-item { position: relative; }

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.nav-link:hover { color: var(--primary); }

/* Premium Dropdown Menu */
.dropdown-content {
    position: absolute;
    top: 140%;
    left: 0;
    background: #12141a;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    min-width: 220px;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: 0.2s;
}

.dropdown-link:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    padding-left: 1.5rem;
}

/* Enquire Button (Matches Reference) */
.btn-enquire {
    background: var(--primary); /* Dark Red from CAA */
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(155, 34, 38, 0.3);
}

.btn-enquire:hover {
    /*background: #bb3e03;*/
    transform: scale(1.05);
}


/* Hamburger Icon Animation */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001; /* Stay above everything */
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    display: block;
    transition: 0.3s;
    transform-origin: center;
}

/* Animate to X */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Logic */
@media (max-width: 900px) {
    .hamburger { display: flex; }

    .main-header { z-index: 1000; }

    .nav-menu {
        position: absolute;
        top: 50%; /* Starts inside the header */
        left: 5%;
        width: 90%;
        background: #0d1117;
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 1.5rem 2rem; /* Top padding to clear the header */
        gap: 0.5rem;
        border-radius: 0 0 25px 25px;
        border: 1px solid var(--border-color);
        border-top: none;
        
        /* Behind effect */
        z-index: 999; 
        transform: translateY(-100%); 
        opacity: 0;
        pointer-events: none;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-actions { display: none; }
    
    /* Mobile Dropdown Styling */
    .nav-item { width: 100%; }
    .nav-link { 
        width: 100%; 
        justify-content: space-between; 
        padding: 1rem 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .dropdown-content {
        position: static;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.02);
        border: none;
        box-shadow: none;
        padding: 0;
        transition: all 0.4s ease-in-out;
    }

    .nav-item.open-submenu .dropdown-content {
        max-height: 500px;
        opacity: 1;
        padding: 0.5rem 0;
    }

    .nav-item.open-submenu .fa-chevron-down {
        transform: rotate(180deg);
    }
}



/* Desktop visible */
.desktop-menu {
    display: flex;
}

/* Mobile hidden by default */
.mobile-menu {
    display: none;
}

/* MOBILE MODE */
@media (max-width: 900px) {

    /* Hide desktop menu */
    .desktop-menu {
        display: none !important;
    }

    /* Show mobile menu */
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 80px;
        left: 5%;
        width: 90%;
        background: #0d1117;
        flex-direction: column;
        padding: 2rem 1.5rem 2rem;
        gap: 0.5rem;
        border-radius: 20px;
        border: 1px solid var(--border-color);

        z-index: 999;

        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
    }

    .mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}


/* =========================
   FOOTER
========================= */
.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}


.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-icon img {
    width: 18px;
    filter: invert(1); /* Makes icons white */
}

.social-icon:hover img {
    filter: brightness(0); /* Makes icons black on hover */
}

@media (max-width: 900px) {
    footer div[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 500px) {
    footer div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}







/* =========================
   HERO SECTION
========================= */

.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 2rem;
    align-items: center;
    gap: 2rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 20px 50px rgba(0,210,255,0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =========================
   STOCK NOTICE BANNER
========================= */
.stock-notice-banner {
    max-width: 900px;
    margin: 0 auto 1rem;
    padding: 0 0; /* matches form-container horizontal alignment */
}

.snb-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 140, 0, 0.07);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 16px;
    padding: 0.85rem 1.4rem;
}

/* Pulsing live dot */
.snb-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;   /* ← prevents flex from stretching it */
    min-height: 8px;  /* ← prevents flex from stretching it */
    border-radius: 50%;
    background: var(--accent-orange);
    flex-shrink: 0;
    align-self: center; /* ← anchors it to center independently */
    animation: snbPulse 1.6s ease-in-out infinite;
}

.snb-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-grow: 0;
    line-height: 1;
}

@keyframes snbPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(255, 140, 0, 0); }
}

.snb-label {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-orange);
    background: rgba(255, 140, 0, 0.12);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 50px;
    padding: 3px 10px;
    flex-shrink: 0;
}

.snb-text {
    flex: 1;
    font-size: 0.88rem;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.snb-text strong {
    color: var(--accent-orange);
    font-weight: 800;
}

.snb-pill {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-orange);
    border: 1px solid rgba(255, 140, 0, 0.4);
    border-radius: 50px;
    padding: 4px 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .snb-pill { display: none; }
    .snb-text { font-size: 0.82rem; }
}



/* =========================
   RENT FORM SECTION
========================= */
.form-container {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto 5rem;
    box-shadow: 0 50px 100px rgba(0,0,0,0.6);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group.full-width { grid-column: span 2; }

label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

input, select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    padding: 1.1rem;
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}


/* Fix select arrow spacing like date input */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 3rem; /* 🔥 creates same gap as date icon */
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center; /* 🔥 controls spacing */
    background-size: 18px;
}


/* =========================
   RENT FORM DELIVERY ESTIMATE
========================= */
#rent-delivery-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rent-delivery-option {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    transition: all 0.4s ease;
    animation: slideDownIn 0.4s ease;
}

.rent-sameday-option {
    border-color: rgba(255, 165, 0, 0.35) !important;
    background: rgba(255, 165, 0, 0.04) !important;
}

@keyframes slideDownIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rent-delivery-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rent-d-icon {
    font-size: 1.6rem;
    line-height: 1;
    animation: rentTruck 1.2s ease-in-out infinite alternate;
}

@keyframes rentTruck {
    from { transform: translateX(0); }
    to   { transform: translateX(4px); }
}

.rent-d-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rent-d-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.rent-d-date {
    font-size: 1rem;
    font-weight: 800;
    color: var(--success);
    line-height: 1.2;
}

.rent-d-range {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.rent-d-badge {
    font-size: 0.58rem;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    border: 1px solid;
}

.rent-d-note {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.rent-sameday-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.rent-sameday-pill {
    font-size: 0.6rem;
    font-weight: 800;
    background: rgba(255,165,0,0.15);
    color: #ffa500;
    border: 1px solid rgba(255,165,0,0.35);
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.rent-sameday-available {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.rent-pickup-option {
    border-color: rgba(37, 211, 102, 0.3) !important;
    background: rgba(37, 211, 102, 0.04) !important;
}

/* --- Enhanced Add-on Cards --- */
.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.addon-card {
    cursor: pointer;
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.addon-card:hover { background: rgba(255,255,255,0.06); }

.addon-card input {
    position: absolute;
    opacity: 0;
}

.addon-card.active {
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
}

.addon-icon { font-size: 1.5rem; margin-bottom: 5px; }
.addon-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.addon-price { color: var(--primary); font-weight: 600; font-size: 0.85rem; }

/* --- Modern Payment Selector --- */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-method {
    cursor: pointer;
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.payment-method input { position: absolute; opacity: 0; display: none; }

.payment-method.active {
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.08);
}

.method-title { display: block; font-weight: 800; color: #fff; margin-bottom: 4px; }
.method-desc { display: block; font-size: 0.75rem; color: var(--text-dim); }

/* --- Price Table --- */
.result-box {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.2) 100%);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.result-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-dim);
}

.result-line.total-line {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.pay-highlight {
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 8px;
}

button#submitBtn {
    width: 100%;
    padding: 1.4rem;
    margin-top: 2rem;
    border-radius: 20px;
    border: none;
    background: linear-gradient(45deg, var(--primary), #00a4ff);
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3);
    transition: all 0.4s;
}

button#submitBtn:hover:not(:disabled) {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.5);
}


@media (max-width: 768px) {
    .hero-section, .form-grid, .payment-grid { grid-template-columns: 1fr; }
    .hero-section {
        padding: 8rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section + div { grid-template-columns: 1fr !important; }
    .bulk-order-box, .track-order-box { padding: 2rem !important; }
}

#bulkOrderBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4);
}

#trackBtn:hover {
    background: rgba(0, 210, 255, 0.1);
}


/* --- Bulk Order & Tracking Block Responsive Fix --- */
@media (max-width: 900px) {
    /* Target the div wrapping the bulk-order and track-order boxes */
    .hero-section + div, 
    div[style*="grid-template-columns: 1fr 1fr"] { 
        grid-template-columns: 1fr !important; 
        padding: 2rem; /* Matches your section padding */
        gap: 2rem !important; /* Vertical gap between stacked blocks */
    }

    .bulk-order-box, .track-order-box {
        width: 100% !important;
        padding: 2rem !important;
    }
    
    .p-15m{
        padding: 1.5rem !important;
    }
}


input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* makes it white */
    cursor: pointer;
}
/* =========================
   DELIVERY PARTNER SECTION
========================= */

.partner-tile {
    background: rgba(255, 255, 255, 1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    height: 120px;
    backdrop-filter: blur(10px);
}

.partner-tile img {
    max-width: 100%;
    max-height: 50px;
    /*filter: grayscale(1) brightness(1.5) opacity(0.7);*/
    transition: all 0.4s ease;
}

.partner-tile:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.partner-tile:hover img {
    filter: grayscale(0) brightness(1) opacity(1);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .partners-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 600px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .partner-tile { padding: 1.5rem !important; height: 100px !important; }
}



/* =========================
   COMMUNITY SECTION
========================= */

.btn-whatsapp:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }
.btn-telegram:hover { background: rgba(0, 136, 204, 0.2) !important; transform: translateY(-5px); }

@media (max-width: 900px) {
    .community-card { padding: 2.5rem !important; flex-direction: column !important; text-align: center; }
    .community-illustration { display: none !important; }
    .benefits-grid { grid-template-columns: 1fr !important; gap: 10px !important; margin: 0 auto 2.5rem !important; width: fit-content; text-align: left; }
    .community-buttons { justify-content: center; }
    .community-content h2 { font-size: 1.8rem !important; }
}



/* =========================
   TESTIMONIALS SECTION
========================= */


.testimonial-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.1);
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.quote {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
}

.author-info h4 { font-size: 1rem; margin-bottom: 2px; }
.author-info span { font-size: 0.75rem; color: var(--text-dim); display: block; }

.verified-tag {
    color: var(--success);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .testimonial-stats { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .testimonial-card { padding: 1.5rem !important; }
}

/* HIDE SCROLLBAR */
.review-track::-webkit-scrollbar { display: none; }
.review-track { scrollbar-width: none; }

/* GOOGLE BUTTON ANIMATION */
@keyframes gradientMove {
    0% { background-position:0% 50%; }
    50% { background-position:100% 50%; }
    100% { background-position:0% 50%; }
}




.review-container {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 3rem;
    align-items: stretch;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .review-container {
        grid-template-columns: 1fr; /* stack */
    }
}

/* =========================
   GALLERY SECTION
========================= */
.gallery-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.2);
    z-index: 2;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* Verified Badge Style */
.verified-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(37, 211, 102, 0.9);
    backdrop-filter: blur(5px);
    color: #000;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Overlay Location Style */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    opacity: 0;
    transition: 0.3s;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }
    .verified-badge { font-size: 0.5rem; padding: 4px 8px; top: 10px; left: 10px; }
}




/* Gallery Polaroid Style */
.gallery-card { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--border-color); transition: 0.4s; }
.gallery-card img { width: 100%; height: auto; transition: 0.6s; }
.gallery-card:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; bottom: 0; width: 100%; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #fff; opacity: 0; transition: 0.3s; text-align: left; }
.gallery-card:hover .gallery-overlay { opacity: 1; }
.verified-badge { position: absolute; top: 15px; left: 15px; background: var(--success); color: #000; padding: 5px 12px; border-radius: 50px; font-size: 0.7rem; font-weight: 800; z-index: 2; }


.gallery-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.gallery-card:hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 10;
}



/* =========================
   FAQ SECTION
========================= */
.faq-item.active { border-color: var(--primary); background: rgba(0, 210, 255, 0.05); }





/* =========================
   SLIDER STRUCTURE
========================= */

.review-slider {
    width: 100%;
    position: relative;
}

.review-viewport {
    overflow: hidden;
    padding: 25px 10px;
}

/* TRACK (FIXED) */
.review-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;                 /* IMPORTANT */
    scroll-snap-type: x mandatory;    /* SNAP ENABLE */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}


/* =========================
   CARDS (SNAP FIXED)
========================= */

.testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    scroll-snap-align: start;   /* ⭐ KEY FIX */
}

/* HOVER EFFECT */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 210, 255, 0.15);
}


/* =========================
   DOT NAVIGATION
========================= */

.review-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.review-dots span {
    width: 8px;
    height: 8px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dots span:hover {
    background: var(--primary);
    opacity: 0.7;
}

.review-dots span.active {
    background: var(--primary);
    transform: scale(1.6);
    box-shadow: 0 0 10px rgba(0,210,255,0.6);
}


/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .review-track {
        gap: 16px;
    }

    .review-viewport {
        padding: 20px 5px;
    }
}




/* SMOOTH FAQ (FINAL FIX) */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0; /* 🔥 no padding when closed */

    transition: 
        max-height 0.5s ease,
        opacity 0.4s ease,
        padding 0.3s ease;
}

/* ACTIVE */
.faq-item.active .faq-answer {
    opacity: 1;
    padding: 1rem 1.5rem 1.5rem; /* padding only when open */
}



/* =========================
   CONTACT US
========================= */

.contact-section {
    padding: 8rem 2rem 0;
}

.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary) !important;
    background: rgba(0, 210, 255, 0.05) !important;
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .contact-section > div:last-child {
        grid-template-columns: 1fr !important;
    }
    
    .contact-section .contact-card {
        padding: 1.5rem !important;
    }
}





/* =========================
   CHECKOUT CORE LAYOUT
========================= */

.checkout-wrapper {
    max-width: 1300px;
    margin: 120px auto 60px;
    padding: 0 2rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
    align-content: start;
}

/* Glass Card Style */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 32px;
}

.mb-2 { margin-bottom: 2rem; }

/* Form Elements */
.readonly-input {
    background: rgba(255,255,255,0.02) !important;
    border-color: transparent !important;
    color: var(--primary) !important;
    font-weight: 700;
    cursor: not-allowed;
}

/* =========================
   UPLOAD BOXES
========================= */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.upload-box {
    background: rgba(255,255,255,0.03);
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.upload-box:hover {
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.05);
}

.upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.upload-label { font-weight: 700; font-size: 0.9rem; color: #fff; }
.upload-hint { font-size: 0.7rem; color: var(--text-dim); margin-top: 4px; }

/* =========================
   PAYMENT SELECTION GRID
========================= */
.payment-selection-grid {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.pay-option-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.8rem;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pay-option-card.recommended {
    border-color: rgba(0, 210, 255, 0.3);
    background: linear-gradient(145deg, rgba(0, 210, 255, 0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.pay-option-card input { display: none; }

/* Active Selection Logic */
.pay-option-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

/* Payment Icons (FIXED: Single Line & Professional Size) */
.pay-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    height: 26px;
}

.pay-icons img {
    height: 100%;
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 3px 6px;
    border-radius: 6px;
}

.pay-icons.grayscale {
    filter: grayscale(1);
    opacity: 0.6;
}


.pay-icons span {
    font-size: 1.2rem;
    filter: grayscale(1);
    opacity: 0.6;
}

/* Fee Badges */
.pay-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.fee-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fee-badge.free {
    background: rgba(37, 211, 102, 0.1);
    color: var(--success);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.fee-badge.fee {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    border: 1px solid var(--border-color);
}

.pay-method-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
}

.pay-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* =========================
   QR CONTAINER SECTION
========================= */
.qr-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 2.5rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 1.5rem;
}

.main-qr {
    width: 160px;
    height: 160px;
    background: white;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.upi-id-box {
    margin-top: 12px;
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.upi-id-box code { color: var(--primary); font-family: monospace; }
.upi-id-box button {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8rem;
}

/* =========================
   STICKY RECEIPT
========================= */
.sticky-receipt {
    position: sticky;
    top: 120px;
    /* Remove max-height so it doesn't overflow-scroll independently */

    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.3) 100%);
    border: 1px solid var(--primary);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.checkout-sidebar {
    position: relative;
    align-self: stretch;   /* ← stretch to match left column height */
    height: auto;
}

.receipt-header { border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.receipt-line { display: flex; justify-content: space-between; margin-bottom: 0.8rem; font-size: 0.9rem; color: var(--text-dim); }
.receipt-total { display: flex; justify-content: space-between; font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-top: 1rem; }
.receipt-divider { border-top: 1px solid var(--border-color); margin: 1rem 0; }

.pay-btn {
    width: 100%;
    padding: 1.4rem;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.15rem;
    cursor: pointer;
    margin-top: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.3);
    transition: 0.3s;
}

.pay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.5);
}


/* =========================
   RENT FORM DELIVERY ESTIMATE
========================= */
#rent-delivery-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.delivery-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}

.delivery-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.delivery-radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
    animation: slideDownIn 0.35s ease;
}

.delivery-radio-card:hover {
    border-color: rgba(0,210,255,0.3);
    background: rgba(0,210,255,0.03);
}

.delivery-radio-card.selected {
    border-color: #00d2ff;
    background: rgba(0,210,255,0.07);
}

.delivery-radio-card-orange.selected {
    border-color: #ffa500 !important;
    background: rgba(255,165,0,0.06) !important;
}

.delivery-radio-card-green.selected {
    border-color: #25D366 !important;
    background: rgba(37,211,102,0.06) !important;
}

/* Hide native radio */
.delivery-radio-card input[type="radio"] {
    display: none;
}

/* Custom radio dot */
.drc-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.2s;
}

.delivery-radio-card.selected .drc-radio { border-color: #00d2ff; }
.delivery-radio-card-orange.selected .drc-radio { border-color: #ffa500 !important; }
.delivery-radio-card-green.selected .drc-radio { border-color: #25D366 !important; }

.drc-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: 0.2s;
}

.delivery-radio-card.selected .drc-radio-dot { background: #00d2ff; }
.delivery-radio-card-orange.selected .drc-radio-dot { background: #ffa500; }
.delivery-radio-card-green.selected .drc-radio-dot { background: #25D366; }

.drc-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    animation: rentTruck 1.4s ease-in-out infinite alternate;
}

@keyframes rentTruck {
    from { transform: translateX(0); }
    to   { transform: translateX(4px); }
}

.drc-body {
    flex: 1;
    min-width: 0;
}

.drc-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.drc-sub {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.drc-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex-shrink: 0;
}

.drc-date {
    font-size: 0.82rem;
    font-weight: 800;
    color: #00d2ff;
}

.drc-date-orange { color: #ffa500; }
.drc-date-green  { color: #25D366; }

.drc-badge {
    font-size: 0.55rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: rgba(0,210,255,0.10);
    color: #00d2ff;
    border: 1px solid rgba(0,210,255,0.3);
    white-space: nowrap;
}

.drc-badge-orange { background: rgba(255,165,0,0.12); color: #ffa500; border-color: rgba(255,165,0,0.35); }
.drc-badge-green  { background: rgba(37,211,102,0.12); color: #25D366; border-color: rgba(37,211,102,0.3); }

.drc-pill {
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0,210,255,0.12);
    color: #00d2ff;
    border: 1px solid rgba(0,210,255,0.25);
}

.drc-pill-orange { background: rgba(255,165,0,0.15); color: #ffa500; border-color: rgba(255,165,0,0.3); }
.drc-pill-green  { background: rgba(37,211,102,0.15); color: #25D366; border-color: rgba(37,211,102,0.3); }

.delivery-selected-note {
    font-size: 0.72rem;
    color: var(--text-dim);
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    margin-top: 0.2rem;
    animation: slideDownIn 0.3s ease;
}

@keyframes slideDownIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .delivery-radio-card { flex-wrap: wrap; gap: 8px; }
    .drc-right { flex-direction: row; align-items: center; gap: 8px; width: 100%; justify-content: flex-end; }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-sidebar { order: -1; margin-bottom: 2rem; }
    .upload-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .qr-container { flex-direction: column; text-align: center; gap: 2rem; }
    .pay-icons { justify-content: flex-start; }
}





.payment-selection-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stacks cards for clarity */
    gap: 1rem;
}

.pay-option-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

/* Adjust Sidebar on Mobile */
@media (max-width: 992px) {
    .checkout-sidebar {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}