/* Custom styles for LA Tax Studio - Enhanced Design with Animations */

/* Force visibility of navigation elements - override any Squarespace defaults */
.collection-type-page .Header-nav--top,
.collection-type-page .Header-nav--top .Header-nav-inner,
.collection-type-page .Header-nav-item--top,
.collection-type-page .Header-cta-button,
.collection-type-page .Header-branding--top,
.collection-type-page .Header-site-title {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    color: #34495e !important;
    font-size: 0.9375rem !important;
    text-indent: 0 !important;
    clip: auto !important;
    clip-path: none !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}

.collection-type-page .Header-nav-item--top {
    display: inline-block !important;
}

.collection-type-page .Header-cta-button {
    display: inline-flex !important;
    color: white !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.collection-type-page .Header-site-title {
    display: inline-block !important;
    color: #1a252f !important;
    font-size: 1.25rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
}

.collection-type-page .Header-branding--top {
    display: flex !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
}

.collection-type-page [data-nc-container="top-left"] {
    display: flex !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Removed blue gradient backgrounds for broken images */

/* Remove blue sidebars and borders */
body::before,
body::after,
html::before,
html::after,
.Site::before,
.Site::after,
.Site-inner::before,
.Site-inner::after,
.Content-outer::before,
.Content-outer::after {
    display: none !important;
    content: none !important;
}

/* Hide site borders that may create sidebars */
.tweak-site-border-show body::before,
.tweak-site-border-show body::after,
.tweak-site-border-show .Site::before,
.tweak-site-border-show .Site::after {
    display: none !important;
}

/* Hide any fixed or absolute positioned sidebars */
[class*="sidebar"],
[class*="side-bar"],
[class*="sideBar"],
[class*="Sidebar"],
[class*="SideBar"],
[id*="sidebar"],
[style*="position: fixed"][style*="left: 0"],
[style*="position: fixed"][style*="right: 0"],
[style*="position: absolute"][style*="left: 0"][style*="width"],
[style*="position: absolute"][style*="right: 0"][style*="width"] {
    display: none !important;
}

/* Beautiful overall appearance */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide Index navigation */
.Index-nav {
    display: none !important;
}

/* Fix alignment issues - ensure proper box-sizing */
* {
    box-sizing: border-box;
}

/* Modern, enhanced header styling */
.Header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

/* Removed blue accent line */

.Header--bottom {
    padding: 32px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Hide bottom header only on homepage to avoid duplication */
body:not(.collection-type-page) .Header--bottom {
    display: none !important;
}

/* Show bottom header on subpages */
.collection-type-page .Header--bottom {
    display: block !important;
}

.Header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.Header-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 8px;
}

.Header-branding:hover {
    transform: translateY(-3px);
}

.Header-branding-logo,
.Mobile-bar-branding-logo {
    max-width: 220px;
    height: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.Header-branding:hover .Header-branding-logo {
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.2));
}

.Header-tagline {
    font-size: 14px;
    color: #667eea;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 4px;
    text-transform: none;
    font-style: normal;
    transition: color 0.3s ease;
}

.Header-branding:hover .Header-tagline {
    color: #5568d3;
}

/* Enhanced Top Header - Modern, Airy Design */
.Header--top {
    padding: 16px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: box-shadow 0.3s ease;
    display: block !important; /* Ensure header is visible on all pages */
}

.Header--top:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.Header-inner--top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    gap: 24px;
    min-height: 60px; /* Ensure consistent height */
}

