/* 
   Domain Financial Audit - Main Stylesheet
   Color Palette:
   - Deep Indigo: #2D2A6B
   - Bright Coral: #FF6B6B
   - Light Turquoise: #3DDAD7
   - Ice White: #F8F8F8
   - Dark Blue Text: #1A1B41
*/

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1A1B41;
    background-color: #F8F8F8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #2D2A6B;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2D2A6B;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #FF6B6B;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

/* Buttons & CTAs */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.primary-button {
    background-color: #FF6B6B;
    color: #F8F8F8;
}

.primary-button:hover {
    background-color: #2D2A6B;
    color: #F8F8F8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(45, 42, 107, 0.15);
}

.secondary-button {
    background-color: transparent;
    color: #2D2A6B;
    border: 2px solid #2D2A6B;
}

.secondary-button:hover {
    background-color: #2D2A6B;
    color: #F8F8F8;
}

/* Hero section specific button styling */
.hero .secondary-button {
    background-color: transparent;
    color: #F8F8F8;
    border: 2px solid #F8F8F8;
}

.hero .secondary-button:hover {
    background-color: #F8F8F8;
    color: #2D2A6B;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #F8F8F8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D2A6B;
}

.logo svg {
    margin-right: 0.5rem;
}

.logo span {
    font-size: 1.5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    font-weight: 600;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FF6B6B;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}

.main-nav ul li a.cta-button {
    background-color: #FF6B6B;
    color: #F8F8F8;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.main-nav ul li a.cta-button:hover {
    background-color: #2D2A6B;
}

.main-nav ul li a.cta-button:after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    text-decoration: none;
}

.mobile-menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #2D2A6B;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2D2A6B;
    color: #F8F8F8;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Account for fixed header */
    background-image: url('./img/Bk2i76.jpg');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 42, 107, 0.8);
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    margin: 0 auto;
}

.hero h1 {
    color: #F8F8F8;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero h1 span {
    color: #3DDAD7;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-buttons .button:first-child {
    margin-right: 1rem;
}

/* About Section */
.about {
    background-color: #F8F8F8;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(45, 42, 107, 0.1);
    transform: translateY(0);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(45, 42, 107, 0.2);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    background-color: #F8F8F8;
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(45, 42, 107, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: #2D2A6B;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: #F8F8F8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 42, 107, 0.1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: #3DDAD7;
    border-radius: 50%;
    color: #F8F8F8;
    font-size: 2rem;
}

.feature h3 {
    margin-bottom: 1rem;
}

/* Process Section */
.process {
    background-color: #F8F8F8;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    width: 200px;
    margin-bottom: 2rem;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -50px;
    width: 100px;
    height: 2px;
    background-color: #FF6B6B;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #2D2A6B;
    color: #F8F8F8;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.step h3 {
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: #2D2A6B;
    color: #F8F8F8;
}

.testimonials h2 {
    color: #F8F8F8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #1A1B41;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: #3DDAD7;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-author-info h4 {
    margin-bottom: 0.25rem;
    color: #2D2A6B;
}

.testimonial-author-info p {
    margin-bottom: 0;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* FAQ Section */
.faq {
    background-color: #F8F8F8;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2D2A6B;
    position: relative;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.faq-item.active .faq-question:after {
    content: '−';
}

.faq-answer {
    height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
}

.faq-question a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

/* Contact Form Section */
.contact {
    background-color: #fff;
    position: relative;
}

.contact-wrapper {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #F8F8F8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(45, 42, 107, 0.1);
}

/* Contact info styling specific for the Get In Touch section */
.contact .contact-info {
    flex: 1;
    padding: 3rem;
    background-color: #2D2A6B;
    color: #1A1B41;
}

.contact .contact-info h3 {
    color: #F8F8F8;
    margin-bottom: 1.5rem;
}

.contact .contact-details {
    list-style: none;
    margin-bottom: 2rem;
}

.contact .contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #1A1B41;
}

.contact .contact-details li {
    color: #F8F8F8;
}

.contact .contact-details li svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-form {
    flex: 2;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2D2A6B;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3DDAD7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 218, 215, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D2A6B' 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 1rem center;
    padding-right: 2.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: #FF6B6B;
    color: #F8F8F8;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #2D2A6B;
}

/* Footer Styles */
.main-footer {
    background-color: #1A1B41;
    color: #F8F8F8;
    padding: 5rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: #F8F8F8;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: left;
}

.footer-col h3:after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: #FF6B6B;
    margin-top: 10px;
    margin-left: 0;
    margin-right: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #F8F8F8;
}

.footer-logo svg {
    margin-right: 0.5rem;
}

.company-desc {
    opacity: 0.7;
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: #F8F8F8;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    opacity: 1;
    color: #3DDAD7;
}

/* Footer contact info styling */
.footer-col .contact-info {
    list-style: none;
    background-color: transparent;
    padding: 0;
}

.footer-col .contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #F8F8F8;
    opacity: 0.7;
}

.footer-col .contact-info li svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #fff;
    max-width: 350px;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.cookie-popup.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

.cookie-more {
    color: #2D2A6B;
    font-weight: 600;
    font-size: 0.875rem;
}

.cookie-accept {
    background-color: #FF6B6B;
    color: #F8F8F8;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cookie-accept:hover {
    background-color: #2D2A6B;
}

/* Thank You Page */
.thank-you {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #F8F8F8;
    padding: 0 2rem;
}

.thank-you h1 {
    color: #2D2A6B;
    margin-bottom: 1.5rem;
}

.thank-you p {
    max-width: 600px;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
    background-color: #F8F8F8;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
    margin-bottom: 2rem;
    color: #2D2A6B;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #F8F8F8;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
        overflow: hidden;
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .main-nav ul li {
        margin: 0;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .main-nav ul li a:after {
        display: none;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form, .contact-info {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3 {
        text-align: center;
    }
    
    .footer-col h3:after {
        margin-left: auto;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .contact-info li, .footer-links li {
        justify-content: center;
    }
    
    .contact-info li svg {
        margin-right: 0.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
} 