/* Main Styles for Accounting Website */
:root {
    --background: #F8F9FA;
    --accent-red: #E63946;
    --accent-blue: #1D3557;
    --button: #457B9D;
    --button-hover: #1D3557;
    --text: #343A40;
    --shadow: rgba(29, 53, 87, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    max-width: 180px;
}

.logo svg {
    width: 100%;
    height: auto;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: var(--accent-red);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.8)), url('./img/4MslwS.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--button);
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--button-hover);
}

/* About Section */
.about {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--accent-blue);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #fff;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.benefit-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--accent-red);
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--accent-blue);
}

/* Form Section */
.contact-form {
    padding: 80px 0;
    background: linear-gradient(rgba(29, 53, 87, 0.9), rgba(29, 53, 87, 0.9)), url('./img/2yBA2C.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-container h2 {
    text-align: center;
    color: var(--accent-blue);
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
}

.checkbox-group a {
    color: var(--button);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--background);
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent-blue);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.faq-question {
    cursor: pointer;
    font-weight: 600;
    color: var(--accent-blue);
    padding: 15px 0;
    position: relative;
}

.faq-answer {
    padding: 15px 0;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
footer {
    background-color: var(--accent-blue);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.contact-info p {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    z-index: 9999;
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.accept-btn {
    background-color: var(--button);
    color: #fff;
    border: none;
}

.accept-btn:hover {
    background-color: var(--button-hover);
}

.decline-btn {
    background-color: transparent;
    color: var(--text);
    border: 1px solid #ddd;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid #ddd;
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-blue);
}

.policy-container h2 {
    color: var(--accent-red);
    margin: 30px 0 15px;
}

.policy-container p, .policy-container ul, .policy-container ol {
    margin-bottom: 20px;
}

.policy-container ul, .policy-container ol {
    padding-left: 30px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 150px 0 100px;
}

.thank-you h1 {
    color: var(--accent-blue);
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Thank you frame */
.thank-you-frame {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    border: 2px solid var(--accent-blue);
    position: relative;
}

.thank-you-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--accent-red);
    border-radius: 15px;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 1 1 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        box-shadow: 0 5px 10px var(--shadow);
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 0;
        text-align: center;
    }
    
    .menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .benefit-card, .service-card, .testimonial-card {
        min-width: 100%;
    }
    
    .footer-section {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 25px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .policy-container {
        padding: 20px;
        margin: 100px 15px 40px;
    }
    
    .thank-you-frame {
        padding: 25px;
        margin: 0 15px;
    }
} 