/* 
* Main stylesheet for accounting services website
* Colors:
* - Background: #F0EEF6 (soft lavender)
* - Accents: #EF476F (pink-red), #FFD166 (warm yellow)
* - Secondary: #118AB2 (deep blue), #06D6A0 (mint)
* - Headings: #073B4C (dark blue)
* - Text: #2B2D42 (charcoal gray)
*/

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2B2D42;
    background-color: #F0EEF6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #073B4C;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #118AB2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #EF476F;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #FFD166, #EF476F);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 71, 111, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 71, 111, 0.4);
    color: white;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #073B4C;
    letter-spacing: 2px;
}

.nav-desktop {
    display: flex;
}

.nav-mobile {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    position: relative;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #FFD166, #EF476F);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, rgba(240, 238, 246, 0.95), rgba(240, 238, 246, 0.8)), url('../img/cFaz40.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 30px;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #FFD166, #EF476F);
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.about-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-card h3 {
    color: #118AB2;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #F0EEF6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 100%;
    height: 250px;
    margin: 0 0 20px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #073B4C;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: #EF476F;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: #F0EEF6;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-position {
    color: #118AB2;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: white;
    padding: 20px 30px;
    font-weight: 600;
    color: #073B4C;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    background-color: #F0EEF6;
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px 30px;
    max-height: 300px;
}

/* Order Form Section */
.order {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(240, 238, 246, 0.95), rgba(240, 238, 246, 0.8)), url('../img/9PFMas.jpg');
    background-size: cover;
    background-position: center;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #118AB2;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.checkbox-group {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.checkbox-input {
    margin-right: 10px;
    margin-top: 3px;
}

.checkbox-label a {
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background-color: #073B4C;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.footer-about h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-about p {
    color: white;
}

.footer-contact h3,
.footer-links h3,
.footer-policies h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: white;
}

.contact-info i {
    margin-right: 10px;
    color: #FFD166;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: white;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #FFD166;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

.cookie-text {
    margin-right: 20px;
}

/* Policy Pages */
.policy-page {
    padding: 150px 0 100px;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    margin-bottom: 30px;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul,
.policy-container ol {
    margin-bottom: 20px;
    margin-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Mobile adjustments to prevent horizontal scroll */
img {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.mobile-nav-list {
    width: 100%;
    box-sizing: border-box;
}

.contact-info li span {
    word-break: break-word;
}

/* Media Queries */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 50px;
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .about-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .policy-container {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .order-form {
        padding: 30px 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .about-card,
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
