/* 
** Main Stylesheet for domain Financial Audit Services
** Color Palette:
** - Electric Indigo (#6C33FF) - Primary
** - Mint Cream (#F4FFFD) - Secondary
** - Vivid Orange (#FF9900) - Accent
** - Ghost White (#F9F9FB) - Background
** - Charcoal (#333333) - Text
*/

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #F9F9FB;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
    scroll-margin-top: 100px; /* Add scroll margin to account for fixed header */
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FF9900;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: #6C33FF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF9900;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #6C33FF;
    color: #F4FFFD;
}

.btn-primary:hover {
    background-color: #5620e0;
    color: #F4FFFD;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 51, 255, 0.2);
}

.btn-secondary {
    background-color: #FF9900;
    color: #F4FFFD;
}

.btn-secondary:hover {
    background-color: #e68a00;
    color: #F4FFFD;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 153, 0, 0.2);
}

/* === HEADER & NAVIGATION === */
.header {
    background-color: #F4FFFD;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #333333;
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FF9900;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.btn-primary {
    padding: 10px 20px;
    color: #F4FFFD;
}

.main-nav a.btn-primary::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
}

/* === HERO SECTION === */
.hero {
    background-image: linear-gradient(135deg, rgba(108, 51, 255, 0.8), rgba(255, 153, 0, 0.8)), url('./img/HSzoFT.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 0 80px;
    color: #F4FFFD;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 30px;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1s ease 1s both;
}

/* === ABOUT SECTION === */
.about {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: #FF9900;
    border-radius: 10px;
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: #6C33FF;
    border-radius: 10px;
    z-index: -1;
}

.about-content {
    flex: 1;
}

/* === SERVICES SECTION === */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #F4FFFD;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 51, 255, 0.15);
}

.service-card-img {
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 25px;
}

.service-card-content h3 {
    color: #6C33FF;
    margin-bottom: 15px;
}

.service-card-content p {
    margin-bottom: 20px;
}

/* === ADVANTAGES SECTION === */
.advantages {
    background-color: #6C33FF;
    color: #F4FFFD;
}

.advantages h2::after {
    background: #FF9900;
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(244, 255, 253, 0.1);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    background-color: rgba(244, 255, 253, 0.2);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FF9900;
}

/* === TESTIMONIALS SECTION === */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: #F4FFFD;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    font-size: 5rem;
    color: #6C33FF;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: #6C33FF;
}

.author-info p {
    margin-bottom: 0;
    color: #666;
    font-size: 0.9rem;
}

/* === FAQ SECTION === */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #F4FFFD;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #6C33FF;
    position: relative;
}

.faq-question form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.faq-question form button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question form button::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.show {
    padding: 20px;
    max-height: 300px;
}

.faq-question.active form button::after {
    content: '-';
}

/* === BLOG SECTION === */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: #F4FFFD;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 51, 255, 0.15);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.blog-card-content h3 {
    color: #6C33FF;
    margin-bottom: 15px;
}

.blog-card-content p {
    margin-bottom: 20px;
}

/* === CONTACT FORM === */
.contact-form-section {
    background-color: #F4FFFD;
    padding: 80px 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #6C33FF;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
}

.checkbox-group label a {
    text-decoration: underline;
}

.form-submit {
    margin-top: 30px;
}

/* === FOOTER === */
.footer {
    background-color: #333333;
    color: #F4FFFD;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #FF9900;
}

.footer-section.about .footer-description {
    margin-top: 20px;
}

.footer-section.contact ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-section.contact ul li i {
    margin-right: 10px;
    color: #FF9900;
}

.footer-section.links ul li {
    margin-bottom: 10px;
}

.footer-section.links ul li a {
    color: #F4FFFD;
    transition: color 0.3s ease;
}

.footer-section.links ul li a:hover {
    color: #FF9900;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(244, 255, 253, 0.1);
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #333333;
    color: #F4FFFD;
    padding: 20px;
    text-align: center;
    z-index: 1001;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-popup button {
    background-color: #FF9900;
    color: #F4FFFD;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-popup button:hover {
    background-color: #e68a00;
}

/* === POLICY PAGES === */
.policy-page {
    padding: 150px 0 80px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #FF9900;
}

.policy-container h1 {
    color: #6C33FF;
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    color: #6C33FF;
    font-size: 1.8rem;
    text-align: left;
    margin-top: 40px;
}

.policy-container h2::after {
    left: 0;
    transform: none;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

/* === THANK YOU PAGE === */
.thank-you-page {
    padding: 150px 0 80px;
    text-align: center;
}

.thank-you-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #FF9900;
}

.thank-you-container h1 {
    color: #6C33FF;
    margin-bottom: 30px;
}

.thank-you-container p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.thank-you-icon {
    font-size: 5rem;
    color: #FF9900;
    margin-bottom: 30px;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .about {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .menu-toggle-btn {
        font-size: 1.5rem;
        color: #6C33FF;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #F4FFFD;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .main-nav.menu-open {
        max-height: 500px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .policy-container,
    .contact-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
