/* Main styles for domain accounting website */
:root {
    --background: #F2F0EB;
    --accent1: #F15A29;
    --accent2: #5C5470;
    --heading: #1A1A1A;
    --gradient-start: #F15A29;
    --gradient-end: #FFB347;
    --text: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent1);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent2);
}

section {
    padding: 60px 0;
}

/* Anchor fix for fixed header */
section[id] {
    padding-top: 80px;
    margin-top: -80px;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent1);
}

.mobile-menu-toggle {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--accent1);
}

/* Hero Section */
.hero {
    background-color: var(--accent2);
    color: white;
    padding: 200px 0 150px;
    text-align: center;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--accent1);
}

/* Benefits Section */
.benefits {
    background-color: var(--accent2);
    color: white;
}

.benefits h2 {
    color: white;
}

.benefits h2:after {
    background: white;
}

.benefits h3 {
    color: var(--accent1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-item {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent1);
}

/* FAQ Section */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background-color: white;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--heading);
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent1);
}

.faq-question.active {
    background-color: #f8f8f8;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    background-color: var(--background);
    padding: 20px;
    border-top: 1px solid #ddd;
    line-height: 1.6;
}

/* Form Section */
.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: rgba(242, 240, 235, 0.5);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 0 0 2px rgba(241, 90, 41, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Info Section */
.info {
    background-color: var(--accent2);
    color: white;
}

.info h2, .info h3 {
    color: white;
}

.info h2:after {
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.contact-details div {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--heading);
    color: white;
    padding: 40px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    margin-right: 20px;
}

/* Policy Pages */
.policy-container {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 120px auto 60px;
    max-width: 800px;
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    margin-top: 30px;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 120px 0 60px;
}

.thank-you h1 {
    margin-bottom: 20px;
}

.thank-you-container {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        border-top: 1px solid #eee;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
    }
    
    .hero {
        padding: 160px 0 100px;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
