/* 
* Main stylesheet for domain - Financial Audit Services
* Color palette:
* - Main background: gradient from #2E294E to #541388
* - Accent colors: #FFD400 (yellow), #FF6B6B (coral), #E1E1E1 (gray)
* - Text: #FFFFFF (on dark bg), #333333 (on light bg)
* - White blocks bg: #FAFAFA
*/

/* Reset and base styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333333;
    background-color: #FAFAFA;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #541388;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFD400;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-line {
    width: 8rem;
    height: 0.4rem;
    background-color: #FFD400;
    margin: 0 auto;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 5rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: #FFD400;
    color: #333333;
}

.btn-primary:hover {
    background-color: #FFE044;
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #541388;
    transform: translateY(-2px);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 400px;
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
}

.cookie-content p {
    margin-bottom: 1.5rem;
}

.cookie-accept {
    padding: 1rem 2rem;
    background-color: #FFD400;
    border: none;
    border-radius: 5rem;
    color: #333333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.cookie-accept:hover {
    background-color: #FFE044;
    transform: translateY(-2px);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 41, 78, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 2.4rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FFD400, #FF6B6B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 3rem;
    height: 2.5rem;
    position: relative;
    z-index: 200;
}

.bar {
    display: block;
    width: 100%;
    height: 0.3rem;
    background-color: #FFFFFF;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 1rem;
}

.bar:nth-child(3) {
    top: 2rem;
}

.menu-toggle:checked ~ .menu-icon .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 1rem;
}

.menu-toggle:checked ~ .menu-icon .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .menu-icon .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 1rem;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
}

.menu li {
    margin-left: 2rem;
}

.menu a {
    color: #FFFFFF;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu a:hover {
    color: #FFD400;
}

.menu a.btn-primary {
    color: #333333;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #2E294E, #541388);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 12rem 0 6rem;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    margin-bottom: 2rem;
    font-size: 4.8rem;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.hero-shape {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 600"><path d="M0,0 L200,0 L150,600 L0,600 Z" fill="%23FFD400" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* About Section */
.about-section {
    padding: 10rem 0;
    background-color: #FAFAFA;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.about-image img {
    border-radius: 1rem;
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h3 {
    color: #541388;
    margin-bottom: 2rem;
}

.about-content p {
    color: #555;
    margin-bottom: 2rem;
}

/* Benefits Section */
.benefits-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, #2E294E, #541388);
    color: #FFFFFF;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.benefit-card h3 {
    color: #FFD400;
    margin-bottom: 1.5rem;
}

.benefit-card p {
    color: #E1E1E1;
}

/* Services Section */
.services-section {
    padding: 10rem 0;
    background-color: #FAFAFA;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 1rem;
    padding: 4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    margin-bottom: 2.5rem;
    width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
}

.service-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-img:hover {
    transform: scale(1.05);
}

.service-card h3 {
    color: #541388;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: #555;
    margin-bottom: 2rem;
}

.service-card ul {
    list-style: disc;
    padding-left: 2rem;
    color: #666;
}

.service-card ul li {
    margin-bottom: 0.5rem;
}

/* Process Section */
.process-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, #2E294E, #541388);
    color: #FFFFFF;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 5rem;
    left: 2.5rem;
    width: 0.2rem;
    height: calc(100% + 1rem);
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.step-number {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: #FFD400;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h3 {
    color: #FFD400;
    margin-bottom: 1rem;
}

.step-content p {
    color: #E1E1E1;
}

/* Testimonials Section */
.testimonials-section {
    padding: 10rem 0;
    background-color: #FAFAFA;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: #FFFFFF;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    position: relative;
    padding: 0 1.5rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2.4rem;
    color: #FFD400;
    position: absolute;
}

.testimonial-content p::before {
    left: 0;
    top: 0;
}

.testimonial-content p::after {
    right: 0;
    bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid #FFD400;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    color: #541388;
}

.author-info p {
    margin-bottom: 0;
    font-size: 1.4rem;
    color: #666;
}

/* Contact Section */
.contact-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, #2E294E, #541388);
    color: #FFFFFF;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    color: #FFD400;
    margin-bottom: 2rem;
}

.contact-info p {
    color: #E1E1E1;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-method svg {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-method span {
    color: #E1E1E1;
}

.contact-form {
    background-color: #FFFFFF;
    border-radius: 1rem;
    padding: 4rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #333333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #E1E1E1;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #541388;
    box-shadow: 0 0 0 2px rgba(84, 19, 136, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: 1.4rem;
    margin-bottom: 0;
}

.checkbox-group a {
    color: #541388;
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: #FFD400;
}

.form-submit {
    margin-top: 3rem;
}

.form-submit button {
    width: 100%;
}

/* Footer */
.site-footer {
    background-color: #2E294E;
    color: #E1E1E1;
    padding: 8rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-description {
    color: #A0A0A0;
    font-size: 1.4rem;
}

.footer-contact h3,
.footer-links h3 {
    color: #FFFFFF;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-contact ul,
.footer-links ul {
    color: #A0A0A0;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 1rem;
}

.footer-contact a,
.footer-links a {
    color: #A0A0A0;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: #FFD400;
}

.footer-contact address {
    font-style: normal;
    color: #A0A0A0;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #A0A0A0;
    font-size: 1.4rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    .about-grid,
    .contact-container,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 4rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #2E294E;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .menu li {
        margin: 1.5rem 0;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    section {
        padding: 8rem 0;
    }
    
    .hero-section {
        padding-top: 10rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 2rem;
        margin-right: 0;
    }
    
    .process-step:not(:last-child)::after {
        left: 2.5rem;
        top: 5rem;
        height: 4rem;
    }
}
