/* 
* Domain - Financial Audit Firm
* Color Palette:
* - Deep Ocean Blue: #0B1D3A (background)
* - Electric Lime: #CFFF04 (accents, icons, buttons)
* - Warm Coral: #FF6B5E (highlight elements)
* - Misty Lavender: #C4B5FD (text gradients and headings)
* - Pure White: #FFFFFF (text on dark bg)
*/

/* ---------- Reset & Base Styles ---------- */
:root {
    --deep-blue: #0B1D3A;
    --electric-lime: #CFFF04;
    --warm-coral: #FF6B5E;
    --misty-lavender: #C4B5FD;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--electric-lime);
    margin: 0.75rem auto;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--deep-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--warm-coral);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--electric-lime);
    color: var(--deep-blue);
}

.btn-primary:hover {
    background-color: var(--electric-lime);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-nav {
    background-color: transparent;
    border: 2px solid var(--electric-lime);
    color: var(--white);
    padding: 0.5rem 1.25rem;
}

.btn-nav:hover {
    background-color: var(--electric-lime);
    color: var(--deep-blue);
}

.btn-cookie {
    background-color: var(--white);
    color: var(--deep-blue);
}

/* ---------- Header & Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--deep-blue);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo a:hover {
    color: var(--electric-lime);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.main-nav ul li {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

.main-nav ul li a {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.main-nav ul li a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--electric-lime);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
}

/* Mobile Menu Toggle PHP-based (No JS) */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
        width: 30px;
        height: 22px;
        position: relative;
        z-index: 2000;
    }
    
    .toggle-icon, 
    .toggle-icon:before, 
    .toggle-icon:after {
        width: 100%;
        height: 3px;
        background-color: var(--white);
        position: absolute;
        transition: all 0.3s ease;
    }
    
    .toggle-icon {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .toggle-icon:before {
        content: '';
        top: -8px;
    }
    
    .toggle-icon:after {
        content: '';
        bottom: -8px;
    }
    
    .menu-open .toggle-icon {
        background-color: transparent;
    }
    
    .menu-open .toggle-icon:before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .menu-open .toggle-icon:after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--deep-blue);
        padding: 5rem 2rem 2rem;
        overflow-y: auto;
        z-index: 1500;
        transition: left 0.3s ease;
    }
    
    .main-nav.open {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 0 0 1rem;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 0.5rem 0;
    }
}

/* ---------- Main Sections ---------- */
main {
    padding-top: 70px;
}

.section-hero {
    background: linear-gradient(135deg, var(--deep-blue), var(--gray-900));
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(196, 181, 253, 0.1), transparent 70%);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--white), var(--misty-lavender));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--electric-lime);
}

.hero-content h2:after {
    display: none;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

section {
    padding: 5rem 0;
}

.section-about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.section-services {
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.section-services:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(207, 255, 4, 0.1);
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(207, 255, 4, 0.2);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--deep-blue);
}

.service-card h3 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.section-why-us {
    background: linear-gradient(135deg, var(--deep-blue), var(--gray-900));
    color: var(--white);
    position: relative;
}

.section-why-us h2 {
    color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-us-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.why-us-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(207, 255, 4, 0.2);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-icon i {
    font-size: 1.75rem;
    color: var(--electric-lime);
}

.why-us-item h3 {
    color: var(--electric-lime);
    margin-bottom: 1rem;
}

.section-process {
    background-color: var(--white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 3rem;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gray-300);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--electric-lime), var(--deep-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: var(--shadow);
}

.section-team {
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.team-member h3, .team-member p {
    padding: 0 1.5rem;
}

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--deep-blue);
}

.team-member p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.section-testimonials {
    background-color: var(--white);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.testimonial blockquote:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: 0;
    top: -1.5rem;
    color: var(--warm-coral);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--deep-blue);
    font-weight: 700;
}

.testimonial-author span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.testimonial-prev, .testimonial-next {
    background-color: var(--deep-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--electric-lime);
    color: var(--deep-blue);
}

.section-contact {
    background: linear-gradient(135deg, var(--deep-blue), var(--gray-900));
    color: var(--white);
}

.section-contact h2 {
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    color: var(--electric-lime);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.75rem;
    color: var(--electric-lime);
}

.contact-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hours h4 {
    color: var(--electric-lime);
    margin-bottom: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--white);
    transition: all 0.3s ease;
}

/* Improved select styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 0.5rem;
}

.form-group select:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--electric-lime);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--electric-lime);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

.form-group.checkbox a {
    color: var(--electric-lime);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.75rem;
    color: var(--electric-lime);
}

.footer-nav h4, .footer-legal h4 {
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-nav h4:after, .footer-legal h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--electric-lime);
}

.footer-nav ul, .footer-legal ul {
    list-style: none;
}

.footer-nav li, .footer-legal li {
    margin-bottom: 0.75rem;
}

.footer-nav a, .footer-legal a {
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-nav a:hover, .footer-legal a:hover {
    color: var(--electric-lime);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
}

/* ---------- Cookie Popup ---------- */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--deep-blue);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 90%;
    z-index: 9999;
    display: block;
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.cookie-content a {
    color: var(--electric-lime);
}

/* ---------- Policy Pages ---------- */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.policy-container h1 {
    color: var(--deep-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.policy-content h2:after {
    margin: 0.5rem 0 0;
    width: 40px;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* ---------- Thank You Page ---------- */
.section-thankyou {
    padding: 8rem 0;
    text-align: center;
    background-color: var(--gray-100);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    background-color: var(--white);
    border: 2px solid var(--electric-lime);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.thankyou-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--electric-lime), var(--warm-coral));
}

.thankyou-icon {
    font-size: 4rem;
    color: var(--electric-lime);
    margin-bottom: 2rem;
}

.thankyou-content h1 {
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-details p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.contact-details i {
    margin-right: 0.75rem;
    color: var(--deep-blue);
}

.back-home {
    margin-top: 2.5rem;
}

/* ---------- CSS Icons (No external fonts) ---------- */
[class^="icon-"] {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-align: center;
}

.icon-internal:before {
    content: '⚙️';
}

.icon-external:before {
    content: '📊';
}

.icon-operational:before {
    content: '📈';
}

.icon-trust:before {
    content: '🤝';
}

.icon-experience:before {
    content: '🏆';
}

.icon-results:before {
    content: '📈';
}

.icon-personalized:before {
    content: '👤';
}

.icon-phone:before {
    content: '📞';
}

.icon-location:before {
    content: '📍';
}

.icon-email:before {
    content: '✉️';
}

.icon-check:before {
    content: '✅';
}

/* ---------- Responsive Design ---------- */
@media (max-width: 991px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps:before {
        width: 2px;
        height: 100%;
        left: 40px;
        top: 0;
    }
    
    .process-step {
        display: flex;
        align-items: center;
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .step-number {
        margin: 0 1.5rem 0 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    section {
        padding: 4rem 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-nav, .footer-legal {
        margin-top: 2rem;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }
    
    .services-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure all elements fit within mobile viewport */
    .container,
    section,
    .section-hero,
    .section-about,
    .section-services,
    .section-why-us,
    .section-process,
    .section-team,
    .section-testimonials,
    .section-contact {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeUp {
    animation: fadeUp 0.6s ease forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}
