:root {
    --primary: #9E0000;
    --accent: #f6b426;
    --bg-dark: #0a0f1a;
    --card-bg: linear-gradient(145deg, #000000, #1f1313);
    --border-glass: #7b8599a8;
    --border-accent: #f6b42650;
    --text-muted: #adadad;
    --text: #fff;
}

/* ::-webkit-scrollbar {
    display: none;
} */

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
/* ::-webkit-scrollbar-track {
    background: transparent;
} */

/* Handle */
::-webkit-scrollbar-thumb {
    background: linear-gradient(60deg, #f6b426, #ffbd2e75, #f6b426);
    border: 2px solid #500000;
    border-radius: 30px;
}


body {
    background: #4d0000;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #f6b426e0, transparent 60%);
    z-index: -1;
    filter: blur(120px);
    animation: floatGlow 12s ease-in-out infinite alternate;
}

body::before {
    top: -200px;
    left: -200px;
}

body::after {
    bottom: -200px;
    right: -200px;
    animation-delay: 4s;
}

@keyframes floatGlow {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(80px);
    }
}


html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-accent {
    color: var(--accent);
}

.font-xl {
    font-size: 25px !important;
}

.font-large {
    font-size: 20px !important;
}

.font-small {
    font-size: 12px !important;
}

.font-small-med {
    font-size: 15px;
}

/* ================================
   NAVBAR
================================ */

.logo {
    height: 55px;
    transition: all 0.3s ease;
}

.scrolled .logo {
    height: 50px;
    transition: all 0.3s ease;
}

.logo-footer {
    height: 38px;
}

.navbar-wrap {
    background: transparent;
    backdrop-filter: blur(10px);
    /* border-bottom: 1px solid var(--border-glass); */
    transition: all 0.3s ease;
}

.navbar-wrap.scrolled {
    backdrop-filter: blur(60px);
    background: linear-gradient(167deg, #5A0000, #720000, #5A0000);
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); */
    box-shadow: 0 15px 50px #9e000075;
}

.logo-circle {
    width: 38px;
    height: 38px;
    background: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.nav a {
    color: #fff;
    text-decoration: none;
    transition: all ease 0.2s;
    font-weight: 600;
    font-size: 15px;
}

.nav a:hover {
    color: var(--accent);
    padding: 8px 15px;
    border-radius: 50px;
    background: linear-gradient(145deg, #ff680026, #f9731647);
    border: 1px solid var(--border-accent);
}

.nav a.active {
    color: var(--accent);
    padding: 8px 15px;
    border-radius: 50px;
    background: linear-gradient(145deg, #ff680026, #f9731647);
    border: 1px solid var(--border-accent);
}

@media (max-width: 1199px) {
    .logo {
        height: 40px;
    }

    .scrolled .logo {
        height: 35px;
    }

    .btn-accent,
    .btn-primary,
    .btn-light {
        padding: 8px 12px !important;
    }

}

@media (max-width: 768px) {
    .logo {
        height: 40px;
    }

    .scrolled .logo {
        height: 35px;
    }
}


.login-dropdown {
    position: relative;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 6px;
}

.login-options {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: radial-gradient(circle at top left, #9e000080, #81000020 60%), linear-gradient(145deg, #0f172a, #050b17);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.login-item {
    /* padding: 12px 16px; */
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.85rem;
    color: white;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.login-item i {
    font-size: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: linear-gradient(145deg, #ff680026, #f9731647);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    border: 1px solid var(--border-accent);
}

.login-item:hover {
    background: #ffffff10;
    color: var(--accent);
    border-radius: 12px;
    padding: 10px 8px;
    margin: 5px;
    transition: all 0.25s ease;
}


.login-dropdown:hover .login-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.login-options::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at top left, #9e000080, #180e1b 60%), linear-gradient(145deg, #0b0e14, #180e1b);
    transform: rotate(45deg);
    z-index: -1;
    border-top: 1px solid var(--border-glass);
    border-left: 1px solid var(--border-glass);
}

.login-dropdown.active .login-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ===============================
   HAMBURGER BUTTON
================================ */

.hamburger {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Bars */
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
    transition: all 0.35s ease;
}

/* ===============================
   ACTIVE STATE (☰ → ✕)
================================ */

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* ================================
   MOBILE MENU
================================ */

.mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 80%;
    background: linear-gradient(167deg, #74260a, #720000, #5A0000);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    border-top: 1px solid var(--border-glass);
    padding: 15px;

    display: flex;
    flex-direction: column;
    gap: 15px;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    margin-top: 10px;
    margin-right: 10px;
    box-shadow: 0 15px 50px #9e000075;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

@media (max-width: 576px) {
    .mobile-menu {
        width: 60%;
    }

}

/* ================================
   MOBILE LOGIN DROPDOWN
================================ */

.mobile-login-dropdown {
    position: relative;
}

.mobile-login-menu {
    background: radial-gradient(circle at top left, #9e000080, #81000020 60%), linear-gradient(145deg, #0f172a, #050b17);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    overflow: hidden;

    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.3s ease;
}

.mobile-login-dropdown.open .mobile-login-menu {
    max-height: 200px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    margin-top: 15px;
}

.mobile-login-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
}

.mobile-login-item i {
    font-size: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: linear-gradient(145deg, #ff680026, #f9731647);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    border: 1px solid var(--border-accent);
}

.mobile-login-item:hover {
    background: #ffffff10;
    color: var(--accent);
}



/* ================================
   HERO SECTION
================================ */


.hero {
    padding: 140px 0 50px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 45% 5%, #f6b4263f, transparent 30%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f6b4261c;
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin: 18px 0;
}

.hero-title span {
    display: block;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* ================================
   BUTTONS
================================ */

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(60deg, #9e0000, #700000, #770202);
    border: 1px solid #9e000090;
    padding: 10px 15px;
    border-radius: 12px;
    transition: all 0.3s;
    gap: 8px;
}

.btn-primary:hover {
    background: linear-gradient(60deg, #5a0000, #9e0000, #5a0000);
    border: 1px solid #9e000090;
    border-radius: 50px;
    gap: 15px;
}

.btn-accent {
    color: #fff;
    background: linear-gradient(60deg, #f6b426, #ffbd2e75, #f6b426);
    border: 1px solid #f6b42690;
    padding: 10px 15px;
    border-radius: 12px;
    transition: all 0.3s;
    gap: 8px;
}

.btn-accent:hover {
    color: #fff;
    background: linear-gradient(60deg, #ffbd2e75, #f6b426, #ffbd2e75);
    border: 1px solid #f6b42690;
    border-radius: 50px;
    gap: 15px;
}


.LiveEnquiryBtn {
    font-weight: 600;
    animation: LiveEnquiryPulse 2.2s infinite;
}

/* Pulse */
@keyframes LiveEnquiryPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(235, 172, 37, 0.5);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(235, 37, 37, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(235, 37, 37, 0);
    }
}

.btn-light {
    color: #fff;
    background: linear-gradient(60deg, #7b85996b, #7b859963, #7b859930);
    border: 1px solid var(--border-glass);
    padding: 10px 15px;
    border-radius: 12px;
    transition: all 0.3s;
    gap: 8px;
}

.btn-light:hover {
    color: #fff;
    background: linear-gradient(60deg, #7b859930, #7b85996b, #7b859963);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    gap: 15px;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: white;
    border-radius: 12px;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: var(--border-glass);
    border: 1px solid var(--border-glass);
    color: white;
}

.btn-container {
    display: flex;
    justify-content: start;
    margin-top: 20px;
    gap: 10px;
}

.btn-container .btn {
    font-size: 12px;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    background: #626262 !important;
    border: none;
}


/* ================================
   GLASS CARDS
================================ */

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--accent);
    box-shadow: 0 20px 40px #f6b42640;
}

.hero .glass-card {
    background: radial-gradient(circle at top left, #ffc00036, #ffffff17 50%);
}

.glass-card.red {
    background: linear-gradient(145deg, #9c9c9c40, #5a0000) !important;
    border: 1px solid #7b85998c !important;
}

.glass-card.red:hover {
    box-shadow: 0 20px 40px #790000;
}

/* ================================
   STAT CARDS
================================ */

.stat-card {
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

.stat-card span,
.stat-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.stat-card:hover {
    box-shadow: 0 0 20px #f6b42640;
}

/* ================================
   FEATURE LIST
================================ */

.feature-list {
    padding: 0;
    margin: 0;
}

.feature-list li {
    list-style: none;
    margin-bottom: 8px;
    color: #d1d5db;
    font-size: 13px;
}

.feature-list i {
    color: var(--accent);
    margin-right: 8px;
}

/* ================================
   SECTIONS
================================ */

.section {
    padding: 70px 0;
}

.section-maroon {
    background: linear-gradient(180deg, #5A0000, #1F0C00);
}

.section-dark {
    background: #000000;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    margin-top: 10px;
}

.section-desc {
    color: var(--text-muted);
    margin: 10px 0;
}

.section-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
}


/* ====================
   CLIENT LOGO SECTION
======================= */

.client-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.client-card {
    width: 140px;
    max-width: 100%;
    background: #fff;
    border: 1.5px solid var(--border-glass);
    border-radius: 15px;
    padding: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-4px);
    /* border-color: var(--primary); */
    border-color: 1px solid #7b85998c !important;
    box-shadow: 0 12px 30px #790000;
    transition: all 0.3s ease;
}

/* Logo wrapper */
.client-logo {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 10px; */
    transition: all 0.3s ease;
}

/* Logo image */
.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* filter: grayscale(100%) brightness(1.1); */
    /* opacity: 0.9; */
    transition: all 0.3s ease;
}

.client-card:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transition: all 0.3s ease;
}

.client-card {
    flex: 0 0 140px;
}

@media (max-width: 576px) {
    .client-card {
        flex: 0 0 calc(33.333% - 12px);
        max-width: calc(33.333% - 12px);
    }
}



/* Client name */
/* .client-name {
  display: none;
  font-size: 12px;
  color: #000000;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
} */

/* .client-card:hover .client-name {
  margin-top: 7px;
  display: block;
  transition: all 0.3s ease;
} */






/* ================================
   CTA SECTION
================================ */


.cta-wrapper {
    padding: 50px;
    border-radius: 22px;
    background: radial-gradient(circle at top left, #9e000080, #81000020 60%), linear-gradient(145deg, #0f172a, #050b17);
    border: 1px solid var(--border-glass);
}

.cta-title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-top: 10px;
}

.cta-desc {
    color: var(--text-muted);
    max-width: 420px;
}

.cta-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.3s ease;
    height: 100%;
}

.cta-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px #f6b42640;
}

.cta-card h6 {
    margin: 0;
    font-size: 1rem;
}

.cta-card p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cta-icon {
    width: 45px;
    height: 45px;
    border-radius: 16px;
    /* background: rgba(249,115,22,0.15); */
    background: linear-gradient(145deg, #ff680026, #f9731647);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    border: 1px solid var(--border-accent);
}

.cta-step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 15px;
    align-items: center;
    transition: all 0.3s ease;
    width: 175px;
}

.cta-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px #f6b42640;
}

.cta-step-card h6 {
    margin: 0;
    font-size: 18px;
}

.cta-step-card p {
    margin: 10px 0 0;
    font-size: 15px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .cta-wrapper {
        padding: 30px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-step-card {
        width: 110px;
    }

    .cta-step-card p {
        font-size: 12px;
    }
}


/* ================================
   FOOTER
================================ */
.footer {
    /* background: #05080f; */
    background: linear-gradient(180deg, #5A0000, #1F0C00);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-glass);
}

.footer h6 {
    font-size: 20px;
    font-weight: 700;
}

.footer ul {
    padding: 0;
    list-style: none;
}

.footer a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    margin-top: 35px;
    padding-top: 20px;
    font-size: 14px;
    border-top: 1px solid var(--border-glass);
}

.footer-card {
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 8px;
    transition: all 0.3s ease;
    width: max-content;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 0 20px;
    }
}

/* =================================================
   TOOLTIP 
   ================================================= */

.footer-card {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Tooltip box */
.footer-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: var(--primary);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 10;
}

/* Tooltip arrow */
.footer-card::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Show tooltip on hover */
.footer-card:hover::after,
.footer-card:hover::before {
    opacity: 1;
    visibility: visible;
}




/* ================================
   ANIMATIONS
================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0 rgba(37, 99, 235, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(37, 99, 235, 0.5);
    }

    100% {
        box-shadow: 0 0 0 rgba(37, 99, 235, 0.4);
    }
}

/* Animate only when class applied */
.animate-fade {
    animation: fadeUp 1s ease forwards;
}

.footer-card-container {
    display: flex;
    gap: 10px;
    justify-content: start;
}

/* ================================
   MOBILE UX
================================ */

@media (max-width: 1199px) {}


@media (max-width: 992px) {
    .hero {
        padding: 120px 0 30px;
    }

    .awards-certifications {
        text-align: center;
        justify-self: center;
    }
    
    .footer-card-container {
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
        overflow: hidden;
    }
}

@media (max-width: 768px) {

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 30px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 1rem;
    }

    .nav a {
        padding: 12px 0;
        display: block;
    }

    .small-hide {
        display: none;
    }
}


/* Icons  */


.icon-accent {
    font-size: 15px;
    min-width: 45px;
    width: 45px;
    height: 35px;
    border-radius: 50px;
    color: var(--accent);
    background: linear-gradient(145deg, #ff680026, #f9731647);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-red {
    font-size: 14px;
    min-width: 50px;
    width: 50px;
    height: 40px;
    border-radius: 50px;
    color: #fff;
    background: #9e00005c;
    border: 1px solid #9e0000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-white {
    font-size: 15px;
    min-width: 45px;
    width: 45px;
    height: 35px;
    border-radius: 50px;
    color: #fff;
    background: linear-gradient(145deg, #ffffff26, #1f1f1f47);
    border: 1px solid #ffffff80;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-white:hover {
    color: var(--accent);
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px #f6b42640;
}


.icon-small {
    font-size: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: linear-gradient(145deg, #ff680026, #f9731647);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    border: 1px solid var(--border-accent);
}

/* ================================
   Back To Top Button
================================ */

#backToTop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: linear-gradient(145deg, #ca0000, #320101);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;

    /* hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.95);

    transition: all 0.3s ease;
}

#backToTop:hover {
    background: linear-gradient(145deg, #320101, #ca0000);
    box-shadow: 0 20px 40px #790000;
    transform: translateY(0) scale(1.05);
}

/* Visible state */
#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Mobile positioning */
@media (max-width: 768px) {
    #backToTop {
        right: 16px;
        bottom: 16px;
    }
}




/* ================================
   BRANCH LOCATION MAP
================================ */

.branch-map {
    position: relative;
    max-width: 900px;
    margin: auto;
}

/* Background map */
.branch-map-img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

/* Branch pin */
.branch-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

/* Head office highlight */
.branch-pin.ho {
    background: var(--primary);
}

/* Pulse ring */
.branch-pin::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid currentColor;
    opacity: 0.6;
    animation: pulse 2.5s infinite;
    z-index: -1;
    /* 👈 KEY FIX */
}

/* Tooltip container */
.branch-tooltip {
    position: absolute;
    bottom: 170%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(15, 23, 42, 0.97);
    border: 1px solid var(--border-glass);
    padding: 10px 12px;
    border-radius: 12px;
    min-width: 190px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 999 !important;
}

.branch-tooltip strong {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 6px;
    color: #fff;
}

.branch-tooltip p {
    display: block;
    font-size: 0.6rem;
    margin-bottom: 6px;
    color: #fff;
}

.branch-tooltip a {
    display: block;
    font-size: 0.6rem;
    margin-bottom: 6px;
    color: #fff;
    text-decoration: none;
}

.branch-tooltip a:hover {
    color: var(--accent);
}

/* CTA button */
.branch-tooltip .map-link {
    display: inline-block;
    font-size: 0.72rem;
    padding: 6px 12px;
    border-radius: 20px;
    background: linear-gradient(60deg, #9e000060, #9e000075, #9e000090);
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-bottom: 0;
    margin-top: 5px;
}

.branch-tooltip .map-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px #790000a8;
}

/* Show on hover or tap */
.branch-pin:hover .branch-tooltip,
.branch-pin.show .branch-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}



/* ================= PIN POSITIONS ================= */
/* Tuned for India night map (cropped top/bottom) */

/* Head Office - Bhubaneswar */
.branch-pin.ho {
    top: 56%;
    left: 57%;
}

/* Delhi / Gurgaon */
.branch-pin.delhi {
    top: 34%;
    right: 60%;
}

/* Ahmedabad */
.branch-pin.ahmedabad {
    top: 51%;
    left: 27%;
}

/* Pune */
.branch-pin.pune {
    top: 60%;
    left: 32%;
}

/* Bengaluru */
.branch-pin.bengaluru {
    top: 75%;
    right: 59%;
}

/* Hyderabad */
.branch-pin.hyderabad {
    top: 64%;
    left: 41%;
}

/* Visakhapatnam */
.branch-pin.vizag {
    top: 58%;
    left: 54%;
}

/* Kolkata */
.branch-pin.kolkata {
    top: 51%;
    left: 61%;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (max-width: 575px) {
    .branch-pin {
        width: 8px;
        height: 8px;
    }

    .branch-pin::before {
        inset: -6px;
    }
}

/* ================================
   HERO SOLUTION CARDS
================================ */

.solution-card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    justify-items: center;
}

.solution-card {
    position: relative;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: #000;
    border: 1px solid var(--border-glass);
    transition: all 0.35s ease;
    width: 80%;
}

.solution-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.6s ease, opacity 0.35s ease;
}

/* Gradient overlay for readability */
.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(230deg, rgba(158, 0, 0, 0) 0%, rgba(158, 0, 0, 0.35) 40%, rgb(106 20 20 / 93%) 70%, #9e0000e8 100%);
    z-index: 1;
}


/* Text overlay */
.solution-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 12px;
    z-index: 2;
}

.solution-overlay h6 {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

/* Hover effects */
.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.solution-card:hover img {
    transform: scale(1.08);
    opacity: 0.7;
}

/* Mobile adjustment */
@media (max-width: 991px) {
    .solution-card {
        width: 100%;
    }

    .solution-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .solution-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Explore arrow*/
.explore-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #f6b426;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.explore-arrow i {
    font-size: 0.65rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.explore-arrow:hover {
    padding: 5px 15px;
    border-radius: 50px;
    background: linear-gradient(145deg, #ff680026, #f9731647);
    border: 1px solid var(--border-accent);
}


/* Hover micro-interaction */
.solution-card:hover .explore-arrow {
    opacity: 1;
}

.solution-card:hover .explore-arrow i {
    transform: translateX(4px);
}



/* ================================
   WHY REALOGIST – SCROLLING LAYOUT
================================ */

.why-sticky-section {
    position: relative;
}

/* Left panel (normal flow now) */
.why-left-inner {
    position: relative;
    /* removed sticky */
    padding-right: 30px;
}

/* Image styling stays */
.why-image {
    margin-top: 30px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.why-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 340px;
}

/* Right side card stack */
.why-right {
    position: relative;
}

.why-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Subtle divider / frame effect */
.why-right::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
}

/* Mobile behavior */
@media (max-width: 991px) {
    .why-left-inner {
        padding-right: 0;
    }

    .why-right::before {
        display: none;
    }

    .why-image {
        margin-bottom: 30px;
    }
}


/* ================================
   COMPARISON TOGGLE CARDS
================================ */

.compare-wrapper {
    max-width: 900px;
    margin: auto;
}

.compare-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.toggle-btn {
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.toggle-btn.active {
    background: linear-gradient(60deg, #9e000060, #9e000075, #9e000090);
    color: white;
    border-color: var(--primary);
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.compare-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 22px;
    transition: all 0.3s ease;
    text-align: center;
}

.compare-card i {
    font-size: 22px;
    margin-bottom: 10px;
    justify-self: center;
}

.compare-card h5 {
    margin-bottom: 6px;
}

.compare-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.compare-card.hidden {
    display: none;
}

.compare-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--accent);
    box-shadow: 0 20px 40px #f6b42640;
}

.compare-card:hover .icon-red {
    transform: scale(1.2) rotate(10deg);
}



/* ================================
   VIDEO INSIGHT SECTION
================================ */

.video-insight-section {
    position: relative;
    width: 100%;
    height: 400px;
    /* min-height: 420px; */
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background video */
.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark gradient overlay for readability */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 0 0 / 70%) 0%, rgb(0 0 0 / 68%) 45%, rgb(0 0 0 / 78%) 100%);
    z-index: 2;
}

/* Content container */
.video-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
}

/* Text styling */
.video-text {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.video-text span {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 27px;
    font-weight: 700;
    color: var(--accent);
}

/* Responsive tuning */
@media (max-width: 768px) {
    .video-insight-section {
        height: 60vh;
    }

    .video-text {
        font-size: 1.05rem;
    }
}



/* ================================
   TOP UTILITY BAR
================================ */

.utility-bar {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.35));
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* If there is ONLY 1 direct child */
.utility-bar>div:has(> div:only-child) {
    justify-content: flex-end;
}

/* If there are 2 or more direct children */
.utility-bar>div:has(> div:nth-child(2)) {
    justify-content: space-between;
}

.utility-bar .utility-bar-right {
    padding-right: 70px;
}

.utility-bar-left {
    width: 50%;
}

.utility-link {
    color: #d1d5db;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color 0.25s ease;
}

.utility-link i {
    color: var(--accent);
    font-size: 14px;
    margin-right: 5px;
    background: linear-gradient(145deg, #ff680026, #f9731647);
    padding: 5px 12px;
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.utility-link:hover {
    color: var(--accent);
}

.utility-link-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(145deg, #ff680026, #f9731647);
    color: var(--accent);
    font-size: 10px;
    margin-right: 5px;
    padding: 5px 10px 5px 7px;
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    transition: all 0.3s ease;
}


.utility-link-left .live {
    background: var(--accent);
    color: var(--primary);
    width: 130px;
    text-align: center;
    border-radius: 50px;
    padding: 2px;
    font-weight: 600;
}

/* utility bar on mobile */
@media (max-width: 768px) {

    .utility-link {
        font-size: 12px;
    }

    .utility-bar .utility-bar-right {
        padding: 0 20px;
    }

    .utility-bar-left {
        width: 85%;
    }

    .utility-link i {
        font-size: 10px;
        padding: 5px 8px;
    }

    .utility-link-left {
        gap: 6px;
        font-size: 10px;
        margin-right: 5px;
        padding: 3px 10px 3px 3px;
    }

    .utility-link-left .live {
        width: 140px;
        padding: 2px;
        font-size: 9px;
    }

}

@media (max-width: 991px) {
    .md-hide {
        display: none !important;
    }

    .justify-content-center-mobile {
        justify-content: center !important;
    }
}

marquee {
    width: 85%;
    overflow: hidden;
    display: block;
}

marquee .d-flex {
    display: inline-flex !important;
    white-space: nowrap;
}


marquee a {
    color: #f6b426;
    border-right: 2px solid #ffffff61;
    padding: 0 10px;
    text-decoration: none;
}

marquee a:hover {
    color: #ce8d00;
}

/* ================================
   CONTACT FAB (NAV)
================================ */

.contact-fab {
    position: relative;
    width: 40px;
    height: 25px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ff680026, #f9731647);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    animation: contactPulse 2.2s infinite;
    border: 1px solid var(--border-accent);
}

.contact-fab i {
    font-size: 13px;
}

/* Pulse */
@keyframes contactPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(235, 172, 37, 0.5);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(235, 37, 37, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(235, 37, 37, 0);
    }
}

.contact-popover {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: linear-gradient(167deg, #74260a, #720000, #5A0000);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 1000;
}

/* Open state */
.contact-fab.open .contact-popover {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    box-shadow: 0 15px 50px #9e000075;
}

@media (hover: none) {
    .contact-fab::after {
        display: none;
    }
}

.contact-popover a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #e5e7eb;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
}

.contact-popover a i {
    color: var(--accent);
}

.contact-popover a:hover {
    background: #ffffff10;
    color: #fff;
}

/* ================================
   PAGE HERO
================================ */


.page-hero {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,
            rgba(158, 0, 0, 0.85),
            rgba(0, 0, 0, 0.6));
}

.page-hero .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 45px;
    font-weight: 700;
    margin-top: 10%;
}

.page-hero p {
    font-size: 25px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 35px;
        margin-top: 25%;
    }

    .page-hero p {
        font-size: 18px;
    }

}

/* ================================
   POST ENQUIRY – IMAGE SOLUTION CARDS
================================ */

.enquiry-solution-card {
    position: relative;
    display: block;
    height: 135px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    margin-top: 10px;
}

/* image */
.enquiry-solution-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* overlay */
.enquiry-solution-card .solution-overlay {
    position: absolute;
    inset: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    background: linear-gradient(200deg, rgba(158, 0, 0, 0) 0%, rgb(158 0 0 / 0%) 40%, rgb(106 20 20 / 85%) 70%, rgba(158, 0, 0, 0.91) 100%);
}

/* title */
.enquiry-solution-card h6 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
}

/* hover */
.enquiry-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(158, 0, 0, 0.45);
}

