/* 
* Main stylesheet for domain - Financial Auditing Company
* Color palette:
* - Primary: #5E3EA1 (purple)
* - Secondary: #A8FF60 (neon green)
* - Background: #FAF8F2 (light cream)
* - Text: #333333 (graphite gray)
* - Accent: #00D0BD (turquoise)
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #FAF8F2;
    color: #333333;
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: #5E3EA1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00D0BD;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: #5E3EA1;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
    scroll-margin-top: 5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #5E3EA1;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #00D0BD;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #A8FF60;
    color: #333333;
}

.btn-secondary:hover {
    background-color: #8DE740;
    color: #333333;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #5E3EA1;
}

.logo a {
    color: inherit;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #5E3EA1;
}

/* Hero section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, rgba(94,62,161,0.1) 0%, rgba(0,208,189,0.1) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 span {
    color: #5E3EA1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About section */
.about-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    flex: 1 1 300px;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    color: #5E3EA1;
}

/* Services section */
.services {
    background-color: white;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    flex: 1 1 300px;
    padding: 2rem;
    background-color: #FAF8F2;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    border-bottom-color: #A8FF60;
    transform: translateY(-5px);
}

.service-card h3 {
    color: #5E3EA1;
}

.service-icon {
    margin-bottom: 1.5rem;
    width: 100%;
}

.service-icon img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

/* Benefits section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    min-width: 50px;
    height: 50px;
    background-color: #A8FF60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Testimonials */
.testimonials {
    background-color: white;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    flex: 1 1 350px;
    padding: 2rem;
    background-color: #FAF8F2;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: #A8FF60;
    opacity: 0.3;
    line-height: 0;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.client-name {
    font-weight: bold;
}

.client-position {
    font-size: 0.9rem;
    color: #666;
}

/* Contact form section */
.contact {
    background: linear-gradient(135deg, rgba(94,62,161,0.1) 0%, rgba(0,208,189,0.1) 100%);
}

.form-container {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #5E3EA1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

/* FAQ section */
.faq-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: white;
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: #5E3EA1;
}

.faq-question.active::after {
    content: "-";
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
}

.faq-answer.active {
    padding: 1.2rem;
    max-height: 500px;
}

/* Footer styles */
footer {
    background-color: #333333;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #A8FF60;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: #A8FF60;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info span {
    margin-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup styles */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1;
    margin-right: 2rem;
}

.cookie-text h4 {
    margin-bottom: 0.5rem;
}

/* Policy pages */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
}

.policy-container h1 {
    margin-bottom: 2rem;
}

.policy-container h2 {
    margin-top: 2.5rem;
}

.policy-container p, .policy-container ul {
    margin-bottom: 1.5rem;
}

.policy-container ul {
    padding-left: 2rem;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 8rem 1.5rem 4rem;
}

.thank-you .container {
    border: 2px solid #5E3EA1;
    border-radius: 10px;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
    color: #5E3EA1;
    margin-bottom: 1.5rem;
}

.check-icon {
    font-size: 5rem;
    color: #A8FF60;
    margin-bottom: 2rem;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-inner {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding-top: 7rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem 1.5rem;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}
