/* 
   Financial Audit Services - Main Stylesheet
   Colors: 
   - Primary: #007FFF (azure)
   - Accent: #FF6B6B (coral)
   - Background: #1E1E2F (graphite)
   - Text: #F5F5F5 (smoke white)
   - Secondary: #00B37E (jade green)
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #F5F5F5;
    background-color: #1E1E2F;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #007FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #F5F5F5;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FF6B6B;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(even) {
    background-color: #252538;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #007FFF;
    color: #F5F5F5;
}

.btn-primary:hover {
    background-color: #0065cc;
    color: #F5F5F5;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: #00B37E;
    color: #F5F5F5;
}

.btn-secondary:hover {
    background-color: #009068;
    color: #F5F5F5;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Header */
header {
    background-color: rgba(30, 30, 47, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(30, 30, 47, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img, .logo svg {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #F5F5F5;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #F5F5F5;
    font-size: 1.8rem;
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #F5F5F5;
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6B6B;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    background-color: #1E1E2F;
    background-image: linear-gradient(rgba(30, 30, 47, 0.8), rgba(30, 30, 47, 0.8)), url('../img/kzsdrF.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero .container {
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 30px;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: rotate(0);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #007FFF;
    border-radius: 50%;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    color: #F5F5F5;
}

.benefit-card h3 {
    margin-bottom: 15px;
}

.benefit-card p {
    opacity: 0.9;
}

/* Services Section */
.services-tabs {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.services-nav {
    display: flex;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 16px 16px 0 0;
}

.service-tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    background: none;
    border: none;
    color: #F5F5F5;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-tab.active {
    background-color: #007FFF;
}

.service-tab:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.services-content {
    padding: 40px;
}

.service-panel {
    display: none;
}

.service-panel.active {
    display: flex;
    gap: 40px;
    align-items: center;
}

.service-info {
    flex: 1;
}

.service-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-info ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-info li {
    margin-bottom: 10px;
}

.service-info .btn {
    margin-top: 20px;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-quote::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(255, 107, 107, 0.3);
}

.testimonial-author {
    text-align: right;
    font-style: italic;
    opacity: 0.8;
}

/* Contact Form */
.contact {
    background-color: #1E1E2F;
    background-image: linear-gradient(rgba(30, 30, 47, 0.9), rgba(30, 30, 47, 0.9)), url('../img/oHDFKy.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact .container {
    max-width: 800px;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #F5F5F5;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select option {
    background-color: #1E1E2F;
    color: #F5F5F5;
    padding: 10px;
    font-size: 1rem;
}

.form-group select {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007FFF;
    box-shadow: 0 0 0 2px rgba(0, 127, 255, 0.3);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    grid-column: span 2;
}

.form-check input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #007FFF;
}

.form-submit {
    grid-column: span 2;
    text-align: center;
    margin-top: 20px;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    flex-grow: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

/* Map Section */
.map-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.map-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-info {
    flex: 1;
}

/* Footer */
footer {
    background-color: #171726;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img, .footer-logo svg {
    height: 40px;
    margin-right: 10px;
}

.footer-about p {
    opacity: 0.8;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: rgba(30, 30, 47, 0.95);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-banner.show {
    display: block;
    opacity: 1;
}

.cookie-content {
    margin-bottom: 20px;
}

.cookie-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: #007FFF;
    color: #F5F5F5;
}

.btn-accept:hover {
    background-color: #0065cc;
}

.btn-more {
    background-color: transparent;
    color: #F5F5F5;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-more:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Helper Classes */
.text-center {
    text-align: center;
}

/* Animation Effects */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .service-panel.active {
        flex-direction: column;
    }
    
    .about-content {
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .map-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(30, 30, 47, 0.95);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 15px 0;
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-check,
    .form-submit {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .services-nav {
        flex-direction: column;
    }
    
    .service-tab {
        padding: 15px;
    }
    
    .services-content {
        padding: 25px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .cookie-banner {
        left: 10px;
        right: 10px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
}

/* Thank You Page */
.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0;
}

.thank-you-container {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 60px 50px;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.thank-you h1 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.thank-you p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-actions {
    margin-top: 30px;
}

/* Policy Pages */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

.policy-content h1 {
    margin-bottom: 40px;
}

.policy-content h2 {
    text-align: left;
    font-size: 1.8rem;
}

.policy-content h2::after {
    left: 0;
    transform: translateX(0);
}

.policy-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.policy-content ul, .policy-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.policy-content li {
    margin-bottom: 10px;
} 