/* 
* Financial Audit Company Website Styles
* Colors:
* - Rich Blue: #0051A8 (RGB: 0, 81, 168)
* - Accent Green: #31A853 (RGB: 49, 168, 83)
* - Light Gray: #F0F0F0 (RGB: 240, 240, 240)
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #0051A8, #31A853);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0051A8;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #31A853;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #0051A8;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 81, 168, 0.2);
}

.btn-primary:hover {
    background-color: #004391;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 81, 168, 0.3);
}

.btn-secondary {
    background-color: #31A853;
    color: #fff;
    box-shadow: 0 4px 10px rgba(49, 168, 83, 0.2);
}

.btn-secondary:hover {
    background-color: #2a9448;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(49, 168, 83, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #0051A8;
    color: #0051A8;
    padding: 10px 26px;
}

.btn-outline:hover {
    background-color: #0051A8;
    color: #fff;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0 20px 0 0;
}

.cookie-content a {
    color: #31A853;
    text-decoration: underline;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links li a {
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0051A8;
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: #0051A8;
}

.nav-links li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/HLMHIU.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 180px 0 100px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-section {
    background-color: #f9f9f9;
    text-align: center;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 81, 168, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Advantages Section */
.advantages-section {
    background-color: #f9f9f9;
    text-align: center;
}

.advantages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex-basis: calc(20% - 30px);
    position: relative;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #0051A8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Order Form Section */
.order-form-section {
    background-color: #0051A8;
    color: #fff;
    text-align: center;
}

.order-form-section h2::after {
    background: linear-gradient(to right, #fff, #31A853);
}

#serviceRequestForm {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
}

#serviceRequestForm button {
    width: 100%;
    margin-top: 10px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex-basis: calc(33.33% - 30px);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0, 81, 168, 0.1);
    font-family: 'Georgia', serif;
    line-height: 1;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    color: #0051A8;
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    color: #0051A8;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Footer */
.site-footer {
    background-color: #0051A8;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex-basis: 30%;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    flex-basis: 65%;
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex-basis: 30%;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #31A853;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    opacity: 0.8;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 150px 0 80px;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .advantage-item {
        flex-basis: calc(33.33% - 30px);
    }

    .footer-logo {
        flex-basis: 100%;
        margin-bottom: 30px;
    }

    .footer-links {
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .hero-content h1{
        font-size: 2rem;
    }
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }

    .nav-links li a.btn {
        display: block;
        text-align: center;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .testimonial-item,
    .advantage-item {
        flex-basis: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        flex-basis: 100%;
    }

    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-content p {
        margin: 0;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .service-box {
        padding: 20px;
    }

    #serviceRequestForm {
        padding: 20px;
    }
} 