/* =============================================
   DHRUV STAR - Main Stylesheet
   Your Trusted Partner in Real Estate & Financial Growth
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --navy: #0a1628;
    --navy-light: #112240;
    --navy-mid: #1a3a6b;
    --gold: #c9a227;
    --gold-light: #e8c84a;
    --gold-dark: #a07c10;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --gray-100: #f1f3f7;
    --gray-200: #e2e6ed;
    --gray-500: #7a8499;
    --text-dark: #0d1b2e;
    --text-muted: #5a6478;
    --shadow-sm: 0 2px 12px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 8px 32px rgba(10, 22, 40, 0.14);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.2);
    --shadow-gold: 0 8px 30px rgba(201, 162, 39, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.text-navy {
    color: var(--navy) !important;
}

.bg-navy {
    background: var(--navy);
}

.bg-navy-light {
    background: var(--navy-light);
}

.bg-gold {
    background: var(--gold);
}

.section-pad {
    padding: 96px 0;
}

.section-pad-sm {
    padding: 64px 0;
}

/* ---------- Section Headings ---------- */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 0;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.75);
}

/* Decorative divider */
.fancy-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.fancy-divider .line {
    height: 2px;
    width: 48px;
    background: var(--gold);
    border-radius: 2px;
}

.fancy-divider .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* ---------- Buttons ---------- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy) !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(201, 162, 39, 0.4);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--navy);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-navy:hover {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy) !important;
    transform: translateY(-3px);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    background: transparent;
    color: var(--gold) !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--navy) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

#preloader img {
    width: 220px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 16px 24px;
    animation: pulse-logo 1.5s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(201, 162, 39, 0.25);
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
    animation: load-bar 1.5s ease-in-out forwards;
}

@keyframes pulse-logo {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

@keyframes load-bar {
    0% {
        width: 0
    }

    100% {
        width: 100%
    }
}

/* ---------- Navbar ---------- */
#main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

#main-navbar.scrolled {
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.scrolled .navbar-logo {
    height: 42px;
    width: 42px;
    padding: 4px;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.brand-name span {
    color: var(--gold);
}

.brand-tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    letter-spacing: 0.05em;
    display: block;
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.01em;
    position: relative;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--gold-light) !important;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 60%;
}

.navbar-toggler-custom {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.navbar-toggler-custom:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ---------- Hero Section ---------- */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0d2a5e 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 58, 107, 0.4) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Dhruv Tara sky canvas */
#dhruv-tara-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.12;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.12;
    }

    90% {
        opacity: 0.12;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.35);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    animation: fade-up 0.6s ease both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fade-up 0.6s 0.1s ease both;
}

.hero-title .highlight {
    color: var(--gold-light);
    position: relative;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    margin-bottom: 36px;
    animation: fade-up 0.6s 0.2s ease both;
}

.hero-actions {
    animation: fade-up 0.6s 0.3s ease both;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
    animation: fade-up 0.6s 0.4s ease both;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
    display: block;
    font-family: 'Playfair Display', serif;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-image-wrap {
    position: relative;
    z-index: 2;
    animation: fade-left 0.8s 0.3s ease both;
}

.hero-logo-display {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-logo-display img {
    width: 90%;
    max-width: 340px;
    border-radius: 16px;
    background: white;
    padding: 20px;
    box-shadow: 0 8px 40px rgba(201, 162, 39, 0.25), 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: float-card 4s ease-in-out infinite;
}

.hero-float-card .icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.hero-float-card-1 {
    bottom: 30px;
    left: -20px;
    animation-delay: 0s;
}

.hero-float-card-2 {
    top: 30px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fade-left {
    from {
        opacity: 0;
        transform: translateX(40px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

/* ---------- Services Section ---------- */
#services {
    background: var(--off-white);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    transform: scale(1.1) rotate(5deg);
}

.service-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-dark);
    border: 1px solid rgba(201, 162, 39, 0.25);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Loan Docs Accordion */
.loan-docs-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.82rem;
    color: var(--navy-mid);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.loan-docs-btn:hover {
    color: var(--gold);
}

.loan-docs-list {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.loan-docs-list li {
    padding: 3px 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.loan-docs-list li i {
    color: var(--gold);
    margin-top: 4px;
    font-size: 0.7rem;
}

/* ---------- About Section ---------- */
#about {
    background: var(--white);
}

.about-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-logo-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(201, 162, 39, 0.12) 0%, transparent 60%);
}

.about-logo-card img {
    width: 80%;
    max-width: 280px;
    position: relative;
    z-index: 1;
    border-radius: 16px;
    background: white;
    padding: 20px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(201, 162, 39, 0.15);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    line-height: 1.3;
    box-shadow: var(--shadow-gold);
    animation: rotate-badge 20s linear infinite;
}

@keyframes rotate-badge {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.about-badge span {
    font-size: 1.4rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.about-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--gray-100);
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--navy);
}

.about-feature h6 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Why Us / Process ---------- */
#process {
    background: var(--navy);
}

.process-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.process-card:hover {
    background: rgba(201, 162, 39, 0.08);
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-6px);
}

.process-num {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    color: rgba(201, 162, 39, 0.2);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition);
}

.process-card:hover .process-num {
    color: var(--gold);
}

.process-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-gold);
}

.process-card h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
}

.process-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

/* ---------- Loan Calculator ---------- */
#calculator {
    background: var(--off-white);
}

.calc-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.calc-result-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: var(--radius-xl);
    padding: 40px;
    color: var(--white);
    height: 100%;
}

.range-input {
    width: 100%;
    cursor: pointer;
    accent-color: var(--gold);
}

.range-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.calc-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
}

.form-control-custom {
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    width: 100%;
    font-family: 'Outfit', sans-serif;
}

.form-control-custom:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.form-label-custom {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

/* ---------- Contact Section ---------- */
#contact {
    background: var(--white);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-xl);
    padding: 44px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.12) 0%, transparent 70%);
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1rem;
}

.contact-item h6 {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--white);
    margin: 0;
    font-weight: 500;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

/* ---------- Footer ---------- */
#main-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 28px;
    position: relative;
}

#main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
}

.footer-brand img {
    height: 52px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 12px;
    max-width: 280px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-bottom a {
    color: var(--gold-light);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* ---------- Floating WhatsApp ---------- */
#whatsapp-float {
    position: fixed;
    bottom: 32px;
    left: 32px;
    /* moved to LEFT — chatbot lives bottom-right */
    right: auto;
    z-index: 999;
}

.whatsapp-btn {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

/* ---------- Back to Top ---------- */
#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 32px;
    /* stays right but high enough to clear the chatbot FAB */
    z-index: 999;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-4px);
}

/* ---------- AOS Overrides ---------- */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-mid);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    #main-navbar {
        background: rgba(10, 22, 40, 0.97);
        backdrop-filter: blur(20px);
    }

    .hero-image-wrap {
        display: none;
    }

    .about-badge {
        width: 90px;
        height: 90px;
        font-size: 0.65rem;
    }

    .about-badge span {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .section-pad {
        padding: 64px 0;
    }

    .hero-stats {
        gap: 20px;
    }

    .calc-card,
    .calc-result-card,
    .contact-info-card,
    .contact-form-card {
        padding: 28px 20px;
    }

    #whatsapp-float {
        bottom: 20px;
        left: 20px;
        /* bottom-left on mobile too */
        right: auto;
    }

    #back-to-top {
        bottom: 90px;
        right: 20px;
        /* right side, above chatbot */
    }
}