/* 
* Main Stylesheet for Accounting Services Website
* Color Palette:
* - Deep Purple: #5D3FD3
* - Lavender: #C8A2C8
* - Teal: #3AB795
* - Peach: #FFD6A5
* - Concrete Gray: #E8E8E8
*/

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #5D3FD3;
    transition: color 0.3s ease;
}

a:hover {
    color: #3AB795;
}

ul, ol {
    list-style-position: inside;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
    width: 100%;
    max-width: 120rem;
    padding: 0 2rem;
    margin: 0 auto;
}

section {
    padding: 8rem 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #5D3FD3;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 2rem;
}

/* ===== BUTTONS & FORMS ===== */
.cta-button, .submit-button, .back-home-button, .services-button {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: #5D3FD3;
    color: #fff;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
}

.cta-button:hover, .submit-button:hover, .back-home-button:hover {
    background-color: #4C30B0;
    transform: translateY(-2px);
    box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.15);
}

.services-button {
    background-color: #3AB795;
}

.services-button:hover {
    background-color: #2E9277;
}

.service-link {
    display: inline-block;
    margin-top: 1.6rem;
    font-weight: 600;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -0.4rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background-color: #3AB795;
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}

form {
    max-width: 60rem;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2.4rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #5D3FD3;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 1rem;
    margin-top: 0.4rem;
}

/* ===== COOKIE POPUP ===== */
#cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background-color: #fff;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100rem;
    margin: 0 auto;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cookie-content p {
    flex: 1;
    margin-right: 2rem;
    margin-bottom: 0;
}

#accept-cookies {
    padding: 1rem 2rem;
    background-color: #3AB795;
    color: white;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#accept-cookies:hover {
    background-color: #2E9277;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 1.6rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 2rem;
    color: #5D3FD3;
}

.logo svg {
    margin-right: 1rem;
}

.logo-text {
    font-size: 1.8rem;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2.4rem;
}

.nav-item a {
    color: #333;
    font-weight: 600;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -0.4rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background-color: #5D3FD3;
    transition: width 0.3s ease;
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.4rem;
    height: 2rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 0.3rem;
    background-color: #5D3FD3;
    border-radius: 0.2rem;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 16rem 0 8rem;
    background: linear-gradient(to right, #fff, #E8E8E8);
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 50rem;
}

.hero-subtitle {
    font-size: 2rem;
    color: #666;
    margin-bottom: 3.2rem;
}

.hero-image {
    flex: 1;
    margin-left: 4rem;
    position: relative;
}

.hero-img {
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.03);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    max-width: 50rem;
}

.about-image {
    flex: 1;
    margin-left: 4rem;
}

.about-img {
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3.2rem;
}

.service-card {
    background-color: #fff;
    border-radius: 1.5rem;
    padding: 3.2rem;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 2.4rem;
    width: 100%;
    height: 20rem;
    overflow: hidden;
    border-radius: 1rem;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    background: linear-gradient(45deg, #5D3FD3, #C8A2C8);
    color: #fff;
}

.benefits-section h2 {
    color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3.2rem;
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.4rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-0.5rem);
    background-color: rgba(255, 255, 255, 0.2);
}

.benefit-item h3 {
    color: #FFD6A5;
    font-size: 2rem;
    margin-bottom: 1.6rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3.2rem;
}

.testimonial-card {
    background-color: #f9f9f9;
    border-radius: 1.5rem;
    padding: 3.2rem;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-0.5rem);
}

.testimonial-content {
    position: relative;
    margin-bottom: 2.4rem;
}

.testimonial-content::before {
    content: '"';
    font-size: 8rem;
    color: #C8A2C8;
    position: absolute;
    top: -3rem;
    left: -1rem;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
}

.author-name {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.author-company {
    color: #666;
    font-size: 1.4rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2.4rem;
    border: 1px solid #E8E8E8;
    border-radius: 1rem;
    overflow: hidden;
}

.faq-question {
    background-color: #fff;
    padding: 2.4rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
    color: #333;
}

.faq-answer {
    padding: 0 2.4rem 2.4rem;
    background-color: #fff;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(to right, #fff, #E8E8E8);
}

.form-container {
    background-color: #fff;
    border-radius: 1.5rem;
    padding: 4rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

/* ===== INFO SECTION ===== */
.info-section {
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info-box {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.map-container {
    flex: 2;
    min-width: 300px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.1);
    height: 450px;
}

.info-item {
    padding: 1.5rem;
    text-align: left;
}

.info-item h3 {
    color: #5D3FD3;
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
    padding: 16rem 0 8rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #fff, #E8E8E8);
}

.thank-you-box {
    background-color: #fff;
    border-radius: 2rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    padding: 4rem;
    max-width: 80rem;
    margin: 0 auto;
}

.thank-you-content {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
}

.thank-you-icon {
    margin: 3.2rem auto;
    animation: pulse 2s infinite;
}

.thank-you-message {
    font-size: 2rem;
    margin-bottom: 2.4rem;
}

.thank-you-buttons {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ===== POLICY PAGES ===== */
.policy-section {
    padding: 16rem 0 8rem;
}

.policy-section h1 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.policy-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.3rem;
    background-color: #3AB795;
}

.policy-content {
    max-width: 80rem;
    margin: 0 auto;
    background-color: #fff;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.1);
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 4rem;
}

.policy-section h2 {
    text-align: left;
    font-size: 2.4rem;
    margin-top: 4rem;
}

.policy-section ul,
.policy-section ol {
    margin-bottom: 2.4rem;
    padding-left: 2rem;
}

.policy-section li {
    margin-bottom: 0.8rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 6.4rem 0 3.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2.4rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 0.2rem;
    background-color: #3AB795;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3AB795;
}

.footer-bottom {
    text-align: center;
    padding-top: 3.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #aaa;
    font-size: 1.4rem;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    html {
        font-size: 60%;
    }

    .hero-section .container,
    .about-content {
        flex-direction: column;
    }

    .hero-content,
    .about-text {
        max-width: 100%;
        margin-bottom: 4rem;
    }

    .hero-image,
    .about-image {
        margin-left: 0;
        max-width: 60rem;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 58%;
    }

    section {
        padding: 6rem 0;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        padding: 2rem;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 1.2rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .services-grid,
    .benefits-grid,
    .testimonials-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 56%;
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 12rem 0 6rem;
    }

    .form-container {
        padding: 2.4rem;
    }

    .thank-you-buttons {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-content p {
        margin-right: 0;
        margin-bottom: 2rem;
    }
} 