/* 
 * Main CSS Styles
 * Financial Audit Company Landing Page
 */

/* Variables */
:root {
    --primary: #007B8A;
    --accent: #FF6B6B;
    --heading: #1E1E1E;
    --text-light: #F4F4F4;
    --text-gray: #CCCCCC;
    --bg-light: #F4F4F4;
    --bg-alt: #EBF4F3;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --max-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px base for easy rem calculation */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--heading);
    font-size: 1.6rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 8rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--heading);
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.3rem;
    background-color: var(--accent);
}

.section-title p {
    max-width: 70rem;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: #00697a;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--accent);
}

.btn-accent:hover {
    background-color: #ff5252;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: white;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: var(--shadow);
    height: 8rem;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo-text {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 2.5rem;
}

.main-nav a {
    color: var(--heading);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.cta-button {
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    padding: 0.8rem 1.8rem;
}

.main-nav a.cta-button:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
}

.main-nav a.cta-button::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 3rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--heading);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), #005a66);
    color: #fff;
    height: 100vh;
    min-height: 60rem;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('./img/V2nzmi.jpg') center center/cover;
    opacity: 0.15;
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 4rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text h2 {
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-alt));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 4rem 3rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-alt);
    border-radius: 50%;
    color: var(--primary);
}

.service-price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    margin: 2rem 0;
}

.services-image {
    margin-top: 5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits {
    background-color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Approach Section */
.approach {
    background: linear-gradient(135deg, var(--primary), #005a66);
    color: #fff;
    padding-bottom: 0;
}

.approach .section-title h2,
.approach h3 {
    color: #fff;
}

.approach-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.approach-step {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 8px;
    width: calc(25% - 2rem);
    text-align: center;
    counter-increment: step-counter;
}

.approach-step::before {
    content: counter(step-counter);
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 4rem;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.approach-image {
    width: 100%;
    height: 30rem;
    overflow: hidden;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.testimonial-author img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.author-name {
    font-weight: bold;
}

.author-title {
    color: var(--text-gray);
    font-size: 1.4rem;
}

/* Contact Form Section */
.contact {
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 50%;
    left: 0;
    background-color: var(--bg-alt);
    z-index: -1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    gap: 4rem;
    align-items: center;
}

.contact-info {
    background-color: var(--primary);
    color: #fff;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-info::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -30%;
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.contact-info::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: -1;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5rem;
    height: 2px;
    background-color: var(--accent);
}

.contact-list {
    margin-top: 3rem;
}

.contact-list li {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.contact-list li strong {
    min-width: 12rem;
    color: var(--accent);
}

.contact-list li a {
    color: var(--text-light);
}

.contact-list li a:hover {
    color: var(--accent);
}

.form-container {
    background-color: #fff;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.error-message {
    background-color: rgba(255, 107, 107, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 4px 4px 0;
}

.error-message ul {
    list-style: disc;
    margin-left: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 138, 0.1);
}

.form-select {
    height: 4.8rem;
    background-color: #fff;
}

/* Custom Checkboxes */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-label {
    position: relative;
    padding-left: 3.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 2.4rem;
}

.checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2.4rem;
    height: 2.4rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    transition: var(--transition);
}

.custom-checkbox input:checked + .checkbox-label::before {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox input:checked + .checkbox-label::after {
    content: '';
    position: absolute;
    left: 0.8rem;
    top: 0.5rem;
    width: 0.8rem;
    height: 1.5rem;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.form-submit {
    width: 100%;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Footer Styles */
.main-footer {
    background-color: #f5f5f5;
    color: var(--text-dark);
    padding: 6rem 0 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: var(--heading);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 5rem;
    height: 2px;
    background-color: var(--accent);
}

.company-description {
    color: var(--text-dark);
    margin: 2rem 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: var(--text-dark);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    color: var(--heading);
    font-size: 3rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    font-size: 1.4rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(30, 30, 30, 0.95);
    color: #fff;
    padding: 2rem;
    display: none;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    padding-right: 2rem;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-button {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-button:hover {
    background-color: #ff5252;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 60%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin: 0 auto;
        max-width: 50rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 8rem;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: var(--shadow);
        height: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    
    .main-nav.open {
        height: auto;
        padding: 2rem 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        padding: 0 2rem;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 1.5rem;
        padding-right: 0;
    }
    
    .approach-steps {
        flex-direction: column;
    }
    
    .approach-step {
        width: 100%;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .form-container {
        padding: 3rem 2rem;
    }
} 