/* 
* Domain Financial Audit - Main Stylesheet
* Color palette:
* - Background gradient: #3A0CA3 (ultramarine) to #FFD6A5 (light peach)
* - Text: #222222 (deep gray)
* - Accents: #80FF72 (lime), #FF6B6B (coral), #00B4D8 (sky blue)
*/

/* ----- RESET & BASE STYLES ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors */
    --ultramarine: #3A0CA3;
    --light-peach: #FFD6A5;
    --deep-gray: #222222;
    --lime: #80FF72;
    --coral: #FF6B6B;
    --sky-blue: #00B4D8;
    
    /* Font sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-md: 1rem;
    --font-lg: 1.25rem;
    --font-xl: 1.5rem;
    --font-2xl: 2rem;
    --font-3xl: 2.5rem;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--deep-gray);
    background: linear-gradient(135deg, var(--ultramarine) 0%, var(--light-peach) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ultramarine);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--sky-blue);
}

ul, ol {
    list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

h1 {
    font-size: var(--font-3xl);
}

h2 {
    font-size: var(--font-2xl);
}

h3 {
    font-size: var(--font-xl);
}

p {
    margin-bottom: var(--space-md);
}

section {
    padding: var(--space-2xl) 0;
}

/* ----- CONTAINER ----- */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ----- BUTTONS ----- */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.6s ease;
    transform: skewX(-25deg);
}

.btn:hover::before {
    transform: translateX(200%) skewX(-25deg);
}

.btn-primary {
    background-color: var(--ultramarine);
    color: white;
}

.btn-primary:hover {
    background-color: #3209A0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--sky-blue);
    color: white;
}

.btn-secondary:hover {
    background-color: #00A0C2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-sm);
}

/* ----- HEADER ----- */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    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;
    padding: var(--space-md) 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--coral);
    transition: width 0.3s ease;
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--deep-gray);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ----- MAIN CONTENT ----- */
main {
    background-color: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: var(--space-lg) auto;
    overflow: hidden;
    max-width: 1400px;
}