/* Ensure all header elements are vertically centered */
[data-nc-container="top-left"],
[data-nc-container="top-center"],
[data-nc-container="top-right"] {
    display: flex !important;
    align-items: center;
    height: 100%;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force visibility on subpages */
.collection-type-page [data-nc-container="top-left"] {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Top Header Site Title */
.Header-branding--top {
    display: flex !important;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    opacity: 1 !important;
    visibility: visible !important;
    height: 100%;
    line-height: 1;
}

.Header-branding--top:hover {
    opacity: 0.8;
}

.Header-site-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    color: #1a252f !important;
    letter-spacing: -0.01em;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    line-height: 1.2;
    vertical-align: middle;
}

/* Top Header Tagline */
.Header-tagline-top {
    display: none !important; /* Hide tagline on all pages */
    font-size: 0.8125rem; /* 13px */
    font-weight: 400;
    color: #7f8c8d;
    text-transform: uppercase;
}

/* Header Contacts */
.Header-contacts {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.Header-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #34495e;
    text-decoration: none;
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 6px;
    line-height: 1.4;
}

.Header-contact-item:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    transform: translateY(-1px);
}

.Header-contact-icon {
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.Header-contact-text {
    white-space: nowrap;
}

/* Top Header Navigation */
.Header-nav--top {
    display: flex !important; /* Ensure navigation is visible */
    align-items: center;
    gap: 8px;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    position: relative;
    z-index: 10;
    line-height: 1;
}

/* Ensure navigation is visible on subpages - desktop */
.collection-type-page .Header-nav--top {
    display: flex !important;
}

.collection-type-page .Header-cta-button {
    display: inline-flex !important;
}

/* Hide mobile toggle on subpages desktop */
.collection-type-page .Header-mobile-toggle {
    display: none !important;
}

.Header-nav--top .Header-nav-inner {
    display: flex !important;
    align-items: center;
    gap: 4px;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
}

.Header-nav-item--top {
    padding: 8px 16px;
    font-size: 0.9375rem; /* 15px */
    font-weight: 500;
    color: #34495e !important;
    text-decoration: none;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    border-radius: 6px;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    z-index: 1;
    line-height: 1.4;
    vertical-align: middle;
}

/* Removed blue underline */

.Header-nav-item--top:hover {
    color: #1a252f;
    background: rgba(0, 0, 0, 0.04);
}

/* CTA Button */
.Header-cta-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 24px;
    font-size: 0.9375rem; /* 15px */
    font-weight: 600;
    color: white !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
    margin-left: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    position: relative;
    z-index: 10;
    line-height: 1.4;
    vertical-align: middle;
}

.Header-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%);
}

.Header-cta-button:active {
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.Header-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #34495e;
    transition: color 0.2s ease;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
}

.Header-mobile-toggle:hover {
    color: #667eea;
}

/* Responsive: Mobile adjustments */
@media (max-width: 768px) {
    .Header-inner--top {
        padding: 0 16px;
        gap: 12px;
    }
    
    .Header-branding-logo--top {
        height: 28px;
        max-width: 140px;
    }
    
    .Header-tagline-top {
        display: none; /* Hide tagline on mobile */
    }
    
    .Header-contacts {
        display: none; /* Hide contacts on mobile - they're in footer */
    }
    
    /* Hide nav only on homepage mobile */
    body:not(.collection-type-page) .Header-nav--top,
    body:not(.collection-type-page) .Header-cta-button {
        display: none !important; /* Hide nav and CTA, show burger */
    }
    
    .Header-mobile-toggle {
        display: flex;
    }
    
    /* On subpages mobile: show burger menu, navigation is in mobile overlay */
    .collection-type-page .Header-mobile-toggle {
        display: flex !important;
    }
    
    /* Hide navigation on subpages mobile, show burger */
    @media (max-width: 768px) {
        .collection-type-page .Header-nav--top,
        .collection-type-page .Header-cta-button {
            display: none !important;
        }
    }
    
    /* Position logo relative for mobile tagline */
    .Header-branding--top {
        position: relative;
    }
}

/* Ensure proper alignment - consolidated with above */
[data-nc-container="top-left"] {
    flex-shrink: 0;
}

[data-nc-container="top-center"] {
    flex: 1;
    justify-content: center;
    min-width: 0;
}

[data-nc-container="top-right"] {
    flex-shrink: 0;
    gap: 0;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center !important;
    height: 100%;
    line-height: 1;
}