.enquiry-solution-card:hover img {
    transform: scale(1.08);
    opacity: 0.75;
}

/* mobile */
@media (max-width: 768px) {

    .enquiry-solution-card {
        height: 120px;
    }

    .enquiry-solution-card h6 {
        font-size: 15px !important;
    }
}



/* ================================
   POST ENQUIRY FORM
================================ */

.enquiry-form {
    background: #ffffff;
    margin: 10px;
}

.enquiry-form h4 {
    color: #000000;
}

.enquiry-form label {
    font-size: 0.85rem;
    color: #000000;
    margin-bottom: 3px;
    font-weight: 600;
}

.enquiry-form .form-control,
.enquiry-form .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-accent);
    color: #000000;
    font-size: 12px;
    padding: 8px 12px;
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: none;
}

.form-select option {
    background: #ffffff;
    border-radius: 5px;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #727272;
    font-size: 12px;
}

/* Required field asterisk */
label:has(+ input[required])::after,
label:has(+ select[required])::after,
label:has(+ textarea[required])::after {
    content: " *";
    color: #dc2626;
    /* red */
    font-weight: 700;
}

.enquiry-form button {
    background: #9e0000;
    font-weight: 600;
}

.enquiry-form button:hover {
    background: #5b0000;
    font-weight: 600;
}

