/* 
* Domain - Financial Audit Company Website
* Colors:
* - Deep jade: #0B3B2E
* - Bright amber: #FFC857
* - Light ivory: #F4F1DE
* - Charcoal black: #1D1E18
* - Accent turquoise: #40E0D0
*/

/* Global Styles */
:root {
    --jade: #0B3B2E;
    --amber: #FFC857;
    --ivory: #F4F1DE;
    --charcoal: #1D1E18;
    --turquoise: #40E0D0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--jade);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--amber);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--jade);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--amber);
}

ul {
    list-style: none;
}

.text-center {
    text-align: center;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}
.elem {
    display: inline-block;
    padding: 12px 5px;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
}
.btn-primary {
    background-color: var(--jade);
    color: white;
}

.btn-primary:hover {
    background-color: var(--amber);
    color: var(--charcoal);
}

.btn-secondary {
    background-color: var(--amber);
    color: var(--charcoal);
}

.btn-secondary:hover {
    background-color: var(--jade);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--jade);
    border: 2px solid var(--jade);
}

.btn-outline:hover {
    background-color: var(--jade);
    color: white;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--jade);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--jade);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-color: var(--ivory);
    display: flex;
    align-items: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    padding: 0 30px;
}

.hero-content {
    width: 100%;
    z-index: 1;
    padding-right: 40px;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 30px;
    box-shadow: var(--shadow);
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    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;
    background-color: var(--ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Advantages Section */
.advantages {
    background-color: var(--jade);
    color: white;
}

.advantages h2, .advantages h3 {
    color: white;
}

.advantages h2:after {
    background-color: var(--turquoise);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--amber);
}

/* Steps Section */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--amber);
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 20px;
}

.step-content {
    padding-top: 5px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--ivory);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 3rem;
    color: var(--amber);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #777;
}

/* Order Form Section */
.order-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--jade);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
}

.checkbox-container input {
    margin-top: 5px;
    margin-right: 10px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: var(--ivory);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 500px;
}

/* Contact Section */
.contact {
    background-color: var(--ivory);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--jade);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info .logo {
    color: white;
    margin-bottom: 15px;
    display: block;
}

.footer-info .tagline {
    color: #bbb;
}

footer h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

footer h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--amber);
}

.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bbb;
}

.footer-links a:hover {
    color: var(--amber);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bbb;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--jade);
    color: white;
    padding: 15px;
    z-index: 1001;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
}

.cookie-content a {
    color: var(--amber);
    text-decoration: underline;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 120px auto 60px;
    background-color: var(--ivory);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.policy-container h1 {
    margin-bottom: 30px;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-content {
        width: 60%;
    }
    
    .hero-image {
        width: 45%;
    }
    
    .services-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    
    .main-nav.active {
        max-height: 400px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 20px;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        opacity: 0.2;
        width: 100%;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .services-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .order-form-container {
        padding: 30px 20px;
    }
    
    .policy-container {
        padding: 30px 20px;
        margin-top: 100px;
    }
}
