/* Custom Properties */
:root {
    --color-navy: #0F1C2E;
    --color-navy-light: #1A2E4C;
    --color-navy-dark: #070D15;
    --color-accent: #C69A5D;
    --color-accent-hover: #B5874B;
    --color-accent-glow: rgba(198, 154, 93, 0.2);
    
    --color-white: #FFFFFF;
    --color-off-white: #F8FAFC;
    --color-surface-light: #EDF2F7;
    --color-surface-dark: #122238;
    
    --color-border-light: rgba(0, 0, 0, 0.08);
    --color-border-dark: rgba(255, 255, 255, 0.1);
    
    --color-text-main: #1E293B;
    --color-text-light: #64748B;
    --color-text-dark-bg: #E2E8F0;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(15, 28, 46, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 28, 46, 0.08), 0 2px 8px rgba(15, 28, 46, 0.04);
    --shadow-lg: 0 20px 40px rgba(15, 28, 46, 0.12), 0 8px 16px rgba(15, 28, 46, 0.06);
    --shadow-glow: 0 0 20px var(--color-accent-glow);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overscroll-behavior: none;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-navy);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(2.25rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 8rem 0;
    }
}

.bg-light {
    background-color: var(--color-off-white);
}

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

.bg-navy {
    background-color: var(--color-navy);
}

.bg-navy-gradient {
    background: linear-gradient(145deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
}

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

.d-flex {
    display: flex;
}

.align-items-end {
    align-items: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.w-full {
    width: 100%;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-pill {
    border-radius: var(--radius-pill);
}

.btn-primary, .btn-accent {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover, .btn-accent:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-navy);
    border: 1px solid rgba(15, 28, 46, 0.2);
}

.btn-outline:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-base);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-white);
    transition: color var(--transition-base);
}

.navbar.scrolled .logo {
    color: var(--color-navy);
}

.logo-sh {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.9;
}

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

.nav-links a:hover {
    opacity: 1;
}

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

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

.nav-cta {
    display: none;
}

.nav-cta .btn {
    padding: 0.75rem 1.5rem;
}

.mobile-cta-li {
    display: block;
    margin-top: 1rem;
}

.mobile-menu-btn {
    display: block;
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--color-navy);
}

.navbar.scrolled .mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-navy-dark);
    padding-top: 10rem;
    padding-bottom: 8rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    mix-blend-mode: normal;
    z-index: 1;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 28, 46, 0.3) 0%, rgba(7, 13, 21, 0.85) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
}

.hero h1 {
    color: var(--color-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
    position: relative;
    z-index: 10;
    margin-top: -4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 3rem);
}

.trust-bar .container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: flex-start;
}

.trust-item i {
    color: var(--color-accent);
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 8px rgba(229, 149, 53, 0.4));
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-value {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-navy);
    line-height: 1.2;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Services */
.services {
    background: linear-gradient(to bottom, var(--color-off-white) 0%, var(--color-surface-light) 100%);
    padding-top: 8rem; /* extra padding to account for negative margin of trust bar */
}

.section-header {
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

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

.service-card {
    background: var(--color-navy-dark);
    color: var(--color-white);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px -10px rgba(15, 28, 46, 0.2);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at 100% 0%, rgba(198, 154, 93, 0.15), transparent 40%);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0.4;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(198, 154, 93, 0.3);
    box-shadow: 0 20px 40px rgba(15, 28, 46, 0.4), 0 0 40px rgba(198, 154, 93, 0.05);
}

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

.service-card:hover::after {
    transform: translateX(100%);
}

.service-card h3 {
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(198, 154, 93, 0.05);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-accent);
    transition: all 0.4s ease;
    border: 1px solid rgba(198, 154, 93, 0.15);
    position: relative;
}

.service-card:hover .service-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(198, 154, 93, 0.2);
    border-color: var(--color-accent);
}

.service-icon i {
    width: 28px;
    height: 28px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-list {
    margin-bottom: 2.5rem;
    flex-grow: 1;
    list-style: none;
    padding: 0;
}

.service-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.5;
}

.service-list li::before {
    content: '→';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 0.8rem;
}