@media (max-width: 768px) {

    .enquiry-form {
        margin: 30px 0px 0px 0px !important;
    }
}

/* HOW IT WORKS – PROCESS FLOW */


.how-process {
    overflow: hidden;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.process-step {
    text-align: center;
    max-width: 220px;
}

.process-step h6 {
    margin-top: 16px;
    font-weight: 700;
    color: #fff;
}

.process-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 8px;
}

/* Number Icon */
.process-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(60deg, #9e000060, #9e000075, #9e000090);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Connector Line */
.process-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right,
            rgba(246, 180, 38, 0.2),
            rgba(246, 180, 38, 0.6),
            rgba(246, 180, 38, 0.2));
}

/* Responsive */
@media (max-width: 991px) {
    .process-flow {
        flex-direction: column;
    }

    .process-line {
        width: 2px;
        height: 40px;
        background: linear-gradient(to bottom,
                rgba(246, 180, 38, 0.2),
                rgba(246, 180, 38, 0.6),
                rgba(246, 180, 38, 0.2));
    }
}



/* CONTACT FORM */

.contact-page .contact-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-page .contact-card h6 {
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-page .contact-card p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.contact-page .contact-card a {
    color: var(--text-muted);
    text-decoration: none;
}

.contact-page .contact-card a:hover {
    color: var(--accent);
}

.contact-form-card {
    padding: 30px;
}

.contact-form-card .form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: #fff;
}

