/* 
* Main CSS file for Domain - Accounting Services Landing Page
* Colors:
* - Deep Purple: #3D155F
* - Mint: #2ED69F
* - Light Gray: #F4F4F4
* - Coral: #FF6B6B
* - White: #FFFFFF
*/

/* ===== CSS Reset and Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

a {
    text-decoration: none;
    color: #3D155F;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #3D155F;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2ED69F;
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.primary-btn {
    background-color: #2ED69F;
    color: #fff;
}

.primary-btn:hover {
    background-color: #FF6B6B;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    color: #fff;
}

.secondary-btn {
    background-color: transparent;
    color: #3D155F;
    border: 2px solid #3D155F;
}

.secondary-btn:hover {
    background-color: #3D155F;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(61, 21, 95, 0.3);
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
}

.logo-text {
    font-weight: 700;
    font-style: italic;
    color: #3D155F;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list li a {
    position: relative;
    font-weight: 600;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2ED69F;
    transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

.nav-cta {
    background-color: #2ED69F;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-cta:hover {
    background-color: #FF6B6B;
    color: #fff !important;
}

.nav-cta::after {
    display: none !important;
}

.mobile-menu-toggle {
    display: none;
}

/* ===== Main Banner ===== */
.main-banner {
    background-color: #F4F4F4;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(46, 214, 159, 0.1);
    border-radius: 50%;
}

.main-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.banner-content {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.banner-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.banner-image img {
    display: block;
    border-radius: 15px;
}

.banner-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-top: 5px solid #2ED69F;
    border-left: 5px solid #2ED69F;
    z-index: -1;
}

.banner-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border-bottom: 5px solid #2ED69F;
    border-right: 5px solid #2ED69F;
    z-index: -1;
}

/* ===== About Section ===== */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-stats {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    margin: 10px;
    background-color: #F4F4F4;
    border-radius: 10px;
    width: calc(33.33% - 20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2ED69F;
    margin-bottom: 10px;
}

/* ===== Services Section ===== */
.services-section {
    background-color: #F4F4F4;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(61, 21, 95, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #3D155F;
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-image {
    width: 100%;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 10px;
}

.service-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card .btn {
    margin-top: 20px;
}

/* ===== Why Us Section ===== */
.why-us-section {
    background-color: #3D155F;
    color: #fff;
}

.why-us-section .section-title {
    color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: #2ED69F;
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    background-color: #FF6B6B;
    transform: scale(1.1);
}

.advantage-item h3 {
    color: #fff;
    margin-bottom: 15px;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: #F4F4F4;
}

.testimonials-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: #2ED69F;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-rating {
    margin-top: 15px;
}

.star {
    color: #FFD700;
    font-size: 1.2rem;
    margin-right: 3px;
}

.star.empty {
    color: #ddd;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Form Section ===== */
.order-form-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.order-form-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(61, 21, 95, 0.05);
    border-radius: 50%;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.glass-form {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #3D155F;
}

.input-with-icon,
.select-with-icon {
    position: relative;
}

.input-with-icon input,
.select-with-icon select {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-with-icon i,
.select-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #3D155F;
    font-size: 1.2rem;
}

.input-with-icon input:focus,
.select-with-icon select:focus {
    border-color: #2ED69F;
    box-shadow: 0 0 0 3px rgba(46, 214, 159, 0.2);
    outline: none;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #3D155F;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #3D155F;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-container label {
    display: inline;
    font-weight: normal;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* ===== FAQ Section ===== */
.faq-section {
    background-color: #F4F4F4;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: 600;
    color: #3D155F;
    cursor: pointer;
    position: relative;
}

.faq-icon {
    position: relative;
    width: 15px;
    height: 15px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #3D155F;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 7px;
    left: 0;
    width: 15px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 15px;
}

.faq-toggle:checked ~ .faq-question .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #666;
    background-color: #fff;
    transition: all 0.5s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 1000px;
    padding: 0 20px 20px;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #3D155F;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: #fff;
    font-size: 1.8rem;
}

.footer-tagline {
    margin-top: 10px;
    max-width: 250px;
}

.footer-contact,
.footer-links {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-contact h3,
.footer-links h3 {
    color: #2ED69F;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after,
.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2ED69F;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact ul li,
.footer-links ul li {
    margin-bottom: 12px;
}

.footer-contact ul li i {
    margin-right: 10px;
    color: #2ED69F;
}

.footer-contact ul li a,
.footer-links ul li a {
    color: #fff;
}

.footer-contact ul li a:hover,
.footer-links ul li a:hover {
    color: #2ED69F;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Cookie Popup ===== */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #3D155F;
    color: #fff;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    flex: 1;
    margin-bottom: 0;
    padding-right: 20px;
}

.cookie-content a {
    color: #2ED69F;
    text-decoration: underline;
}

.cookie-btn {
    background-color: #2ED69F;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background-color: #FF6B6B;
}

/* ===== Policy Pages ===== */
.policy-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2ED69F;
}

.policy-container h2 {
    margin-top: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    padding-left: 20px;
}

.policy-container .date {
    text-align: right;
    margin-top: 40px;
    font-style: italic;
    color: #777;
}

/* ===== Thank You Page ===== */
.thank-you-container {
    max-width: 700px;
    margin: 80px auto;
    text-align: center;
    background-color: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-container .icon {
    font-size: 4rem;
    color: #2ED69F;
    margin-bottom: 20px;
}

.thank-you-container h1 {
    margin-bottom: 20px;
}

.thank-you-container p {
    margin-bottom: 30px;
}

/* ===== CSS Animations ===== */
.animated {
    opacity: 0;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.scale-in {
    animation: scaleIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CSS Icons ===== */
.icon-accounting:before { content: '📊'; }
.icon-tax:before { content: '📝'; }
.icon-consulting:before { content: '💼'; }
.icon-experience:before { content: '🏆'; }
.icon-individual:before { content: '👤'; }
.icon-security:before { content: '🔒'; }
.icon-support:before { content: '🔧'; }
.icon-user:before { content: '👤'; }
.icon-phone:before { content: '📞'; }
.icon-service:before { content: '🛠️'; }
.icon-location:before { content: '📍'; }
.icon-email:before { content: '✉️'; }

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    
    section { padding: 60px 0; }
    
    .banner-content {
        padding-right: 0;
    }
    
    .about-content,
    .main-banner .container {
        flex-direction: column;
    }
    
    .about-text,
    .banner-content,
    .banner-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .about-stats {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        z-index: 1010;
    }
    
    .menu-toggle-link {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
    }
    
    .menu-icon {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #3D155F;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }
    
    .menu-icon::before,
    .menu-icon::after {
        content: '';
        width: 30px;
        height: 3px;
        background-color: #3D155F;
        position: absolute;
        transition: all 0.3s ease;
    }
    
    .menu-icon::before {
        top: -10px;
    }
    
    .menu-icon::after {
        bottom: -10px;
    }
    
    .menu-icon.active {
        background-color: transparent;
    }
    
    .menu-icon.active::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-icon.active::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.mobile-open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-list li {
        margin: 0 0 20px;
        width: 100%;
    }
    
    .nav-list li a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-item {
        width: calc(50% - 20px);
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    section { padding: 40px 0; }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .testimonials-carousel {
        flex-direction: column;
    }
    
    .testimonial-item {
        min-width: 100%;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .footer-content > div {
        min-width: 100%;
    }
    
    .glass-form {
        padding: 30px 20px;
    }
}