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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-logo a:hover .nav-logo-img {
    opacity: 0.8;
    transform: scale(1.05);
}

.nav-logo h2 {
    color: #1f2937;
    font-weight: 700;
    margin: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.025em;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    border-radius: 4px;
}

.nav-menu a:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3b82f6;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.8)), url('attached_assets/c84c1c7b-384e-4878-8984-28fc0b45b817_images_1__1752521060376.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px
        ),
        rgba(15, 23, 42, 0.2);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.highlight {
    color: #60a5fa;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: #e2e8f0;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    margin-bottom: 50px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: 2px solid transparent;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    color: #cbd5e1;
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-form-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    width: 100%;
    min-height: 500px;
}

#hubspot-form {
    width: 100%;
}

#hubspot-form .hs-form {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
}

#hubspot-form .hs-form-field {
    margin-bottom: 20px;
}

#hubspot-form .hs-form-field label {
    color: #374151 !important;
}

#hubspot-form .hs-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    color: #1f2937;
}

#hubspot-form .hs-input:focus {
    border-color: #3b82f6;
    outline: none;
}

#hubspot-form .hs-button {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

#hubspot-form .hs-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Enhanced HubSpot form styling for deployment - Force black text */
#hubspot-form .hs-form fieldset {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#hubspot-form .hs-form .hs-form-field {
    margin-bottom: 28px !important;
}

#hubspot-form .hs-form .hs-form-field > label {
    display: block !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    font-size: 16px !important;
}

/* Force ALL text elements in HubSpot form to be BLACK - override any inherited styles */
#hubspot-form,
#hubspot-form *,
#hubspot-form .hs-form,
#hubspot-form .hs-form *,
#hubspot-form .hs-form label,
#hubspot-form .hs-form span,
#hubspot-form .hs-form p,
#hubspot-form .hs-form div,
#hubspot-form .hs-form .hs-fieldtype-text label,
#hubspot-form .hs-form .hs-fieldtype-email label,
#hubspot-form .hs-form .hs-fieldtype-select label,
#hubspot-form .hs-form .hs-fieldtype-textarea label,
#hubspot-form .hs-form .hs-fieldtype-phonenumber label,
#hubspot-form .hs-form .hs-richtext,
#hubspot-form .hs-form .hs-richtext *,
#hubspot-form .hs-form .hs-form-field label,
#hubspot-form .hs-form .field label {
    color: #000000 !important;
    text-shadow: none !important;
}

/* Make required field asterisks red */
#hubspot-form .hs-form .hs-form-required,
#hubspot-form .hs-form .required,
#hubspot-form .hs-form .hs-form-field .hs-form-required,
#hubspot-form .hs-form label .hs-form-required,
#hubspot-form .hs-form .hs-form-field > label .hs-form-required {
    color: #ef4444 !important;
}

#hubspot-form .hs-form .hs-input,
#hubspot-form .hs-form select,
#hubspot-form .hs-form textarea {
    width: 100% !important;
    padding: 16px 20px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-family: 'Inter', sans-serif !important;
    transition: border-color 0.3s ease !important;
    color: #1f2937 !important;
    background: white !important;
    box-sizing: border-box !important;
    min-height: 54px !important;
}

#hubspot-form .hs-form .hs-input:focus,
#hubspot-form .hs-form select:focus,
#hubspot-form .hs-form textarea:focus {
    border-color: #3b82f6 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

#hubspot-form .hs-form .hs-button {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
    color: white !important;
    border: none !important;
    padding: 20px 32px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    font-family: 'Inter', sans-serif !important;
    min-height: 60px !important;
}

#hubspot-form .hs-form .hs-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4) !important;
}

#hubspot-form .hs-form .hs-error-msgs {
    color: #ef4444 !important;
    font-size: 14px !important;
    margin-top: 5px !important;
}

#hubspot-form .hs-form .hs-form-required {
    color: #ef4444 !important;
}

/* Ensure form container is visible and styled consistently */
.hero-form-container {
    min-height: 500px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    padding: 50px !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    max-width: 600px !important;
    width: 100% !important;
}

#hubspot-form {
    width: 100% !important;
    min-height: 400px !important;
    background: transparent !important;
}

/* Force HubSpot form to inherit container styles */
#hubspot-form .hs-form {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.hero-image .services-slideshow {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.hero-image .slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.hero-image .service-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    animation: slideIn 0.8s ease-in-out;
}

.hero-image .service-slide.active {
    display: block;
    opacity: 1;
}

