/* Main Style for domain financial audit website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #001B2E;
    --secondary-bg: #133C55;
    --accent-red: #FF6B6B;
    --accent-yellow: #FFE66D;
    --text-color: #F0F0F0;
    --hover-red: #E63946;
    --transition: all 0.3s ease;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-yellow) 100%);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    margin-top: -80px;
    padding-top: 160px;
}

/* Header Styles */
header {
    background-color: var(--primary-bg);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo span {
    color: var(--accent-red);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    color: var(--text-color);
    position: relative;
}

nav a:hover {
    color: var(--accent-yellow);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-yellow) 100%);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,27,46,0.8) 0%, rgba(0,27,46,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent-red);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--hover-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
}

.btn-secondary:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-bg);
}

/* About Section */
.about {
    background-color: var(--secondary-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    background-color: var(--secondary-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-yellow) 100%);
    border-radius: 50%;
    color: var(--primary-bg);
    font-size: 24px;
}

/* Services Section */
.services {
    background-color: var(--secondary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--primary-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-bg);
    border: 4px solid var(--accent-red);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    transition: var(--transition);
}

.step:hover .step-number {
    background-color: var(--accent-red);
    color: var(--text-color);
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--primary-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 100px;
    color: var(--accent-red);
    opacity: 0.2;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--accent-yellow);
}

.client-name {
    font-weight: 700;
}

.client-position {
    font-size: 0.9rem;
    color: var(--accent-red);
}

/* Contact Form */
.contact-form {
    background-color: rgba(19, 60, 85, 0.8);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(240, 240, 240, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-red);
    background-color: rgba(240, 240, 240, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF6B6B'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    color: var(--text-color);
    font-weight: 500;
}

select.form-control option {
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding: 10px;
}

select.form-control:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 2px rgba(255, 230, 109, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-errors {
    background-color: rgba(230, 57, 70, 0.2);
    border-left: 4px solid var(--accent-red);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
}

.form-errors ul {
    margin: 0;
    padding-left: 20px;
    color: var(--accent-yellow);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--secondary-bg);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

.faq-question:hover {
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--accent-yellow);
}

.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: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: #000c14;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-red);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-icon {
    margin-right: 15px;
    color: var(--accent-yellow);
    min-width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(240, 240, 240, 0.1);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: var(--primary-bg);
    border: 2px solid var(--accent-red);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--secondary-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-top: 100px;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
}

.policy-container h1 {
    margin-bottom: 30px;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-box {
    background-color: rgba(19, 60, 85, 0.8);
    border: 3px solid var(--accent-yellow);
    border-radius: var(--border-radius);
    padding: 50px 60px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.thank-you h1 {
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    animation: fadeInUp 0.8s ease forwards;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .benefits-grid, 
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        flex-direction: column;
    }
    .process-steps::before {
        width: 4px;
        height: calc(100% - 80px);
        top: 40px;
        left: calc(50% - 2px);
    }
    .step {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-bg);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    }
    nav ul.show {
        display: flex;
    }
    nav li {
        margin: 0;
        text-align: center;
    }
    nav a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(240, 240, 240, 0.1);
    }
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .policy-container {
        padding: 30px 20px;
    }
}
