/* Main Styles for Financial Audit Website */

:root {
    /* Color Palette */
    --color-primary: #2B1B3F;        /* Deep aubergine */
    --color-secondary: #4B3A76;      /* Indigo with neon tint */
    --color-accent-1: #C7FF32;       /* Neon lime */
    --color-accent-2: #FF6159;       /* Bright coral */
    --color-text: #FDFDFD;           /* Soft white */
    --color-hover: #00C9A7;          /* Rich azure */
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Raleway', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-primary);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
    position: relative;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-accent-1);
    color: var(--color-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn:hover {
    background-color: var(--color-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--color-text);
}

/* Mobile Button */
.mobile-button {
    display: none;
    background-color: var(--color-accent-1);
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
}

/* Header Styles */
header {
    background-color: var(--color-primary);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 180px;
    height: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-1);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 27, 63, 0.8) 0%, rgba(75, 58, 118, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* About Section */
.about {
    background-color: var(--color-primary);
    position: relative;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 0 0 50%;
    padding-right: 30px;
}

.about-image {
    flex: 0 0 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    background-color: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.services:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--color-primary);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.services:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--color-primary);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-accent-1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: rgba(43, 27, 63, 0.5);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent-1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent-2);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 30px;
}

.service-title {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-price {
    font-size: 1.8rem;
    margin: 15px 0;
    color: var(--color-accent-1);
    font-weight: 700;
}

/* Process Section */
.process {
    background-color: var(--color-primary);
    position: relative;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 60px 0;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent-1);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    width: 30%;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-accent-1);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-title {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--color-primary);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.testimonial-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 30px;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 50px;
    line-height: 0;
    position: absolute;
    color: var(--color-accent-1);
    opacity: 0.5;
}

.testimonial-text:before {
    top: 15px;
    left: 0;
}

.testimonial-text:after {
    bottom: -10px;
    right: 0;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-accent-1);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--color-accent-1);
}

/* Contact Form */
.contact {
    background-color: var(--color-primary);
    position: relative;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(75, 58, 118, 0.3);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: #ffffff;
    color: #000000;
    font-family: var(--font-main);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-1);
    background-color: rgba(255, 255, 255, 0.05);
}

.form-icon {
    position: absolute;
    right: 15px;
    top: 45px;
    color: var(--color-accent-2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

select.form-control {
    appearance: none;
    padding-right: 35px;
}

.form-submit {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--color-accent-1);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: var(--color-hover);
    color: var(--color-text);
}

/* Footer */
footer {
    background-color: #1a0f2c; /* Darker than the primary color */
    padding: 60px 0 30px;
    position: relative;
    border-top: 2px solid var(--color-accent-1);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 0 0 30%;
    margin-bottom: 30px;
}

.footer-title {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--color-accent-1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    color: var(--color-text);
    padding: 15px 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.5s ease;
    z-index: 9999;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
}

.cookie-btn {
    padding: 8px 15px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-accept {
    background-color: var(--color-accent-1);
    color: var(--color-primary);
}

.cookie-more {
    background-color: transparent;
    border: 1px solid var(--color-text);
    color: var(--color-text);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: 0 0 100%;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps:before {
        width: 2px;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .step {
        width: 80%;
        margin-bottom: 40px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-col {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-text {
        padding-right: 0;
        margin-bottom: 15px;
    }
}

/* Specific optimization for 350px width */
@media (max-width: 350px) {
    /* General adjustments */
    .container {
        padding: 0 10px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .section-title:after {
        bottom: -10px;
        width: 60px;
        height: 3px;
    }
    
    /* Header adjustments */
    header {
        padding: 15px 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .logo {
        font-size: 20px !important;
    }
    
    .mobile-hidden {
        display: none;
    }
    
    .mobile-button {
        display: inline-block;
    }
    
    /* Hero section */
    .hero {
        margin-top: 60px;
        height: auto;
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 30px 10px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    /* Button adjustments */
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-price {
        font-size: 1.5rem;
    }
    
    /* Process section */
    .process-steps {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* Testimonials */
    .testimonial-text {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .testimonial-slider {
        height: 250px;
    }
    
    .testimonial-slide {
        padding: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* Contact form */
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .form-submit {
        padding: 12px;
    }
    
    .checkbox-group {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .checkbox-group label {
        line-height: 1.4;
    }
    
    /* Footer */
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-col {
        margin-bottom: 20px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
} 