/* 
* Domain - Accounting Services Website
* Main Stylesheet
*/

/* Root Variables */
:root {
    --bg-color: #E8EAF6;
    --accent-lime: #D4FC79;
    --accent-purple: #8E2DE2;
    --text-color: #2D2D44;
    --button-gradient-start: #00c6ff;
    --button-gradient-end: #0072ff;
    --shadow-color: rgba(45, 45, 68, 0.1);
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --container-width: 1200px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--button-gradient-end);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

/* Button Styles */
.gradient-button {
    display: inline-block;
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    text-align: center;
}

.gradient-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.3);
    color: white;
}

/* Header Styles */
.site-header {
    background-color: rgba(232, 234, 246, 0.95);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
    text-transform: lowercase;
    background: linear-gradient(45deg, var(--accent-purple), var(--button-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.desktop-menu ul {
    display: flex;
}

.desktop-menu li {
    margin-left: 25px;
}

.desktop-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
    transition: width var(--transition-speed) ease;
}

.desktop-menu a:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info a {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 5px;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-toggle .menu-button {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 1000;
    padding: 20px;
    display: none;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.close-menu-form {
    text-align: right;
    margin-bottom: 20px;
}

.close-button {
    background: none;
    border: none;
    font-size: 30px;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu ul {
    margin-bottom: 30px;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(45, 45, 68, 0.1);
}

.mobile-contact {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.8;
}

/* Hero Banner Section */
.hero-banner {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--button-gradient-end) 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Section */
.about-section {
    background-color: white;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
    margin: 15px auto 0;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent-purple);
}

.about-features {
    margin-top: 20px;
}

.about-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--button-gradient-start);
    font-weight: bold;
}

/* Services Section */
.services-section {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: transform var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

.service-icon img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    max-width: 100%;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent-purple);
}

.service-card ul {
    margin: 15px 0;
}

.service-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--button-gradient-start);
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left var(--transition-speed) ease;
}

.service-link:hover::after {
    margin-left: 10px;
}

/* Benefits Section */
.benefits-section {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit-item {
    position: relative;
    padding-left: 60px;
}

.benefit-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-lime);
    line-height: 1;
}

.benefit-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--accent-purple);
}

/* Process Section */
.process-section {
    background-color: var(--bg-color);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--button-gradient-start), var(--button-gradient-end));
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-right: 30px;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--accent-purple);
}

/* Testimonials Section */
.testimonials-section {
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 60px;
    color: var(--accent-lime);
    opacity: 0.5;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.author-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--button-gradient-end) 100%);
    color: white;
}

.form-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 20px;
    color: var(--text-color);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid rgba(45, 45, 68, 0.2);
    border-radius: var(--border-radius);
    font-size: 16px;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-group.checkbox input {
    margin-top: 4px;
}

.form-group small {
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.7;
}

/* Footer Styles */
.site-footer {
    background-color: #252536;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
    margin-top: 10px;
}

.footer-about p {
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 14px;
}

.footer-links ul,
.footer-services ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-services a,
.footer-legal a {
    color: white;
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-legal a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.6;
}

/* Policy Pages */
.policy-section {
    padding: 80px 0;
}

.policy-frame {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow-color);
    padding: 40px;
}

.policy-frame h1 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-purple);
}

.policy-content {
    line-height: 1.8;
}

.policy-date {
    text-align: right;
    font-style: italic;
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.7;
}

.policy-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--accent-purple);
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: disc;
    padding-left: 5px;
}

/* Thank You Page */
.thankyou-section {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-content {
    max-width: 600px;
    padding: 40px;
    text-align: center;
    border: 2px solid var(--accent-purple);
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.thankyou-icon {
    width: 80px;
    margin-bottom: 30px;
}

.thankyou-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-purple);
}

.thankyou-content p {
    margin-bottom: 20px;
}

.thankyou-content .gradient-button {
    margin-top: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-width: 400px;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.cookie-button {
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}

/* CSS Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-play-state: paused;
}

@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation-play-state: running;
    }
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .desktop-menu,
    .contact-info {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-wrapper {
        justify-content: space-between;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    
    .form-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .policy-frame {
        padding: 20px;
    }
}
