/* 
   Domain Financial Audit Website Styles
   Colors:
   - Primary: #00c9a7 (bright aquamarine)
   - Background: #1e1e1e (soft charcoal gray)
   - Accents: #9b59b6 (neon violet), #ff6b6b (coral)
   - Text: #f0f0f0 (light gray)
*/

/* Base Styles */
:root {
    --primary: #00c9a7;
    --background: #1e1e1e;
    --accent1: #9b59b6;
    --accent2: #ff6b6b;
    --text: #f0f0f0;
    --dark-text: #333333;
    --light-background: #2a2a2a;
    --lighter-background: #3a3a3a;
    --shadow: rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent2);
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Centered Heading for Legal Pages */
.centered-heading {
    text-align: center;
}

.centered-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Section Anchors */
.section-anchor {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: var(--background);
    position: relative;
    z-index: 2;
}

.section-anchor span {
    background-color: var(--primary);
    color: var(--background);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    display: inline-block;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 201, 167, 0.3);
}

/* Buttons */
.cta-button, .submit-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary);
    color: var(--background);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.cta-button:hover, .submit-button:hover {
    background-color: var(--accent1);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow);
}

/* Header */
.site-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: var(--background);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.desktop-nav li a {
    color: var(--text);
    font-weight: 500;
    padding: 8px 12px;
    transition: var(--transition);
}

.desktop-nav li a:hover, .desktop-nav li.active a {
    color: var(--primary);
}

.cta-nav-item a {
    color: var(--primary);
    font-weight: 600;
}

.cta-nav-item a:hover {
    color: var(--accent2);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--background);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav li a {
    color: var(--text);
    font-size: 1.2rem;
    display: block;
    padding: 8px 0;
}

/* Hero Section */
.hero-section {
    background-color: var(--light-background);
    padding: 120px 0 80px;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.logo-large {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.2s ease-out;
}

.hero-image img {
    transition: transform 0.8s ease;
    width: 100%;
}

.hero-image:hover img {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-section {
    background-color: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: linear-gradient(145deg, var(--light-background), var(--lighter-background));
    padding: 0;
    border-radius: 8px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    padding: 20px 20px 0;
    color: var(--primary);
}

.service-card p {
    padding: 0 20px 20px;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--light-background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    padding: 30px;
    background-color: var(--background);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateX(5px);
    border-left-color: var(--accent1);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

/* Contact Form Section */
.contact-section {
    background-color: var(--background);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(42, 42, 42, 0.8);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--lighter-background);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 201, 167, 0.3);
}

/* Enhanced select styling */
.enhanced-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300c9a7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px !important;
    cursor: pointer;
}

.enhanced-select option {
    background-color: var(--light-background);
    color: var(--text);
    padding: 10px;
}

.checkbox-group {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.submit-button {
    margin-top: 20px;
    width: 100%;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

/* Statistics Section */
.statistics-section {
    background-color: var(--background);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.statistic-item {
    padding: 30px;
    background-color: var(--light-background);
    border-radius: 8px;
    transition: var(--transition);
}

.statistic-item:hover {
    transform: translateY(-5px);
    background-color: var(--lighter-background);
}

.statistic-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.statistic-label {
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--lighter-background);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background);
}

.faq-question {
    padding: 20px;
    background-color: var(--background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 2px solid var(--primary);
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.faq-answer {
    padding: 20px;
    background-color: var(--lighter-background);
}

/* Certificates Section */
.certificates-section {
    background-color: var(--background);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.certificate-card {
    background-color: var(--light-background);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.certificate-card:hover {
    background-color: var(--lighter-background);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 201, 167, 0.1);
    border-radius: 50%;
    color: var(--primary);
}

.certificate-card h3 {
    margin-bottom: 10px;
}

.certificate-card p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer */
.site-footer {
    background-color: var(--light-background);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 201, 167, 0.1);
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary);
    color: var(--background);
    transform: translateY(-3px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.footer-contact li svg {
    margin-top: 3px;
    min-width: 18px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--text);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--light-background);
    padding: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-consent.active {
    display: block;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.cookie-button.accept {
    background-color: var(--primary);
    color: var(--background);
}

.cookie-button.more-info {
    background-color: var(--lighter-background);
    color: var(--text);
}

.cookie-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Legal Pages */
.legal-section {
    padding: 100px 0 60px;
    background-color: var(--background);
}

.legal-content {
    background-color: var(--light-background);
    padding: 40px;
    border-radius: 8px;
    margin-top: 30px;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text);
}

.legal-content ul, .legal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Cookie Settings Page */
.cookie-table {
    margin: 30px 0;
    width: 100%;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.cookie-table th, .cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--lighter-background);
}

.cookie-table th {
    background-color: var(--background);
    font-weight: 600;
}

.cookie-settings {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--background);
    border-radius: 8px;
}

.cookie-control {
    margin-bottom: 20px;
}

.cookie-option {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--lighter-background);
}

.cookie-label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    cursor: pointer;
}

.cookie-label input {
    margin-right: 10px;
}

.cookie-description {
    padding-left: 25px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.cookie-button.save {
    background-color: var(--primary);
    color: var(--background);
    margin-right: 10px;
}

.cookie-button.reset {
    background-color: var(--accent2);
    color: var(--text);
}

/* Thanks Page */
.thanks-section {
    padding: 120px 0;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-background);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.thanks-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 201, 167, 0.1);
    border-radius: 50%;
    color: var(--primary);
}

.thanks-actions {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    section {
        padding: 60px 0;
    }
    
    .services-grid, .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .services-grid, .benefits-grid, .testimonials-grid, .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-button {
        width: 100%;
    }
} 