/* 
   Domain - Financial Audit Company
   Color Palette:
   - Primary: Deep Emerald #015249
   - Accent: Bright Amber #FFB100
   - Text: Dark Graphite #1A1A1A
   - Background: Soft Sand #FFF9F0
   - Additional: Deep Plum #4B2840
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #FFF9F0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #015249;
}

a {
    text-decoration: none;
    color: #015249;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFB100;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFB100;
    color: #1A1A1A;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.elem {
    display: inline-block;
    padding: 12px 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.btn:hover {
    background-color: #015249;
    color: #fff;
}

.btn-primary {
    background-color: #015249;
    color: #fff;
}

.btn-primary:hover {
    background-color: #013b35;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #015249;
}

.logo span {
    color: #FFB100;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #015249;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 600;
}

/* Hero Section */
.hero {
    background-color: #015249;
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 82, 73, 0.8);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    color: #fff;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* About Us Section */
.about {
    background-color: #fff;
}

/* Services Section */
.services {
    background-color: #FFF9F0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #015249;
}

/* Advantages Section */
.advantages {
    background-color: #015249;
    color: #fff;
}

.advantages h2 {
    color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
}

.advantage-icon {
    font-size: 40px;
    color: #FFB100;
    margin-bottom: 15px;
}

/* Process Section */
.process {
    background-color: #FFF9F0;
}

.process-steps {
    margin-top: 40px;
    position: relative;
}

.process-step {
    display: flex;
    margin-bottom: 50px;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #015249;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-right: 20px;
}

.step-content h3 {
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #FFF9F0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-name {
    font-weight: bold;
}

.author-title {
    font-size: 14px;
    color: #4B2840;
}

/* Contact Form Section */
.contact {
    background-color: #FFF9F0;
}

.form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(1, 82, 73, 0.2);
}

.form-security {
    position: absolute;
    top: -15px;
    right: 30px;
    width: 30px;
    height: 30px;
    background-color: #015249;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #015249;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer Styles */
footer {
    background-color: #015249;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #FFB100;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: #FFB100;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: #FFB100;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

/* Policy Pages */
.policy-page {
    padding: 60px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.policy-container h1 {
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #015249;
}

.policy-container h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #4B2840;
}

.policy-container p, 
.policy-container ul, 
.policy-container ol {
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.policy-container ul, 
.policy-container ol {
    padding-left: 20px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 100px 0;
}

.thank-you h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* FAQ Styles */
.faq {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: #f9f9f9;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-question::after {
    content: '+';
    font-size: 22px;
    color: #015249;
}

.faq-active .faq-question::after {
    content: '-';
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFB100;
}

.section-title p {
    max-width: 600px;
    margin: 15px auto 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        flex-direction: column;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu li {
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .form-container {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 30px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .services-grid,
    .advantages-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
