/* 
  Main stylesheet for financial audit company website
  Color palette:
  - Primary: #232946 (dark indigo)
  - Accent: #eebbc3 (soft pink)
  - Contrast: #b8c1ec (light lavender)
  - Background: #fffffe (pure white)
  - Text: #121629 (very dark blue)
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #121629;
    background-color: #fffffe;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

a {
    color: #232946;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #eebbc3;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #232946;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #eebbc3;
    border-radius: 2px;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

section:nth-child(odd) {
    background-color: #f8f9fc;
}

/* Grid system */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col {
    flex: 1;
    padding: 0 1rem;
}

/* Header */
header {
    background-color: #fffffe;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.7rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 1rem;
}

.site-title {
    font-size: 1.6rem;
    margin-bottom: 0;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 1.8rem;
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #eebbc3;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #232946;
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #232946;
    z-index: 999;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    margin-top: 3rem;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    color: #fffffe;
    font-size: 1.2rem;
    font-weight: 600;
}

.close-nav {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fffffe;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero section */
.hero-section {
    padding: 7rem 0 5rem;
    background-color: #f8f9fc;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.main-title {
    font-size: 2.8rem;
    color: #232946;
    margin-bottom: 1.2rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #232946;
}

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    margin-left: 2rem;
    margin-top: 2rem;
}

.hero-img {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(35, 41, 70, 0.2);
    transform: perspective(800px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: perspective(800px) rotateY(0);
}

.cta-button {
    display: inline-block;
    background-color: #232946;
    color: #fffffe;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #232946;
}

.cta-button:hover {
    background-color: transparent;
    color: #232946;
}

/* About section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-img {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(35, 41, 70, 0.15);
}

/* Benefits section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #fffffe;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fffffe;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 1.5rem;
}

.service-features {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
}

.service-cta {
    display: inline-block;
    background-color: #eebbc3;
    color: #232946;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
}

.service-cta:hover {
    background-color: #232946;
    color: #fffffe;
}

/* Cases section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.case-card {
    background-color: #fffffe;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 1.5rem;
}

/* Testimonials section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #fffffe;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 2rem;
    font-size: 5rem;
    line-height: 1;
    color: #eebbc3;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* FAQ section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #232946;
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f9fc;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

/* Contact form section */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fffffe;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border 0.3s ease, transform 0.3s ease;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23232946' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.select-wrapper {
    position: relative;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #b8c1ec;
    transform: scale(1.01);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f0f0f0;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #e0e0e0;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #232946;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.submit-button {
    background-color: #232946;
    color: #fffffe;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #eebbc3;
    color: #232946;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #232946;
    color: #fffffe;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    color: #fffffe;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #b8c1ec;
}

.footer-links a:hover {
    color: #eebbc3;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 0.8rem;
    min-width: 20px;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 193, 236, 0.3);
    text-align: center;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    padding: 1.5rem;
    background-color: #232946;
    color: #fffffe;
    border-radius: 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}

.cookie-popup.active {
    display: block;
    animation: slideIn 0.5s forwards;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: #eebbc3;
    text-decoration: underline;
}

.cookie-button {
    background-color: #eebbc3;
    color: #232946;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-button:hover {
    background-color: #fffffe;
    transform: translateY(-2px);
}

/* Policy pages */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fffffe;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.policy-content {
    margin-top: 2rem;
}

.policy-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul, 
.policy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive design */
@media screen and (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-image {
        margin-left: 0;
        margin-top: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .services-grid,
    .cases-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1.5rem;
    }
} 