/* 
* Domain - Financial Audit Company Website
* Color palette:
* - Deep background: Digital Indigo (#2C2D72)
* - Accent blocks: Coral Blush (#FF6B6B)
* - Additional accents: Soft Mint (#C2FFD0)
* - Fonts and text: Ghost White (#F8F8FF)
* - Buttons and CTA: Gradient from Coral Blush (#FF6B6B) to Vivid Violet (#8F00FF)
*/

/* === Base Styles === */
:root {
    --color-indigo: #2C2D72;
    --color-coral: #FF6B6B;
    --color-mint: #C2FFD0;
    --color-white: #F8F8FF;
    --color-violet: #8F00FF;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-white);
    background-color: var(--color-indigo);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--color-white);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* === Header Styles === */
.main-header {
    padding: 20px 0;
    background-color: rgba(44, 45, 114, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex: 0 0 150px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

/* === Navigation Menu === */
.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    padding: 10px;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-coral);
}

/* === Button Styles === */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gradient {
    background: linear-gradient(to right, var(--color-coral), var(--color-violet));
    color: var(--color-white);
    border: none;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* === Mobile Menu === */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    padding: 0;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: -200px; /* Increase distance to ensure it's completely off-screen */
    left: 0;
    width: 100%;
    background-color: rgba(44, 45, 114, 0.95);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(5px);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup p {
    flex: 1;
    margin-right: 20px;
}

.cookie-popup button {
    background-color: var(--color-coral);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-popup button:hover {
    background-color: var(--color-violet);
}

/* === Hero Section === */
.hero {
    padding: 120px 0 80px;
    background: var(--color-indigo);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232C2D72" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,170.7C384,181,480,171,576,144C672,117,768,75,864,80C960,85,1056,139,1152,149.3C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* === Section Styles === */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--color-coral), var(--color-violet));
    border-radius: 2px;
}

/* === About Section === */
.about {
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.about-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
                -8px -8px 16px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    fill: var(--color-coral);
}

.about-card h3 {
    margin-bottom: 15px;
}

/* === Services Section === */
.services {
    background-color: var(--color-indigo);
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
                -8px -8px 16px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    background-position: center;
    background-size: cover;
}

.service-content {
    padding: 30px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--color-coral);
}

/* === Steps Section === */
.steps {
    background-color: rgba(255, 255, 255, 0.05);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.step {
    flex: 0 0 calc(25% - 30px);
    margin-bottom: 30px;
    text-align: center;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--color-coral), var(--color-violet));
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    fill: var(--color-mint);
}

/* === Benefits Section === */
.benefits {
    background-color: var(--color-indigo);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
                -8px -8px 16px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    fill: var(--color-coral);
}

/* === Reviews Section === */
.reviews {
    background-color: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
                -8px -8px 16px rgba(255, 255, 255, 0.05);
    margin: 0 15px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-coral);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.review-avatar span {
    font-size: 1.5rem;
    font-weight: bold;
}

.review-info h4 {
    margin-bottom: 5px;
}

.review-stars {
    color: gold;
}

.review-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.review-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-control.active {
    background-color: var(--color-coral);
    transform: scale(1.2);
}

/* === Certifications Section === */
.certifications {
    background-color: var(--color-indigo);
    text-align: center;
}

.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cert-logo {
    width: 150px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.cert-logo:hover {
    transform: scale(1.1);
}

/* === Form Section === */
.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
                -8px -8px 16px rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--color-white);
    font-family: var(--font-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-coral);
}

.form-select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23F8F8FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
    font-weight: 500;
}

.form-select option {
    background-color: rgba(44, 45, 114, 0.95);
    color: var(--color-white);
    padding: 10px;
    font-weight: 500;
}

.form-select:focus {
    border-color: var(--color-coral);
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--color-coral), var(--color-violet));
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* === Footer === */
.main-footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 150px;
}

.footer-contact ul {
    margin-top: 20px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: var(--color-coral);
}

.footer-links ul {
    margin-top: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--color-coral);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* === Policy Pages === */
.policy-page {
    padding: 120px 0 60px;
}

.policy-container {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    margin-bottom: 30px;
    color: var(--color-indigo);
}

.policy-container h2 {
    margin: 30px 0 15px;
    color: var(--color-indigo);
}

.policy-container p,
.policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* === Thank You Page === */
.thank-you {
    padding: 120px 0;
    text-align: center;
}

.thank-you-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
                -8px -8px 16px rgba(255, 255, 255, 0.05);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    fill: var(--color-mint);
    margin: 0 auto 30px;
}

.thank-you h1 {
    margin-bottom: 20px;
}

.thank-you p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* === Animation === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Media Queries === */
@media (max-width: 1024px) {
    .steps-container {
        justify-content: center;
    }
    
    .step {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(44, 45, 114, 0.95);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        backdrop-filter: blur(5px);
    }
    
    .main-nav.mobile-open {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .menu-toggle {
        display: block;
        order: 2;
    }
    
    .logo {
        order: 1;
    }
    
    .cta-button {
        order: 3;
        display: none; /* Hide CTA button on mobile */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cert-logo {
        width: 120px;
        height: 80px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}
