/* 
 * Main Stylesheet
 * Financial Audit Services
 * Author: Claude 3.7
 */

/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary: #00C6AE;
    --secondary: #FFD166;
    --accent: #6A00FF;
    --background: #FAF4E5;
    --text: #2E2E2E;
    --light-text: #4A4A4A;
    --white: #FFFFFF;
    --gray: #E0E0E0;
    --dark-gray: #909090;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --border-radius: 20px;
    --small-radius: 10px;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== UTILITIES ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) 0;
}

.rounded-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: var(--space-md);
    box-shadow: 0 -5px 20px var(--shadow);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin-right: var(--space-md);
    margin-bottom: var(--space-sm);
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
}

.cookie-button {
    padding: 0.5rem 1.5rem;
    border-radius: var(--small-radius);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-button.accept {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.cookie-button.more {
    background-color: var(--gray);
    color: var(--text);
}

.cookie-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* ===== HEADER ===== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo-svg {
    display: block;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    color: var(--text);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--small-radius);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(0, 198, 174, 0.1);
}

.nav-link.cta {
    background-color: var(--primary);
    color: var(--white);
}

.nav-link.cta:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--background) 100%);
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    color: var(--light-text);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--small-radius);
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow);
}

/* ===== ABOUT SERVICE ===== */
.about-service {
    background-color: var(--white);
    padding: var(--space-xl) 0;
}

.about-service h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.service-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.service-text {
    flex: 1;
}

.service-image {
    flex: 1;
}

.service-text p {
    margin-bottom: var(--space-md);
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    padding: var(--space-xl) 0;
    background-color: var(--background);
}

.benefits h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    margin-bottom: var(--space-md);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.benefit-card:nth-child(2) .icon-circle {
    background-color: var(--secondary);
}

.benefit-card:nth-child(3) .icon-circle {
    background-color: var(--accent);
}

.benefit-card:nth-child(4) .icon-circle {
    background-color: var(--primary);
}

.benefit-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text);
}

/* ===== SERVICES SECTION ===== */
.audit-services {
    padding: var(--space-xl) 0;
    background-color: var(--white);
}

.audit-services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .service-image {
    height: 200px;
    overflow: hidden;
}

.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: var(--space-md) var(--space-md) 0;
    color: var(--text);
}

.service-card p {
    padding: 0 var(--space-md);
    margin-bottom: var(--space-sm);
}

.service-card ul {
    padding: 0 var(--space-md) var(--space-md);
    list-style: disc;
    margin-left: var(--space-md);
}

.service-card li {
    margin-bottom: var(--space-xs);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--space-xl) 0;
    background-color: var(--background);
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
}

.testimonial-content {
    margin-bottom: var(--space-md);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    text-align: right;
    border-top: 1px solid var(--gray);
    padding-top: var(--space-sm);
}

/* ===== RESULTS SECTION ===== */
.results {
    padding: var(--space-xl) 0;
    background-color: var(--white);
}

.results h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.result-card {
    text-align: center;
    padding: var(--space-md);
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-10px);
}

.result-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.result-card:nth-child(2) .result-number {
    color: var(--secondary);
}

.result-card:nth-child(3) .result-number {
    color: var(--accent);
}

.result-card:nth-child(4) .result-number {
    color: var(--primary);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    padding: var(--space-xl) 0;
    background-color: var(--background);
}

.contact-form h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.service-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: var(--small-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 198, 174, 0.2);
}

