/* 
   Domain Financial Audit - Main Stylesheet
   Developed for domain.com
*/

/* Color Palette */
:root {
    --main-color: #6C63FF;      /* Electric purple-blue */
    --accent-color: #FF6B6B;    /* Bright orange-coral */
    --bg-color: #FDFDFD;        /* Ultra white */
    --text-color: #333333;      /* Coal gray */
    --secondary-text: #4A4A4A;  /* Graphite gray */
    --light-gray: #F5F5F5;      /* Light gray for backgrounds */
    --border-color: #E0E0E0;    /* Border color */
    --footer-bg: #2A2A2A;       /* Footer background */
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--main-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.elem{
    display: inline-block;
    padding: 12px 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--main-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-color);
}

.logo img {
    max-height: 50px;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop ul li {
    margin-left: 30px;
}

.nav-desktop ul li a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-desktop ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-desktop ul li a:hover:after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-mobile {
    display: none;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, var(--bg-color) 0%, #F0F0FF 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-text h1 {
    margin-bottom: 20px;
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* Services Section */
.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
    transition: all 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    margin-bottom: 20px;
    width: 100%;
}

.service-icon img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Benefits Section */
.benefits {
    background-color: var(--light-gray);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
}

.benefit-icon {
    margin-right: 15px;
    color: var(--main-color);
    font-size: 1.5rem;
}

.benefit-icon img {
    width: 40px;
}

/* Testimonials Section */
.testimonials-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-position {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background-color: var(--light-gray);
    padding-bottom: 100px;
}

.faq h2 {
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.faq-item {
    width: 100%;
    background-color: white;
    border-radius: 18px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.08);
    transform: translateY(-2px);
}

.faq-question {
    padding: 22px 25px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    width: 100%;
    text-align: left;
    letter-spacing: 0.2px;
    font-size: 17px;
}

.faq-question:hover {
    background-color: rgba(108, 99, 255, 0.03);
}

.faq-question.active {
    border-left: 4px solid var(--main-color);
    background-color: rgba(108, 99, 255, 0.05);
    color: var(--main-color);
}



.faq-answer {
    padding: 0 25px;
    height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    background-color: white;
}

.faq-answer.active {
    padding: 0 25px 25px;
    height: auto;
    opacity: 1;
    border-top: none;
    line-height: 1.6;
    color: var(--secondary-text);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--main-color) 0%, #8C84FF 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    color: white;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/cta-bg.svg');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

/* Form Section */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url('../img/down-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--main-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    max-width: 400px;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 120px auto 80px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.policy-content {
    line-height: 1.8;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.policy-content ul, .policy-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 150px 0 100px;
}

.thank-you h1 {
    margin-bottom: 20px;
}

.thank-you-frame {
    background-color: white;
    border: 2px solid var(--main-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.check-icon {
    color: var(--main-color);
    font-size: 5rem;
    margin-bottom: 30px;
    display: inline-block;
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.slide-in-up {
    animation: slideInUp 1s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-text, .hero-image, .about-text, .about-image {
        flex: 100%;
        padding-right: 0;
        padding-bottom: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* Mobile Navigation */
    .nav-desktop {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-mobile {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
        z-index: 999;
    }
    
    .nav-mobile.active {
        display: block;
    }
    
    .nav-mobile ul {
        list-style: none;
        padding: 0;
    }
    
    .nav-mobile ul li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-mobile ul li:last-child {
        border-bottom: none;
    }
    
    .nav-mobile ul li a {
        display: block;
        padding: 15px 20px;
        color: var(--text-color);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}
