/* Main CSS file for domain - Accounting Services */

:root {
    --main-bg: #FDF8F3;
    --accent: #FF5E5B;
    --secondary-accent: #2EC4B6;
    --text-color: #1A1A1A;
    --section-bg-1: #FFF0E6;
    --section-bg-2: #F9F9F9;
    --button-gradient-start: #FF5E5B;
    --button-gradient-end: #FFB677;
    --footer-bg: #333;
    --footer-text: #fff;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: var(--main-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-accent);
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-of-type(odd) {
    background-color: var(--section-bg-1);
}

section:nth-of-type(even) {
    background-color: var(--section-bg-2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Header and Navigation */
header {
    background-color: var(--main-bg);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-accent);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Mobile Menu (checkbox hack) */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--accent);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    flex: 1 1 300px;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-accent);
    margin-bottom: 20px;
}

.service-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.service-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reason-box {
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.reason-box:hover {
    transform: scale(1.03);
}

.reason-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

summary {
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    padding-right: 30px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 10px;
    font-size: 1.5rem;
    transition: var(--transition);
}

details[open] summary::after {
    transform: rotate(45deg);
}

/* Form Section */
.form-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-accent);
    box-shadow: 0 0 0 2px rgba(46, 196, 182, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info {
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info i {
    color: var(--secondary-accent);
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 120px auto 80px;
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.policy-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent);
}

.policy-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-accent);
}

.policy-content p, .policy-content ul, .policy-content ol {
    margin-bottom: 20px;
}

.policy-content ul, .policy-content ol {
    padding-left: 25px;
}

/* Thank You Page */
.thank-you-container {
    max-width: 700px;
    margin: 120px auto 80px;
    background: white;
    padding: 50px;
    border: 2px solid var(--accent);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.thank-you-title {
    color: var(--accent);
    margin-bottom: 30px;
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    margin-right: 20px;
}

.cookie-close {
    padding: 10px 25px;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--main-bg);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
    
    #menu-toggle:checked ~ nav ul {
        display: flex;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .policy-container {
        padding: 30px;
        margin: 100px 20px 60px;
    }
    
    .cookie-consent {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .thank-you-container {
        padding: 30px;
        margin: 100px 20px 60px;
    }
}