.contact-form-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form-card .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}





/* ================================
   BLOGS
================================ */

/* ---------- LAYOUT ---------- */

.blog-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 48px;
    padding: 50px 0px;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ---------- META ---------- */

.blog-category {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
}

.blog-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
}

.blog-meta span {
    padding: 5px 15px;
    border: 1px solid var(--border-glass);
    border-radius: 50px;
}

/* ---------- FEATURED BLOG ---------- */

.blog-featured-card {
    display: flex;
    gap: 28px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.blog-featured-card:hover {
    transform: translateY(-6px);
}

.blog-featured-card img {
    width: 45%;
    border-radius: 14px;
    object-fit: cover;
}

.blog-featured-body h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 10px 0;
    color: var(--text);
    font-weight: 600;
}

.blog-featured-body p {
    font-size: 15px;
    color: var(--text);
}

/* ---------- BLOG GRID ---------- */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.blog-card {
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.blog-card h4 {
    font-size: 22px;
    line-height: 1.3;
    margin: 5px 0 10px 0;
    color: var(--text);
    font-weight: 600;
}

/* ---------- SIDEBAR ---------- */

.blog-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-sidebar-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
}

.blog-sidebar-card h6 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-card li {
    padding: 6px 15px;
    cursor: pointer;
    border: 1px solid var(--border-glass);
    font-size: 15px;
    margin: 5px 0px;
    border-radius: 50px;
    width: fit-content;
    color: var(--text-muted);
    display: inline-table;
}

