/* Main Style for Financial Audit Website */

:root {
    --dark-plum: #1E1B2E;
    --coral-red: #FA7268;
    --light-blue: #C9F0FF;
    --sand-bg: #F4EFEA;
    --mint-green: #5A8071;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Roboto', sans-serif;
}

body {
    background-color: var(--sand-bg);
    color: var(--dark-plum);
    line-height: 1.6;
}

/* Anchor positioning - move them higher */
:target {
    scroll-margin-top: 80px; /* Adds margin above the anchor when scrolling to it */
    display: block;
    position: relative;
    z-index: -1;
    pointer-events: none;
}

:target::before {
    content: "";
    display: block;
    height: 100px; /* Height of the offset */
    margin-top: -100px; /* Negative margin of the height */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
}

/* Section styling */
section {
    padding: 4rem 0;
}

.section-dark {
    background-color: var(--dark-plum);
    color: var(--light-blue);
}

.section-light {
    background-color: var(--sand-bg);
    color: var(--dark-plum);
}

.text-center {
    text-align: center;
}

/* Cards */
.card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--mint-green);
    color: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #4a6c60;
    transform: scale(1.05);
}

.btn-primary {
    background-color: var(--coral-red);
}

.btn-primary:hover {
    background-color: #e56259;
}

/* Header */
header {
    background-color: var(--dark-plum);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light-blue);
    text-decoration: none;
}

.logo span {
    color: var(--coral-red);
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--coral-red);
}

.nav-toggle {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-plum);
    color: var(--light-blue);
    text-align: center; /* Center text in hero section */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto; /* Center the content block */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-title {
    text-align: center;
    margin-bottom: 2rem;
}

.about-container {
    display: flex;
    align-items: center;
}

.about-content {
    flex: 2;
    padding-right: 2rem;
}

.about-image {
    flex: 1;
    text-align: right;
}

.about-image img {
    width: 90%;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Services */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: var(--dark-plum); /* Make sure text is black */
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--mint-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

/* Benefits */
.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.benefit-card {
    flex: 1;
    min-width: 250px;
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Process Steps */
.process-steps {
    counter-reset: step;
    position: relative;
}

.process-step {
    padding-left: 3.5rem;
    position: relative;
    margin-bottom: 2rem;
}

.process-step:before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--coral-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    color: var(--dark-plum); /* Make sure text is black */
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--sand-bg);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--dark-plum); /* Make sure text is black */
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--dark-plum); /* Make sure text is black */
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

/* Form Styling */
.contact-form {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

/* Footer */
footer {
    background-color: var(--dark-plum);
    color: var(--light-blue);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--coral-red);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(30, 27, 46, 0.95);
    color: var(--light-blue);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: flex;
}

.cookie-text {
    flex: 1;
    padding-right: 1rem;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.policy-content {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    margin-bottom: 2rem;
    text-align: center;
}

/* Thank you page styling */
.thank-you-container {
    border: 2px solid var(--coral-red);
    border-radius: 15px;
    padding: 2.5rem;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--light-blue);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--dark-plum);
        flex-direction: column;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 1.5rem 0;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .card, .service-card, .benefit-card {
        padding: 1.25rem;
    }
} 