/* Domain Financial Auditing - Main Stylesheet
   Author: Senior PHP Developer
   Version: 1.0
*/

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #101C2C;
    --primary-color: #E08400;
    --secondary-color: #00B28B;
    --text-color: #FFFFFF;
    --text-secondary: #D1D1D1;
    --transition: all 0.3s ease-in-out;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(16, 28, 44, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: var(--header-height);
}

.header-scrolled {
    padding: 15px 0;
    background: rgba(16, 28, 44, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
}

.logo a {
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
}

/* PHP-based Mobile Menu */
.mobile-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 2000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu-visible {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(16, 28, 44, 0.9), rgba(16, 28, 44, 0.7)), url('../img/KRP8Cq.jpg') center/cover no-repeat;
    text-align: center;
    margin-top: 0;
    padding-top: 70px;
}

.hero-content {
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    animation: fadeIn 1s ease-out 0.5s both;
}

.hero-buttons {
    animation: fadeIn 1s ease-out 1s both;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: rgba(255, 255, 255, 0.03);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49%, rgba(255, 255, 255, 0.03) 51%);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.about-text {
    flex: 1;
    padding-right: 50px;
    max-width: 60%;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 35%;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px 15px;
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.badge-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.badge-text {
    font-weight: 600;
    text-align: center;
}

/* ===== SERVICES SECTION ===== */
.services {
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top right, var(--bg-color) 49%, rgba(255, 255, 255, 0.03) 51%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0 0 30px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.service-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(16, 28, 44, 0.2), rgba(16, 28, 44, 0.7));
}

.service-card:hover .service-image::before {
    background: linear-gradient(to bottom, rgba(224, 132, 0, 0.3), rgba(16, 28, 44, 0.7));
}

.service-content {
    padding: 0 30px;
}

.service-title {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background-color: rgba(255, 255, 255, 0.03);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom left, transparent 49%, rgba(255, 255, 255, 0.03) 51%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top left, var(--bg-color) 49%, rgba(255, 255, 255, 0.03) 51%);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
}

/* ===== SERVICE DETAILS SECTION ===== */
.service-details {
    background-color: rgba(255, 255, 255, 0.03);
}

.accordion {
    margin-top: 50px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: var(--transition);
}

.accordion-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
    padding: 20px 0;
}

.accordion-active .accordion-header {
    background: rgba(224, 132, 0, 0.2);
}

.accordion-active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-active .accordion-content {
    max-height: 500px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, var(--bg-color) 49%, rgba(255, 255, 255, 0.03) 51%);
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-family: 'DM Sans', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-select {
    background: rgba(224, 132, 0, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 15px center;
    appearance: none;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--secondary-color);
    background-color: rgba(0, 178, 139, 0.2);
}

.form-select option {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 10px;
}

.form-checkbox {
    margin-right: 10px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-container label {
    font-size: 0.9rem;
}

/* ===== FAQ SECTION ===== */
.faq {
    background-color: rgba(255, 255, 255, 0.03);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top right, rgba(255, 255, 255, 0.03) 49%, var(--bg-color) 51%);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== POLICY PAGES ===== */
.policy-page {
    padding-top: 150px;
    padding-bottom: 80px;
}

.policy-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.policy-title {
    margin-bottom: 30px;
    text-align: center;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* ===== THANK YOU PAGE ===== */
.thank-you-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-color);
}

.thank-you-content {
    width: 500px;
    max-width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 4px solid var(--primary-color);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
    display: inline-block;
    padding: 20px;
    background: rgba(224, 132, 0, 0.1);
    border-radius: 50%;
}

.thank-you-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-message {
    margin-bottom: 30px;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 0.9rem;
}

.cookie-btn {
    padding: 8px 20px;
    white-space: nowrap;
    margin-top: 10px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .trust-badges {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        margin: 5px;
    }
    
    .service-card, .benefit-item {
        padding: 20px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .policy-container {
        padding: 25px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