.form-checkboxes {
    margin-bottom: var(--space-md);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.form-group.checkbox input {
    width: auto;
    margin-right: var(--space-xs);
}

.submit-button {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: var(--small-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow);
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--text);
    color: var(--background);
    padding: var(--space-lg) 0 var(--space-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-about p {
    margin-bottom: var(--space-md);
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    margin-bottom: var(--space-md);
    color: var(--white);
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    margin-bottom: var(--space-xs);
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a,
.footer-legal a,
.footer-contact a {
    color: var(--background);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .service-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        margin-top: var(--space-sm);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header-flex {
        flex-direction: column;
        padding: var(--space-sm) 0;
    }
    
    .logo {
        margin-bottom: var(--space-sm);
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .service-image {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .container {
        width: 95%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: var(--space-sm);
    }
    
    .service-form {
        padding: var(--space-md);
    }
    
    .footer-grid {
        gap: var(--space-md);
    }
}

/* ===== LEGAL PAGES SHARED STYLES ===== */
.legal-section {
    padding: var(--space-xl) 0;
    background-color: var(--white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.effective-date {
    color: var(--light-text);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.legal-section-content {
    line-height: 1.7;
}

.legal-section-content h2 {
    font-size: 1.5rem;
    margin: var(--space-lg) 0 var(--space-sm);
    color: var(--primary);
}

.legal-section-content p {
    margin-bottom: var(--space-md);
}

.legal-section-content ul {
    margin-bottom: var(--space-md);
    margin-left: var(--space-lg);
    list-style: disc;
}

.legal-section-content li {
    margin-bottom: var(--space-xs);
}

.legal-section-content address {
    font-style: normal;
    margin-top: var(--space-md);
    padding: var(--space-md);
    background-color: var(--background);
    border-radius: var(--border-radius);
}

/* Table styles for policy pages */
.legal-section-content table,
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0 var(--space-lg);
}

.legal-section-content table th,
.legal-section-content table td,
.cookie-table th,
.cookie-table td {
    padding: var(--space-sm);
    border: 1px solid var(--gray);
    text-align: left;
}

.legal-section-content table th,
.cookie-table th {
    background-color: var(--background);
    font-weight: bold;
}

.legal-section-content table tr:nth-child(even),
.cookie-table tr:nth-child(even) {
    background-color: rgba(250, 244, 229, 0.5);
}

@media (max-width: 768px) {
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section-content h2 {
        font-size: 1.3rem;
    }
    
    .legal-section-content table,
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
    padding: var(--space-xl) 0;
    background-color: var(--white);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.thank-you-icon {
    margin: var(--space-lg) 0;
}

.thank-you-icon .icon-circle {
    width: 100px;
    height: 100px;
    background-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon {
    stroke: var(--white);
    width: 50px;
    height: 50px;
}

.thank-you-content p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-buttons {
    margin-top: var(--space-lg);
}

@media (max-width: 576px) {
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .thank-you-content p {
        font-size: 1rem;
    }
    
    .thank-you-icon .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .check-icon {
        width: 40px;
        height: 40px;
    }
}

/* ===== SECTION ANCHORS ===== */
#about, #services, #testimonials, #contact {
    scroll-margin-top: 100px; /* Add space above the sections when navigating with anchor links */
}

/* ===== HEADER ===== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo-svg {
    display: block;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    color: var(--text);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--small-radius);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(0, 198, 174, 0.1);
}

.nav-link.cta {
    background-color: var(--primary);
    color: var(--white);
}

.nav-link.cta:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--background) 100%);
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    color: var(--light-text);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--small-radius);
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow);
}

/* ===== ABOUT SERVICE ===== */
.about-service {
    background-color: var(--white);
    padding: var(--space-xl) 0;
}

.about-service h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.service-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.service-text {
    flex: 1;
}

.service-image {
    flex: 1;
}

.service-text p {
    margin-bottom: var(--space-md);
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    padding: var(--space-xl) 0;
    background-color: var(--background);
}

.benefits h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    margin-bottom: var(--space-md);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.benefit-card:nth-child(2) .icon-circle {
    background-color: var(--secondary);
}

.benefit-card:nth-child(3) .icon-circle {
    background-color: var(--accent);
}

.benefit-card:nth-child(4) .icon-circle {
    background-color: var(--primary);
}

.benefit-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text);
}

/* ===== SERVICES SECTION ===== */
.audit-services {
    padding: var(--space-xl) 0;
    background-color: var(--white);
}

.audit-services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .service-image {
    height: 200px;
    overflow: hidden;
}

.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: var(--space-md) var(--space-md) 0;
    color: var(--text);
}

.service-card p {
    padding: 0 var(--space-md);
    margin-bottom: var(--space-sm);
}

.service-card ul {
    padding: 0 var(--space-md) var(--space-md);
    list-style: disc;
    margin-left: var(--space-md);
}

.service-card li {
    margin-bottom: var(--space-xs);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--space-xl) 0;
    background-color: var(--background);
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
}

.testimonial-content {
    margin-bottom: var(--space-md);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    text-align: right;
    border-top: 1px solid var(--gray);
    padding-top: var(--space-sm);
}

/* ===== RESULTS SECTION ===== */
.results {
    padding: var(--space-xl) 0;
    background-color: var(--white);
}

.results h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.result-card {
    text-align: center;
    padding: var(--space-md);
    background-color: var(--background);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-10px);
}

.result-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.result-card:nth-child(2) .result-number {
    color: var(--secondary);
}

.result-card:nth-child(3) .result-number {
    color: var(--accent);
}

.result-card:nth-child(4) .result-number {
    color: var(--primary);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    padding: var(--space-xl) 0;
    background-color: var(--background);
}

.contact-form h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.service-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: var(--small-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 198, 174, 0.2);
}

.form-checkboxes {
    margin-bottom: var(--space-md);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.form-group.checkbox input {
    width: auto;
    margin-right: var(--space-xs);
}

.submit-button {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: var(--small-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow);
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--text);
    color: var(--background);
    padding: var(--space-lg) 0 var(--space-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-about p {
    margin-bottom: var(--space-md);
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    margin-bottom: var(--space-md);
    color: var(--white);
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    margin-bottom: var(--space-xs);
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a,
.footer-legal a,
.footer-contact a {
    color: var(--background);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .service-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        margin-top: var(--space-sm);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header-flex {
        flex-direction: column;
        padding: var(--space-sm) 0;
    }
    
    .logo {
        margin-bottom: var(--space-sm);
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .service-image {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .container {
        width: 95%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: var(--space-sm);
    }
    
    .service-form {
        padding: var(--space-md);
    }
    
    .footer-grid {
        gap: var(--space-md);
    }
}

/* ===== LEGAL PAGES SHARED STYLES ===== */
.legal-section {
    padding: var(--space-xl) 0;
    background-color: var(--white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.effective-date {
    color: var(--light-text);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.legal-section-content {
    line-height: 1.7;
}

.legal-section-content h2 {
    font-size: 1.5rem;
    margin: var(--space-lg) 0 var(--space-sm);
    color: var(--primary);
}

.legal-section-content p {
    margin-bottom: var(--space-md);
}

.legal-section-content ul {
    margin-bottom: var(--space-md);
    margin-left: var(--space-lg);
    list-style: disc;
}

.legal-section-content li {
    margin-bottom: var(--space-xs);
}

.legal-section-content address {
    font-style: normal;
    margin-top: var(--space-md);
    padding: var(--space-md);
    background-color: var(--background);
    border-radius: var(--border-radius);
}

/* Table styles for policy pages */
.legal-section-content table,
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0 var(--space-lg);
}

.legal-section-content table th,
.legal-section-content table td,
.cookie-table th,
.cookie-table td {
    padding: var(--space-sm);
    border: 1px solid var(--gray);
    text-align: left;
}

.legal-section-content table th,
.cookie-table th {
    background-color: var(--background);
    font-weight: bold;
}

.legal-section-content table tr:nth-child(even),
.cookie-table tr:nth-child(even) {
    background-color: rgba(250, 244, 229, 0.5);
}

@media (max-width: 768px) {
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section-content h2 {
        font-size: 1.3rem;
    }
    
    .legal-section-content table,
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
    padding: var(--space-xl) 0;
    background-color: var(--white);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.thank-you-icon {
    margin: var(--space-lg) 0;
}

.thank-you-icon .icon-circle {
    width: 100px;
    height: 100px;
    background-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon {
    stroke: var(--white);
    width: 50px;
    height: 50px;
}

.thank-you-content p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-buttons {
    margin-top: var(--space-lg);
}

@media (max-width: 576px) {
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .thank-you-content p {
        font-size: 1rem;
    }
    
    .thank-you-icon .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .check-icon {
        width: 40px;
        height: 40px;
    }
} 