/* Main Styles for Domain Financial Audit Website */

:root {
    /* Color Palette */
    --main-bg: #1A1A40;      /* Deep indigo */
    --accent: #A3FFD6;       /* Turquoise-lime */
    --secondary-bg: #FF6F91; /* Peach-neon */
    --white: #FFFFFF;
    --dark-text: #2D2D2D;    /* Graphite */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--main-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 40px;
}



h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--secondary-bg), var(--accent));
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--main-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

.phone-number {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--main-bg);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* About Section */
.about {
    background-color: rgba(255, 111, 145, 0.05);
}

/* Why Choose Us Section */
.why-choose {
    background-color: var(--main-bg);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

/* Services Section */
.services {
    background-color: rgba(163, 255, 214, 0.05);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--secondary-bg);
    margin-bottom: 15px;
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 20px;
    display: block;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--main-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent);
}

/* Contact Form Section */
.contact {
    background-color: rgba(163, 255, 214, 0.05);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

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='none' stroke='%23A3FFD6' 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 15px center;
    background-size: 15px;
}

select.form-control option {
    background-color: var(--main-bg);
    color: var(--white);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

/* FAQ Section */
.faq {
    background-color: var(--main-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--white);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Policy Pages */
.policy-page {
    background-color: var(--white);
    color: var(--dark-text);
    padding: 80px 0;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border: 2px solid var(--accent);
    border-radius: 1rem;
}

.policy-container h1 {
    color: var(--main-bg);
    margin-bottom: 30px;
}

.policy-container h2 {
    color: var(--main-bg);
    font-size: 1.5rem;
    margin: 30px 0 20px;
}

.policy-container p {
    margin-bottom: 15px;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--main-bg);
    color: var(--white);
    padding: 20px;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--accent);
}

.cookie-popup p {
    margin-bottom: 15px;
    text-align: center;
}

/* Thank you page */
.thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

.thankyou-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border: 2px solid var(--accent);
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
    color: var(--accent);
    margin-bottom: 30px;
}

.thank-you p {
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu */
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--white);
        margin: 6px 0;
        transition: 0.4s;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--main-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    
    nav.active {
        max-height: 300px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
    }
    
    .hero {
        min-height: 500px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .feature-card, .service-card, .testimonial-card {
        padding: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}