.blog-sidebar-card .search {
    padding: 6px 15px;
    cursor: pointer;
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    width: 100%;
}

.blog-tags p {
    display: inline-block;
    padding: 6px 10px;
    margin: 4px;
    font-size: 12px;
    border: 1px solid var(--border-glass);
    border-radius: 50px;
}

/* ---------- PAGINATION ---------- */

.blog-pagination a {
    padding: 8px 14px;
    margin-right: 6px;
    border: 1px solid var(--border-glass);
    cursor: pointer;
}

.blog-pagination a.active {
    background: var(--accent);
    color: #000;
}

/* ---------- BLOG POST ---------- */

.blog-post-image {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 24px;
}

.blog-post-content h2 {
    font-size: 32px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.blog-post-content h3 {
    font-size: 25px;
    margin-top: 25px;
    font-weight: 600;
}

.blog-post-content img {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 20px;
}

.blog-post-content a {
    text-decoration: none;
    color: var(--accent);
}

.blog-post-content a:hover {
    color: #ca931b;
}

.blog-post-content blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--accent);
    background: #ffffff17;
    border-radius: 5px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 15px;
    }

    .blog-featured-card {
        flex-direction: column;
        padding: 15px;
    }

    .blog-featured-card img {
        width: 100%;
        height: 250px;
        border-radius: 9px;
    }

    .blog-featured-body h2 {
        font-size: 20px;
        margin: 5px 0px 10px 0;
    }

    .blog-featured-body p {
        font-size: 14px;
    }

    .blog-card {
        padding: 10px;
    }

    .blog-card img {
        height: 130px;
        border-radius: 8px;
    }

    .blog-card h4 {
        font-size: 16px;
        margin: 5px 0px 15px 0;
    }

    .blog-category {
        font-size: 12px;
    }

    .blog-meta {
        flex-wrap: wrap;
        gap: 5px;
    }

    .blog-post-content h2 {
        font-size: 20px;
    }

    .blog-post-content h3 {
        font-size: 18px;
    }

    .blog-post-content p {
        font-size: 14px;
    }

    .blog-post-content ul li {
        font-size: 14px;
    }

}


