/* Main Styles for Accounting Services Website */

/* Variables */
:root {
    --primary: #0E3C5F;
    --secondary: #FDC830;
    --accent: #FC466B;
    --background: #F2F6F8;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--secondary);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Header Styles */
.header {
    background-color: var(--primary);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    margin-right: 10px;
}

.logo span {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--text-light);
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-menu a:hover:after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 9rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--background);
    transform: skewY(-3deg);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    max-width: 600px;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* About Section */
.about {
    position: relative;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    background-color: var(--primary);
    color: var(--text-light);
    position: relative;
}

.services h2 {
    color: var(--text-light);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 300px;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 1rem 0;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Why Us Section */
.why-us {
    background-color: var(--background);
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.feature-card {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    font-size: 2rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary);
    position: relative;
}

.testimonials h2 {
    color: var(--primary);
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 300px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #777;
}

/* Contact Form Section */
.contact {
    background-color: var(--background);
    position: relative;
}

.contact-container {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.contact-form {
    flex: 1;
    background-color: var(--text-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(var(--secondary), var(--accent));
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(14, 60, 95, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.contact-map {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* FAQ Section */
.faq {
    background-color: var(--text-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-right: 40px;
    transition: var(--transition);
}

.faq-question a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    color: var(--text-light);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.footer h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--text-light);
    padding: 1.5rem;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    margin-right: 2rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-container,
    .contact-container {
        flex-direction: column;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 7rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .service-card,
    .feature-card,
    .testimonial-card {
        min-width: 100%;
    }
    
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Animation for content fading in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Thankyou Page */
.thankyou {
    text-align: center;
    padding: 8rem 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thankyou h1 {
    color: var(--primary);
    margin-bottom: 2rem;
}

.thankyou-icon {
    width: 100px;
    height: 100px;
    background-color: var(--secondary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

/* Policy Pages */
.policy-page {
    padding: 8rem 0 5rem;
}

.policy-content {
    background-color: var(--text-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.policy-content h2 {
    margin-top: 2rem;
}

.policy-content h3 {
    margin-top: 1.5rem;
}

.policy-content ul,
.policy-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
} 