/* Main Stylesheet for Accounting Service Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary-bg: #0F1B2B;
    --accent: #FF4F4F;
    --secondary-bg: #F9F6EF;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background: var(--primary-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-light);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 1rem auto;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 27, 43, 0.95);
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
    padding: 0.7rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-light);
}

.logo span {
    color: var(--accent);
}

/* Pure CSS Mobile Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, var(--primary-bg), #162d48);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../img/SFL5T4.jpg') no-repeat center center/cover;
    opacity: 0.08;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 650px;
    margin-top: 2rem;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-phone {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero-phone svg {
    margin-right: 0.5rem;
    fill: var(--accent);
}

/* About Section */
.about {
    background: var(--secondary-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.about-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--text-light);
}

/* Services Section */
.services {
    background: var(--primary-bg);
}

.services .section-title {
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-us {
    background: var(--secondary-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.why-us-item {
    display: flex;
    gap: 1.5rem;
}

.why-us-icon {
    min-width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--text-light);
}

.why-us-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--primary-bg);
}

.testimonials .section-title {
    color: var(--text-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
    color: var(--text-light);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    opacity: 0.1;
}

/* Form Section */
.contact {
    background: var(--secondary-bg);
}

.form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: 'Open Sans', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background: var(--primary-bg);
}

.faq .section-title {
    color: var(--text-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-answer {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer-inner {
    padding: 1.5rem;
}

.faq-item:target .faq-answer {
    max-height: 1000px;
    padding: 1rem 1.5rem;
}

/* CTA Section */
.cta {
    background: var(--secondary-bg);
    text-align: center;
}

.cta h2 {
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Footer */
.footer {
    background: #0a1422;
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent);
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-contacts {
    list-style: none;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 0.75rem;
}

.footer-contact-icon {
    margin-right: 0.75rem;
    color: var(--accent);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-link-item {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-link:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    max-width: 350px;
    border-radius: var(--radius);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: fadeInUp 0.5s forwards;
}

.cookie-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.cookie-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Policy Pages */
.policy-page {
    background: #fff;
    padding: 4rem 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: var(--radius);
}

.policy-title {
    color: var(--accent);
    margin-bottom: 2rem;
}

.policy-content h3 {
    color: var(--primary-bg);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1440px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-grid, 
    .services-grid, 
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-phone {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 4rem 0;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Navigation for mobile */
    .nav-toggle-label {
        display: block;
        width: 30px;
        height: 21px;
        position: relative;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-light);
        height: 3px;
        width: 100%;
        position: absolute;
        transition: all 0.3s ease;
    }

    .nav-toggle-label span {
        top: 9px;
    }

    .nav-toggle-label span::before {
        content: '';
        top: -9px;
    }

    .nav-toggle-label span::after {
        content: '';
        bottom: -9px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--primary-bg);
        height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        padding: 0;
        transition: height 0.3s ease;
    }

    .nav-toggle:checked ~ .nav-menu {
        height: auto;
        padding: 1rem 0;
    }

    .nav-item {
        margin: 0.75rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .about-grid, 
    .services-grid, 
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 1.5rem;
    }
}