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

:root {
    /* Color Palette - Premium White & Gold */
    --gold: hsl(43, 80%, 42%); 
    --gold-dark: hsl(43, 80%, 30%);
    --gold-light: hsl(43, 60%, 60%);
    --gold-glow: rgba(184, 134, 11, 0.08);
    --blue-accent: hsl(212, 85%, 45%); /* Premium rich blue */
    
    --bg-main: hsl(0, 0%, 100%);
    --bg-card: hsl(0, 0%, 100%);
    --bg-card-hover: hsl(0, 0%, 100%);
    --bg-secondary: hsl(0, 0%, 96.5%);
    --bg-nav: rgba(255, 255, 255, 0.95);
    
    --text-main: hsl(220, 20%, 12%);
    --text-secondary: hsl(220, 10%, 38%);
    --text-light: hsl(220, 8%, 52%);
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-gold-subtle: rgba(184, 134, 11, 0.18);
    --border-gold: rgba(184, 134, 11, 0.4);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-gold-subtle);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Blown up Background Watermark */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/logo_bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain; 
    opacity: 0.055; 
    z-index: -1; 
    pointer-events: none;
}

/* Navigation */
nav {
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--gold);
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.logo {
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-smooth);
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    line-height: 1.2;
}

.logo-gold {
    color: var(--gold);
    margin-left: 5px;
}

.logo-img {
    height: 64px;
    vertical-align: middle;
    margin-right: 18px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2.5rem;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-main);
}

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

.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 8% 170px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, var(--bg-main) 100%), 
                url('assets/geometric_shield_armor.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    border-bottom: 1px solid var(--border-color);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-main), transparent);
    pointer-events: none;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    z-index: 10;
}

.sdvosb-badge {
    border: 2px solid var(--gold);
    padding: 7px 18px;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.sdvosb-badge:hover {
    border-color: var(--gold-dark);
    background: #FFFFFF;
    transform: translateY(-2px);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 1rem 0 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.15;
    max-width: 1100px;
    z-index: 10;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 45px;
    color: var(--text-secondary);
    z-index: 10;
    font-weight: 400;
    line-height: 1.8;
}

/* Buttons */
.cta-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #FFFFFF;
    padding: 16px 42px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid var(--gold-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 3px;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.2);
    font-size: 0.85rem;
    z-index: 10;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(184, 134, 11, 0.35);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
    box-shadow: none;
    margin-left: 15px;
}

.cta-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--text-main);
    box-shadow: none;
    color: var(--text-main);
}

/* Mobile-only Inquire Block */
.mobile-inquire-block {
    display: none;
}

/* Sections General */
section {
    padding: 100px 8%;
    position: relative;
    scroll-margin-top: 110px;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 span {
    color: var(--gold);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Performance Quick Link Promo */
.performance-promo {
    padding: 30px 8%;
    background: rgba(184, 134, 11, 0.04);
    border-bottom: 1px solid var(--border-gold-subtle);
    text-align: center;
}

.performance-promo-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.performance-promo-text {
    text-align: left;
}

.performance-promo-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.performance-promo-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.performance-promo .cta-btn {
    padding: 12px 28px;
    font-size: 0.8rem;
    box-shadow: none;
}

/* About Section */
.vet-section {
    background: rgba(244, 244, 244, 0.65);
    border-bottom: 1px solid var(--border-color);
}

.vet-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.vet-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.vet-text strong {
    color: var(--text-main);
    font-weight: 700;
}

.vet-image-container {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    aspect-ratio: 16/10;
}

.vet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.05) brightness(0.95);
    transition: var(--transition-smooth);
}

.vet-image-container:hover .vet-image {
    filter: grayscale(0%) contrast(1) brightness(1);
    transform: scale(1.02);
}

/* Services / Core Competencies Section */
.services-section {
    background: transparent;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--border-gold-subtle);
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(184, 134, 11, 0.05), transparent 45%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-top-color: var(--gold);
    border-color: rgba(184, 134, 11, 0.25);
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.08);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.7;
}

