/* 
* LedgerGlow Accounting Website Styles
* Color Palette:
* - Main Background: Azure gradient (#E0F7FA to #006064)
* - Accents: Neon mandarin #FF6F00
* - Text: Deep gray #212121
* - UI Elements: Pearly white #FAFAFA
* - Buttons: Warm malachite #00BFA5
* - Shadows: Smoky quartz #ECEFF1
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #212121;
    background: linear-gradient(135deg, #E0F7FA 0%, #006064 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #00BFA5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6F00;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #00BFA5;
    color: #FAFAFA;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #FF6F00;
    color: #FAFAFA;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn--large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn--outline {
    background-color: transparent;
    border: 2px solid #00BFA5;
    color: #00BFA5;
}

.btn--outline:hover {
    background-color: #00BFA5;
    color: #FAFAFA;
}

/* Header Styles */
.header {
    background-color: rgba(250, 250, 250, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.nav__list {
    display: flex;
    gap: 20px;
}

.nav__link {
    color: #212121;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00BFA5;
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.phone {
    font-weight: 700;
    color: #212121;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background-color: rgba(250, 250, 250, 0.8);
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero__title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #006064;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    margin-top: 30px;
}

/* Section Styles */
.section {
    padding: 80px 0;
    margin: 40px 0;
    background-color: rgba(250, 250, 250, 0.8);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__title {
    color: #006064;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF6F00;
}

.section__description {
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about__inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about__content {
    flex: 1;
}

.about__image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about__stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6F00;
}

.stat__label {
    font-size: 0.875rem;
    color: #006064;
}

/* Features Section */
.features__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    padding: 30px;
    background-color: #FAFAFA;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature__icon {
    margin-bottom: 20px;
    color: #00BFA5;
    font-size: 2.5rem;
}

.feature__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #006064;
}

/* Services Section */
.services__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service {
    padding: 30px;
    background-color: #FAFAFA;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #006064;
}

.service__description {
    margin-bottom: 20px;
    flex-grow: 1;
}

.service__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6F00;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    padding: 30px;
    background-color: #FAFAFA;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial__content {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #ECEFF1;
    border-radius: 8px;
}

.testimonial__content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ECEFF1;
}

.testimonial__quote {
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial__name {
    font-weight: 700;
}

.testimonial__position {
    color: #006064;
    font-size: 0.875rem;
}

/* Contact Form Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #FAFAFA;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ECEFF1;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #00BFA5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check-label {
    font-size: 0.875rem;
}

/* FAQ Section */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ECEFF1;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: #FAFAFA;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #ECEFF1;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    max-width: 400px;
    background-color: #FAFAFA;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-popup__container {
    padding: 20px;
}

.cookie-popup__title {
    margin-bottom: 10px;
    color: #006064;
}

.cookie-popup__text {
    margin-bottom: 15px;
    font-size: 0.875rem;
}

.cookie-popup__link {
    font-weight: 600;
}

.cookie-popup__form {
    display: flex;
    justify-content: flex-end;
}

/* Footer Styles */
.footer {
    padding: 60px 0 30px;
    background-color: rgba(250, 250, 250, 0.9);
    margin-top: 40px;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer__logo {
    margin-bottom: 20px;
}

.footer__description {
    color: #212121;
    font-size: 0.875rem;
}

.footer__title {
    color: #006064;
    margin-bottom: 20px;
}

.footer__contact-list,
.footer__legal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contact-item,
.footer__legal-item {
    font-size: 0.875rem;
}

.footer__legal-link {
    color: #212121;
    transition: color 0.3s ease;
}

.footer__legal-link:hover {
    color: #00BFA5;
}

.footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ECEFF1;
    text-align: center;
}

.footer__copyright {
    font-size: 0.875rem;
    color: #616161;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .about__inner {
        flex-direction: column;
    }
    
    .about__image {
        order: -1;
    }
    
    .nav__list {
        display: none;
    }
    
    .header__inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }
    
    .header__contact {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .about__stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .service,
    .feature,
    .testimonial {
        padding: 20px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
}

/* FAQ JavaScript-free Toggle Logic */
.faq-item .faq-question:focus + .faq-answer {
    max-height: 500px;
    padding: 20px;
} 