/* ATC – Premium Fintech Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --navy: #062B57;
    --navy-light: #0a3d6e;
    --gold: #D4A64A;
    --gold-light: #e8c06a;
    --matte-dark: #0D1117;
    --matte-card: #161B22;
    --surface: #F8FAFC;
    --text-light: #E6EDF3;
    --text-muted: rgba(230, 237, 243, 0.7);
    --glass-bg: rgba(22, 27, 34, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-gold: 0 8px 32px rgba(212, 166, 74, 0.15);
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Poppins', var(--font-main);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-light);
    background: var(--matte-dark);
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Prevent wide media / embeds from causing horizontal scroll */
main img,
section img,
.blog-image,
.about-section img,
.map-placeholder iframe {
    max-width: 100%;
}

.map-placeholder iframe {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--surface);
    letter-spacing: -0.02em;
}

p { color: var(--text-muted); }

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover { color: var(--gold-light); }

.text-gold { color: var(--gold) !important; }
.text-surface { color: var(--surface) !important; }
.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Loading */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--matte-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.loading-overlay .spinner-border { color: var(--gold) !important; width: 3rem; height: 3rem; }

.loading-overlay.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Navbar */
.navbar-atc {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.35s ease;
}

.navbar-atc.scrolled {
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.6rem 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.navbar-atc .navbar-brand {
    font-weight: 600;
    color: var(--surface) !important;
    font-size: 1.05rem;
}

.navbar-atc .navbar-brand .navbar-logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.footer-logo {
    height: 56px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.navbar-atc .navbar-brand span {
    display: block;
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.navbar-atc .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.25s;
}

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

/* Mobile nav: see assets/css/mobile-nav.css */

.btn-nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
    margin-left: 0.5rem;
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--navy) !important;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy) !important;
    border: none;
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: transform 0.25s, box-shadow 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-outline-gold {
    border: 1px solid rgba(212, 166, 74, 0.5);
    color: var(--surface) !important;
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    transition: all 0.25s;
}

.btn-outline-gold:hover {
    background: rgba(212, 166, 74, 0.1);
    border-color: var(--gold);
    color: var(--gold) !important;
    transform: translateY(-2px);
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 5rem;
    overflow: hidden;
    background: linear-gradient(145deg, var(--navy) 0%, var(--matte-dark) 50%, var(--matte-dark) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
    50% { transform: translateY(-40px) translateX(10px); opacity: 0.6; }
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 400px; height: 400px;
    background: rgba(212, 166, 74, 0.12);
    top: -100px; left: -100px;
}

.hero-glow-2 {
    width: 350px; height: 350px;
    background: rgba(6, 43, 87, 0.5);
    bottom: -80px; right: -80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(212, 166, 74, 0.12);
    border: 1px solid rgba(212, 166, 74, 0.3);
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-content .lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero Dashboard Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.dashboard-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.dashboard-card:hover {
    border-color: rgba(212, 166, 74, 0.25);
}

.chart-svg { width: 100%; height: 120px; }

.chart-line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 2s ease forwards 0.5s;
}

.chart-area {
    fill: url(#chartGradient);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.growth-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    margin-top: 1rem;
}

.growth-bar {
    flex: 1;
    background: linear-gradient(to top, var(--navy), var(--gold));
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: growBar 1s ease forwards;
}

@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card i { color: var(--gold); font-size: 1.25rem; }

.floating-card-1 { top: 5%; left: -5%; animation-delay: 0s; }
.floating-card-2 { top: 40%; right: -8%; animation-delay: 1s; }
.floating-card-3 { bottom: 10%; left: 0; animation-delay: 2s; }

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

/* Sections */
.section-dark { background: var(--matte-dark); padding: 5rem 0; }
.section-navy { background: linear-gradient(180deg, var(--matte-dark), rgba(6, 43, 87, 0.3)); padding: 5rem 0; }
.section-card-bg { background: var(--matte-card); padding: 5rem 0; }

/* Service Cards */
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform 0.35s ease, border-color 0.35s, box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(212, 166, 74, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 166, 74, 0.35);
    box-shadow: var(--shadow-gold);
}

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

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 166, 74, 0.2), rgba(6, 43, 87, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.35s;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.1) rotate(3deg);
}

.service-icon-wrap i {
    font-size: 1.75rem;
    color: var(--gold);
}

.service-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Stats */
.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 166, 74, 0.25);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: rgba(212, 166, 74, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i { font-size: 1.5rem; color: var(--gold); }

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--surface);
    margin-top: 0.5rem;
}

.stat-sub { font-size: 0.85rem; color: var(--text-muted); }

/* Team */
.team-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 166, 74, 0.4);
    box-shadow: var(--shadow-gold);
}

.team-photo-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.25rem;
}

.team-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 166, 74, 0.2);
}

.team-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    white-space: nowrap;
}

.team-card h5 { margin-bottom: 0.25rem; font-size: 1.15rem; }

.team-card .team-role { color: var(--gold); font-size: 0.9rem; font-weight: 500; margin-bottom: 0.75rem; }

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.25s;
}

