/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Color scheme - sophisticated purple and gold palette */
:root {
    --primary-color: #6B46C1;       /* Deep purple */
    --secondary-color: #F59E0B;     /* Golden amber */
    --accent-color: #7C2D12;        /* Deep bronze */
    --text-primary: #1F2937;        /* Dark charcoal */
    --text-secondary: #6B7280;      /* Cool gray */
    --text-light: #D1D5DB;          /* Light gray */
    --background-light: #F9FAFB;    /* Off-white */
    --background-dark: #111827;     /* Dark slate */
    --white: #FFFFFF;
    --success: #10B981;             /* Emerald green */
    --warning: #F59E0B;             /* Amber */
    --danger: #EF4444;              /* Red */
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #553C9A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn i {
    margin-right: 8px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand i {
    margin-right: 10px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #553C9A 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

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

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Abstract background pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 45, 18, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(107, 70, 193, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(245, 158, 11, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(124, 45, 18, 0.08) 50%, transparent 70%);
    background-size: 800px 600px, 600px 800px, 700px 500px, 500px 700px, 100% 100%, 100% 100%;
    background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 0% 0%, 0% 0%;
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 0% 0%, 0% 0%;
    }
    25% {
        background-position: 20% 10%, 80% 20%, 10% 90%, 90% 80%, 0% 0%, 0% 0%;
    }
    50% {
        background-position: 10% 20%, 90% 10%, 20% 80%, 80% 90%, 0% 0%, 0% 0%;
    }
    75% {
        background-position: 30% 5%, 70% 30%, 5% 70%, 95% 75%, 0% 0%, 0% 0%;
    }
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero button contrast improvements */
.hero .btn-primary {
    background-color: var(--secondary-color);
    color: var(--background-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    border: 2px solid transparent;
}

.hero .btn-primary:hover {
    background-color: #D97706;
    color: var(--background-dark);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    transform: translateY(-3px);
}

.hero .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.hero .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white);
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.service-icon i {
    transform: scale(1);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--success);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Statistics Section */
.statistics {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #D97706 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--background-light);
    border-radius: 8px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.about-card {
    background: linear-gradient(135deg, #34003a 0%, #92400E 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.about-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.about-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--warning);
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #553C9A 100%);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white);
}

.newsletter-form .form-notice {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Modern Contact Form */
.contact-form-modern {
    background: linear-gradient(135deg, var(--white) 0%, #fafbff 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(107, 70, 193, 0.1);
    border: 1px solid rgba(107, 70, 193, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
}

.form-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.form-header h3 i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

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

.input-group {
    position: relative;
}

.input-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}

.input-wrapper,
.select-wrapper,
.textarea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i,
.select-wrapper i.fas:not(.select-arrow),
.textarea-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-size: 1rem;
    z-index: 2;
}

.textarea-wrapper i {
    top: 15px;
    align-self: flex-start;
}

.input-wrapper input,
.select-wrapper select,
.textarea-wrapper textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 0.95rem;
    background-color: var(--white);
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-wrapper input:focus,
.select-wrapper select:focus,
.textarea-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
    transform: translateY(-1px);
}

.input-wrapper input::placeholder,
.textarea-wrapper textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 15px;
    color: var(--text-secondary);
    pointer-events: none;
    font-size: 0.8rem;
}

.required-mark {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--danger);
    font-weight: 600;
    font-size: 1.1rem;
}

.textarea-wrapper .required-mark {
    top: 15px;
    transform: none;
}

/* Consent Section */
.consent-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: rgba(107, 70, 193, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(107, 70, 193, 0.1);
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.4;
}

.consent-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark-modern {
    position: relative;
    height: 16px;
    width: 16px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.consent-checkbox:hover input ~ .checkmark-modern {
    background-color: rgba(107, 70, 193, 0.05);
    transform: scale(1.05);
}

.consent-checkbox input:checked ~ .checkmark-modern {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark-modern:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 3px;
    height: 6px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-checkbox input:checked ~ .checkmark-modern:after {
    display: block;
}

.consent-text {
    color: var(--text-secondary);
    flex: 1;
}

.consent-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.consent-text a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .contact-form-modern {
        padding: 1.5rem;
    }
    
    .input-wrapper input,
    .select-wrapper select,
    .textarea-wrapper textarea {
        padding: 12px 12px 12px 40px;
    }
    
    .input-wrapper i,
    .select-wrapper i.fas:not(.select-arrow),
    .textarea-wrapper i {
        left: 12px;
        font-size: 0.9rem;
    }
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand i {
    margin-right: 10px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: var(--text-light);
}

/* Thank You Page */
.thank-you {
    padding: 120px 0;
    background-color: var(--background-light);
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 2rem;
}

.thank-you h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.thank-you-details {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    background-color: var(--white);
}

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

.legal-header h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.legal-header i {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.contact-details {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* Cookie Tables */
.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

.cookie-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.cookie-table tr:hover {
    background-color: var(--background-light);
}

.cookie-settings-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 16px;
}

/* Cookie Banner and Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--background-dark);
    color: var(--white);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px var(--shadow-dark);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    color: var(--white);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
}

.cookie-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.cookie-label input[type="checkbox"] {
    margin-right: 1rem;
}

.cookie-category p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #E0E0E0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 2px 10px var(--shadow);
        padding: 1rem;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 20px;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .footer {
        display: none;
    }
    
    .hero {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .legal-section {
        page-break-inside: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus indicators */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: rgba(0, 0, 0, 0.5);
        --shadow-dark: rgba(0, 0, 0, 0.7);
    }
}
