/**
 * Main stylesheet for domain.com - Financial Audit Website
 */

/* --- Variables --- */
:root {
    --primary: #0FF4C6;
    --primary-dark: #0CD9B0;
    --secondary: #FF6F61;
    --secondary-dark: #E56559;
    --accent: #1A1A40;
    --neutral: #F5F2E7;
    --highlight: #FFB400;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --section-spacing: 80px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--neutral);
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

ul, ol {
    list-style-position: inside;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

/* Section dividers - curved shape */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--neutral);
    clip-path: ellipse(50% 60% at 50% 100%);
    z-index: 1;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 40px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-light);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: lowercase;
}

.logo a:hover {
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-toggle {
    display: none;
}

/* --- Scroll Padding for Anchors --- */
html {
    scroll-padding-top: 100px; /* Adjust this value based on your header height */
}

/* --- Hero Section --- */
.hero {
    padding: 180px 0 100px;
    background-color: var(--neutral);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--primary);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.1;
    z-index: 0;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.hero-image {
    width: 45%;
    max-width: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero h1 {
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero .btn {
    animation: fadeInUp 1.2s ease;
}

/* --- About Section --- */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

/* --- Services Section --- */
.services {
    background-color: var(--neutral);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.8rem;
}

/* --- Audit Types Section --- */
.audit-types {
    background-color: #fff;
}

.audit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.audit-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.audit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.audit-card-image {
    height: 200px;
    background-position: center;
    background-size: cover;
}

.audit-card-content {
    padding: 30px;
    background-color: #fff;
}

.audit-card-title {
    color: var(--accent);
    margin-bottom: 15px;
}

.audit-card .btn {
    margin-top: 20px;
}

/* --- Benefits Section --- */
.benefits {
    background-color: var(--accent);
    color: var(--text-light);
}

.benefits .section-title h2 {
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.2rem;
}

.benefit-content h3 {
    color: var(--highlight);
    margin-bottom: 10px;
}

/* --- Testimonials Section --- */
.testimonials {
    background-color: var(--neutral);
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-items {
    display: flex;
    width: 300%; /* For 3 testimonials */
    animation: testimonialScroll 30s linear infinite;
}

.testimonial-item {
    width: 33.333%;
    padding: 0 20px;
    flex-shrink: 0;
}

.testimonial-content {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(45deg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-name {
    font-weight: 600;
    margin-bottom: 5px;
}

@keyframes testimonialScroll {
    0%, 33.33% {
        transform: translateX(0);
    }
    33.34%, 66.66% {
        transform: translateX(-33.333%);
    }
    66.67%, 100% {
        transform: translateX(-66.666%);
    }
}

/* --- Contact Form Section --- */
.contact {
    background-color: #fff;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background: #fff;
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 244, 198, 0.1);
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825l-6-6h12l-6 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check-label a {
    color: var(--primary);
    text-decoration: underline;
}

.form-check-label a:hover {
    color: var(--primary-dark);
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-error-message {
    background-color: rgba(255, 111, 97, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 15px;
    margin-bottom: 20px;
    color: var(--secondary-dark);
    font-weight: 500;
    border-radius: var(--border-radius);
}

.form-error-message p {
    margin-bottom: 0;
}

/* --- FAQ Section --- */
.faq {
    background-color: var(--neutral);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background-color: #fff;
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    border-left: 4px solid var(--primary);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* --- Footer --- */
.site-footer {
    background-color: var(--accent);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-desc {
    opacity: 0.8;
}

.footer-contact address {
    font-style: normal;
    opacity: 0.8;
}

.footer-contact a {
    color: var(--primary);
}

.footer-contact a:hover {
    color: var(--text-light);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.6;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 15px 30px;
    z-index: 9999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

#cookie-accept {
    background-color: var(--primary);
    color: var(--text-dark);
}

#cookie-decline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

/* --- Policy Pages --- */
.policy-page {
    padding: 150px 0 80px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.policy-content h2 {
    color: var(--accent);
    margin-top: 30px;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* --- Thank You Page --- */
.thank-you {
    padding: 150px 0 80px;
    text-align: center;
}

.thank-you-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-light);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease both;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}