.service-link {
    color: var(--color-accent);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.service-link i {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-link:hover {
    color: var(--color-accent-hover);
}

.service-link:hover i {
    transform: translateX(6px);
}

/* Why Us */
.why-us {
    background-color: var(--color-navy);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.why-us::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(229, 149, 53, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-us-content h2 {
    color: var(--color-white);
}

.why-us-content .lead {
    color: rgba(255, 255, 255, 0.8);
}

.feature-list {
    margin-top: 3rem;
}

.feature-list li {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.feature-icon {
    background: rgba(229, 149, 53, 0.15);
    color: var(--color-accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-list strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature-list span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.why-us-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform var(--transition-slow);
}

.why-us-image:hover img {
    transform: scale(1.03);
}

.why-us-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
}

.why-us-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 28, 46, 0.6) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* Reviews Section */
.reviews-section {
    background: linear-gradient(180deg, var(--color-off-white) 0%, #EAEFF5 100%);
    overflow: hidden;
    position: relative;
    padding-bottom: 4rem; 
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(198, 154, 93, 0.04) 0%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

.reviews-section .container,
.reviews-section .marquee-container {
    position: relative;
    z-index: 1;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0 3rem 0;
    /* Fade out the edges of the marquee */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.review-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    width: 420px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition-fast);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(198, 154, 93, 0.3);
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: var(--color-accent);
}

.stars i {
    width: 20px;
    height: 20px;
    fill: var(--color-accent);
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text-main);
    flex-grow: 1;
    line-height: 1.6;
}

.review-author {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 0.95rem;
    margin-bottom: 0;
    margin-top: 1rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly half the track's total width plus half the gap 
           Since we have 4 items (each 420px + 2rem gap), it needs to translate perfectly 
           We can just translate by -50% and subtract half a gap if needed, 
           but -50% is generally exactly half the width.
           We added gap to .marquee-track, so the gap between the original set and cloned set is 1 gap.
           Wait, -50% translates exactly half the container, which is exactly the 4 items + their 4 gaps!
           Actually, just calc(-50% - 1rem) works nicely. */
        transform: translateX(calc(-50% - 1rem));
    }
}

/* How It Works */
.how-it-works {
    background-color: var(--color-navy);
    position: relative;
    padding: 8rem 0;
}
.how-it-works .section-header h2 {
    color: var(--color-white);
}
.how-it-works .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.step {
    background-color: transparent;
    padding: 1.5rem 0;
    text-align: left;
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
    border: none;
    box-shadow: none;
    border-top: 2px solid rgba(255, 255, 255, 0.15); /* Lighter border for dark background */
    border-radius: 0;
    padding-top: 3rem;
}

.step:hover {
    transform: translateY(-4px); /* Slight lift */
    box-shadow: none;
    border-top-color: var(--color-accent);
}

.step-number {
    position: absolute;
    top: -3.5rem; /* Adjust based on new top padding */
    left: 0;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    color: var(--color-white); /* Lighter number */
    font-size: 6rem; /* Bigger number */
    font-weight: 800;
    opacity: 0.05; /* Subtle white */
    line-height: 1;
    z-index: -1;
    box-shadow: none;
    transition: all var(--transition-base);
}

.step:hover .step-number {
    color: var(--color-accent);
    opacity: 0.15;
    transform: translateX(10px);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 0;
    margin: 0 0 1.5rem 0;
    color: var(--color-accent);
    justify-content: flex-start;
}

.step:hover .step-icon {
    background: transparent;
    color: var(--color-accent-hover);
    transform: scale(1.1);
    transform-origin: left center;
}

.step-icon i {
    width: 32px;
    height: 32px;
}

.step h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.step p {
    color: rgba(255, 255, 255, 0.7); /* Lighter text for readability */
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
    font-weight: 400;
}

.step-connector {
    display: none !important;
}

/* Blog */
.blog {
    background: linear-gradient(180deg, var(--color-surface-light) 0%, #EAEFF5 100%);
}

.blog-header {
    margin-bottom: 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-navy-light) 0%, var(--color-navy) 100%);
}

.blog-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--color-navy);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-content h4 {
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-size: 1.25rem;
    transition: color var(--transition-fast);
}

.blog-card:hover h4 {
    color: var(--color-accent);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-navy);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: auto;
}

.read-more i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.blog-card:hover .read-more {
    color: var(--color-accent);
}

.blog-card:hover .read-more i {
    transform: translateX(6px);
}

/* CTA Section */
.cta-section {
    padding: 0;
    margin-bottom: -6rem;
    position: relative;
    z-index: 10;
}

.cta-box {
    background-color: var(--color-navy);
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
    background-image: url('./img/hero_fiscal_1777593993131.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 28, 46, 0.5) 0%, rgba(7, 13, 21, 0.85) 100%);
    z-index: 1;
}

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

.cta-content h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 12rem 0 3rem 0; /* extra top padding for overlapping CTA */
}

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

.footer-brand .logo {
    margin-bottom: 1.25rem;
    color: var(--color-white);
}

.footer h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Utils */
.d-none-mobile {
    display: none;
}

.d-mobile-only {
    display: block;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Media Queries */
@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
    }
    
    .trust-item {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .steps-container {
        flex-direction: row;
        align-items: stretch;
    }
    
    .step {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .step-connector {
        display: block;
        flex-grow: 1;
        height: 2px;
        background: linear-gradient(to right, var(--color-border-light), transparent);
        position: relative;
        z-index: 1;
        max-width: 60px;
        align-self: center;
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
    
    .cta-buttons {
        flex-direction: row;
    }
    
    .d-none-mobile {
        display: inline-flex;
    }
    
    .d-mobile-only {
        display: none;
    }
    
    .blog-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        text-align: left;
    }
    
    .blog-header-text {
        max-width: 500px;
    }
    
    .blog-header-text p {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .navbar {
        padding: 1.5rem 0;
    }
    
    .nav-links {
        display: flex;
    }
    
    .nav-cta {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-cta-li {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-3-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Nav Styles */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border-light);
}

.nav-links.active a {
    color: var(--color-navy);
    font-size: 1.1rem;
    padding: 0.75rem 0;
}
