/* 
    Domain - Financial Audit Website
    Color Scheme:
    - Deep Purple: #5D3FD3
    - Bright Coral: #FF6B6B
    - Peach: #FFEEDB
    - Lavender: #C3B1E1
    - Dark Anthracite: #2B2D42
*/

/* Base Styles */
:root {
    --color-primary: #5D3FD3;
    --color-accent: #FF6B6B;
    --color-background: #FFEEDB;
    --color-secondary: #C3B1E1;
    --color-text: #2B2D42;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition-default: all 0.3s ease;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Anchor offset to account for fixed header */
.anchor-offset {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

/* Center section headings and underlines */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    display: inline-block;
}

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-default);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-default);
    text-align: center;
}

.btn:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-accent {
    background-color: var(--color-accent);
}

.btn-accent:hover {
    background-color: var(--color-primary);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-light);
    padding: 15px 0;
    z-index: 100;
    transition: var(--transition-default);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: lowercase;
}

.logo a:hover {
    color: var(--color-accent);
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 600;
    position: relative;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-default);
}

.main-nav a:hover:after {
    width: 100%;
}

.header-contact .phone-link {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: 70vh;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    overflow: hidden;
    text-align: center; /* Center hero content */
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/VMiMIa.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto; /* Center hero content */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* About Section */
.about {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin: 40px 0;
    padding: 60px;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h2 {
    display: inline-block;
}

.about-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start; /* Align items to the top */
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-mission {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Services Section */
.services {
    background-color: white;
    padding: 80px 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 30px;
    transition: var(--transition-default);
    border-top: 4px solid var(--color-secondary);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-top-color: var(--color-primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.service-card-image {
    width: 100%;
    height: 180px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-default);
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, var(--color-background) 0%, white 100%);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-secondary);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step.active .step-number {
    background-color: var(--color-accent);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--color-background);
    position: relative;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/vF1zdh.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials-slider {
    margin-top: 40px;
    position: relative;
}

.testimonial-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 30px;
    margin: 10px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
}

/* Contact Form Section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    background-color: var(--color-background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: white;
    transition: var(--transition-default);
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(93, 63, 211, 0.2);
}

.form-check {
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
}

.error-message {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--color-background);
}

.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.accordion-header {
    background-color: white;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-default);
}

.accordion-header:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.accordion-content {
    background-color: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-default);
}

.accordion-content-inner {
    padding: 20px;
}

.accordion-item.active .accordion-header {
    background-color: var(--color-primary);
    color: white;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* Footer */
.site-footer {
    background-color: var(--color-text);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-contact h3,
.footer-legal h3 {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.footer-legal ul {
    list-style: none;
}

.footer-legal li {
    margin-bottom: 10px;
}

.footer-legal a {
    color: var(--color-secondary);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

.footer-contact a {
    color: var(--color-secondary);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-medium);
    padding: 20px;
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.policy-container h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.policy-container h2 {
    font-size: 1.8rem;
    margin-top: 40px;
}

.policy-container h3 {
    font-size: 1.4rem;
    margin-top: 30px;
}

.policy-container ul,
.policy-container ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 100px 0;
}

.thank-you h1 {
    margin-bottom: 20px;
    color: var(--color-primary);
}

.thank-you p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .step {
        width: 50%;
        margin-bottom: 30px;
    }
    
    .process-steps:before {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .menu-icon {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 2;
    }
    
    .menu-icon span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-text);
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }
    
    .menu-icon span:nth-child(1) {
        top: 0;
    }
    
    .menu-icon span:nth-child(2) {
        top: 9px;
    }
    
    .menu-icon span:nth-child(3) {
        top: 18px;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        box-shadow: var(--shadow-medium);
        padding: 80px 20px 20px;
        transition: left 0.3s ease;
        z-index: 1;
    }
    
    .menu-toggle:checked ~ .main-nav {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .header-contact {
        display: none;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
        padding-right: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .about {
        padding: 30px;
    }
    
    .step {
        width: 100%;
    }
    
    .policy-container {
        padding: 20px;
    }
} 