/* 
* Domain - Financial Audit Services
* Responsive, modern, with CSS animations
* Color palette:
* - Background: #0A0A23 (dark indigo)
* - Accents: #F72585 (bright pink), #4361EE (electric blue)
* - Text: #FFFFFF (primary), #B8C1EC (secondary)
* - Buttons: gradient from #F72585 to #7209B7
*/

/* Base Styles and Reset */
:root {
    --bg-primary: #0A0A23;
    --accent-pink: #F72585;
    --accent-blue: #4361EE;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C1EC;
    --gradient-button: linear-gradient(135deg, #F72585 0%, #7209B7 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-pink);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-pink);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 2rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(247, 37, 133, 0.6);
    color: var(--text-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-pink);
    border: 2px solid var(--accent-pink);
}

.btn-secondary:hover {
    background-color: rgba(247, 37, 133, 0.1);
    transform: translateY(-3px);
    color: var(--text-primary);
}

/* Header Styles */
.site-header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: all 0.3s ease;
    background-color: rgba(10, 10, 35, 0.9);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-pink);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav .btn {
    margin-left: 2rem;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Main Content and Sections */
main {
    padding-top: 80px;
}

section {
    padding: 5rem 0;
    position: relative;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 10, 35, 0.9) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-pink) 0%, rgba(247, 37, 133, 0) 70%);
    top: -150px;
    right: -100px;
    opacity: 0.3;
    filter: blur(50px);
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-blue) 0%, rgba(67, 97, 238, 0) 70%);
    bottom: -100px;
    left: -50px;
    opacity: 0.3;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.hero-image {
    flex: 1;
    text-align: center;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* About Section */
.about-section {
    background-color: rgba(67, 97, 238, 0.05);
    border-radius: 0 0 2rem 2rem;
}

.about-content {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.values {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-item {
    background: rgba(10, 10, 35, 0.3);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(10, 10, 35, 0.3);
    padding: 2rem;
    border-radius: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-button);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services Section */
.services-section {
    background-color: rgba(247, 37, 133, 0.05);
    border-radius: 2rem;
    margin: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background: rgba(10, 10, 35, 0.3);
    padding: 2.5rem;
    border-radius: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: var(--gradient-button);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .btn {
    margin-top: 1.5rem;
}

/* Process Section */
.process-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    counter-reset: step;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 200px;
    background: rgba(10, 10, 35, 0.3);
    padding: 2rem;
    border-radius: 2rem;
    position: relative;
    counter-increment: step;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 300px;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(247, 37, 133, 0.1);
}

.step-number {
    background: var(--gradient-button);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

/* Cases & Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: rgba(10, 10, 35, 0.3);
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
    padding: 2rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 5rem;
    line-height: 0;
    color: rgba(247, 37, 133, 0.2);
}

.client-info {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 35, 0.5);
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.client-details h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.client-details p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* FAQ Section - CSS ONLY ACCORDION */
.faq-section {
    background-color: rgba(67, 97, 238, 0.05);
    border-radius: 2rem;
    margin: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(10, 10, 35, 0.3);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-toggle-input {
    display: none;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-question h3 {
    margin-bottom: 0;
}

.faq-toggle {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--accent-pink);
    transition: all 0.3s ease;
}

.faq-toggle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-toggle::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* CSS-only accordion behavior */
.faq-toggle-input:checked + .faq-question + .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

.faq-toggle-input:checked + .faq-question .faq-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(10, 10, 35, 0.9) 0%, rgba(10, 10, 35, 0.7) 100%);
    border-radius: 2rem 2rem 0 0;
    padding: 5rem 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Improved select styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-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='%23F72585' 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: 1em;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.8rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-pink);
    background-color: rgba(255, 255, 255, 0.15);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    cursor: pointer;
    min-width: 18px;
    min-height: 18px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: normal;
}

.contact-form .btn {
    margin-top: 1rem;
    width: 100%;
}

/* Policy Pages Common Styling */
.policy-section {
    padding: 5rem 0;
}

.policy-section h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(10, 10, 35, 0.3);
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.policy-content h2 {
    color: var(--accent-pink);
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.policy-content h2::after {
    display: none;
}

.policy-content h3 {
    color: var(--accent-blue);
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.last-update {
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* Footer Styles */
.site-footer {
    background-color: rgba(10, 10, 35, 0.9);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info, .footer-contact, .footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.company-description {
    max-width: 300px;
}

.footer-contact h3, .footer-links h3 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-pink);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 35, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    z-index: 1000;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cookie-content p {
    margin-right: 2rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 35, 0.95);
        padding: 1.5rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
    }
    
    .main-nav.show {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 0.8rem 0;
    }
    
    .client-info {
        flex-direction: column;
        text-align: center;
    }
    
    .client-photo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-step {
        flex: none;
        width: 100%;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .benefit-card, .service-card, .process-step, .testimonial-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
} 