/* 
Main Stylesheet for domain Financial Audit Services
----------------------------------------
Color Palette:
- Primary Background: #0C0F1A (deep indigo)
- Accents: #FF6F3C (orange-coral), #15B097 (ocean green)
- Section Background: #F2F7FF (light blue)
- Text: #FFFFFF (headings), #B0C4D8 (paragraphs)
- Buttons: gradient #FF6F3C → #15B097
*/

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Anchor offset for fixed header */
:target {
    scroll-margin-top: 100px;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #B0C4D8;
    background-color: #0C0F1A;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #FF6F3C;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #15B097;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FF6F3C, #15B097);
    margin: 1rem auto 0;
}

.alt-bg {
    background-color: #F2F7FF;
    color: #0C0F1A;
}

.alt-bg h2, .alt-bg h3 {
    color: #0C0F1A;
}

/* --- Button Styles --- */
.btn-gradient {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: linear-gradient(to right, #FF6F3C, #15B097);
    color: #FFFFFF;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 111, 60, 0.3);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 111, 60, 0.5);
    color: #FFFFFF;
}

.btn-nav {
    padding: 8px 20px;
    border-radius: 50px;
    background: linear-gradient(to right, #FF6F3C, #15B097);
    color: #FFFFFF !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 111, 60, 0.3);
}

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background-color: rgba(12, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
}

.logo a {
    color: #FFFFFF;
}

.logo a:hover {
    color: #FF6F3C;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: #FFFFFF;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #FF6F3C;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #FF6F3C, #15B097);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-toggle-label {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(21, 176, 151, 0.2), rgba(12, 15, 26, 0));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero .btn-gradient {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* SVG Animation Background */
.svg-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #FF6F3C;
    box-shadow: 0 10px 30px rgba(255, 111, 60, 0.1);
}

.service-card h3 {
    color: #FF6F3C;
}

.service-image {
    height: 180px;
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 111, 60, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: #FF6F3C;
    font-size: 2rem;
}

/* --- Process Section --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    counter-reset: process-counter;
}

.process-step {
    position: relative;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    counter-increment: process-counter;
}

.process-step::before {
    content: counter(process-counter);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #FF6F3C, #15B097);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFFFFF;
}

.process-step h3 {
    margin-top: 1rem;
    text-align: center;
}

/* --- Testimonials Section --- */
.testimonials {
    position: relative;
    overflow: hidden;
}

/* CSS-only carousel */
.testimonial-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-name {
    font-weight: 600;
    color: #FFFFFF;
}

.author-position {
    color: #FF6F3C;
    font-size: 0.9rem;
}

/* Carousel Controls - CSS only with checkbox hack */
.slide-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slide-control {
    display: none;
}

.slide-label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-control:checked + .slide-label {
    background-color: #FF6F3C;
    transform: scale(1.3);
}

#slide-1:checked ~ .testimonial-slider .testimonial-track {
    transform: translateX(0);
}

#slide-2:checked ~ .testimonial-slider .testimonial-track {
    transform: translateX(-100%);
}

#slide-3:checked ~ .testimonial-slider .testimonial-track {
    transform: translateX(-200%);
}

/* --- Order Form Section --- */
.order-section {
    background-color: #F2F7FF;
    color: #0C0F1A;
}

.order-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.order-section h2, .order-section h3 {
    color: #0C0F1A;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0C0F1A;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #15B097;
    box-shadow: 0 0 0 2px rgba(21, 176, 151, 0.2);
    outline: none;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
}

input[type="radio"] {
    margin-right: 8px;
}

.checkbox-group {
    margin-top: 2rem;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: #0C0F1A;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    position: relative;
    padding: 1.5rem;
    padding-right: 3rem;
    cursor: pointer;
    color: #FFFFFF;
    font-weight: 600;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #FF6F3C;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

/* PHP-based FAQ toggle using checkbox hack */
.faq-toggle {
    display: none;
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-toggle:checked ~ .faq-answer {
    display: block;
}

/* --- Contact Section --- */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-list li strong {
    min-width: 80px;
    margin-right: 10px;
    color: #FF6F3C;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Footer --- */
.site-footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.footer-info p {
    max-width: 400px;
}

.footer-contact h3, .footer-links h3 {
    color: #FF6F3C;
    margin-bottom: 1.5rem;
}

.contact-list, .legal-links {
    list-style: none;
}

.legal-links li {
    margin-bottom: 0.8rem;
}

.legal-links a {
    color: #B0C4D8;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: #FF6F3C;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(12, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cookie-content p {
    flex: 1 1 60%;
    margin-bottom: 0;
}

.cookie-link {
    color: #15B097;
    margin-left: 1rem;
}

/* --- Policy Pages --- */
.policy-page {
    padding: 8rem 0 5rem;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-content h3 {
    color: #FF6F3C;
    margin-top: 2.5rem;
}

.policy-content ul, .policy-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-top: 2rem;
    color: #FF6F3C;
    font-weight: 500;
}

.back-link:hover {
    color: #15B097;
}

.back-link:before {
    content: '←';
    margin-right: 0.5rem;
}

/* --- Thank You Page --- */
.thanks-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 8rem 0 5rem;
}

.thanks-container {
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid rgba(255, 111, 60, 0.4);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

.thanks-icon {
    font-size: 5rem;
    color: #15B097;
    margin-bottom: 2rem;
}

/* --- Animation Classes --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: fadeInAnimation 1s forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .services-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle-label {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: #0C0F1A;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    #mobile-menu-toggle:checked ~ .main-navigation {
        right: 0;
    }
    
    #mobile-menu-toggle:checked ~ .mobile-menu-toggle-label .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 7px);
    }
    
    #mobile-menu-toggle:checked ~ .mobile-menu-toggle-label .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    #mobile-menu-toggle:checked ~ .mobile-menu-toggle-label .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -7px);
    }
    
    /* Grid layouts */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Form container */
    .order-form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Sections spacing */
    section {
        padding: 3rem 0;
    }
    
    /* Hero section mobile adjustments */
    .hero {
        padding-top: 120px;  /* Increased padding for mobile to create space below the header */
    }
    
    .hero-content {
        padding-top: 2rem;   /* Additional padding for the content itself */
    }
    
    /* Cookie popup */
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content .btn-gradient {
        width: 100%;
    }
    
    /* Policy pages */
    .policy-container {
        padding: 1.5rem;
    }
}