/* AUTHOR CARD */
.author-box {
    display: flex;
    gap: 14px;
    align-items: center;
}

.author-box img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

/* SHARE ICONS */
.blog-share {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.blog-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    transition: all 0.25s ease;
    text-decoration: none;
}

.blog-share a:hover {
    background: var(--accent);
    color: #000;
}

/* CTA CARD */
.blog-cta p {
    margin-bottom: 0;
}


.blog-share {
    position: relative;
    /* REQUIRED */
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

/* Feedback bubble */
.copy-feedback {
    position: absolute;
    top: 3px;
    left: 45%;
    transform: translateX(-50%) translateY(6px);
    background: var(--accent);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    z-index: 5;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#nativeShare {
    display: none;
}


/* E Bidding page hero side card section  */


.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.bid-flow {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 30px;
    border-radius: 3px;
    background: linear-gradient(180deg,
            rgba(158, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    max-width: 360px;
}

.bid-step {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 14px;
    opacity: 0.75;
}

.bid-step i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #f6b426;
}

.bid-step.highlight {
    opacity: 1;
}

.bid-step.highlight i {
    background: #f6b426;
    color: #000;
    box-shadow: 0 0 18px rgba(246, 180, 38, 0.6);
}

.bid-step.success i {
    background: #2ecc71;
    color: #000;
}

.bid-line {
    height: 18px;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(246, 180, 38, 0.6),
            transparent);
    margin-left: 18px;
}

.bid-step.highlight i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 rgba(246, 180, 38, 0.4);
    }

    70% {
        box-shadow: 0 0 18px rgba(246, 180, 38, 0.8);
    }

    100% {
        box-shadow: 0 0 0 rgba(246, 180, 38, 0.4);
    }
}

