/* 
 * Main stylesheet for financial audit company website
 * Colors used:
 * - Main background: #243D7C (cobalt blue)
 * - Accent: #FFA630 (mandarin orange)
 * - Secondary background: #F4F4F4 (light ash gray)
 * - Text: #2E2E2E (dark gray)
*/

/* Base Styles */
:root {
    --primary: #243D7C;
    --accent: #FFA630;
    --light-bg: #F4F4F4;
    --text: #2E2E2E;
    --text-light: #F4F4F4;
    --error: #e74c3c;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%; /* Prevent horizontal scrolling */
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 4px;
}

h3 {
    font-size: 1.6rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

section {
    padding: 6rem 0;
    width: 100%;
    overflow: hidden;
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: #e89626;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--text);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--text);
    transform: translateY(-3px);
}

.btn-primary-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    background-color: var(--accent);
    color: var(--text);
}

.btn-secondary-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary-small:hover {
    background-color: var(--accent);
    color: var(--text);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1rem 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu li a {
    font-weight: 600;
    padding: 0.5rem;
    position: relative;
}

.nav-menu li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-menu li a:not(.btn):hover::after {
    width: 100%;
}

.menu-icon {
    display: none;
}

/* Hero Section */
.hero {
    padding-top: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1a2e5d 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}

.hero h1, .hero h2 {
    color: var(--text-light);
}

.hero h2 {
    padding-bottom: 0;
    margin-bottom: 1.5rem;
}

.hero h2::after {
    display: none;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--text-light);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-us-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.why-us-image {
    flex: 0 0 40%;
}

.why-us-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.why-us-text {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.why-us-item {
    margin-bottom: 1.5rem;
}

.why-us-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Audit Steps Section */
.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    flex-wrap: wrap;
}

.steps-container::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 150px;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    border: 5px solid #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover .step-number {
    background-color: var(--accent);
    transform: scale(1.1);
}

.step h3 {
    font-size: 1.2rem;
    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: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--accent);
    color: var(--text);
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonial-slider {
    margin-top: 3rem;
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
}

.testimonial {
    flex: 0 0 350px;
    padding: 2rem;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    scroll-snap-align: start;
}

.testimonial:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--accent);
    position: absolute;
}

.testimonial-content p::before {
    left: -10px;
    top: -10px;
}

.testimonial-content p::after {
    right: -10px;
    bottom: -10px;
}

.testimonial-author {
    margin-top: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--accent);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-header {
    background: var(--primary);
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background: var(--accent);
    color: var(--text);
}

.pricing-header h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.pricing-card.featured .pricing-header h3 {
    color: var(--text);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.pricing-card.featured .pricing-features li::before {
    color: var(--accent);
}

.pricing-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--primary);
    padding: 2rem;
    border-radius: var(--border-radius);
    color: var(--text-light);
}

.contact-info h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--accent);
}

.contact-image {
    margin-top: 2rem;
}

.contact-image img {
    width: 100%;
    border-radius: var(--border-radius);
    opacity: 0.8;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(36, 61, 124, 0.2);
    outline: none;
}

.radio-group, .checkbox-group {
    margin-top: 0.5rem;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.radio-text, .checkbox-text {
    margin-left: 0.5rem;
}

.form-submit {
    margin-top: 2rem;
}

/* Policy Pages Styles */
.policy {
    padding: 8rem 0 4rem;
}

.policy h1 {
    margin-bottom: 2rem;
    text-align: left;
    padding-right: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

/* Error Message Styles */
.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--error);
    color: var(--error);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 1200px;
    margin: 1rem auto;
}

.error-message p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

/* Footer Styles */
.footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    max-width: 300px;
}

.footer-about p {
    margin-top: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
}

.footer-links-column h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 0.8rem;
}

.footer-links-column ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
    
    .why-us-content {
        flex-direction: column;
    }
    
    .why-us-image {
        flex: 0 0 100%;
    }
    
    .steps-container::after {
        display: none;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding-top: 4rem;
    }
    
    .hero-content {
        padding-top: 2rem;
    }
    
    .menu-icon {
        display: block;
        cursor: pointer;
    }
    
    .menu-icon span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary);
        margin-bottom: 5px;
        transition: var(--transition);
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    .why-us-text {
        grid-template-columns: 1fr;
    }

    .policy h1 {
        text-align: center;
        padding-right: 0;
    }
} 