/* 
 * Main stylesheet for accounting services website
 * Colors: #3A4EFF (deep cornflower), #2DD6C1 (turquoise), #FF6F61 (warm coral), #FFFFFF (white), #333333 (graphite)
 */

/* CSS Reset and Base Styles */
:root {
    --primary: #3A4EFF;
    --secondary: #2DD6C1;
    --accent: #FF6F61;
    --white: #FFFFFF;
    --dark: #333333;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --shadow: 0 4px 20px rgba(58, 78, 255, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #3040DD;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(58, 78, 255, 0.25);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    z-index: 100;
}

.logo-svg {
    width: 160px;
    height: auto;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    z-index: 100;
    position: relative;
}

.menu-line {
    display: block;
    width: 30px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--dark);
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li:not(:last-child) {
    margin-right: 20px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(58, 78, 255, 0.85), rgba(45, 214, 193, 0.85)), url('img/XyQO0.jpg');
    background-size: cover;
    background-position: center center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(58, 78, 255, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 0;
}

/* Benefits Section */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    padding: 30px;
    border-radius: 16px;
    background-color: var(--light-gray);
    position: relative;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(58, 78, 255, 0.1);
}

/* Order Form Section */
.order-form {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.order-form h2::after {
    background: var(--white);
}

form {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(58, 78, 255, 0.15);
}

.testimonial-content {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 3rem;
    color: var(--accent);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
}

.faq-item input[type="checkbox"] {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px 60px 20px 25px;
    background-color: var(--light-gray);
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--medium-gray);
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: var(--white);
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px 25px;
    border: 1px solid var(--light-gray);
    border-top: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question {
    background-color: var(--primary);
    color: var(--white);
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
    content: "-";
    transform: translateY(-50%) rotate(180deg);
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
    max-height: 500px;
}

.policy-page {
    padding: 120px 0 80px;
}

.policy-page h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    text-align: right;
    font-style: italic;
    color: #777;
    margin-bottom: 30px;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: left;
}

.policy-section h2::after {
    display: none;
}

.policy-section p, .policy-section ul {
    margin-bottom: 15px;
}

.policy-section ul {
    margin-left: 20px;
}

.policy-section li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .policy-page {
        padding: 100px 0 60px;
    }
}
/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item svg {
    width: 40px;
    height: 40px;
    fill: var(--primary);
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 5px;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 1 1 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo svg {
    width: 160px;
}

.footer-logo path {
    fill: var(--white);
}

.footer-description {
    opacity: 0.7;
}

.footer-links {
    flex: 2 1 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 150px;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu-icon {
        display: block;
    }
    
    .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 99;
    }
    
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0 !important;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    form {
        padding: 25px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.hidden {
    display: none !important;
} 