/* ==========================================================================
   SIDDHI VINAYAK ASSAY CENTER - CUSTOM CSS STYLESHEET
   Design Theme: Slate & Gold Luxury (Modern, Premium, Trusted)
   ========================================================================== */

/* 1. CSS VARIABLES & THEME */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Color Palette */
    --bg-darkest: #070b12;
    /* Deep black-blue */
    --bg-darker: #0d131f;
    /* Dark slate primary */
    --bg-dark: #161f30;
    /* Lighter slate for cards */
    --bg-glass: rgba(22, 31, 48, 0.55);

    --color-gold: #e2ba5e;
    /* Premium glowing gold */
    --color-gold-dark: #b8913b;
    --color-gold-light: #f6dc9c;
    --color-gold-gradient: linear-gradient(135deg, #b8913b 0%, #f6dc9c 50%, #b8913b 100%);
    --color-text-light: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-text-dark: #111827;
    --color-heading: #ffffff;
    --header-bg: rgba(7, 11, 18, 0.7);
    --bg-input-bg: rgba(7, 11, 18, 0.55);

    --border-glass: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(226, 186, 94, 0.2);

    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(226, 186, 94, 0.15);
    --shadow-glow-hover: 0 0 35px rgba(226, 186, 94, 0.3);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --color-btn-outline-white: #ffffff;
    --border-btn-outline-white: rgba(255, 255, 255, 0.15);
}