/* ===============================
   GLOWING BORDER FLOW (ADD-ON)
================================ */

.bid-flow {
    position: relative;
    overflow: hidden;
}

/* Main snake */
.bid-flow::before,
.bid-flow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;

    background:
        linear-gradient(#f6b426, #f6b426) top left / 0% 2px no-repeat,
        linear-gradient(#f6b426, #f6b426) top right / 2px 0% no-repeat,
        linear-gradient(#f6b426, #f6b426) bottom right / 0% 2px no-repeat,
        linear-gradient(#f6b426, #f6b426) bottom left / 2px 0% no-repeat;

    filter:
        drop-shadow(0 0 8px rgba(246, 180, 38, 0.9)) drop-shadow(0 0 20px rgba(246, 180, 38, 0.6));
}

/* Head */
.bid-flow::before {
    animation: snake-head 4.5s linear infinite;
}

/* Tail (delayed, erases behind) */
.bid-flow::after {
    animation: snake-tail 4.5s linear infinite;
    animation-delay: 1.2s;
    opacity: 0.9;
}

/* Keep content above */
.bid-flow>* {
    position: relative;
    z-index: 1;
}

/* ===============================
   HEAD ANIMATION
================================ */
@keyframes snake-head {

    /* TOP: left → right */
    0% {
        background-size:
            0% 2px,
            2px 0%,
            0% 2px,
            2px 0%;
    }

    100% {
        background-size:
            100% 2px,
            2px 100%,
            100% 2px,
            2px 100%;
    }
}

/* After Login User Account */

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(246, 180, 38, 0.35);
    transition: all 0.3s ease;
}

.nav-user:hover {
    box-shadow: 0 0 12px rgba(246, 180, 38, 0.25);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #F6B426;
    position: relative;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #9E0000, #5c0000);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.user-info {
    line-height: 1.1;
}

.user-name {
    font-size: 14px;
    color: #fff;
    margin: 0;
    font-weight: 500;
    margin-bottom: 3px;
}

.user-id {
    font-size: 12px;
    margin: 0;
    color: rgba(246, 180, 38, 0.75);
}

.user-caret {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 8px;
    transition: transform 0.25s ease;
}

.nav-user {
    position: relative;
}

.nav-user-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 235px;
    padding: 8px;
    border-radius: 15px;
    background: radial-gradient(circle at top left, #9e000080, #81000020 60%), linear-gradient(145deg, #0f172a, #050b17);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: all 0.25s ease;
    z-index: 999;
}

.user-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at top left, #9e000080, #180e1b 60%), linear-gradient(145deg, #0b0e14, #180e1b);
    transform: rotate(45deg);
    z-index: -1;
    border-top: 1px solid var(--border-glass);
    border-left: 1px solid var(--border-glass);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.user-dropdown a:hover {
    background: rgba(246, 180, 38, 0.12);
}

.user-dropdown .logout {
    color: #ff6b6b;
}

.dropdown-divider {
    height: 1px;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.08);
}

.nav-user.open .user-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-user.open .user-caret {
    transform: rotate(180deg);
}

@media (max-width: 768px) {

    .nav-user {
        padding: 4px 15px 4px 4px;
    }

    .nav-user-trigger {
        gap: 3px;
    }

    .user-dropdown {
        right: -55px;
    }

    .user-dropdown::before {
        display: none;
    }
}




/* ================================
   AUTH MODULE (v2)
================================ */

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    max-width: 460px;
    width: 100%;
    padding: 42px 38px;
    border-radius: 26px;
    background: #ffffff12;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    animation: fadeUp 0.6s ease forwards;
}

