/* ============================================
   Shri Ashtavinayk Properties - Custom Styles
   ============================================ */

/* Root Variables */
:root {
    --primary-blue: #1e3a5f;
    --secondary-green: #2d5016;
    --accent-gold: #d4af37;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.15);
    --header-clearance: 96px;
    --safe-top: env(safe-area-inset-top, 0px);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: 0.75rem 1rem;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 0 0 8px 8px;
    font-weight: 600;
}

.skip-link:focus {
    left: 1rem;
    top: 0;
    color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue) !important;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.navbar-brand img {
    height: 52px;
    width: auto;
    display: block;
    scale: 1.2;
}

.navbar-brand .brand-fallback {
    display: none;
    font-size: 1.15rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-gold) !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
    color: var(--accent-gold) !important;
}

.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
    width: 80%;
}

.navbar-nav .nav-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-nav .nav-link.dropdown-toggle::after {
    position: static;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.2rem;
    vertical-align: middle;
    border-top: 0.38em solid currentColor;
    border-right: 0.32em solid transparent;
    border-bottom: 0;
    border-left: 0.32em solid transparent;
    content: "";
    transform: translateY(1px);
    transition: transform 0.2s ease;
}

.navbar-nav .show > .nav-link.dropdown-toggle::after,
.navbar-nav .nav-item.dropdown:hover > .nav-link.dropdown-toggle::after {
    transform: rotate(180deg) translateY(-1px);
}

.navbar .dropdown-menu {
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 0.5rem;
}

.navbar .dropdown-item {
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.55rem 0.8rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(212, 175, 55, 0.14);
    color: var(--primary-blue);
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-blue);
}

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu {
        margin-top: 0.2rem;
    }
}

.nav-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1045;
}

.nav-drawer-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer-close {
    display: none;
}

.btn-call {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
    color: var(--white) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(120deg, rgba(18, 35, 58, 0.86), rgba(28, 63, 37, 0.84)), url('../images/hero-real-estate.svg');
    background-size: cover;
    background-position: center;
    min-height: auto;
    padding: calc(var(--header-clearance) + var(--safe-top) + 1.5rem) 0 2.25rem;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section.hero-home {
    min-height: 78vh;
    padding: calc(var(--header-clearance) + var(--safe-top) + 2.5rem) 0 4rem;
}

.hero-section.hero-compact {
    min-height: auto;
    padding: calc(var(--header-clearance) + var(--safe-top) + 0.9rem) 0 1.8rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 42%),
                radial-gradient(circle at 80% 10%, rgba(212, 175, 55, 0.2), transparent 35%);
    opacity: 0.55;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    bottom: -190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(212, 175, 55, 0) 68%);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 1;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.typewriter {
    border-right: 3px solid var(--accent-gold);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--accent-gold); }
    51%, 100% { border-color: transparent; }
}

/* Buttons */
.btn-primary-custom {
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary-custom:hover {
    background: #c19d2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: var(--white);
}

.btn-outline-custom {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 5rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--secondary-green));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card-custom {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    height: 100%;
    background: var(--white);
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-custom:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.card-custom:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-gold), #c19d2e);
}

.card-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* Forms */
.form-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    color: var(--white);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
    color: var(--white);
}

/* Alert Messages */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* About Section */
.about-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.vision-box {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(45, 80, 22, 0.05));
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-gold);
    margin-top: 2rem;
}

/* Investment Section */
.investment-features {
    list-style: none;
    padding: 0;
}

.investment-features li {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 2rem;
}

.investment-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.investment-features li:last-child {
    border-bottom: none;
}

/* Contact Info Cards */
.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* FAQ */
.faq-section {
    background: var(--white);
}

.faq-accordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 0.9rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--primary-blue);
    background-color: var(--white);
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background: rgba(212, 175, 55, 0.12);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.2);
}

.faq-accordion .accordion-body {
    color: var(--text-light);
    line-height: 1.8;
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 3rem;
    --timeline-progress: 0%;
}

.process-timeline::before,
.process-timeline::after {
    content: '';
    position: absolute;
    left: 1.1rem;
    top: 0.3rem;
    bottom: 0.3rem;
    width: 4px;
    border-radius: 999px;
}

.process-timeline::before {
    background: rgba(30, 58, 95, 0.16);
}

.process-timeline::after {
    background: linear-gradient(180deg, var(--accent-gold), var(--secondary-green));
    height: var(--timeline-progress);
    bottom: auto;
    transition: height 0.25s ease-out;
}

.process-step {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid #e7ecf2;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    padding: 1.4rem;
    position: relative;
    opacity: 0.45;
    transform: translateY(18px) scale(0.985);
    transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    border-left: 3px solid transparent;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -2.32rem;
    top: 1.45rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid rgba(30, 58, 95, 0.35);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.6);
}

.process-step.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: rgba(212, 175, 55, 0.65);
    box-shadow: 0 12px 26px rgba(30, 58, 95, 0.14);
}

.process-step.is-visible::before {
    border-color: var(--accent-gold);
    background: var(--accent-gold);
}

.process-step h4 {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.process-step p {
    margin-bottom: 0.45rem;
}

.process-step small {
    color: var(--secondary-green);
    font-weight: 600;
}

.process-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.process-step.is-visible .process-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 18px rgba(30, 58, 95, 0.24);
}

.review-card {
    background: var(--white);
    border: 1px solid #e9edf3;
    border-radius: 14px;
    padding: 1.4rem;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.12);
}