body.light-mode {
    --bg-darkest: #f4f6f9;
    /* Light gray-blue */
    --bg-darker: #ffffff;
    /* Pure white */
    --bg-dark: #e9ecef;
    /* Light gray for cards */
    --bg-glass: rgba(255, 255, 255, 0.85);

    /* Rich contrast gold palette for light mode readability */
    --color-gold: #b8913b;
    --color-gold-dark: #91702c;
    --color-gold-light: #d4b26f;
    --color-gold-gradient: linear-gradient(135deg, #91702c 0%, #d4b26f 50%, #91702c 100%);

    --color-text-light: #1f2937;
    /* Dark gray body text */
    --color-text-muted: #4b5563;
    /* Medium gray text */
    --color-heading: #111827;
    /* Near black headings */
    --header-bg: rgba(255, 255, 255, 0.85);
    --bg-input-bg: #ffffff;

    --border-glass: rgba(0, 0, 0, 0.08);
    --border-gold: rgba(184, 145, 59, 0.3);

    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 25px rgba(184, 145, 59, 0.08);
    --shadow-glow-hover: 0 0 35px rgba(184, 145, 59, 0.15);

    --color-btn-outline-white: #1f2937;
    --border-btn-outline-white: rgba(31, 41, 55, 0.2);
}

/* 2. BASE & RESET STYLES */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darkest);
    color: var(--color-text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 3. TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-heading, #ffffff);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Utility Classes */
.text-gold {
    color: var(--color-gold) !important;
}

.hover-gold:hover {
    color: var(--color-gold) !important;
}

/* Spacing utilities for icons and layout */
.mr-1 {
    margin-right: 0.5rem !important;
}
.mr-2 {
    margin-right: 0.75rem !important;
}
.ml-1 {
    margin-left: 0.5rem !important;
}
.ml-2 {
    margin-left: 0.75rem !important;
}

/* Icon spacing rules */
.btn i, .badge i, .footer-links i, .footer-contact i, .sidebar-footer i, .sidebar-link i {
    margin-right: 0.5rem;
}
.btn i.ml-2, .badge i.ml-2 {
    margin-right: 0;
    margin-left: 0.5rem;
}

.top-bar-email-mobile {
    display: none;
}

.text-gradient {
    background: var(--color-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-14 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.pb-3 {
    padding-bottom: 0.75rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.w-full {
    width: 100%;
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

/* Flexbox & Grid */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.grid {
    display: grid;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* 4. BUTTONS & BADGES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-gold {
    background: var(--color-gold-gradient);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-glow);
}

.btn-gold:hover {
    box-shadow: var(--shadow-glow-hover);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #f6dc9c 0%, #b8913b 50%, #f6dc9c 100%);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--border-gold);
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-text-dark);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-btn-outline-white);
    border: 1px solid var(--border-btn-outline-white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-btn-outline-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1ebd58;
    transform: translateY(-2px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.badge-gold {
    background-color: rgba(226, 186, 94, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(226, 186, 94, 0.25);
}

/* 5. GLASS CARDS & EFFECTS */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.glass-card:hover::before {
    left: 150%;
}

.hover-glow:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
    transition: all var(--transition-normal);
}

/* 6. HEADER & TOP BAR */
.top-bar {
    background-color: var(--bg-darkest);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--color-text-muted);
}

.main-header {
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--color-gold-gradient);
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-heading);
    line-height: 1.1;
    font-family: var(--font-heading);
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.1em;
}

.nav-link {
    font-size: 0.85rem;
    color: var(--color-text-light);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold-gradient);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-heading);
    font-size: 1.5rem;
    cursor: pointer;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.desktop-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--color-gold);
    width: 40px;
    height: 40px;
    border-radius: 8px; /* Round square shape */
    flex-shrink: 0; /* Prevent squishing on mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
}

.theme-toggle-btn:hover {
    background: var(--bg-dark);
    transform: scale(1.05);
    border-color: var(--color-gold);
}

/* Custom Language Dropdown Styling */
.custom-lang-selector {
    display: inline-block;
    vertical-align: middle;
}

.lang-select-btn {
    background-color: var(--bg-dark);
    color: var(--color-text-light);
    border: 1px solid var(--border-glass);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23e2ba5e' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 1.1rem;
    padding-right: 24px;
}

.lang-select-btn:hover {
    border-color: var(--color-gold);
    background-color: var(--bg-darker);
}

.lang-select-btn option {
    background-color: var(--bg-darker);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

/* Hide Google Translate original element & top frame banner */
#google_translate_element,
.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
}

html, body {
    top: 0px !important;
    position: static !important;
}

/* Color Utility Theme Adapters */
.text-gray-200 {
    color: var(--color-text-light) !important;
}

.text-gray-300 {
    color: var(--color-text-light) !important;
}

.text-gray-400 {
    color: var(--color-text-muted) !important;
}

.text-gray-500 {
    color: var(--color-text-muted) !important;
}

.text-red-500 {
    color: #ef4444 !important;
}

.text-emerald-500 {
    color: #10b981 !important;
}

/* 7. MOBILE SIDEBAR NAVIGATION */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -100%;
    width: 65vw;
    min-width: 280px;
    background-color: var(--bg-darker);
    border-right: 1px solid var(--border-glass);
    z-index: 200;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: left var(--transition-normal);
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.sidebar-link:hover {
    color: var(--color-gold);
    padding-left: 0.5rem;
}

.sidebar-footer {
    margin-top: 0; /* Changed from auto */
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}

/* 8. HERO SECTION */
.hero-section {
    padding: 3.5rem 0 6rem;
    position: relative;
    background-image: radial-gradient(circle at 70% 30%, rgba(226, 186, 94, 0.08) 0%, transparent 60%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('howrah_bridge_desktop.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.08;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
}

body.light-mode .hero-overlay {
    filter: invert(1);
    mix-blend-mode: multiply;
    opacity: 0.06;
}

.hero-description {
    max-width: 580px;
}

.live-rates-card {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-glow);
}

.live-indicator {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.live-indicator .dot {
    width: 6px;
    height: 6px;
    background-color: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* 9. SERVICES SECTION */
.services-section {
    background-color: var(--bg-darker);
    background-image: radial-gradient(circle at 10% 80%, rgba(226, 186, 94, 0.04) 0%, transparent 50%);
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(226, 186, 94, 0.08);
    border: 1px solid rgba(226, 186, 94, 0.2);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
}

.service-link:hover {
    color: var(--color-gold-light);
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* 10. CALCULATOR SECTION */
.section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.services-section.section-padding {
    padding-bottom: 3rem;
}

.calculator-section.section-padding {
    padding-top: 4rem;
}

.workflow-section.section-padding {
    padding-bottom: 1rem;
}

.comparison-section.section-padding {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.faq-section.section-padding {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.contact-section.section-padding {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer-grid.section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.check-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(226, 186, 94, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(226, 186, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.calculator-card {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: var(--bg-input-bg);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--color-heading);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 1px rgba(226, 186, 94, 0.2);
}

.input-addon {
    position: absolute;
    right: 1rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.input-prefix {
    position: absolute;
    left: 1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.input-prefix+.form-input {
    padding-left: 2.2rem;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    cursor: pointer;
}

.calc-alert {
    background-color: rgba(226, 186, 94, 0.05);
    border: 1px solid rgba(226, 186, 94, 0.15);
    color: var(--color-gold-light);
}

.calc-alert-danger {
    background-color: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.hidden {
    display: none !important;
}

/* 11. WORKFLOW SECTION */
.workflow-section {
    background-image: radial-gradient(circle at 90% 10%, rgba(226, 186, 94, 0.05) 0%, transparent 50%);
}

.workflow-card {
    position: relative;
    padding: 2.5rem 1.5rem;
    background-color: rgba(22, 31, 48, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    height: 100%;
    text-align: center;
}

.workflow-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(226, 186, 94, 0.08);
}

.workflow-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(226, 186, 94, 0.05);
    color: var(--color-gold);
    border: 1px solid rgba(226, 186, 94, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto;
}

/* Add connecting lines for workflow on desktop */
@media (min-width: 1024px) {
    #workflow .grid-4 {
        position: relative;
    }

    .workflow-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 100%;
        width: 32px;
        height: 1px;
        background-color: var(--border-glass);
        z-index: 10;
        transform: translate(-16px, -50%);
    }
}

/* 12. COMPARISON TABLE */
.comparison-section {
    background-color: var(--bg-darkest);
}

.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table th {
    background-color: rgba(255, 255, 255, 0.01);
    font-family: var(--font-heading);
}

.comparison-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

/* Light mode overrides for comparison table cell borders and header background */
body.light-mode .comparison-table th,
body.light-mode .comparison-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .comparison-table th {
    background-color: rgba(0, 0, 0, 0.02) !important;
}

body.light-mode .comparison-table tr:hover td {
    background-color: rgba(0, 0, 0, 0.01) !important;
}

/* 13. FAQ ACCORDION */
.faq-item {
    border-radius: 12px !important;
    padding: 0.5rem 1.5rem !important;
}

.faq-question {
    background: transparent;
    border: none;
    color: var(--color-heading);
    cursor: pointer;
    font-family: var(--font-heading);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-icon {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.overflow-hidden {
    overflow: hidden !important;
}

/* 14. CONTACT & FORM */
.contact-section {
    background-image: radial-gradient(circle at 50% 50%, rgba(226, 186, 94, 0.06) 0%, transparent 60%);
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(226, 186, 94, 0.06);
    color: var(--color-gold);
    border: 1px solid rgba(226, 186, 94, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.text-area {
    resize: none;
}

/* 15. FOOTER */
.main-footer {
    background-color: var(--bg-darkest);
    border-top: 1px solid var(--border-glass);
    margin-top: 3rem !important; /* space before footer starts */
}

.main-footer .logo-area {
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        margin-top: 2rem;
    }
    .footer-bottom .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--color-gold-gradient);
}

.footer-links li {
    list-style: none;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 0.35rem;
}

.footer-contact li {
    list-style: none;
    color: var(--color-text-muted);
    word-break: break-word;
    overflow-wrap: break-word;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.social-link:hover {
    background-color: var(--color-gold);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.footer-legal a {
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-gold);
}

/* 16. FLOATING CTAS */
.floating-ctas {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 90;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-normal);
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.whatsapp-btn {
    background-color: #25d366;
}

.whatsapp-btn:hover {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}

.phone-btn {
    background: var(--color-gold-gradient);
    color: var(--color-text-dark);
}

.phone-btn:hover {
    box-shadow: 0 4px 20px rgba(226, 186, 94, 0.45);
}

/* 17. MODALS */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    max-width: 480px;
    width: 100%;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    text-align: center;
    border-color: var(--border-gold);
    box-shadow: var(--shadow-glow-hover);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    font-size: 3.5rem;
}

/* 18. RESPONSIVE DESIGN (MEDIA QUERIES) */

/* Large Tablets & Small Laptops */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .text-6xl {
        font-size: 3rem;
    }

    .text-5xl {
        font-size: 2.5rem;
    }

    .hero-badges {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 100%;
        margin: 2.5rem auto 0;
        gap: 0.5rem;
    }
    .hero-badges > div {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-color: var(--bg-glass);
        padding: 0.75rem 0.5rem;
        border-radius: 0.5rem;
        border: 1px solid var(--border-glass);
        gap: 0.5rem;
    }
    .hero-badges h4 {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    .hero-badges p {
        display: none;
    }
}

/* Tablets & iPads */
@media (max-width: 768px) {
    .hide-tablet {
        display: none !important;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-section {
        padding: 6rem 0 4rem;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }


    
    .live-rates-card {
        text-align: left;
    }

    .section-padding {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

/* Tablets & iPads (Logo & Top bar responsive overrides) */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0 !important; /* give space top and bottom */
    }
    .top-bar-text {
        display: none !important;
    }
    .top-bar-email-mobile {
        display: inline-flex !important;
        align-items: center;
    }
    .top-bar-phone {
        display: none !important;
    }
    .main-header .container {
        padding-top: 12px !important; /* give space top and bottom */
        padding-bottom: 12px !important;
    }
    .logo-area .logo-text {
        display: flex !important;
        flex-direction: column !important;
        margin-left: 0.5rem !important;
    }
    .logo-area .brand-name {
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        letter-spacing: 0.02em !important;
    }
    .logo-area .brand-sub {
        font-size: 0.5rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.05em !important;
        color: var(--color-gold) !important;
    }
    .logo-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.2rem !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    .hero-section {
        padding: 2.5rem 0 4rem !important; /* reduce top padding/margin to remove dead area */
    }
    .hero-overlay {
        background-image: url('howrah_bridge_mobile.png') !important;
        background-position: center !important;
        background-size: cover !important;
        opacity: 0.08 !important;
    }
    body.light-mode .hero-overlay {
        opacity: 0.05 !important;
    }

    /* Mobile stacked card comparison layout */
    .comparison-table thead {
        display: none !important;
    }
    
    .comparison-table, 
    .comparison-table tbody, 
    .comparison-table tr, 
    .comparison-table td {
        display: block !important;
        width: 100% !important;
    }
    
    .comparison-table tr {
        padding: 1.25rem !important;
        border-bottom: 1px solid var(--border-glass) !important;
        background-color: rgba(22, 31, 48, 0.25) !important;
        margin-bottom: 1.25rem !important;
        border-radius: 12px !important;
        border: 1px solid var(--border-glass) !important;
    }
    
    body.light-mode .comparison-table tr {
        background-color: rgba(255, 255, 255, 0.5) !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
    }
    
    .comparison-table td {
        padding: 0.4rem 0 !important;
        border-bottom: none !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .comparison-table td:first-child {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: var(--color-gold) !important;
        border-bottom: 1px solid var(--border-glass) !important;
        padding-bottom: 0.6rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    body.light-mode .comparison-table td:first-child {
        color: #b8913b !important;
        border-bottom-color: rgba(0, 0, 0, 0.08) !important;
    }
    
    .comparison-table td:nth-child(2)::before {
        content: "Bank/NBFC Auction: ";
        display: block;
        font-weight: 700;
        color: #ef4444;
        margin-bottom: 0.15rem;
        font-size: 0.75rem;
        text-transform: uppercase;
    }
    
    .comparison-table td:nth-child(3)::before {
        content: "Siddhi Vinayak Release: ";
        display: block;
        font-weight: 700;
        color: var(--color-gold);
        margin-bottom: 0.15rem;
        font-size: 0.75rem;
        text-transform: uppercase;
    }
    
    body.light-mode .comparison-table td:nth-child(3)::before {
        color: #b8913b !important;
    }
}

/* Mobile Sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 65vw;
    min-width: 280px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-glass);
    z-index: 1000;
    padding: 1.5rem;
    transition: right 0.4s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-link {
    display: block;
    padding: 0.35rem 0;
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

body.light-mode .sidebar-link {
    border-bottom-color: rgba(255, 255, 255, 0.05);
    color: #f3f4f6;
}
body.light-mode .mobile-sidebar {
    background-color: rgba(13, 19, 31, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
body.light-mode .mobile-sidebar .brand-name,
body.light-mode .mobile-sidebar .brand-sub {
    color: #ffffff !important;
}

.sidebar-nav ul {
    padding-left: 2.5rem;
    list-style-type: disc;
    margin-bottom: 70px;
}
.sidebar-nav ul li {
    margin-top: 8px !important;
}
.sidebar-nav ul li::marker {
    color: var(--color-gold);
}

.sidebar-link:hover {
    color: var(--color-gold);
}

/* Mobile Phones */
@media (max-width: 480px) {
    .hide-mobile {
        display: none !important;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .text-4xl {
        font-size: 1.75rem;
    }

    .text-5xl {
        font-size: 2.1rem;
    }

    .btn {
        width: 100%;
    }

    .main-header .btn {
        width: auto !important;
        padding: 0.6rem 0.85rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }

    .hero-actions .btn {
        margin-bottom: 0.5rem;
        width: 100% !important;
    }

    .container {
        padding: 0 1rem;
    }

    .top-bar-text {
        display: none !important;
    }

    .floating-ctas {
        bottom: 1.25rem;
        right: 1.25rem;
    }
}

/* Custom Header Responsive Scaling & Laptop layout fixes */
@media (max-width: 1400px) {
    .desktop-nav ul {
        gap: 0.6rem;
    }
    .nav-link {
        font-size: 0.825rem;
    }
    .brand-name {
        font-size: 1.1rem;
    }
    .brand-sub {
        font-size: 0.6rem;
    }
    .main-header .btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
    }
    .theme-toggle-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .footer-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 1250px) {
    .hide-laptop {
        display: none !important;
    }
    .desktop-nav ul {
        gap: 0.4rem;
    }
    .nav-link {
        font-size: 0.75rem;
    }
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .hide-tablet {
        display: none !important;
    }
}

/* Light mode UI contrast and readability overrides */
body.light-mode .workflow-card,
body.light-mode .glass-card {
    background-color: var(--bg-glass) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .workflow-icon,
body.light-mode .service-icon,
body.light-mode .contact-icon-box {
    background-color: rgba(184, 145, 59, 0.1) !important;
    border-color: rgba(184, 145, 59, 0.25) !important;
    color: #b8913b !important;
}

body.light-mode .badge-gold {
    background-color: rgba(184, 145, 59, 0.1) !important;
    border-color: rgba(184, 145, 59, 0.25) !important;
    color: #b8913b !important;
}

body.light-mode .workflow-number {
    color: rgba(184, 145, 59, 0.12) !important;
}

body.light-mode .check-circle {
    background-color: rgba(184, 145, 59, 0.1) !important;
    border-color: rgba(184, 145, 59, 0.25) !important;
    color: #b8913b !important;
}

body.light-mode .calc-alert {
    background-color: rgba(184, 145, 59, 0.06) !important;
    border-color: rgba(184, 145, 59, 0.2) !important;
    color: #91702c !important;
}

.custom-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .custom-logo {
        height: 55px;
    }
}