/* 
 * domain.com - Financial Auditing Website Styles
 * Color Palette:
 * Royal Indigo (#2B1D3C) — deep background for sections and headers
 * Vibrant Mint (#3FFFA8) — for call-to-action buttons and key highlights
 * Warm Tangerine (#FF7849) — for accents, hover effects, and headings
 * Soft Pearl White (#FAF7F2) — section backgrounds and text contrast
 * Metallic Champagne (#D6C89B) — for borders, dividers, and decorative lines
*/

/* Base Styles & Reset */
:root {
    --royal-indigo: #2B1D3C;
    --vibrant-mint: #3FFFA8;
    --warm-tangerine: #FF7849;
    --soft-pearl: #FAF7F2;
    --metallic-champagne: #D6C89B;
    
    --font-main: 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Helvetica Neue', Arial, sans-serif;
    
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--royal-indigo);
    line-height: 1.6;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--royal-indigo);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--warm-tangerine);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--royal-indigo);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--warm-tangerine);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--royal-indigo);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta {
    background-color: var(--vibrant-mint);
    color: var(--royal-indigo);
}

.btn-cta:hover {
    background-color: var(--warm-tangerine);
    color: white;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1rem 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    position: relative;
    font-weight: 500;
}

.main-nav a.active:after,
.main-nav a:hover:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--warm-tangerine);
}

.mobile-menu-toggle {
    display: none;
}

.menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--royal-indigo);
    position: relative;
    transition: all var(--transition-speed) ease;
}

.menu-icon:before,
.menu-icon:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--royal-indigo);
    transition: all var(--transition-speed) ease;
}

.menu-icon:before {
    top: -8px;
}

.menu-icon:after {
    bottom: -8px;
}

.menu-icon.open {
    background-color: transparent;
}

.menu-icon.open:before {
    top: 0;
    transform: rotate(45deg);
}

.menu-icon.open:after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--royal-indigo), #4A3B5D);
    overflow: hidden;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(63, 255, 168, 0.1), rgba(255, 120, 73, 0.1));
    animation: gradient-shift 10s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 40%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background-color: var(--soft-pearl);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-speed) ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background-color: white;
}

.services-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--soft-pearl);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    border-bottom: 4px solid transparent;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--warm-tangerine);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Detailed Audit Types */
.audit-types {
    background-color: var(--soft-pearl);
    position: relative;
}

.audit-types-container {
    max-width: 800px;
    margin: 0 auto;
}

.audit-type {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--warm-tangerine);
}

.audit-type h3 {
    display: flex;
    align-items: center;
}

.audit-type h3 svg {
    margin-right: 0.75rem;
    fill: var(--warm-tangerine);
}

.benefits-list {
    list-style: none;
    margin-top: 1.5rem;
}

.benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--vibrant-mint);
    font-weight: bold;
}

/* Why Choose Us */
.why-us {
    background-color: white;
    text-align: center;
}

.trust-badges {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.badge {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: var(--soft-pearl);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    border-bottom: 3px solid var(--warm-tangerine);
    transition: all var(--transition-speed) ease;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.badge svg {
    width: 50px;
    height: 50px;
    fill: var(--royal-indigo);
    margin-bottom: 1rem;
}

.stats-counter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.counter-item {
    padding: 1.5rem;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--warm-tangerine);
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Testimonials */
.testimonials {
    background-color: var(--royal-indigo);
    color: white;
}

.testimonials h2 {
    color: white;
    text-align: center;
}

.testimonials h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--royal-indigo);
    position: relative;
}

.testimonial-card:before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(214, 200, 155, 0.3);
    font-family: Georgia, serif;
    line-height: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-name {
    font-weight: 600;
}

.testimonial-author-title {
    font-size: 0.9rem;
    color: #777;
}

/* Contact Form */
.contact {
    background: linear-gradient(135deg, white 50%, var(--soft-pearl) 50%);
    position: relative;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact-info {
    background-color: var(--royal-indigo);
    color: white;
    padding: 3rem 2rem;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--vibrant-mint);
}

.form-section {
    padding: 3rem 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    border-color: var(--warm-tangerine);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 120, 73, 0.2);
}

.form-group svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: #aaa;
    transition: all var(--transition-speed) ease;
}

.form-control:focus + svg {
    fill: var(--warm-tangerine);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-consent input {
    margin-top: 0.3rem;
    margin-right: 0.75rem;
}

/* FAQ Styles - Improved */
.faq {
    background-color: var(--soft-pearl);
}

.faq h2 {
    margin-bottom: 2.5rem;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    background-color: white;
    color: var(--royal-indigo);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    display: block;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    border-left: 4px solid var(--vibrant-mint);
}

.faq-question:hover {
    background-color: var(--soft-pearl);
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--vibrant-mint);
    transition: all var(--transition-speed) ease;
}

.faq-answer {
    background-color: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.faq-answer p {
    padding: 0 1.5rem;
    margin: 0;
    line-height: 1.8;
}

.faq-item.active .faq-question {
    background-color: var(--royal-indigo);
    color: white;
    border-left: 4px solid var(--warm-tangerine);
}

.faq-item.active .faq-question:after {
    content: "−";
    color: var(--warm-tangerine);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

/* Footer */
.site-footer {
    background-color: var(--royal-indigo);
    color: var(--soft-pearl);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.footer-company p {
    margin-top: 1rem;
    max-width: 350px;
}

.footer-contact {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item .icon {
    margin-right: 1rem;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: var(--soft-pearl);
    margin-bottom: 0.75rem;
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--warm-tangerine);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 2000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-consent p {
    margin: 0;
    flex: 1;
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
    margin: 8rem auto 5rem;
    padding: 3rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--metallic-champagne);
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you-page {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--soft-pearl);
}

.thank-you-container {
    width: 90%;
    max-width: 600px;
    padding: 3.5rem;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--metallic-champagne);
    position: relative;
}

.thank-you-container::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: 1px solid var(--warm-tangerine);
    border-radius: 6px;
    pointer-events: none;
}

.thank-you-icon {
    width: 90px;
    height: 90px;
    background-color: var(--vibrant-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    box-shadow: 0 10px 20px rgba(63, 255, 168, 0.2);
}

.thank-you-icon svg {
    width: 45px;
    height: 45px;
    fill: white;
}

.thank-you-container h1 {
    margin-bottom: 1.5rem;
    color: var(--royal-indigo);
}

.thank-you-container .btn {
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-top: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .form-section {
        padding: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-image {
        width: 80%;
        margin-top: 2rem;
    }
    
    .trust-badges {
        flex-wrap: wrap;
    }
    
    .badge {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .thank-you-container {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 1.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-speed) ease;
    }
    
    .main-nav.menu-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero {
        padding-top: 5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .cookie-consent .container {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-page {
        padding: 1.5rem;
    }
    
    .badge {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .thank-you-container {
        padding: 2rem 1.5rem;
    }
    
    .thank-you-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .thank-you-icon svg {
        width: 35px;
        height: 35px;
    }
}