:root {
    /* Color Palette */
    --primary-color: #0c1f38; /* Deeper Navy */
    --secondary-color: #1a365d; /* Lighter Navy */
    --accent-color: #d4af37; /* Metallic Gold */
    --accent-hover: #b5952f;
    --text-dark: #2d3748;
    --text-light: #f7fafc;
    --text-muted: #718096;
    --text-light-muted: #cbd5e0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;
    
    /* Effects */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

p {
    margin-bottom: 1.2rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.text-primary { color: var(--primary-color); }
.text-gold { color: var(--accent-color); }
.text-center { text-align: center; }
.text-white { color: var(--text-light) !important; }
.text-muted { color: var(--text-muted); }
.text-light-muted { color: var(--text-light-muted); }
.fw-600 { font-weight: 600; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.w-100 { width: 100%; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.relative-z { position: relative; z-index: 10; }

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(12, 31, 56, 0.2);
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Flex Grid */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.col-half {
    flex: 1 1 calc(50% - 25px);
}

.pr-5 { padding-right: 3rem; }
.pl-5 { padding-left: 3rem; }

/* Grid Systems */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition-fast);
}

.site-header.scrolled {
    padding: 12px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-nav a {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.call-text {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.call-number {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #4B3386; /* Deep purple from the image */
}

.icon-circle-small {
    width: 35px;
    height: 35px;
    background: #4B3386;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Hero Section - Luxury Styling */
.hero-light {
    position: relative;
    padding: 140px 0 100px;
    min-height: 750px;
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, rgba(247, 249, 250, 1) 50%, rgba(226, 232, 240, 0.8) 100%);
    overflow: hidden;
}

.hero-ambient-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(12, 31, 56, 0) 70%);
    pointer-events: none;
}

.hero-bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, #4B3386 100%);
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-sep {
    font-size: 0.7rem;
    color: #a0aec0;
}

.subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(12, 31, 56, 0.05);
    border-left: 3px solid var(--accent-color);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #996515 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #4a5568;
    line-height: 1.7;
    max-width: 600px;
}

/* Image Wrapper */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.hero-image-frame-bg {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 16px;
    z-index: 1;
    opacity: 0.6;
}

.hero-lawyer-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(12, 31, 56, 0.25);
    display: block;
}

.hero-floating-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    z-index: 3;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.hero-floating-card strong {
    display: block;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
}

.hero-floating-card p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Actions & Trust Pills */
.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 35px;
}

.shadow-gold {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.hero-call-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-call-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.trust-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    transition: var(--transition-fast);
}

.trust-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.trust-pill i {
    color: var(--accent-color);
}

/* Section Headers */
.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

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

/* Images */
.img-wrapper {
    position: relative;
}

.rounded-img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

.premium-image-frame {
    position: relative;
    padding: 20px;
}

.premium-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 3px solid var(--primary-color);
    border-radius: 4px;
    z-index: -1;
    transform: translate(20px, -20px);
}

.premium-image-frame-gold {
    position: relative;
    padding: 20px;
}

.premium-image-frame-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border: 3px solid var(--accent-color);
    border-radius: 4px;
    z-index: -1;
    transform: translate(-20px, -20px);
}

/* Premium Cause Cards */
.cause-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

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

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.cause-card:hover .card-img {
    transform: scale(1.1);
}

.card-icon-overlay {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    z-index: 2;
}

.card-content {
    padding: 35px 25px 25px;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Premium Accordion (State Law) */
.premium-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.acc-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.acc-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    transition: var(--transition-fast);
}

.acc-header h3 {
    margin: 0;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 500;
}

.acc-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.acc-icon::before, .acc-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.acc-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.acc-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.acc-panel.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.acc-panel.active .acc-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.acc-panel.active .acc-header h3 {
    color: var(--accent-color);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.acc-content {
    padding: 0 30px 30px;
    color: var(--text-light-muted);
}

.clean-list {
    list-style: none;
    margin: 15px 0;
}

.clean-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.clean-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.timeline-steps {
    margin: 20px 0;
    padding-left: 20px;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
}

.t-step {
    position: relative;
    padding-left: 25px;
    margin-bottom: 25px;
}

.t-step::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
}

.t-step h4 {
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.t-step p {
    margin: 0;
    font-size: 0.95rem;
}

/* Why Us Section */
.text-block {
    padding-left: 25px;
}

.border-left-gold {
    border-left: 3px solid var(--accent-color);
}

/* Results */
.result-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #edf2f7;
    transition: var(--transition-fast);
}

.result-card:hover {
    box-shadow: var(--box-shadow);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.result-amount {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.result-type {
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.result-divider {
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    margin: 0 auto 20px;
}

/* Contact CTA Section */
.cta-contact {
    background-image: url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 31, 56, 0.85); /* Dark Navy overlay */
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 45px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

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

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #f8fafc;
    transition: all var(--transition-fast);
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Footer */
.site-footer {
    background: #081526;
    color: rgba(255,255,255,0.5);
    padding: 30px 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: rgba(255,255,255,0.5);
}

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

/* Animations */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1 !important;
    transform: translate(0) !important;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .col-half {
        flex: 1 1 100%;
    }
    
    .pr-5, .pl-5 {
        padding: 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .premium-image-frame::before,
    .premium-image-frame-gold::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
}
