/* 
   Project: domain - Accounting Services Website
   Color Palette:
   - Garden Haze: #F1FFE7 (Background)
   - Midnight Teal: #004E64 (Headlines, Accents)
   - Honey Gold: #FDB833 (Buttons, Links)
   - Muted Coral: #ED6A5A (Icons, Background elements)
   - Graphite Gray: #2E2E2E (Text)
   - Cool Clay: #C4D6B0 (Dividers, Borders)
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Add offset for fixed header */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2E2E2E;
    background-color: #F1FFE7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: #004E64;
    margin-bottom: 1rem;
}

a {
    color: #004E64;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FDB833;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 4rem 0;
}

/* Typography */
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 3px;
    width: 60px;
    background-color: #FDB833;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FDB833;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: #004E64;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    color: #004E64;
    border: 2px solid #004E64;
}

.btn-outline:hover {
    background-color: #004E64;
    color: white;
}

/* Header & Navigation */
header {
    background-color: #F1FFE7;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #004E64;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #004E64;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F1FFE7;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    background-color: #C4D6B0;
    opacity: 0.3;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.hero-content {
    max-width: 700px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Us Section */
.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Benefits Section */
.benefits {
    background-color: #F1FFE7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

/* Services Section */
.services {
    background-color: white;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    border: 1px solid #C4D6B0;
    border-radius: 8px;
    padding: 2rem;
    background-color: #F1FFE7;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card img {
    border-radius: 8px;
    margin-bottom: 1.5rem;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card h3 {
    color: #004E64;
}

/* How We Work Section */
.how-we-work {
    background-color: #F1FFE7;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.step:not(:last-child):after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 50%;
    color: #004E64;
    font-size: 2rem;
}

.step-number {
    background-color: #FDB833;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, #004E64, #004E64);
    color: white;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.form-container h2 {
    color: #004E64;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2E2E2E;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #C4D6B0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #004E64;
    outline: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-check label,
.form-check label a {
    color: #2E2E2E;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #F1FFE7;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: #C4D6B0;
    opacity: 0.5;
    line-height: 1;
}

.testimonial-author {
    font-weight: bold;
    color: #004E64;
    display: block;
    margin-top: 1rem;
}

/* FAQ Section */
.faq {
    background-color: #F1FFE7;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #C4D6B0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #004E64;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
}

.faq-answer {
    padding: 1rem 1.5rem;
    background-color: #F1FFE7;
    border-top: 1px solid #C4D6B0;
    display: none;
}

.faq-item.active .faq-question:after {
    content: '−';
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: #004E64;
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: #004E64;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h3 {
    color: #FDB833;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: white;
}

.footer-col a:hover {
    color: #FDB833;
}

.copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    padding: 1.5rem;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 1001;
}

.cookie-popup p {
    margin-bottom: 1rem;
}

.cookie-popup .btn {
    width: 100%;
}

/* Favicon */
.favicon {
    display: block;
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.legal-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
}

/* Thank You Page */
.thank-you {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: 1px solid #C4D6B0;
}

.thank-you h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #004E64;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #2E2E2E;
}

.thank-you-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .hero:before {
        width: 50%;
    }
}