.hero-image .slideshow-indicators {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.hero-image .indicator {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-image .indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.hero-image .indicator.active {
    background-color: #60a5fa;
    border-color: #60a5fa;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

.hero-image .service-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
}

.hero-image .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.hero-image .service-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.hero-image .service-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.hero-image .service-image[loading="lazy"] {
    opacity: 0;
}

.hero-image .service-image[loading="lazy"].loaded {
    opacity: 1;
}

.hero-image .service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #1f2937;
    font-weight: 700;
}

.hero-image .service-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Section Styles */
.section-wrapper {
    padding: 160px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    position: relative;
    padding: 160px 0;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 80%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services .section-header h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services .section-header p {
    color: #e2e8f0;
}

.services-slideshow {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.service-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    animation: slideIn 0.8s ease-in-out;
}

.service-slide.active {
    display: block;
    opacity: 1;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideshow-indicators {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.indicator {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.indicator:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.indicator.active {
    background-color: #60a5fa;
    border-color: #60a5fa;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

.indicator.active:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

.service-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.service-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.service-image[loading="lazy"] {
    opacity: 0;
}

.service-image[loading="lazy"].loaded {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #1f2937;
    font-weight: 700;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Calculator Section */
.calculator-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    color: white;
    position: relative;
    padding: 160px 0;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.calculator-info h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 800;
    color: white;
}

.calculator-info p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: #e2e8f0;
}

.calculator-features {
    list-style: none;
    display: grid;
    gap: 16px;
}

.calculator-features li {
    padding: 12px 0;
    font-size: 1.1rem;
    opacity: 0.9;
    color: #cbd5e1;
    font-weight: 500;
}

.calculator-cta {
    background: rgba(255, 255, 255, 0.08);
    padding: 60px 50px;
    border-radius: 24px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-cta h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.calculator-cta p {
    margin-bottom: 40px;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    position: relative;
    padding: 160px 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    color: white;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-text > p {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 50px;
    line-height: 1.6;
}

.about-features {
    display: grid;
    gap: 32px;
}

.feature {
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 600;
}

.feature p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.about-team-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.about-placeholder {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-icon {
    font-size: 5rem;
    margin-bottom: 24px;
    filter: grayscale(20%);
}

.about-placeholder p {
    color: #374151;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    color: white;
    position: relative;
    padding: 160px 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact .section-header {
    position: relative;
    z-index: 2;
}

.contact .section-header h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact .section-header p {
    color: #e2e8f0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: grid;
    gap: 40px;
}

.contact-item {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 600;
}

.contact-item p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 60px 50px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: #1f2937;
    font-weight: 700;
}

.contact-form p {
    margin-bottom: 40px;
    line-height: 1.6;
    color: #6b7280;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(96, 165, 250, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #60a5fa;
    font-weight: 600;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 1.05rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 8px 0;
    color: #9ca3af;
    font-size: 1.05rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 1rem;
}

/* Calculator Page Styles */
.calculator-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    color: white;
    padding: 140px 0 80px;
    margin-top: 80px;
    position: relative;
}

.calculator-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.calculator-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.calculator-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.calculator-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: #e2e8f0;
}

.calculator-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.benefit {
    background: rgba(255, 255, 255, 0.08);
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 1rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.calculator-main {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    position: relative;
}

.calculator-main::before {
    content: '';
    The provided changes repeatedly update the CSS for service images to include transition effects and lazy loading styles, which will be applied to the complete CSS file.
```position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.calculator-main .container {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 10px;
}

/* FAQ Page Styles */
.faq-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    color: white;
    padding: 140px 0 80px;
    margin-top: 80px;
    position: relative;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.faq-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.faq-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: #e2e8f0;
}

.faq-main {
    padding: 80px 0;
    background: white;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.faq-category-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #6b7280;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.faq-category-btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.faq-category-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.faq-category-btn.active {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-color: #3b82f6;
    color: white;
}

.faq-category-btn.active:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
}

.faq-category {
    display: none;
    max-width: 900px;
    margin: 0 auto;
}

.faq-category.active {
    display: block;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-item.active .faq-question {
    background: #f0f9ff;
    border-bottom: 1px solid #e2e8f0;
}

.faq-question h3 {
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #60a5fa;
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 24px;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 16px 0 0;
}

.faq-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
}

.faq-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #e2e8f0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 1100px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.close {
    color: #9ca3af;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    transition: color 0.3s ease;
}

.close:hover {
    color: #374151;
}

.calculator-placeholder {
    text-align: center;
    padding: 80px 40px;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
}

.calculator-placeholder h3 {
    color: #374151;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.calculator-placeholder p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Calculator Page Text Colors */
.calculator-main {
    color: black;
}

.calculator-main h1,
.calculator-main h2,
.calculator-main h3,
.calculator-main h4,
.calculator-main p,
.calculator-main span,
.calculator-main label,
.calculator-main div {
    color: black !important;
}

/* Calculator Header Override - Keep white text */
.calculator-main .calculator-header h1,
.calculator-main .calculator-header p {
    color: white !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }

    .hero-container,
    .calculator-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Hide navigation logo text on mobile */
    .nav-logo h2 {
        display: none;
    }

    /* Hide about section image on mobile */
    .about-image {
        display: none;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 0;
        border-top: 1px solid rgba(96, 165, 250, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid rgba(96, 165, 250, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: #374151;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: #3b82f6;
    }

    .nav-toggle {
        display: flex;
    }

    /* Improved mobile typography */
    .hero-content h1,
    .calculator-hero h1,
    .faq-hero h1 {
        font-size: 1.75rem; /* 28px */
        line-height: 2rem; /* 32px */
    }

    .section-header h2 {
        font-size: 1.5rem; /* 24px */
        line-height: 2rem; /* 32px */
    }

    /* Body text improvements */
    .hero-subtitle,
    .calculator-hero p,
    .faq-hero p {
        font-size: 1.125rem; /* 18px */
        line-height: 1.6;
    }

    .about-text > p,
    .calculator-info p,
    .contact-item p,
    .feature p,
    body,
    p {
        font-size: 1rem; /* 16px */
        line-height: 1.5;
    }

    /* Enhanced CTA styling for better contrast */
    .btn-primary {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(37, 99, 235, 0.3);
        border: 2px solid transparent;
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(29, 78, 216, 0.4);
        transform: translateY(-2px);
    }

    /* Increased vertical spacing for sections */
    .hero {
        padding: 156px 0 116px; /* +16px top and bottom */
    }

    .calculator-section,
    .about,
    .contact,
    .services {
        padding: 176px 0; /* +16px top and bottom */
    }

    .calculator-hero {
        padding: 156px 0 96px; /* +16px top and bottom */
    }

    .calculator-main,
    .faq-main {
        padding: 96px 0; /* +16px top and bottom */
    }

    .faq-hero {
        padding: 156px 0 96px; /* +16px top and bottom */
    }

    .faq-cta {
        padding: 96px 0; /* +16px top and bottom */
    }

    /* Additional spacing for content blocks */
    .hero-stats {
        gap: 30px;
        margin-top: 24px; /* +8px extra spacing */
    }

    .calculator-cta,
    .contact-form,
    .about-placeholder {
        padding: 56px 30px; /* +16px top and bottom */
        margin: 24px 0; /* +8px extra margin */
    }

    .calculator-info,
    .about-text {
        margin-bottom: 40px; /* +16px extra spacing */
    }

    .hero-buttons,
    .calculator-benefits {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 24px 0; /* +8px extra margin */
    }

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

    .section-wrapper {
        padding: 96px 0; /* +16px top and bottom */
    }

    .section-header {
        margin-bottom: 76px; /* +16px extra spacing */
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }

    /* Refined typography for very small screens */
    .hero-content h1,
    .calculator-hero h1,
    .faq-hero h1 {
        font-size: 1.5rem; /* 24px */
        line-height: 2rem; /* 32px */
    }

    .section-header h2 {
        font-size: 1.375rem; /* 22px */
        line-height: 1.875rem; /* 30px */
    }

    .hero-subtitle,
    .calculator-hero p,
    .faq-hero p {
        font-size: 1rem; /* 16px */
        line-height: 1.5;
    }

    /* Enhanced CTA styling for very small screens */
    .btn {
        padding: 16px 32px; /* Slightly larger for better touch targets */
        font-size: 1rem;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(37, 99, 235, 0.3);
    }

    /* Extra vertical spacing for very small screens */
    .hero {
        padding: 144px 0 104px; /* +24px top and bottom */
    }

    .calculator-hero,
    .faq-hero {
        padding: 144px 0 84px; /* +24px top and bottom */
    }

    .calculator-main,
    .faq-main {
        padding: 104px 0; /* +24px top and bottom */
    }

    .faq-cta {
        padding: 104px 0; /* +24px top and bottom */
    }

    .modal-content {
        margin: 5% auto;
        padding: 54px 20px; /* +24px top and bottom */
    }

    .calculator-placeholder {
        padding: 84px 30px; /* +24px top and bottom */
    }

    .contact-form,
    .about-placeholder,
    .calculator-cta {
        padding: 64px 30px; /* +24px top and bottom */
    }
}