/* 
   Main CSS file for domain - Financial Audit Company
   Uses the color palette:
   - Deep Purple: #3B0A77
   - Electric Turquoise: #2BF7E1
   - Lavender Smoke: #B9A1DC
   - Ash White Background: #F3F5F9
*/

/* ---------- Reset & Base Styles ---------- */
:root {
    --purple: #3B0A77;
    --turquoise: #2BF7E1;
    --lavender: #B9A1DC;
    --ash-white: #F3F5F9;
    --dark-text: #222222;
    --light-text: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--purple), var(--turquoise));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--ash-white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--purple);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--turquoise);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.highlight {
    color: var(--turquoise);
}

/* ---------- Buttons ---------- */
.cta-button, .submit-button, #cookie-accept {
    display: inline-block;
    background: var(--gradient);
    color: var(--light-text);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(59, 10, 119, 0.2);
}

.cta-button:hover, .submit-button:hover, #cookie-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 10, 119, 0.3);
}

/* ---------- Header & Navigation ---------- */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: var(--dark-text);
    font-weight: 600;
    position: relative;
}

.main-nav ul li a.active, .main-nav ul li a:hover {
    color: var(--purple);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--turquoise);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after, .main-nav ul li a.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--purple);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-cta:hover {
    background-color: var(--turquoise);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--purple);
    transition: all 0.3s ease;
}

/* ---------- Hero Section ---------- */
.hero-section {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.hero-section h1, .hero-section p {
    color: var(--light-text);
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    width: 50%;
    animation: fadeInLeft 1s ease;
}

.hero-image {
    width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeInRight 1s ease;
}

.hero-section .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ---------- About Section ---------- */
.about-section {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text, .about-image {
    width: 50%;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ---------- Benefits Section ---------- */
.benefits-section {
    background-color: var(--ash-white);
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: calc(33.333% - 20px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(59, 10, 119, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

/* ---------- Services Section ---------- */
.services-section {
    background-color: white;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    background-color: var(--ash-white);
    border-radius: 10px;
    padding: 30px;
    width: calc(33.333% - 20px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-bottom: 4px solid var(--turquoise);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 10, 119, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto 20px;
    width: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin: 15px 0;
    color: var(--purple);
}

.service-card p {
    color: #666;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ---------- Process Section ---------- */
.process-section {
    background-color: var(--ash-white);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.step:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 10, 119, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-content p {
    margin-bottom: 0;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    background-color: white;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    background-color: var(--ash-white);
    border-radius: 10px;
    padding: 30px;
    width: calc(33.333% - 20px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-content {
    font-style: italic;
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content:before {
    content: '"';
    font-size: 60px;
    color: var(--lavender);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.5;
}

.testimonial-author {
    text-align: right;
}

/* ---------- Contact Section ---------- */
.contact-section {
    background: var(--gradient);
    color: white;
}

.contact-section h2 {
    color: white;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-info, .contact-form {
    width: 50%;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 15px;
    font-size: 20px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-text);
    font-weight: 600;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-button {
    width: 100%;
    padding: 15px;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    background-color: var(--ash-white);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    margin: 0;
}

.faq-answer {
    padding: 0 20px 20px;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo, .footer-contact, .footer-links, .footer-legal {
    width: calc(25% - 23px);
}

.footer-logo svg text {
    fill: white;
}

.footer-tagline {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--turquoise);
}

.site-footer h3 {
    color: var(--turquoise);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.site-footer ul {
    list-style: none;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: var(--ash-white);
}

.site-footer a:hover {
    color: var(--turquoise);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* ---------- Cookie Notice ---------- */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.9);
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
}

.cookie-notice.visible {
    display: block;
    animation: slideInUp 0.5s ease;
}

.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;
}

/* ---------- Legal Pages ---------- */
.legal-page {
    padding: 60px 0;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.legal-container h1 {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--lavender);
    padding-bottom: 15px;
}

.legal-container h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    text-align: left;
}

/* ---------- Animations ---------- */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ---------- Responsive Design ---------- */
@media (max-width: 992px) {
    .benefit-card, .service-card, .testimonial {
        width: calc(50% - 15px);
    }
    
    .footer-logo, .footer-contact, .footer-links, .footer-legal {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 20px;
        transform: translateY(-200%);
        transition: transform 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .hero-section .container,
    .about-content,
    .contact-wrapper {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image,
    .about-text,
    .about-image,
    .contact-info,
    .contact-form {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .about-image {
        margin-top: 30px;
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .benefit-card, .service-card, .testimonial {
        width: 100%;
    }
    
    .footer-logo, .footer-contact, .footer-links, .footer-legal {
        width: 100%;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .legal-container {
        padding: 20px;
    }
}

/* ---------- Icon Placeholders ---------- */
/* These would normally be replaced by a proper icon system like Font Awesome */
.icon-expertise, .icon-transparency, .icon-solutions,
.icon-audit-complete, .icon-audit-internal, .icon-audit-tax,
.icon-location, .icon-phone, .icon-email {
    display: inline-block;
    width: 1em;
    height: 1em;
    background: var(--gradient);
    border-radius: 50%;
} 