/* 
* domain - Accounting Services Website
* Color Scheme:
* - Main background: #e0ffe0 (mint)
* - Accents: #ffa07a (salmon), #6a5acd (purple-blue), #008b8b (teal)
* - Text: #222222 (dark gray)
* - Headings: #000000 (black)
* - Block backgrounds: #ffffff (white) with shadows
*/

/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
    background-color: #e0ffe0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #008b8b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6a5acd;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffa07a;
    margin: 0.8rem auto;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-submit {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #6a5acd;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #5a4abf;
    color: #ffffff;
}

.btn-secondary {
    background-color: #008b8b;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #007373;
    color: #ffffff;
}

.btn-submit {
    background: linear-gradient(135deg, #6a5acd, #008b8b);
    color: #ffffff;
    width: 100%;
    padding: 15px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #5a4abf, #007373);
    color: #ffffff;
}

.btn-cookie {
    background-color: #ffa07a;
    color: #ffffff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.btn-cookie:hover {
    background-color: #ff8c66;
}

/* Header */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.header-logo {
    max-height: 50px;
}

/* Header logo */
.logo-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6a5acd;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-link:hover {
    color: #008b8b;
}

/* Navigation */
.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: #222222;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #6a5acd;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.contact-link {
    background-color: #ffa07a;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 5px;
}

.contact-link:hover {
    background-color: #ff8c66;
    color: #ffffff;
}

.contact-link:after {
    display: none;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #222222;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.bar.active:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.bar.active:nth-child(2) {
    opacity: 0;
}

.bar.active:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(224, 255, 224, 0.9), rgba(255, 160, 122, 0.2)), url('./img/hero-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.logo {
    max-width: 150px;
    margin: 0 auto 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.advantages-section {
    padding: 80px 0;
    background-color: #e0ffe0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: #ffffff;
    padding: 30px 25px;
    text-align: center;
    border-radius:.625rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    background-color: rgba(106, 90, 205, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 30px;
    color: #6a5acd;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 20px;
}

.service-card .btn-secondary {
    margin: 0 20px 20px;
    display: block;
    text-align: center;
}

/* Workflow Section */
.workflow-section {
    padding: 80px 0;
    background-color: #e0ffe0;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #ffa07a;
    z-index: 1;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #6a5acd;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(224, 255, 224, 0.5);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 60px;
    color: rgba(106, 90, 205, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 20px;
}

.author-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.author-company {
    font-style: italic;
    font-size: 0.9rem;
    color: #666;
}

/* Contact Form Section - Updated with unique design as per requirements */
.contact-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e0ffe0, #ffa07a);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222222;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #6a5acd; /* Purple border as per requirements */
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #222222;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #008b8b;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #6a5acd;
}

.checkbox-group label {
    margin-bottom: 0;
}

.btn-submit {
    background-color: #6a5acd;
    color: #ffffff;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
    font-weight: bold;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: #008b8b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-toggle-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
    color: #222222;
    text-decoration: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6a5acd;
    margin-left: 15px;
}

.faq-answer {
    padding: 0;
    display: none;
}

.faq-answer p {
    padding: 15px 20px;
    margin: 0;
}

/* Footer */
.site-footer {
    background-color: #008b8b;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo-img {
    max-height: 60px;
    margin-bottom: 15px;
}

.footer-description {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-contacts h3,
.footer-links h3,
.footer-legal h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-list,
.footer-nav,
.legal-links {
    list-style: none;
}

.contact-list li,
.footer-nav li,
.legal-links li {
    margin-bottom: 10px;
}

.contact-list a,
.footer-nav a,
.legal-links a {
    color: rgba(255, 255, 255, 0.8);
}

.contact-list a:hover,
.footer-nav a:hover,
.legal-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer logo */
.footer-logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #6a5acd;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo a:hover {
    color: #008b8b;
}

/* Cookie Popup Styling */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 15px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 3px solid #6a5acd;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

.btn-cookie {
    background-color: #6a5acd;
    color: #ffffff;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-cookie:hover {
    background-color: #ffa07a;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.policy-container h2 {
    margin-top: 40px;
    text-align: left;
}

.policy-container h2:after {
    margin: 0.8rem 0;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section ul,
.policy-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Thank You Page */
.thank-you-container {
    max-width: 600px;
    margin: 100px auto;
    background-color: #ffffff;
    text-align: center;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thank-you-container h1 {
    color: #6a5acd;
}

.thank-you-container p {
    margin-bottom: 30px;
}

/* Form Errors */
.form-errors {
    background-color: #fff8f8;
    border-left: 4px solid #ff5252;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error-message {
    color: #ff5252;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-content {
        flex-direction: column;
    }
    
    .workflow-steps::before {
        left: 20%;
        width: 60%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.mobile-active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-item {
        margin: 0 0 15px;
    }
    
    .nav-item:last-child {
        margin-bottom: 0;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-steps::before {
        display: none;
    }
    
    .workflow-step {
        margin-bottom: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 10px;
        padding-right: 0;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .btn-submit {
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .testimonials-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-section,
    .about-section,
    .advantages-section,
    .services-section,
    .workflow-section,
    .testimonials-section,
    .contact-section,
    .faq-section {
        padding: 50px 0;
    }
    
    .contact-form-container,
    .policy-container,
    .thank-you-container {
        padding: 20px;
    }
} 