/* Fix crooked elements - ensure proper alignment */
.Header-branding,
.Mobile-bar-branding {
    display: flex;
    align-items: center;
    justify-content: center;
}

.Header-nav,
.Mobile-bar-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Minimalist image blocks */
.image-block-wrapper img,
.Index-page-image img,
.thumb-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Remove shadows and borders for minimalist look */
.Index-page-image {
    box-shadow: none;
}

/* Fix parallax images */
.Index-page-image {
    position: relative;
    overflow: hidden;
}

.Index-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhanced content sections - 8px spacing system - Reduced padding */
.Index-page-content {
    padding: 48px 24px; /* Reduced from 64px to 48px */
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section - Clean, modern, light background */
.hero-section {
    padding: 32px 24px 64px 24px; /* Reduced top padding to bring content closer to header */
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px; /* Reduced from 600px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f7fa 100%);
}

/* Section with background image - ensure full coverage */
.Index-page--has-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 500px; /* Reduced from 600px */
}

/* Background image - full width and height */
.Index-page--has-image .Index-page-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    margin: 0;
    padding: 0;
    display: block;
}

.Index-page--has-image .Index-page-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 1;
}

.Index-page--has-image .Index-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-section .Index-page-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Content - Simple centered layout */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 32px 48px 32px; /* Reduced top padding */
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
}

.hero-title {
    font-size: 3rem; /* 48px */
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 0;
    color: #1a252f;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem; /* 24px */
    color: #667eea;
    margin-bottom: 16px;
    margin-top: 0;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.125rem; /* 18px */
    color: #34495e;
    margin-bottom: 32px;
    margin-top: 0;
    line-height: 1.75;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-button {
    padding: 16px 32px;
    font-size: 1rem; /* 16px */
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.hero-button.secondary {
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #667eea;
    box-shadow: none;
}

.hero-button.secondary:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Services Section - Improved spacing and typography */
.services-section {
    padding: 48px 24px; /* Reduced from 96px */
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem; /* 40px */
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 0;
    color: #1a252f;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem; /* 18px */
    color: #34495e;
    max-width: 800px;
    margin: 0 auto 64px; /* 8*8px = 64px */
    line-height: 1.75;
    font-weight: 400;
}

.services-grid {
    margin-top: 48px; /* 6*8px = 48px */
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px; /* 3*8px = 24px */
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.service-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon img {
    transform: scale(1.08);
}

.service-card h3 {
    color: #1a252f;
    font-size: 1.375rem; /* 22px */
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: #34495e;
    line-height: 1.7;
    flex-grow: 1;
    font-size: 1rem; /* 16px */
    margin: 0;
}

/* Benefits Section - Improved spacing and contrast */
.benefits-section {
    padding: 48px 24px; /* Reduced from 96px */
    background: #f8f9fa;
}

.benefit-item {
    margin-bottom: 24px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
}

.benefit-item h3 {
    color: #667eea;
    font-size: 1.25rem; /* 20px */
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.3;
}

.benefit-item p {
    color: #34495e;
    line-height: 1.7;
    font-size: 1rem; /* 16px */
    margin: 0;
}

.benefits-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.benefits-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.benefits-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Education Section - Improved spacing */
.education-section {
    padding: 48px 24px; /* Reduced from 96px */
    background: #ffffff;
}

.intro-text {
    text-align: center;
    font-size: 1.125rem; /* 18px */
    color: #34495e;
    max-width: 900px;
    margin: 0 auto 40px; /* Reduced from 64px */
    line-height: 1.75;
    font-weight: 400;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 0;
}

.education-item {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06) 0%, rgba(118, 75, 162, 0.06) 100%);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.education-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(102, 126, 234, 0.25);
}

.education-icon {
    font-size: 3.5rem; /* 56px */
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
}

.education-item h3 {
    color: #1a252f;
    font-size: 1.375rem; /* 22px */
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.3;
}

.education-item p {
    color: #34495e;
    line-height: 1.7;
    font-size: 1rem; /* 16px */
    margin: 0;
}

.Index-page-content h1 {
    color: #1a252f;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
    font-size: 2.5rem; /* 40px */
    font-weight: 600;
    letter-spacing: -0.01em;
}

.Index-page-content h2 {
    color: #1a252f;
    margin-bottom: 12px;
    margin-top: 32px;
    line-height: 1.3;
    font-size: 2rem; /* 32px */
    font-weight: 600;
    letter-spacing: -0.01em;
}

.Index-page-content h3 {
    color: #1a252f;
    margin-bottom: 12px;
    margin-top: 24px;
    line-height: 1.4;
    font-size: 1.375rem; /* 22px */
    font-weight: 600;
}

.Index-page-content p {
    color: #34495e;
    margin-bottom: 16px;
    font-size: 1rem; /* 16px */
    line-height: 1.75;
    font-weight: 400;
}

/* Improved lists - 8px spacing system */
.Index-page-content ul,
.Index-page-content ol {
    margin: 24px 0;
    padding-left: 24px;
    color: #34495e;
    line-height: 1.75;
}

.Index-page-content li {
    margin-bottom: 12px;
    font-size: 1rem; /* 16px */
    font-weight: 400;
    line-height: 1.7;
}

/* Fix text alignment */
.Index-page-content {
    text-align: left;
}

/* Form improvements - Modern, clean design */
.form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
}

