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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #fefefe;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1e3a8a;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #d97706;
    color: white;
}

.btn-primary:hover {
    background-color: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h2 {
    color: #1e3a8a;
    margin: 0;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1e3a8a;
}

.nav-cta {
    background-color: #d97706;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-cta:hover {
    background-color: #b45309;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #334155 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(51, 65, 85, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-headline {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
    font-weight: 400;
}

.hero-supporting {
    margin-bottom: 2.5rem;
}

.hero-supporting p {
    font-size: 1.125rem;
    color: #cbd5e1;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Why Different Section */
.why-different {
    background-color: #f8fafc;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.why-item h3 {
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.why-item p {
    color: #64748b;
    font-size: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #d97706;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: #1e3a8a;
}

.service-card p:first-of-type {
    font-weight: 600;
    color: #d97706;
    margin-bottom: 0.75rem;
}

.service-card p:last-of-type {
    color: #64748b;
    margin-bottom: 0;
}

/* Results Section */
.results {
    background-color: #f1f5f9;
}

.results-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.case-study {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-study-metric {
    text-align: right;
}

.metric-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #059669;
    line-height: 1;
}

.metric-label {
    display: block;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.25rem;
}

.metric-timeframe {
    display: block;
    color: #64748b;
    font-size: 0.875rem;
}

.case-study-content {
    display: grid;
    gap: 2rem;
}

.case-study-text p {
    margin-bottom: 1.5rem;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.metric-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.metric-desc {
    display: block;
    color: #64748b;
    font-size: 0.875rem;
}

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-quote {
    color: #d97706;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    color: #334155;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: #1e3a8a;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.875rem;
}

/* Who We Help Section */
.practice-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.practice-type {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.practice-type:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.practice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.practice-type h3 {
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.practice-type p {
    color: #64748b;
    text-align: left;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #334155 100%);
    color: white;
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-header h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-header p {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 0;
}

.cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
}

.benefit-item svg {
    color: #059669;
    flex-shrink: 0;
}

.cta-urgency {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-urgency p {
    color: #fbbf24;
    font-size: 1.125rem;
}

/* Form Styles */
.audit-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #334155;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d97706;
}

.form-submit {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-privacy {
    text-align: center;
}

.form-privacy p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.cta-alternative {
    text-align: center;
    color: #cbd5e1;
}

.cta-alternative a {
    color: #fbbf24;
    text-decoration: none;
}

.cta-alternative a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #1e3a8a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #cbd5e1;
    margin: 0;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: #fbbf24;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

.footer-bottom p {
    color: #cbd5e1;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.875rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .results-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-header {
        flex-direction: column;
        text-align: center;
    }
    
    .case-study-metrics {
        grid-template-columns: 1fr;
    }
    
    .practice-types {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.125rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .why-item,
    .service-card,
    .practice-type {
        padding: 1.5rem;
    }
    
    .case-study,
    .testimonial,
    .audit-form {
        padding: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}



/* Location Dropdown Navigation */
.nav-dropdown-container {
    position: relative;
    display: inline-block;
}

.nav-dropdown-trigger {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-dropdown-trigger:hover {
    color: #1e3a8a;
    background-color: #f1f5f9;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    min-width: 500px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.nav-dropdown-container:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    flex: 1;
}

.dropdown-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.dropdown-section a {
    display: block;
    color: #64748b;
    text-decoration: none;
    padding: 0.375rem 0;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.dropdown-section a:hover {
    color: #1e3a8a;
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
    .nav-dropdown {
        position: fixed;
        top: 60px;
        left: 1rem;
        right: 1rem;
        width: auto;
        min-width: auto;
        flex-direction: column;
    }
    
    .dropdown-section {
        flex: none;
    }
}

/* Location badge for location pages */
.location-badge {
    background: #d97706;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}


/* Enhanced Hero Section for Location Pages */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(30, 58, 138, 0.6) 50%, rgba(30, 58, 138, 0.8) 100%);
    z-index: 2;
}

/* Location-specific hero adjustments */
.hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Ensure hero content is properly positioned over the image */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Better mobile hero display */
@media (max-width: 768px) {
    .hero-bg-image {
        object-position: center center;
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(30, 58, 138, 0.75) 50%, rgba(30, 58, 138, 0.85) 100%);
    }
}


/* ✅ HERO SECTION FIX */
.hero-background {
    background-image: url('assets/images/las-vegas-skyline.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

/* ✅ GRID HEIGHT CONSISTENCY */
.why-item,
.service-card,
.practice-type,
.market-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ✅ SECTION SPACING FIX */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    margin-bottom: 0.5rem;
}

section:not(:first-of-type) {
    padding-top: 6rem;
}

/* ✅ MOBILE PADDING FIX */
@media (max-width: 480px) {
    .container {
        padding: 0 24px;
    }
}

/* ✅ BUTTON STYLE CONSISTENCY */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ✅ ICON HOVER INTERACTIONS */
.service-icon:hover,
.practice-icon:hover,
.market-icon:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* ✅ TRANSITION CLEANUP */
* {
    transition: all 0.3s ease-in-out;
}

/* Override for specific elements that need different transitions */
.service-icon,
.practice-icon,
.market-icon {
    transition: transform 0.2s ease;
}

/* Form improvements */
form[aria-label] {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Enhanced typography with new fonts */
h1, h2, h3 {
    font-family: 'Lora', serif;
}

body, p, span, div {
    font-family: 'Inter', sans-serif;
}


/* Location Badge Styling */
.location-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    margin-left: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Navigation brand adjustments for location pages */
.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand h2 {
    margin: 0;
    color: #1e3a8a;
}


/* Location Page Results Section Styling */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.metric {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.metric-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #059669;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    display: block;
    font-weight: 600;
    color: #1e3a8a;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for metrics */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric {
        padding: 1.5rem 1rem;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
}


/* Results Section Styling */
.results-section {
    background-color: #f1f5f9;
    padding: 6rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.result-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.result-number {
    font-size: 4rem;
    font-weight: 700;
    color: #059669;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.result-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.case-study {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
}

.case-study h3 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.case-study p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #d97706;
}

.testimonial blockquote {
    font-style: italic;
    color: #334155;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.testimonial cite {
    color: #1e3a8a;
    font-weight: 600;
    font-style: normal;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .result-card {
        padding: 2rem 1.5rem;
    }
    
    .result-number {
        font-size: 3rem;
    }
    
    .case-study {
        padding: 2rem;
    }
}


/* Fix hero text colors for visibility */
.hero-title {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: #f1f5f9 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    color: #e2e8f0 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.highlight {
    color: #fbbf24 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-number {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.stat-label {
    color: #cbd5e1 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


/* Enhanced CTA Button Styles */
.cta-button, .primary-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white !important;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:before, .primary-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover, .primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
    color: white !important;
}

.cta-button:hover:before, .primary-button:hover:before {
    left: 0;
}

.cta-button:active, .primary-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* CTA Section Styling */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h3 {
    color: white;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    color: #b8c5d6;
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-content h3 {
        font-size: 32px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .cta-button, .primary-button {
        padding: 16px 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h3 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-button, .primary-button {
        padding: 14px 24px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
}

/* Animation for CTA buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    }
    100% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    }
}

.cta-button.pulse, .primary-button.pulse {
    animation: pulse 2s infinite;
}


/* Logo Styling */
.navbar-brand img {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    transition: all 0.3s ease !important;
}

.navbar-brand:hover img {
    transform: scale(1.05) !important;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 35px !important;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        height: 30px !important;
    }
}


/* Fix White Strip Spacing Issue */
.main-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer {
    margin-top: 0 !important;
    padding-top: 60px !important;
}

/* Remove any unwanted spacing between sections */
section:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure smooth transition from content to footer */
.contact-section {
    margin-bottom: 0 !important;
    padding-bottom: 60px !important;
}

.footer-section {
    margin-top: 0 !important;
}

/* Remove any body or container bottom margins that might cause gaps */
body {
    margin-bottom: 0 !important;
}

.container:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Fix any specific sections that might have extra spacing */
.cta-section,
.form-section,
.contact-form-section {
    margin-bottom: 0 !important;
}

/* Ensure footer starts immediately after content */
footer {
    margin-top: 0 !important;
}
