/* 
* Domain - Financial Audit Services
* Main Stylesheet
*/

/* Base Styles & Reset */
:root {
    /* Color variables */
    --bg-color: #f1f5f9;
    --deep-green-gray: #344e41;
    --olive: #588157;
    --soft-gray-green: #dad7cd;
    --gradient-start: #ff5f6d;
    --gradient-end: #ffc371;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #777777;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--olive);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--deep-green-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--deep-green-gray);
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 95, 109, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 95, 109, 0.6);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--deep-green-gray);
    box-shadow: 0 4px 15px rgba(52, 78, 65, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(52, 78, 65, 0.6);
}

.btn-nav {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--deep-green-gray);
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--olive);
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
    z-index: 2;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--deep-green-gray);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 9px;
}

.menu-icon span:nth-child(3) {
    top: 18px;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(to right, rgba(241, 245, 249, 0.9), rgba(241, 245, 249, 0.8)), url('./img/XL9GaC.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    text-align: center;
}



/* Services Section */
.services {
    background-color: #fff;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    padding: 30px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--soft-gray-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--deep-green-gray);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.advantage-item {
    display: flex;
    gap: 20px;
}

.advantage-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--soft-gray-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--deep-green-gray);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(to right, rgba(88, 129, 87, 0.1), rgba(52, 78, 65, 0.1));
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
    text-align: center;
}

.testimonial-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.client-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.quote-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    opacity: 0.2;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--soft-gray-green);
}

/* FAQ Section */
.faq {
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.faq-question {
    background-color: var(--soft-gray-green);
    padding: 15px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    width: 100%;
}

.faq-toggle::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-answer-inner {
    padding: 20px;
}

.faq-item.active .faq-question {
    background-color: var(--olive);
    color: #fff;
}

.faq-item.active .faq-toggle::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* Contact Section */
.contact {
    background-color: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li svg {
    width: 20px;
    height: 20px;
    fill: var(--olive);
    margin-right: 10px;
    flex-shrink: 0;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--olive);
    outline: none;
}

.form-field textarea {
    height: 120px;
}

.form-grid .form-field:nth-child(3),
.form-grid .form-field:nth-child(4) {
    grid-column: span 2;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: var(--deep-green-gray);
    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-info p {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.footer h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-start);
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 10px;
}

.footer-contact a,
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-info {
    font-size: 0.9rem;
}

/* Policy Pages */
.policy-page {
    padding: 160px 0 80px;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.policy-container h1 {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--soft-gray-green);
}

.policy-container h2 {
    margin-top: 30px;
}

.policy-container ul,
.policy-container ol {
    margin: 20px 0;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    padding: 200px 0;
    text-align: center;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 25px var(--shadow-color);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background: var(--soft-gray-green);
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--deep-green-gray);
}

/* Media Queries */
@media (max-width: 1024px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 1;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px var(--shadow-color);
        overflow-y: auto;
    }
    
    #menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 0 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .policy-container {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid .form-field:nth-child(1),
    .form-grid .form-field:nth-child(2) {
        grid-column: span 1;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .thank-you-container {
        padding: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