.form-inner-wrapper {
    width: 100%;
}

.field-list {
    margin: 0;
    padding: 0;
}

.form-item {
    margin-bottom: 32px;
}

.form-item .title {
    font-size: 0.9375rem; /* 15px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.01em;
}

.form-item .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-item fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.form-item fieldset legend {
    display: none;
}

.form-item .field {
    margin-bottom: 16px;
}

.form-item .field:last-child {
    margin-bottom: 0;
}

.form-item .field.first-name,
.form-item .field.last-name {
    display: inline-block;
    width: calc(50% - 8px);
    vertical-align: top;
}

.form-item .field.first-name {
    margin-right: 16px;
}

.form-item .field label.caption {
    display: block;
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    color: #34495e;
    margin-bottom: 8px;
    cursor: pointer;
}

.form-item input.field-element,
.form-item textarea.field-element {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    font-size: 1rem; /* 16px */
    margin-top: 0;
    font-family: inherit;
    background: #ffffff;
    color: #1a252f;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    line-height: 1.5;
}

.form-item input.field-element::placeholder,
.form-item textarea.field-element::placeholder {
    color: #95a5a6;
    opacity: 1;
}

.form-item input.field-element:hover,
.form-item textarea.field-element:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.form-item input.field-element:focus,
.form-item textarea.field-element:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.form-item textarea.field-element {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
}

.form-button-wrapper {
    margin-top: 32px;
    text-align: center;
}

.form-button-wrapper--align-left {
    text-align: center !important;
}

.button,
.sqs-system-button,
.sqs-editable-button,
.sqs-button-element--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 16px 40px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important; /* 16px */
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    text-transform: none;
    min-width: 160px;
}

.button:hover,
.sqs-system-button:hover,
.sqs-editable-button:hover,
.sqs-button-element--primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.button:active,
.sqs-system-button:active,
.sqs-editable-button:active,
.sqs-button-element--primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

/* Responsive form styles */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .form-item .field.first-name,
    .form-item .field.last-name {
        width: 100%;
        display: block;
        margin-right: 0;
    }
    
    .form-item .field.first-name {
        margin-bottom: 16px;
    }
}

/* Beautiful footer styling - Modern and clean */
.Footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: #ecf0f1;
    padding: 64px 24px 32px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.Footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
}

.Footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.Footer-middle {
    width: 100%;
}

.Footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.Footer-section {
    display: flex;
    flex-direction: column;
}

.Footer-section-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.Footer-section-description {
    color: #bdc3c7;
    font-size: 0.9375rem; /* 15px */
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.Footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.Footer-links li {
    margin-bottom: 12px;
    font-size: 0.9375rem; /* 15px */
    line-height: 1.6;
}

.Footer-links li:last-child {
    margin-bottom: 0;
}

.Footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-weight: 400;
}