/* Company Data Section */
.data-section {
    background: rgba(244, 244, 244, 0.65);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.data-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.data-card:hover {
    border-color: var(--border-gold-subtle);
    box-shadow: 0 6px 15px rgba(184, 134, 11, 0.05);
}

.data-label {
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.data-value {
    color: var(--gold);
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Contact Section */
.contact-section {
    background: transparent;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.contact-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--text-main);
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-accent);
    margin-right: 15px;
    width: 24px;
    height: 24px;
}

.contact-method-text {
    font-weight: 600;
    color: var(--text-main);
}

.contact-method-text a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-method-text a:hover {
    color: var(--gold);
}

.contact-form {
    background: #FFFFFF;
    padding: 3.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-input {
    width: 100%;
    padding: 16px;
    margin-bottom: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.contact-input:focus {
    outline: none;
    border-color: var(--gold);
    background: #FFFFFF;
    box-shadow: 0 0 10px var(--gold-glow);
}

textarea.contact-input {
    resize: none;
}

.contact-form .cta-btn {
    width: 100%;
}

/* Footer */
footer {
    padding: 60px 8% 40px;
    text-align: center;
    font-size: 0.85rem;
    background: rgba(244, 244, 244, 0.65);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

footer p {
    margin: 6px 0;
    letter-spacing: 0.5px;
}

.footer-codes {
    color: var(--text-secondary);
    font-weight: 600;
    margin: 15px 0 !important;
}

.footer-copyright {
    color: var(--gold);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 25px !important;
    text-transform: uppercase;
}

/* Reveal-on-Scroll Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    nav {
        padding: 1.2rem 5%;
    }
    
    .vet-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo-img {
        height: 52px;
        margin-right: 12px;
    }
    
    .logo-text {
        font-size: 1.35rem;
        letter-spacing: 1.5px;
    }
    
    .nav-links a {
        margin: 0 0.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .hero {
        min-height: calc(100vh - 145px);
        padding: 40px 5% 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .hero .cta-btn {
        display: block;
        margin: 10px auto;
        width: 100%;
        max-width: 300px;
    }
    
    #hero #btn-inquiry {
        display: none !important;
    }
    
    .mobile-inquire-block {
        display: block;
        text-align: center;
        padding: 25px 5%;
        background: rgba(184, 134, 11, 0.02);
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-inquire-block .cta-btn-secondary {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
        margin-top: 0;
    }
    
    .performance-promo {
        padding: 25px 5%;
    }
    
    .performance-promo-content {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }
    
    .performance-promo-text {
        text-align: center;
    }
    
    .vet-text {
        text-align: center;
    }
    
    .vet-image-container {
        margin: 0 auto;
        max-width: 500px;
    }
    
    section {
        padding: 60px 5%;
        scroll-margin-top: 145px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-method {
        justify-content: center;
    }
    
    .contact-form {
        padding: 2rem;
    }

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

    .card {
        padding: 2.2rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 44px;
        margin-right: 10px;
    }
    
    .logo-text {
        flex-direction: column;
        align-items: flex-start;
        font-size: 1.15rem;
        letter-spacing: 1px;
        line-height: 1.1;
    }
    
    .logo-gold {
        margin-left: 0;
    }
    
    .hero {
        min-height: calc(100vh - 130px);
        padding: 30px 5% 30px;
    }
    
    section {
        padding: 40px 5%;
        scroll-margin-top: 130px;
    }
}

/* Doctrine Cards Slide Reveal */
.doctrine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2.5rem;
    margin-bottom: 40px;
}

.doctrine-card-wrapper {
    min-height: 310px; /* Pre-allocate space for the card to expand without shifting layout */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 992px) {
    .doctrine-card-wrapper {
        min-height: 330px;
    }
}

@media (max-width: 768px) {
    .doctrine-grid {
        grid-template-columns: 1fr;
    }
    .doctrine-card-wrapper {
        min-height: 350px;
    }
}

.doctrine-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease, 
                margin-top 0.4s ease;
    margin-top: 0;
}

.doctrine-card:hover .doctrine-details,
.doctrine-card.expanded .doctrine-details {
    max-height: 280px;
    opacity: 1;
    margin-top: 20px;
}

/* Differentiators Styling */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

.diff-card {
    background: rgba(244, 244, 244, 0.4);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.diff-card:hover {
    border-color: var(--border-gold-subtle);
    background: #FFFFFF;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.04);
}

.diff-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.diff-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Past Performance Styling */
.past-perf-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.past-perf-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    flex: 1 1 340px;
    max-width: 380px;
    box-sizing: border-box;
}

.past-perf-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.06);
    border-color: var(--border-gold-subtle);
    border-left-color: var(--gold-dark);
}

.past-perf-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.past-perf-detail {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.past-perf-detail strong {
    color: var(--gold-dark);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

/* Contracting Layout (Two Columns) */
.contracting-layout {
    display: grid;
    grid-template-columns: 1.15fr 1.85fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.codes-list {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 6px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.02);
}

.codes-list h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.codes-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.codes-list ul:last-child {
    margin-bottom: 0;
}

.codes-list li {
    font-size: 0.92rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.codes-list li:last-child {
    margin-bottom: 0;
}

.codes-list li strong {
    color: var(--gold-dark);
    width: 90px;
    flex-shrink: 0;
}

.codes-list li span {
    color: var(--text-secondary);
}

/* Security Warning Disclaimer */
.security-warning {
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid var(--border-gold-subtle);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--gold-dark);
    font-size: 0.8rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
    text-align: left;
}

.security-warning svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gold);
}

@media (max-width: 992px) {
    .contracting-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


/* Privacy Modal Styling */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.privacy-modal.open {
    display: flex;
    animation: modalOverlayFadeIn 0.3s ease;
}

.privacy-modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--gold);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-secondary);
    font-size: 2.2rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: var(--transition-smooth);
}

.privacy-modal-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.privacy-modal-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.privacy-modal-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.privacy-modal-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.privacy-modal-scroll-content {
    overflow-y: auto;
    padding-right: 15px;
    flex: 1;
}

.privacy-modal-scroll-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Custom Scrollbar for Modal content */
.privacy-modal-scroll-content::-webkit-scrollbar {
    width: 6px;
}
.privacy-modal-scroll-content::-webkit-scrollbar-track {
    background: transparent;
}
.privacy-modal-scroll-content::-webkit-scrollbar-thumb {
    background: var(--border-gold-subtle);
    border-radius: 3px;
}
.privacy-modal-scroll-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

@keyframes modalOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Link Style */
.footer-privacy-link {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-smooth);
    margin-left: 10px;
    font-weight: 600;
}

.footer-privacy-link:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-modal-body {
        padding: 2rem 1.5rem;
    }
    .privacy-modal-header h2 {
        font-size: 1.5rem;
    }
}

/* Back to Top Floating Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #FFFFFF;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.25);
    border: 1px solid var(--gold-dark);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
}


