/* 
 * FinBlick Audit - Main Stylesheet
 * Using the specified color palette:
 * - Primary: #6C2BD9 (bright purple)
 * - Accent: #EFD92F (lemon yellow)
 * - Background: #F4F7FA (clean gray-white)
 * - Text: #1A1A1A (deep black)
 * - Buttons: gradient from #6C2BD9 to #A066F4
 */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #F4F7FA;
    color: #1A1A1A;
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #6C2BD9;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #A066F4;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #EFD92F;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background: linear-gradient(135deg, #6C2BD9, #A066F4);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 43, 217, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(108, 43, 217, 0.4);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid #6C2BD9;
    color: #6C2BD9;
}

.secondary-btn:hover {
    background-color: #6C2BD9;
    color: white;
}

/* ===== HEADER ===== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 40px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    margin-left: 0.5rem;
    color: #6C2BD9;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 600;
    color: #1A1A1A;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #6C2BD9;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #6C2BD9;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #F4F7FA, #EAEFFA);
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    background: linear-gradient(135deg, #6C2BD9, #A066F4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: white;
    text-align: center;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.feature {
    text-align: center;
}

.feature h3 {
    font-size: 2.5rem;
    color: #6C2BD9;
    margin-bottom: 0.5rem;
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    color: #6C2BD9;
    margin-bottom: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #F4F7FA;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p, .service-card ul {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
    color: #6C2BD9;
}

.service-card ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: linear-gradient(135deg, #F4F7FA, #EAEFFA);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #EFD92F;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.client {
    margin-top: 1.5rem;
}

.client strong {
    display: block;
    color: #6C2BD9;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background-color: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: #F4F7FA;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #6C2BD9;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.8rem;
}

.faq-item h3::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #EFD92F;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, #F4F7FA, #EAEFFA);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #6C2BD9;
    outline: none;
}

.checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    color: #6C2BD9;
    margin-bottom: 0.5rem;
}

.map-container {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ===== FORM ERRORS ===== */
.form-errors {
    background-color: #ffe6e6;
    border-left: 4px solid #ff4d4d;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.form-errors p {
    color: #cc0000;
    margin-bottom: 0.5rem;
}

.form-errors p:last-child {
    margin-bottom: 0;
}

.form-group.has-error label {
    color: #cc0000;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #cc0000;
    background-color: #fff9f9;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1A1A1A;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #ccc;
}

.footer-column ul li a:hover {
    color: white;
}

.bottom-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1A1A1A;
    color: white;
    padding: 1rem;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
}

.cookie-banner p {
    margin: 0;
    padding-right: 1rem;
}

.cookie-banner a {
    color: #EFD92F;
}

.cookie-banner button {
    white-space: nowrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .about-features {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    .hero-section h1{
        font-size: 2rem;
    }

    .mobile-menu-btn {
        display: block;
        display: none;
    }
    
    nav {
        display: none;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        padding: 2rem;
    }
    
    nav.active {
        left: 0;
    }
    h3 {
        font-size: 1rem;
    }
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .cookie-banner {
        flex-direction: column;
        padding: 1rem 1.5rem;
    }
    
    .cookie-banner p {
        margin-bottom: 1rem;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .services-grid, .benefits-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
} 