/* Color Variables */
:root {
    --midnight-blue: #191D32;
    --neon-orange: #FF6B35;
    --cool-mint: #B2FFE9;
    --deep-lilac: #9067C6;
    --ghost-white: #F8F8FF;
    
    --body-font: 'Arial', sans-serif;
    --heading-font: 'Arial', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--midnight-blue);
    background-color: var(--ghost-white);
}

a {
    text-decoration: none;
    color: var(--deep-lilac);
    transition: var(--transition);
}

a:hover {
    color: var(--neon-orange);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--neon-orange);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--neon-orange);
    color: white;
}

.btn-primary:hover {
    background-color: var(--midnight-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--deep-lilac);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--midnight-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
header {
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
    color: var(--midnight-blue);
    transition: var(--transition);
}

.logo h1:hover {
    color: var(--neon-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--midnight-blue);
    font-weight: 600;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--neon-orange);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--neon-orange);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--midnight-blue);
    margin: 2px 0;
    transition: var(--transition);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--midnight-blue);
    z-index: 999;
}

.mobile-nav {
    list-style: none;
    padding: 50px 20px;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--cool-mint);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--midnight-blue);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.trust-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-orange);
}

.trust-text {
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--ghost-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 10px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    text-align: center;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

.service-card ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.service-card li {
    margin-bottom: 10px;
}

.service-card .btn {
    display: block;
    text-align: center;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--ghost-white);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: var(--deep-lilac);
    border-radius: 50%;
}

.benefit-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--cool-mint);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    color: var(--deep-lilac);
    line-height: 1;
}

.testimonial-author {
    margin-top: 20px;
    text-align: right;
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--ghost-white);
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.cta h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.cta h2::after {
    left: 0;
    transform: none;
}

.cta p {
    margin-bottom: 2rem;
}

.cta-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    background-color: var(--cool-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-container {
    flex: 2;
    min-width: 350px;
    width: 70%;
    margin: 0 auto;
}

#contact-form {
    background-color: var(--ghost-white);
    padding: 20px;
    border-radius: 10px;
    max-width: 85%;
    margin: 0 auto;
    overflow-x: hidden;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 30px;
    background-color: white;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--deep-lilac);
}

.checkboxes {
    margin-top: 30px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

button[type="submit"] {
    display: block;
    width: 100%;
    margin-top: 20px;
    max-width: 100%;
}

@media (max-width: 768px) {
    button[type="submit"] {
        font-size: 14px;
        padding: 8px 16px;
        margin-top: 12px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    input, select, textarea {
        padding: 8px;
        font-size: 13px;
    }
    
    label {
        font-size: 13px;
    }
    
    .checkbox-group {
        margin-bottom: 6px;
    }
    
    .checkbox-group label {
        font-size: 12px;
    }
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--ghost-white);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(178, 255, 233, 0.2);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--deep-lilac);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid #eee;
}

/* Footer */
footer {
    background-color: var(--midnight-blue);
    color: white;
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.footer-section {
    flex: 1;
    width: 33.33%;
    background-color: var(--midnight-blue);
    height: 100%;
}

.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 200px;
    padding-top: 10px;
}

.footer-section h3 {
    margin-top: 0;
}

.footer-section.about p,
.footer-section.contact p {
    margin-top: 0;
}

.footer-section h3 {
    color: var(--neon-orange);
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links li {
    margin-bottom: 10px;
}

.footer-section.links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section.links a:hover {
    color: var(--neon-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    background-color: var(--midnight-blue);
}

/* Cookie Popup */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--midnight-blue);
    color: white;
    z-index: 9999;
    padding: 15px 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.cookie-content a {
    color: var(--cool-mint);
}

.cookie-content a:hover {
    color: var(--neon-orange);
}

#accept-cookies {
    background-color: var(--neon-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

#accept-cookies:hover {
    background-color: white;
    color: var(--midnight-blue);
}

/* Policy Pages Style */
.policy-page {
    padding: 100px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--deep-lilac);
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--midnight-blue);
}

.policy-container h2 {
    text-align: left;
    margin-top: 40px;
}

.policy-container h2::after {
    left: 0;
    transform: none;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Service Icons */
.internal-audit-icon::before, 
.external-audit-icon::before, 
.financial-review-icon::before {
    font-size: 2rem;
    color: var(--deep-lilac);
}

/* Thank You Page Style */
.thankyou-page {
    padding: 100px 0;
    text-align: center;
}

.thankyou-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thankyou-container h1 {
    color: var(--deep-lilac);
    margin-bottom: 20px;
}

.thankyou-container p {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero, .cta {
        padding: 80px 0;
    }
    
    .hero-content, .cta-content {
        max-width: 100%;
    }
    
    .hero-image, .cta-image {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 50px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero, .about, .services, .benefits, .testimonials, .cta, .contact, .faq {
        padding: 60px 0;
    }
    
    .services-grid, .benefits-grid, .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex: none;
        width: 100%;
    }
    
    /* Improved mobile contact section */
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
        width: 100%;
    }
    
    .contact-item {
        flex: 1;
        min-width: 200px;
        max-width: 100%;
    }
    
    .contact-item p {
        word-break: break-word;
    }
    
    .contact-form-container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Footer layout correction */
    .footer-content {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 15px;
    }
    
    .footer-section {
        flex: 1;
        min-width: auto;
        width: 33.33%;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero, .cta {
        padding: 50px 0;
    }
    
    .hero-image, .cta-image {
        height: 300px;
    }
    
    .policy-container, .thankyou-container {
        padding: 20px;
    }
    
    /* Further improvements for very small screens */
    .contact-info {
        flex-direction: column;
        max-width: 100%;
    }
    
    .contact-item {
        width: 100%;
        margin-bottom: 20px;
        overflow: hidden;
    }
    
    .contact-form-container {
        max-width: 100%;
    }
    
    #contact-form {
        max-width: 90%;
    }
    
    /* Footer layout stays in row */
    .footer-section h3 {
        margin-bottom: 15px;
        font-size: 14px;
    }
    
    .footer-section p, .footer-section a {
        font-size: 12px;
    }
}