.Footer-links a:hover {
    color: #667eea;
    transform: translateX(4px);
}

.Footer-links li:not(:has(a)) {
    color: #95a5a6;
    font-weight: 300;
}

.Footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.Footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9375rem; /* 15px */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 0;
    font-weight: 400;
}

.Footer-contact-item:hover {
    color: #667eea;
    transform: translateX(4px);
}

.Footer-contact-icon {
    font-size: 1.125rem; /* 18px */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.Footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
}

.Footer-business {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.Footer-business-info {
    flex: 1;
    min-width: 250px;
}

.Footer-business-info-item {
    color: #ecf0f1;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 5px;
    font-weight: 300;
}

.Footer-business-info-item--name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.Footer-business-info-item--phone,
.Footer-business-info-item--email {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.Footer-business-info-item--phone:hover,
.Footer-business-info-item--email:hover {
    color: #8b9eff;
}

.Footer-business-hours {
    flex: 0 0 auto;
}

.Footer-business-hours-heading {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.Footer-business-hours-item {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
}

.Footer-nav {
    text-align: center;
    margin-top: 30px;
}

.Footer-nav-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.Footer-nav-item {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 4px;
    position: relative;
}

.Footer-nav-item:hover {
    color: #ffffff;
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.Footer-copyright {
    margin: 0;
    font-size: 0.875rem; /* 14px */
    font-weight: 300;
    color: #7f8c8d;
    text-align: center;
    letter-spacing: 0.01em;
}

.Footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

.Footer a:hover {
    color: #8b9eff;
}

.Footer p {
    margin: 8px 0;
    font-size: 15px;
    font-weight: 300;
    color: #bdc3c7;
}

.Footer-blocks {
    margin-bottom: 30px;
}

/* Hide old footer blocks */
.Footer-blocks--top,
.Footer-blocks--bottom {
    display: none !important;
}

/* Enhanced modern navigation */
.Header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.Header-nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
}

.Header-nav-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 15px;
    color: #34495e;
    text-decoration: none;
    position: relative;
    border-radius: 8px;
    letter-spacing: 0.01em;
}

/* Removed blue underline */

.Header-nav-item:hover {
    color: #1a252f;
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

/* Search styling */
.Header-search {
    display: flex;
    align-items: center;
}

.Header-search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.Header-search-form-input {
    padding: 10px 40px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.Header-search-form-input:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.1);
    background: #fff;
    width: 250px;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.Header-search-form-submit {
    position: absolute;
    right: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #7f8c8d;
    transition: color 0.2s;
}

.Header-search-form-submit:hover {
    color: #667eea;
}

/* Header subtitle section - professional tagline below header */
.header-subtitle-section {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.6) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding: 32px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(102, 126, 234, 0.08);
    position: relative;
    overflow: hidden;
}

.header-subtitle-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.header-subtitle-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.header-subtitle-text {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    color: #1a252f;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.header-subtitle-description {
    font-size: 1rem; /* 16px */
    font-weight: 400;
    color: #667eea;
    margin: 0;
    letter-spacing: 0.02em;
    font-style: italic;
}

/* Beautiful mobile menu */
.Mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.Mobile-bar-branding {
    flex: 1;
    text-align: center;
}

.Mobile-bar-menu {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #34495e;
    transition: color 0.2s;
}

.Mobile-bar-menu:hover {
    color: #667eea;
}

/* Fix sections alignment */
.sqs-block-content,
.sqs-block-html {
    max-width: 100%;
    margin: 0 auto;
}

/* Large image sections */
.large-image,
.large-image-1 {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.large-image img,
.large-image-1 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Introduction section */
.introduction {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.introduction img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero background image overlay - removed duplicate, handled above */

/* Reduce empty content blocks */
.sqs-block-content:empty,
.sqs-block-content:has(> :only-child:empty) {
    display: none;
    min-height: 0;
    height: 0;
}

/* Reduce spacing in content blocks */
.sqs-block-content > *:first-child {
    margin-top: 0;
}

.sqs-block-content > *:last-child {
    margin-bottom: 0;
}

/* Reduce min-height on Index pages */
.Index-page[data-parallax-id] {
    min-height: auto !important;
}

/* Reduce Content-outer padding */
.Content-outer {
    padding: 0;
}

/* Fix SVG icons alignment */
.Icon {
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
}

/* Reduce empty paragraphs and headings */
.Index-page-content h1:empty,
.Index-page-content h2:empty,
.Index-page-content h3:empty,
.Index-page-content p:empty {
    display: none;
    margin: 0;
    padding: 0;
    height: 0;
}

/* Reduce spacing in HTML blocks */
.sqs-block-html h1,
.sqs-block-html h2,
.sqs-block-html h3 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.sqs-block-html p {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Reduce row spacing */
.sqs-row {
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

/* Reduce column spacing */
.sqs-col {
    padding: 5px;
}

/* Contact Section - Improved spacing and contrast */
.contact-section {
    padding: 48px 24px; /* Reduced from 96px */
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06) 0%, rgba(118, 75, 162, 0.06) 100%);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px; /* Reduced from 48px */
}

.contact-info-item {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.contact-icon {
    font-size: 3rem; /* 48px */
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
}

.contact-info-item h3 {
    color: #1a252f;
    font-size: 1.25rem; /* 20px */
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.3;
}

.contact-info-item p {
    color: #34495e;
    line-height: 1.75;
    font-size: 1rem; /* 16px */
    margin: 0;
}

.contact-info-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.contact-info-item a:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Scroll animations */
@keyframes scrollFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.benefit-item,
.education-item,
.contact-info-item {
    animation: scrollFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }

.education-item:nth-child(1) { animation-delay: 0.1s; }
.education-item:nth-child(2) { animation-delay: 0.2s; }
.education-item:nth-child(3) { animation-delay: 0.3s; }

.contact-info-item:nth-child(1) { animation-delay: 0.1s; }
.contact-info-item:nth-child(2) { animation-delay: 0.2s; }
.contact-info-item:nth-child(3) { animation-delay: 0.3s; }
.contact-info-item:nth-child(4) { animation-delay: 0.4s; }


@media (max-width: 768px) {
    .Index-page-content {
        padding: 30px 15px;
    }
    
    .form-wrapper {
        padding: 20px;
    }
    
    .Header-branding-logo,
    .Mobile-bar-branding-logo {
        max-width: 160px;
    }
    
    .Header-inner {
        padding: 0 20px;
    }
    
    .Header-nav {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .Header-nav-item {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .Header-search-form-input {
        width: 150px;
    }
    
    .Header-search-form-input:focus {
        width: 180px;
    }
    
    .Footer-business {
        flex-direction: column;
        gap: 30px;
    }

    .Footer-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
        padding-bottom: 32px;
    }

    .Footer-section {
        text-align: center;
    }

    .Footer-nav-group {
        gap: 15px;
    }

    .Footer-bottom {
        gap: 20px;
    }
    
    .sqs-block-spacer,
    .spacer-block {
        max-height: 30px !important;
        height: 30px !important;
    }
    
    .Index-page-content h1 {
        font-size: 2em;
    }
    
    .Index-page-content h2 {
        font-size: 1.5em;
    }
    
    .hero-section {
        padding: 48px 16px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 32px 20px;
    }
    
    .hero-title {
        font-size: 2rem; /* 32px */
    }
    
    .hero-subtitle {
        font-size: 1.25rem; /* 20px */
    }

    .hero-features {
        gap: 12px;
    }

    .hero-feature-item {
        padding: 16px;
        text-align: left;
    }

    .hero-feature-icon {
        font-size: 1.75rem;
        width: 40px;
        height: 40px;
    }

    .hero-feature-item h3 {
        font-size: 0.9375rem; /* 15px */
    }

    .hero-features-descriptions {
        gap: 12px;
    }

    .hero-feature-description {
        padding: 16px;
    }

    .hero-feature-description p {
        font-size: 0.8125rem; /* 13px */
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem; /* 32px */
    }
    
    .section-intro {
        font-size: 1rem; /* 16px */
        margin-bottom: 48px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-button {
        width: 100%;
    }
    
    .header-subtitle-section {
        padding: 24px 16px;
    }
    
    .header-subtitle-text {
        font-size: 1.25rem; /* 20px */
    }
    
    .header-subtitle-description {
        font-size: 0.9375rem; /* 15px */
    }
}

/* Loading state for images */
img[data-load="false"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[data-load="true"] {
    opacity: 1;
}

/* Removed blue placeholder blocks */

/* Fix any floating elements */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Ensure proper spacing */
.sqs-block {
    margin-bottom: 15px;
}

/* Drastically reduce spacer blocks - they create huge empty spaces */
.sqs-block-spacer,
.spacer-block {
    max-height: 50px !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Override aspect-ratio based heights for spacers */
.sqs-block-spacer[data-aspect-ratio],
.spacer-block[data-aspect-ratio] {
    max-height: 50px !important;
    height: 50px !important;
    min-height: 0 !important;
}

/* Reduce padding in Index pages */
.Index-page {
    padding: 20px 0;
}

.Index-page--has-image {
    padding: 0;
}

/* Reduce spacing between sections */
.Index-page + .Index-page {
    margin-top: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 48px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.testimonial-item {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
}

.testimonial-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.testimonial-item h3 {
    color: #1a252f;
    font-size: 1.25rem; /* 20px */
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.3;
}

.testimonial-item p {
    color: #34495e;
    line-height: 1.7;
    font-size: 0.9375rem; /* 15px */
    margin: 0;
}

/* Reduce large image section spacing */
.large-image .Index-page-content,
.large-image-1 .Index-page-content {
    padding: 20px 0;
}

/* Fix text blocks */
.sqs-block-html,
.sqs-block-markdown {
    line-height: 1.7;
}

/* Improve button alignment */
.sqs-button-container {
    text-align: center;
    margin: 20px 0;
}

/* Fix search page */
.search-result {
    margin-bottom: 20px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.search-result:last-child {
    border-bottom: none;
}

/* Reduce map block spacing */
.map-block {
    margin: 10px 0;
}

/* Reduce sized spacer blocks */
.sqs-block-spacer.sized {
    max-height: 20px !important;
    height: 20px !important;
}

/* Reduce vsize spacers */
.sqs-block-spacer[class*="vsize"] {
    max-height: 20px !important;
    height: 20px !important;
}

/* Reduce spacing in all Index page sections */
section.Index-page {
    margin: 0;
    padding: 0;
}

/* Reduce spacing in sqs-layout */
.sqs-layout {
    margin: 0;
    padding: 0;
}


/* Additional spacer reduction - target all possible spacer variations */
div[class*="spacer"],
div[data-block-type="21"] {
    max-height: 50px !important;
    height: auto !important;
    min-height: 0 !important;
}

/* Reduce empty space in HTML blocks with only whitespace */
.sqs-block-html .sqs-block-content:has(> h1:empty + h1:empty),
.sqs-block-html .sqs-block-content:has(> h2:empty + h2:empty),
.sqs-block-html .sqs-block-content:has(> h3:empty + h3:empty) {
    min-height: 0;
    padding: 0;
}

/* Tax Prep Page Styles */
.tax-prep-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

.tax-prep-page .page-title {
    font-size: 2.5rem; /* 40px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
}

.tax-prep-page .page-intro {
    font-size: 1.25rem; /* 20px */
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 48px;
    margin-top: 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tax-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.tax-service-item {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tax-service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tax-service-item h2 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
}

.tax-service-item > p {
    font-size: 1rem; /* 16px */
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 20px;
    margin-top: 0;
}

.tax-service-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tax-service-item ul li {
    font-size: 0.9375rem; /* 15px */
    color: #34495e;
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.tax-service-item ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
}

.tax-benefits {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 48px 32px;
    border-radius: 16px;
    margin-bottom: 64px;
}

.tax-benefits h2 {
    font-size: 2rem; /* 32px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 32px;
    margin-top: 0;
    text-align: center;
    line-height: 1.3;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.benefit-item {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.benefit-item h3 {
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 12px;
    margin-top: 0;
    line-height: 1.4;
}

.benefit-item p {
    font-size: 0.9375rem; /* 15px */
    color: #34495e;
    line-height: 1.7;
    margin: 0;
}

.tax-cta {
    text-align: center;
    padding: 48px 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tax-cta h2 {
    font-size: 2rem; /* 32px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
}

.tax-cta > p {
    font-size: 1.125rem; /* 18px */
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 32px;
    margin-top: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem; /* 16px */
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.cta-buttons .button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.cta-buttons .button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.cta-buttons .button.secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.cta-buttons .button.secondary:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive styles for tax-prep page */
@media (max-width: 768px) {
    .tax-prep-page {
        padding: 32px 16px;
    }
    
    .tax-prep-page .page-title {
        font-size: 2rem; /* 32px */
    }
    
    .tax-prep-page .page-intro {
        font-size: 1.125rem; /* 18px */
    }
    
    .tax-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }
    
    .tax-service-item {
        padding: 24px;
    }
    
    .tax-benefits {
        padding: 32px 20px;
        margin-bottom: 48px;
    }
    
    .tax-benefits h2 {
        font-size: 1.75rem; /* 28px */
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tax-cta {
        padding: 32px 20px;
    }
    
    .tax-cta h2 {
        font-size: 1.75rem; /* 28px */
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .button {
        width: 100%;
    }
}

/* Bookkeeping Page Styles */
.bookkeeping-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

.bookkeeping-page .page-title {
    font-size: 2.5rem; /* 40px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
}

.bookkeeping-page .page-intro {
    font-size: 1.25rem; /* 20px */
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 48px;
    margin-top: 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bookkeeping-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.bookkeeping-service-item {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bookkeeping-service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.bookkeeping-service-item h2 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
}

.bookkeeping-service-item > p {
    font-size: 1rem; /* 16px */
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 20px;
    margin-top: 0;
}

.bookkeeping-service-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bookkeeping-service-item ul li {
    font-size: 0.9375rem; /* 15px */
    color: #34495e;
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.bookkeeping-service-item ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
}

.bookkeeping-benefits {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 48px 32px;
    border-radius: 16px;
    margin-bottom: 64px;
}

.bookkeeping-benefits h2 {
    font-size: 2rem; /* 32px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 32px;
    margin-top: 0;
    text-align: center;
    line-height: 1.3;
}

.bookkeeping-cta {
    text-align: center;
    padding: 48px 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bookkeeping-cta h2 {
    font-size: 2rem; /* 32px */
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
}

.bookkeeping-cta > p {
    font-size: 1.125rem; /* 18px */
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 32px;
    margin-top: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive styles for bookkeeping page */
@media (max-width: 768px) {
    .bookkeeping-page {
        padding: 32px 16px;
    }
    
    .bookkeeping-page .page-title {
        font-size: 2rem; /* 32px */
    }
    
    .bookkeeping-page .page-intro {
        font-size: 1.125rem; /* 18px */
    }
    
    .bookkeeping-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }
    
    .bookkeeping-service-item {
        padding: 24px;
    }
    
    .bookkeeping-benefits {
        padding: 32px 20px;
        margin-bottom: 48px;
    }
    
    .bookkeeping-benefits h2 {
        font-size: 1.75rem; /* 28px */
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bookkeeping-cta {
        padding: 32px 20px;
    }
    
    .bookkeeping-cta h2 {
        font-size: 1.75rem; /* 28px */
    }
}

