/* Main Styles for Financial Audit Website */
:root {
    --gradient-start: #FF00CC;
    --gradient-end: #3333FF;
    --background: #F6F6F6;
    --accent-lime: #AFFF4F;
    --accent-graphite: #2E2E2E;
    --accent-turquoise: #00D8C0;
    --text-dark: #2E2E2E;
    --text-light: #FFFFFF;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: var(--transition);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--gradient-end);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gradient-start);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-light);
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--accent-turquoise);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan {
    font-size: 0.9rem;
    color: var(--accent-graphite);
    font-style: italic;
}

/* Desktop Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--accent-graphite);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--accent-graphite);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    animation: float 5s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* About Section */
.about {
    background-color: #fff;
    position: relative;
}

.about:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--background);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.about:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--background);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.about-container {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.about-content {
    flex: 1;
}

/* Benefits Section */
.benefits {
    position: relative;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.benefit-card {
    flex: 1 0 calc(50% - 30px);
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-lime);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.5rem;
}

/* Services Section */
.services {
    background-color: #fff;
    position: relative;
}

.services:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--background);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.services:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--background);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    flex: 1 0 calc(33.333% - 30px);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    margin: -30px -30px 20px -30px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.service-image img {
    width: 100%;
    display: block;
    height: 180px;
    object-fit: cover;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

/* Testimonials Section */
.testimonials {
    position: relative;
}

.testimonials-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 30px);
    min-width: 280px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 60px;
    color: var(--accent-lime);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 15px;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* FAQ Section */
.faq {
    background-color: #fff;
    position: relative;
}

.faq:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--background);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.faq:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--background);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.faq-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-question.active:after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question.active + .faq-answer {
    padding: 15px 20px;
    max-height: 500px;
}

/* Contact Form Section */
.contact {
    position: relative;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.form-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

form {
    display: grid;
    grid-gap: 20px;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-turquoise);
}

select.form-control {
    background-color: #fff;
    cursor: pointer;
    appearance: none;
}

.select-wrapper {
    position: relative;
}

.select-wrapper:after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: #666;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin: 10px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: var(--transition);
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--accent-turquoise);
    border-color: var(--accent-turquoise);
    position: relative;
}

.checkbox-group input[type="checkbox"]:checked:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
}

.checkbox-group label {
    font-size: 14px;
    line-height: 1.4;
}

.checkbox-group label a {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--accent-graphite);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-lime), var(--accent-turquoise));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    margin-bottom: 20px;
}

.footer-contact li {
    margin-bottom: 15px;
    list-style: none;
    display: flex;
    align-items: center;
}

.footer-contact li i {
    margin-right: 10px;
    min-width: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-lime);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-lime);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Policy Pages */
.policy-page {
    padding: 120px 0 80px;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.policy-title {
    margin-bottom: 30px;
    text-align: center;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
}

.policy-content p {
    margin-bottom: 20px;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 20px;
    max-width: 400px;
    width: 90%;
    z-index: 1000;
    display: none;
}

.cookie-popup.visible {
    display: block;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-popup h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.cookie-popup p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        margin-bottom: 40px;
        padding-right: 0;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .benefit-card {
        flex: 1 0 100%;
    }
    
    .service-card {
        flex: 1 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    /* Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.98);
        transition: var(--transition);
        padding: 20px;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .service-card {
        flex: 1 0 100%;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100% - 30px);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}