/* ----- HERO SECTION ----- */
.hero {
    text-align: center;
    padding: var(--space-3xl) 0;
    background: linear-gradient(rgba(58, 12, 163, 0.8), rgba(0, 180, 216, 0.6)), url('../img/qoWP9T.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-size: var(--font-3xl);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: var(--font-lg);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* ----- ABOUT SECTION ----- */
.about-content {
    display: flex;
    gap: var(--space-2xl);
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ----- SERVICES SECTION ----- */
.services {
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 var(--space-lg);
}

.service-card h3 {
    margin-top: var(--space-lg);
    color: var(--ultramarine);
}

.service-card p {
    margin-bottom: var(--space-lg);
}

/* ----- BENEFITS SECTION ----- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.benefit-card {
    text-align: center;
    padding: var(--space-lg);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-peach);
    position: relative;
}

.benefit-icon::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.benefit-icon.transparency::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233A0CA3'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
}

.benefit-icon.efficiency::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF6B6B'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14h-2V9h2v8zm4 0h-2v-6h2v6zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E");
}

.benefit-icon.confidentiality::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300B4D8'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
}

.benefit-icon.expertise::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2380FF72'%3E%3Cpath d='M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm0 16c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7zm1-11h-2v4h-4v2h6v-6z'/%3E%3C/svg%3E");
}

/* ----- TESTIMONIALS SECTION ----- */
.testimonials {
    background-color: var(--light-peach);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background-color: var(--coral);
    border-radius: 50%;
    opacity: 0.5;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60px;
    height: 60px;
    background-color: var(--lime);
    border-radius: 50%;
    opacity: 0.5;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.testimonials-slider {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    padding: var(--space-md);
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 1;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 calc(50% - var(--space-lg));
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: var(--space-xl);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: var(--ultramarine);
    opacity: 0.1;
}

.testimonial-text {
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--space-md);
}

.author-info h4 {
    margin-bottom: 0;
    color: var(--ultramarine);
}

.author-info p {
    margin-bottom: 0;
    font-size: var(--font-sm);
    color: #666;
}

/* ----- PARTNERS SECTION ----- */
.partners {
    text-align: center;
}

.partners h2 {
    margin-bottom: var(--space-2xl);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-xl);
    align-items: center;
}

.partner {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ----- CTA SECTION ----- */
.cta {
    text-align: center;
    background: linear-gradient(rgba(0, 180, 216, 0.9), rgba(58, 12, 163, 0.9)), url('../img/bNnxAf.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: var(--space-3xl) 0;
}

.cta h2 {
    margin-bottom: var(--space-lg);
}

.cta p {
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

/* ----- FORM SECTION ----- */
.form {
    background-color: #f9f9f9;
}

.form h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: var(--space-xl);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: var(--space-lg);
}

label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: var(--font-md);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--sky-blue);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.3);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.checkbox input {
    width: auto;
    margin-top: 5px;
}

.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

form button {
    width: 100%;
    margin-top: var(--space-lg);
}

/* ----- THANKS PAGE ----- */
.thanks {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background-color: var(--lime);
    border-radius: 50%;
    margin: 0 auto var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.check-mark::before, .check-mark::after {
    content: '';
    position: absolute;
    background-color: white;
}

.check-mark::before {
    width: 20px;
    height: 6px;
    transform: rotate(45deg);
    left: 30px;
    top: 54px;
}

.check-mark::after {
    width: 40px;
    height: 6px;
    transform: rotate(-45deg);
    left: 38px;
    top: 48px;
}

.thanks h1 {
    color: var(--ultramarine);
    margin-bottom: var(--space-lg);
}

.thanks-actions {
    margin-top: var(--space-xl);
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

/* ----- POLICY PAGES ----- */
.policy {
    padding: var(--space-2xl) 0;
}

.policy h1 {
    margin-bottom: var(--space-xl);
    color: var(--ultramarine);
}

.policy-content {
    background-color: white;
    padding: var(--space-xl);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
    color: var(--ultramarine);
    margin-top: var(--space-xl);
}

.policy-content h3 {
    color: var(--sky-blue);
    margin-top: var(--space-lg);
}

.policy-content ul, .policy-content ol {
    margin-bottom: var(--space-lg);
}

.policy-content li {
    margin-bottom: var(--space-sm);
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-lg);
}

.cookies-table th, .cookies-table td {
    padding: var(--space-md);
    border: 1px solid #ddd;
    text-align: left;
}

.cookies-table th {
    background-color: #f2f2f2;
}

/* ----- COOKIE POPUP ----- */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: var(--space-lg);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: var(--space-md);
}

/* ----- FOOTER ----- */
footer {
    background-color: var(--ultramarine);
    color: white;
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-info {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .footer-info {
        grid-column: auto;
    }
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: var(--font-sm);
    opacity: 0.8;
}

.footer-contact h3, .footer-links h3, .footer-legal h3 {
    color: var(--lime);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-contact h3::after, .footer-links h3::after, .footer-legal h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--lime);
}

.footer-contact ul, .footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-contact li, .footer-links li, .footer-legal li {
    margin-bottom: var(--space-sm);
}

.footer-contact a, .footer-links a, .footer-legal a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover, .footer-links a:hover, .footer-legal a:hover {
    opacity: 1;
    color: var(--sky-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-sm);
    opacity: 0.7;
}

/* ----- RESPONSIVE STYLES ----- */
@media (max-width: 992px) {
    :root {
        --font-3xl: 2rem;
        --font-2xl: 1.75rem;
        --font-xl: 1.25rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        z-index: 1000;
        padding: var(--space-2xl);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .main-nav li:last-child {
        margin-top: var(--space-lg);
    }
    
    .hero h1 {
        font-size: var(--font-2xl);
    }
    
    .hero p {
        font-size: var(--font-md);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --space-3xl: 3rem;
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .thanks-actions {
        flex-direction: column;
        gap: var(--space-md);
    }
} 