/* 
   Domain Accounting Services - Main Stylesheet
   Color Palette:
   - Primary: #0D1B2A (deep dark blue)
   - Accent: #E94560 (vibrant coral-red)
   - Secondary: #F7B32B (sunny yellow)
   - Background: #F0F4F8 (light gray with blue tint)
   - Text: #1C1C1C (graphite black)
*/

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Arial', sans-serif;
    color: #1C1C1C;
    background-color: #F0F4F8;
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 80px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    color: #0D1B2A;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #E94560;
    margin: 0.8rem auto 0;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: #E94560;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F7B32B;
}

section {
    padding: 5rem 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Header & Navigation ===== */
header {
    background-color: #0D1B2A;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo a {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: white;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background-color: #E94560;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #F7B32B;
    color: #0D1B2A;
    transform: translateY(-2px);
}

/* ===== Cookie Popup ===== */
#cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: #0D1B2A;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cookie-content p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

#accept-cookies {
    background-color: #E94560;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#accept-cookies:hover {
    background-color: #F7B32B;
    color: #0D1B2A;
}

/* ===== Hero Section ===== */
.hero-section {
    background-image: url('../img/vnNS7.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.7);
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== About Section ===== */
.about-section {
    background-color: white;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    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 8px 25px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    position: relative;
}

.service-link:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover:after {
    transform: translateX(5px);
}

/* ===== Advantages Section ===== */
.advantages-section {
    background-color: #0D1B2A;
    color: white;
}

.advantages-section h2 {
    color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    margin-bottom: 15px;
}

.advantage-item h3 {
    color: white;
    margin-bottom: 10px;
}

/* ===== Steps Section ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 36px;
    height: 36px;
    background-color: #E94560;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== Form Section ===== */
.form-section {
    background-color: #0D1B2A;
    color: white;
}

.form-section h2 {
    color: white;
}

.form-container {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #1C1C1C;
}

input, select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

select option {
    background-color: white;
    color: #1C1C1C;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    background-color: #E94560;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.submit-button:hover {
    background-color: #F7B32B;
    color: #0D1B2A;
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    height: 200px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
}

.testimonial-stars {
    color: #F7B32B;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

blockquote {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    text-align: right;
}

/* ===== FAQ Section ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 15px;
}

.faq-toggle:checked ~ .faq-question:after {
    content: '−';
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

/* ===== Footer ===== */
footer {
    background-color: #0D1B2A;
    color: white;
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}

footer h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 0.8rem;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #F7B32B;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Thanks Page ===== */
.thanks-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.thanks-content {
    text-align: center;
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 8rem auto 5rem;
}

.thanks-content svg {
    margin: 0 auto 1.5rem;
}

/* ===== Policy Pages ===== */
.policy-container {
    background-color: white;
    border-radius: 8px;
    padding: 3rem;
    margin-top: 6rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-container h2 {
    text-align: left;
    margin-top: 2rem;
}

.policy-container h2:after {
    margin: 0.8rem 0 0;
}

.policy-container ul, .policy-container ol {
    margin: 1rem 0 1rem 2rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    html {
        font-size: 95%;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }
    
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 1.5rem;
        padding: 0.5rem 0;
    }
    
    .nav-toggle-label {
        display: block;
        padding: 1rem 0;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: white;
        height: 2px;
        width: 2em;
        position: relative;
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 7px;
    }
    
    .nav-toggle-label span::after {
        top: 7px;
    }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0 0 1rem;
    }
    
    nav li {
        margin: 0;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .nav-toggle:checked ~ nav {
        max-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .policy-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 85%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .thanks-content {
        padding: 2rem;
    }
    
    .policy-container {
        padding: 1.5rem;
        margin-top: 5rem;
    }
}
