/* 
 * Main CSS Stylesheet
 * Financial Audit Website
 * Colors:
 * - Main background: #1E063F (deep dark purple)
 * - Main accent: #00F0FF (neon turquoise)
 * - Secondary accent: #FFA500 (sunny orange)
 * - Main text: #EDEDED (light grey)
 * - Heading text: #FFFFFF (white)
 */

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Variables */
:root {
    --color-bg-main: #1E063F;
    --color-bg-secondary: #3A0CA3;
    --color-accent-primary: #00F0FF;
    --color-accent-secondary: #FFA500;
    --color-text-main: #EDEDED;
    --color-text-heading: #FFFFFF;
    --max-width: 1200px;
    --padding-section: 5rem;
    --padding-section-mobile: 3rem;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* Typography */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw5aXp-p7K4KLg.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM73w5aXp-p7K4KLg.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    overflow-x: hidden;
    padding-bottom: 150px;
    min-height: 100vh;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-heading);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    border-radius: 4px;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--padding-section) 0;
}

/* Header */
header {
    background-color: rgba(30, 6, 63, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 1rem;
}

.logo a {
    color: var(--color-text-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo span {
    margin-left: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--color-text-main);
    font-weight: 600;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent-primary);
    transition: width var(--transition-speed) ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text-heading);
    font-size: 1.5rem;
}

/* CSS-only mobile navigation toggle with checkbox hack */
#mobile-nav-checkbox {
    display: none;
}

#mobile-nav-checkbox:checked ~ .nav-menu {
    right: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-bg-main) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
    color: var(--color-text-heading);
    border: 2px solid var(--color-accent-primary);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--transition-speed) ease;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    transition: all 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--color-bg-main);
}

.cta-button:hover::before {
    width: 100%;
}

/* About Section */
.about-section {
    background-color: rgba(30, 6, 63, 0.95);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, var(--color-bg-main) 0%, var(--color-bg-secondary) 100%);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(58, 12, 163, 0.6) 0%, rgba(30, 6, 63, 0.6) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 12, 163, 0.8) 0%, rgba(30, 6, 63, 0.8) 100%);
    z-index: -1;
    transition: opacity var(--transition-speed) ease;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
}

.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left var(--transition-speed) ease;
}

.service-link:hover::after {
    margin-left: 0.8rem;
}

/* Benefits Section */
.benefits-section {
    background-color: rgba(30, 6, 63, 0.95);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.benefit-item {
    padding: 1.5rem;
    transition: transform var(--transition-speed) ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(58, 12, 163, 0.3) 0%, rgba(30, 6, 63, 0.3) 100%);
    position: relative;
    overflow: hidden;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.benefit-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--color-bg-main) 0%, var(--color-bg-secondary) 100%);
    text-align: center;
}

.testimonials-slider {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial {
    background: rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    max-width: 350px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-accent-primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-accent-primary);
}

/* Contact Section */
.contact-section {
    background-color: rgba(30, 6, 63, 0.95);
    text-align: center;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--color-accent-primary);
    border-radius: var(--border-radius);
    color: var(--color-text-main);
    font-family: 'Montserrat', sans-serif;
    transition: all var(--transition-speed) ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2300F0FF' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

.form-group select option {
    background-color: #1E063F;
    color: var(--color-text-main);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent-secondary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
    line-height: 1.4;
    font-size: 0.95rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-accent-primary);
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    margin-top: 2px;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--color-accent-primary);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #1E063F;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.submit-button {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-text-heading);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid var(--color-accent-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 1rem;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    transition: all 0.4s ease;
    z-index: -1;
}

.submit-button:hover {
    color: var(--color-bg-main);
}

.submit-button:hover::before {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, var(--color-bg-main) 0%, var(--color-bg-secondary) 100%);
    text-align: center;
}

.faq-container {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: left;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-accent-secondary));
    transition: height var(--transition-speed) ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-item:hover::before {
    height: 100%;
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--color-accent-primary);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2.5rem 0 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 50;
    display: block !important;
    visibility: visible !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    position: relative;
    padding-bottom: 0.7rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-text-main);
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
    display: inline-block;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-accent-primary);
    transform: translateX(5px);
}

.contact-info {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-info svg {
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(30, 6, 63, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-accent-primary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

.cookie-consent p {
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-family: 'Montserrat', sans-serif;
}

.cookie-accept {
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    border: none;
    color: var(--color-bg-main);
}

.cookie-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.cookie-more {
    background: transparent;
    border: 1px solid var(--color-accent-primary);
    color: var(--color-text-heading);
}

.cookie-more:hover {
    background-color: rgba(0, 240, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 50px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .about-content {
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    /* Header mobile styles */
    header {
        padding: 0.8rem 0;
    }
    
    .logo img {
        height: 32px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-bg-main);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 2000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin-left: 0;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    section {
        padding: var(--padding-section-mobile) 0;
    }
} 