/* domain - Financial Audit Services
   Main Stylesheet */

/* Base Styles */
:root {
    --primary: #0A5C4A;
    --accent: #E2725B;
    --background: #F6F1E7;
    --accent-yellow: #FFD166;
    --text: #2C2C2C;
    --white: #FFFFFF;
    --light-gray: #F2F2F2;
    --border-radius: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

section[id] {
    scroll-margin-top: 40px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent);
}

.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    width: 30px;
    height: 21px;
}

.menu-toggle-label span {
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(10, 92, 74, 0.8), rgba(10, 92, 74, 0.8)), url('./img/B4BLG.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-yellow);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: transform 0.3s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-button:hover {
    background-color: var(--accent);
    color: var(--white);
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--primary);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    height: 150px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 1.5rem;
}

.client-position {
    color: var(--primary);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.rating {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

blockquote {
    font-style: italic;
}

/* Steps Section */
.steps {
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Form Section */
.contact {
    padding: 5rem 0;
    background-color: var(--white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

select {
    background-color: var(--white);
}

option {
    background-color: var(--white);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 1.5rem;
}

address {
    font-style: normal;
    margin-bottom: 1.5rem;
}

address p {
    margin-bottom: 0.5rem;
}

address a {
    color: var(--accent-yellow);
}

address a:hover {
    color: var(--accent);
}

.footer-links h4,
.footer-legal h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-legal a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-yellow);
    opacity: 1;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 1rem;
}

#acceptCookies {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

#acceptCookies:hover {
    background-color: var(--accent);
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 8rem auto 5rem;
    padding: 2rem;
    background-color: var(--background);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.policy-container h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.policy-container h2:after {
    content: none;
}

/* Thanks Page */
.thanks-container {
    max-width: 600px;
    margin: 8rem auto 5rem;
    padding: 2rem;
    background-color: var(--background);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thanks-container h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.return-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.return-button:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* FAQ Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-checkbox {
    display: none;
}

.faq-question {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    cursor: pointer;
    display: block;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer-content {
    padding: 0 1rem;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

.faq-checkbox:checked ~ .faq-question:after {
    content: '−';
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle-label {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .policy-container,
    .thanks-container {
        margin: 6rem auto 3rem;
        padding: 1.5rem;
    }
}
