/* 
* domain - Financial Audit Website
* Color palette:
* - Primary: #1F2235 (deep dark blue)
* - Accent: #FF6B6B (coral red)
* - Background: #F5F7FA (milk-gray)
* - Secondary: #3D5A80 (deep blue)
* - Fonts: "Poppins", "Roboto"
*/

/* Base Styles */
:root {
    --primary: #1F2235;
    --accent: #FF6B6B;
    --background: #F5F7FA;
    --secondary: #3D5A80;
    --white: #FFFFFF;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --dark-gray: #343A40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--primary);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent);
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: lowercase;
}

.logo a:hover {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--primary);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.animate .bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.animate .bar2 {
    opacity: 0;
}

.animate .bar3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin: 0 auto 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    border-radius: 50%;
    color: var(--secondary);
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-card {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-image {
    flex: 1;
    min-width: 200px;
    height: 250px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.service-features {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    position: relative;
}

.service-features li:before {
    content: '✓';
    color: var(--accent);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content:before {
    content: '"';
    font-size: 4rem;
    color: var(--light-gray);
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    color: var(--secondary);
}

.testimonial-author p {
    font-style: italic;
    font-size: 0.9rem;
    margin: 0;
    color: var(--gray);
}

/* FAQ Section */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--white);
}

.faq-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    display: none;
    background-color: var(--white);
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Order Form Section */
.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    flex: 1;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-map {
    flex: 1.5;
    min-width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    margin-right: 1rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    border-radius: 50%;
    color: var(--white);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-desc {
    opacity: 0.7;
    max-width: 300px;
}

.footer-col h3 {
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-contact-list li,
.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

.cookie-accept-btn {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cookie-accept-btn:hover {
    background-color: #ff5252;
}

/* Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Policy Pages Styling */
.policy-page {
    padding: 10rem 0 5rem;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.policy-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.policy-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.policy-content ul, 
.policy-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-content ul li, 
.policy-content ol li {
    margin-bottom: 0.5rem;
}

.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
    text-align: center;
}

.policy-footer p {
    margin-bottom: 0;
    color: var(--gray);
    font-style: italic;
}

/* Thank You Page */
.thank-you-page {
    text-align: center;
    padding: 10rem 0 5rem;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    margin-bottom: 1rem;
}

.thank-you-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        display: none;
    }
    
    .main-nav.open {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .cta-item {
        margin-top: 1rem;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-image {
        height: 250px;
    }
    
    .footer-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-map {
        height: 300px;
    }
    
    .policy-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .form-wrapper,
    .policy-container,
    .thank-you-content {
        padding: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