.review-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.review-card h5 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.review-card span {
    display: inline-block;
    color: var(--secondary-green);
    font-size: 0.86rem;
    font-weight: 600;
}

.conversion-cta-section {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.97), rgba(45, 80, 22, 0.95));
    color: var(--white);
    padding: 3.2rem 0;
    position: relative;
    overflow: hidden;
}

.conversion-cta-section::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.26), rgba(212, 175, 55, 0));
}

.conversion-cta-section .cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.conversion-cta-section h2 {
    color: var(--white);
    margin-bottom: 0.85rem;
    font-size: 2rem;
}

.conversion-cta-section p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
}

.conversion-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.breadcrumb-wrap {
    padding: 0.7rem 0;
    border-bottom: 1px solid #edf1f6;
    background: #ffffff;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.keyword-marquee-section {
    background: #ffffff;
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
    padding: 0.75rem 0;
}

.keyword-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.keyword-marquee-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    animation: keywordMarqueeScroll 95s linear infinite;
}

.keyword-marquee-track span {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.1px;
    opacity: 0.95;
    margin-right: 0.75rem;
}

.keyword-marquee-track span::after {
    content: "•";
    color: var(--accent-gold);
    font-weight: 700;
    margin-left: 0.75rem;
}

.keyword-marquee:hover .keyword-marquee-track {
    animation-play-state: paused;
}

.keyword-marquee-inline {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 0;
    background: rgba(12, 24, 40, 0.36);
    backdrop-filter: blur(2px);
    padding: 0.52rem 1.2rem;
    width: auto;
    max-width: none;
    margin-left: var(--bleed-left, 0px);
    margin-right: var(--bleed-right, 0px);
}

.keyword-marquee-inline .keyword-marquee-track span {
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.88rem;
    font-weight: 500;
}

.keyword-marquee-inline .keyword-marquee-track span::after {
    color: var(--accent-gold);
}

@keyframes keywordMarqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 1400px) and (orientation: landscape) {
    .navbar {
        padding: 0.55rem 0;
    }

    .navbar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .navbar-brand {
        gap: 0.35rem;
    }

    .navbar-brand img {
        height: 40px;
        scale: 1;
    }

    .navbar-nav .nav-link {
        margin: 0 0.12rem;
        padding: 0.38rem 0.5rem !important;
        font-size: 0.92rem;
    }

    .navbar .dropdown-menu {
        border-radius: 10px;
        padding: 0.35rem;
    }

    .navbar .dropdown-item {
        padding: 0.42rem 0.65rem;
        font-size: 0.9rem;
    }

    .btn-call {
        padding: 0.48rem 0.9rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        height: 42px;
    }

    .keyword-marquee-track {
        animation-duration: 80s;
    }

    .keyword-marquee-track span {
        font-size: 0.87rem;
    }

    .keyword-marquee-inline {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
}

@media (max-width: 1199.98px) {
    body.nav-drawer-open .navbar {
        z-index: 1060 !important;
    }

    .navbar-expand-lg .navbar-toggler {
        display: block !important;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: column !important;
    }

    :root {
        --header-clearance: 84px;
    }

    .hero-section {
        padding-top: calc(var(--header-clearance) + var(--safe-top) + 1.4rem);
    }

    .hero-section.hero-home {
        padding-top: calc(var(--header-clearance) + var(--safe-top) + 2rem);
    }

    .hero-section.hero-compact {
        padding-top: calc(var(--header-clearance) + var(--safe-top) + 0.8rem);
    }

    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-brand {
        margin-left: 0.1rem;
    }

    .navbar .navbar-toggler {
        margin-right: 0.1rem;
    }

    .navbar .navbar-collapse {
        position: fixed;
        top: 0;
        right: -340px;
        width: min(86vw, 340px);
        height: 100vh;
        background: var(--white);
        box-shadow: -14px 0 30px rgba(0, 0, 0, 0.18);
        padding: 4.5rem 1rem 1.5rem;
        z-index: 1061;
        display: block !important;
        overflow-y: auto;
        transition: right 0.28s ease;
    }

    .nav-drawer-close {
        position: absolute;
        top: 0.85rem;
        right: 0.85rem;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        border: 1px solid #d7dee8;
        background: #fff;
        color: var(--primary-blue);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        line-height: 1;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        opacity: 0;
        transform: translateX(10px) scale(0.92);
        transition: opacity 0.2s ease, transform 0.24s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .nav-drawer-close:hover,
    .nav-drawer-close:focus {
        color: var(--accent-gold);
        border-color: rgba(212, 175, 55, 0.6);
    }

    .navbar .navbar-collapse.show .nav-drawer-close,
    .navbar .navbar-collapse.collapsing .nav-drawer-close {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    .navbar .navbar-collapse.show,
    .navbar .navbar-collapse.collapsing {
        right: 0;
    }

    .navbar .navbar-collapse.collapsing {
        height: 100vh !important;
    }

    .navbar .navbar-nav {
        align-items: stretch !important;
        width: 100%;
    }

    .navbar .nav-item {
        width: 100%;
    }

    .navbar .nav-link {
        margin: 0;
        border-radius: 8px;
    }

    .navbar .dropdown-menu {
        position: static;
        float: none;
        border: 0;
        box-shadow: none;
        padding: 0.2rem 0.2rem 0.35rem 0.6rem;
        margin: 0.15rem 0 0.35rem;
    }

    .navbar .btn-call {
        display: inline-flex;
        margin-top: 0.6rem;
    }
}

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

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
}

.shadow-custom {
    box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

