/* 
===========================================
    domain.com Financial Auditing Website
    Color Palette:
    - Midnight Teal (#042A2B) 
    - Solar Amber (#FFB400)
    - Ocean Mint (#7AE582)
    - Pearl White (#FDFCF7)
    - Graphite Gray (#2B2B2B)
    - Scarlet Coral (#FF4F58)
===========================================
*/

/* === BASE STYLES === */
:root {
    --midnight-teal: #042A2B;
    --solar-amber: #FFB400;
    --ocean-mint: #7AE582;
    --pearl-white: #FDFCF7;
    --graphite-gray: #2B2B2B;
    --scarlet-coral: #FF4F58;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition-standard: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--graphite-gray);
    background-color: var(--pearl-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--midnight-teal);
    transition: var(--transition-standard);
}

a:hover {
    color: var(--solar-amber);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--midnight-teal);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2.5rem;
}

h2:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1rem;
    width: 80px;
    height: 4px;
    background: var(--solar-amber);
}

/* h2 already centered with text-center class */

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--solar-amber);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--solar-amber);
    cursor: pointer;
    transition: var(--transition-standard);
}

.btn:hover {
    background-color: transparent;
    color: var(--solar-amber);
}

.btn-secondary {
    background-color: var(--midnight-teal);
    border-color: var(--midnight-teal);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--midnight-teal);
}

img {
    max-width: 100%;
    height: auto;
}

/* === HEADER STYLES === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(4, 42, 43, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-standard);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--solar-amber);
    text-transform: lowercase;
}

.logo span {
    color: var(--pearl-white);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--pearl-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--solar-amber);
    transition: var(--transition-standard);
}

nav ul li a:hover {
    color: var(--solar-amber);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Mobile toggle removed */

/* === HERO SECTION === */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--midnight-teal);
    position: relative;
    padding: 0;
}

/* Removed gradient overlay for a clean background */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.3s ease-out backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s 0.6s ease-out backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === ABOUT SECTION === */
#about {
    background-color: var(--pearl-white);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 0 0 50%;
    padding-right: 50px;
}

.about-image {
    flex: 0 0 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.animated-text {
    overflow: hidden;
    position: relative;
}

.animated-text .text-reveal {
    animation: revealText 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SERVICES SECTION === */
#services {
    background-color: var(--midnight-teal);
    color: var(--pearl-white);
}

#services h2 {
    color: var(--pearl-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-standard);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--pearl-white);
    margin-bottom: 1rem;
}

/* === BENEFITS SECTION === */
#benefits {
    background-color: var(--pearl-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-standard);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--solar-amber);
    margin-bottom: 1rem;
    display: block;
}

/* === PROCESS SECTION === */
#process {
    background-color: var(--midnight-teal);
    color: var(--pearl-white);
}

#process h2 {
    color: var(--pearl-white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.step {
    flex: 0 0 calc(25% - 20px);
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--solar-amber);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    transition: var(--transition-standard);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 180, 0, 0.5);
}

.step h3 {
    color: var(--pearl-white);
    margin-bottom: 1rem;
}

/* === TESTIMONIALS SECTION === */
#testimonials {
    background-color: var(--pearl-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-standard);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-card p:before {
    content: '\201C';
    font-size: 3rem;
    color: rgba(4, 42, 43, 0.1);
    position: absolute;
    top: -1rem;
    left: -0.5rem;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.client-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.client-position {
    font-size: 0.8rem;
    color: #777;
}

/* === CTA BANNER === */
#cta-banner {
    background-color: var(--solar-amber);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

#cta-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

#cta-banner h2:after {
    background-color: white;
}

#cta-banner p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* === ORDER FORM === */
#order-form {
    background-color: var(--pearl-white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-error {
    background-color: rgba(255, 79, 88, 0.1);
    border: 1px solid var(--scarlet-coral);
    color: var(--scarlet-coral);
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-standard);
}

.form-control:focus {
    border-color: var(--solar-amber);
    box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.2);
    outline: none;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%232B2B2B' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* === FOOTER === */
footer {
    background-color: var(--midnight-teal);
    color: var(--pearl-white);
    padding: 5rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--solar-amber);
    margin-bottom: 1rem;
    display: block;
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--solar-amber);
}

.footer-links h4 {
    color: var(--pearl-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--solar-amber);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-standard);
}

.footer-links ul li a:hover {
    color: var(--solar-amber);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--midnight-teal);
    color: var(--pearl-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideUp 0.5s forwards;
}

.cookie-popup p {
    margin: 0 20px 0 0;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* === POLICY PAGES === */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 50px;
}

.policy-content {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.policy-content:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--solar-amber);
    border-radius: 5px;
    z-index: 0;
    pointer-events: none;
}

.policy-content > * {
    position: relative;
    z-index: 1;
}

.policy-content h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    margin-top: 2rem;
}

/* === THANK YOU PAGE === */
.thank-you-container {
    text-align: center;
    padding: 120px 20px 80px;
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-content {
    background-color: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--ocean-mint);
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    margin-bottom: 1rem;
}

.return-home {
    margin-top: 2rem;
}

/* Mobile menu removed */

/* === FAQ SECTION === */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-weight: 600;
    color: var(--midnight-teal);
    cursor: pointer;
    display: block;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-answer {
    padding: 0 20px;
    background-color: white;
    display: none;
}

.faq-answer p {
    padding: 20px 0;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    .services-grid, 
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .step {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 40px;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .about-image {
        flex: 0 0 100%;
    }
    
    .services-grid,
    .testimonial-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .policy-content {
        padding: 20px;
    }
}