.team-social a:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* Testimonials Swiper */
.testimonial-section { padding: 5rem 0; background: var(--matte-card); }

.clients-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(212, 166, 74, 0.1);
    border: 1px solid rgba(212, 166, 74, 0.25);
    border-radius: 50px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: auto;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.testimonial-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 1rem; }

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    flex-grow: 1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.testimonial-author h6 { margin: 0; color: var(--surface); font-size: 0.95rem; }
.testimonial-author small { color: var(--text-muted); }

.swiper-pagination-bullet { background: var(--text-muted) !important; opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--gold) !important; opacity: 1; }

/* Office / Contact */
.office-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--matte-dark), var(--navy));
}

.office-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}

.office-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.office-info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.office-info-item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(212, 166, 74, 0.15);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.office-info-item h6 { color: var(--surface); margin-bottom: 0.25rem; font-size: 0.95rem; }
.office-info-item p { margin: 0; font-size: 0.9rem; }

.map-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: var(--matte-card);
    min-height: 320px;
    max-width: 100%;
    width: 100%;
}

.map-placeholder iframe {
    width: 100%;
    max-width: 100%;
    height: 320px;
    border: 0;
    filter: grayscale(30%) contrast(1.1);
}

/* Contact Form – Floating Labels */
.contact-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.form-floating-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-floating-custom input,
.form-floating-custom select,
.form-floating-custom textarea {
    width: 100%;
    padding: 1rem 1rem 0.5rem;
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--surface);
    font-size: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.form-floating-custom textarea { min-height: 120px; resize: vertical; }

.form-floating-custom label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.25s ease;
}

.form-floating-custom input:focus,
.form-floating-custom select:focus,
.form-floating-custom textarea:focus,
.form-floating-custom input:not(:placeholder-shown),
.form-floating-custom textarea:not(:placeholder-shown) {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 166, 74, 0.15);
}

.form-floating-custom input:focus + label,
.form-floating-custom input:not(:placeholder-shown) + label,
.form-floating-custom textarea:focus + label,
.form-floating-custom textarea:not(:placeholder-shown) + label,
.form-floating-custom select:focus + label,
.form-floating-custom select:valid + label {
    top: 0.35rem;
    font-size: 0.75rem;
    color: var(--gold);
}

.form-floating-custom input::placeholder,
.form-floating-custom textarea::placeholder { color: transparent; }

.form-floating-custom .is-invalid { border-color: #dc3545; }
.form-floating-custom .is-valid { border-color: #28a745; }

/* Footer */
.footer-atc {
    background: var(--navy);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-glass);
}

.footer-atc h5, .footer-atc h6 {
    color: var(--surface);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-atc p, .footer-atc li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-atc li { margin-bottom: 0.5rem; }

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

.footer-brand img { height: 48px; margin-bottom: 1rem; }

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 166, 74, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    color: var(--gold);
    transition: all 0.25s;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

/* Blog */
.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.blog-image { height: 200px; object-fit: cover; width: 100%; }

.blog-card .card-body { padding: 1.5rem; }

.blog-card h6 { color: var(--surface); }

/* CTA */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-xl);
    margin: 0 1rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(212, 166, 74, 0.08);
    border-radius: 50%;
}

/* Page headers (inner pages) */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(145deg, var(--navy), var(--matte-dark));
    text-align: center;
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); }

/* WhatsApp & Back to top */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s;
}

.whatsapp-float:hover { transform: scale(1.1); color: white; }

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    cursor: pointer;
}

.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* Alerts */
.alert-atc {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.25rem;
}

.alert-atc-success {
    background: rgba(40, 167, 69, 0.15);
    color: #75d68a;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-atc-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #f5a0a8;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--matte-dark); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Responsive */
@media (max-width: 991px) {
    .floating-card { display: none; }
    .hero-section { padding-top: 6rem; min-height: auto; }
    .hero-visual { margin-top: 3rem; }

    .container,
    .container-fluid {
        max-width: 100%;
        overflow-x: clip;
    }

    .row {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .row > * {
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    }

    /* AOS slide animations can push layout wider than the screen */
    [data-aos] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .display-4,
    .lead {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .blog-card,
    .contact-form-card,
    .office-info-card,
    .map-placeholder {
        max-width: 100%;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-dark, .section-navy, .section-card-bg { padding: 3.5rem 0; }
    .contact-form-card { padding: 1.5rem; }
    .stat-number { font-size: 2.25rem; }
}

/* Override Bootstrap defaults on dark theme */
.bg-light { background: var(--matte-card) !important; }
.bg-primary { background: var(--navy) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-primary { color: var(--gold) !important; }

.form-control, .form-select {
    background: rgba(13, 17, 23, 0.6);
    border-color: var(--border-glass);
    color: var(--surface);
}

.form-control:focus, .form-select:focus {
    background: rgba(13, 17, 23, 0.8);
    border-color: var(--gold);
    color: var(--surface);
    box-shadow: 0 0 0 3px rgba(212, 166, 74, 0.15);
}

.form-label { color: var(--text-muted); }

.home-blog-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-blog-excerpt p { margin-bottom: 0; }