.auth-image {
    /* max-width: 460px; */
    max-height: 405px;
    border-radius: 26px;
    background: #ffffff12;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    animation: fadeUp 0.6s ease forwards;
}

.auth-icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    margin: 0 auto 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 2px;
    animation: LiveEnquiryPulse 3.2s infinite;
}

.auth-icon i {
    position: relative;
    z-index: 1;
    font-size: 20px;
    color: var(--text);
    animation: iconSwap 0.45s ease;
}

@keyframes iconSwap {
    from {
        opacity: 0;
        transform: scale(0.7) rotate(-8deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.auth-form-group {
    position: relative;
    margin-bottom: 16px;
}

.auth-form-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 14px;
}

.auth-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: #fff;
    font-size: 14px;
}

.auth-input:focus {
    border-color: var(--accent);
    outline: none;
}

.auth-input::placeholder {
    color: #b1b1b1;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.auth-tab {
    flex: 1;
    padding: 10px 0;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
}

.auth-tab.active {
    color: var(--accent);
    border-color: var(--accent);
    background: linear-gradient(145deg, #ff680026, #f9731647);
}

.auth-otp {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-otp input {
    width: 48px;
    height: 48px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
}

.auth-steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 24px 0;
}

.auth-step {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.auth-step.active {
    background: var(--accent);
}

.auth-checkbox {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin: 18px 0 22px;
}

.auth-checkbox a {
    color: var(--accent);
    font-weight: 600;
}


@media (max-width: 768px) {

    .auth-card {
        margin: 15px;
        padding: 20px;
        padding-top: 30px;
        width: 85%;
    }

    .auth-wrapper {
        flex-direction: column;
    }

    /* .phone-group i {
    left: 33% !important;
} */


}



/* PHONE INPUT */
.phone-group {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 90px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: #fff;
    padding: 12px;
}

/* PASSWORD TOGGLE */
.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--accent);
    font-size: 14px;
}

/* PHONE INPUT GROUP */
.phone-group {
    display: flex;
    gap: 10px;
}

.country-input {
    width: 80px;
    text-align: center;
    padding-left: 12px;
}

.phone-input {
    flex: 1;
}


.phone-group i {
    position: absolute;
    left: 108px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 14px;
}


/* SMALL TEXT */

.center {
    text-align: center;
}

.center.small {
    font-size: 13px;
    margin-top: 14px;
}

.center.small a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.forgot-row {
    text-align: right;
    font-size: 14px;
    margin: 6px 0 15px;
}

.forgot-row a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.divider {
    text-align: center;
    margin: 22px 0 16px;
    font-size: 13px;
    color: #777;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: #777;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.social-login {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.social-login button {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.social-login button:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ===== OTP TIMER ===== */
.otp-timer {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 12px;
}

.otp-timer button {
    background: #81010138;
    border: 1px solid var(--border-glass);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 50px;
}

.otp-timer button:hover {
    background: #f6b42645;
    color: var(--accent);
}

.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
    /* Firefox */
}

/* Password rules hidden by default */
.password-rules {
    display: none;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    background: #ffffff0a;
    padding: 15px 15px 10px 15px;
    border-radius: 10px;
}

.password-rules.show {
    display: block;
}

.password-rules p {
    margin: 4px 0;
}

.password-rules .valid {
    color: #16a34a;
}

.password-rules .invalid {
    color: #dc2626;
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #23232329;
}

.form-check-input {
    height: 20px;
    width: 20px;
    border-radius: 10px !important;
    margin-left: 5px;
    border-color: #9e0000;
    margin-top: 0;
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-input:focus {
    box-shadow: 0 0 0 .25rem #9e00005e;
}

/* =============
   SweetAlert2 
================ */


/* Confirm Button */

.swal2-confirm.custom-btn {
    background: linear-gradient(60deg,
            #f6b426,
            #ffbd2e88,
            #f6b426) !important;
    color: #000 !important;
    border-radius: 12px;
    padding: 10px 26px;
    font-weight: 600;
    border: none;
    transition: all 0.25s ease;
}

/* Button Hover */
.swal2-confirm.custom-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(246, 180, 38, 0.4);
}

/* Button Focus */
.swal2-confirm.custom-btn:focus {
    box-shadow: none !important;
}

.swal2-popup,
.swal2-toast {
    border-radius: 15px;
    /* background: rgba(0, 0, 0, 0.65) !important; */
    backdrop-filter: blur(3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.swal2-backdrop-show {
    background: #0000008c;
}

.rc-anchor-light.rc-anchor-normal,
.rc-anchor-light.rc-anchor-compact {
    border-radius: 10px;
}

#animated-bg {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -9999;
}