/* 
* domain - Financial Audit Services
* Main Stylesheet
* Colors:
* - Main: #1B263B (deep dark blue)
* - Accent: #FF6F61 (coral red)
* - Background: #EAEAEA (light gray)
* - Text: #0F0F0F (deep black)
* - Button gradient: #FF6F61 to #FFC371
*/

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem for easier calculations */
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #0F0F0F;
    background-color: #EAEAEA;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #1B263B;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6F61;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1B263B;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 6rem;
    height: 0.3rem;
    background-color: #FF6F61;
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 8rem 0;
}

/* Buttons */
.cta-button,
.submit-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(to right, #FF6F61, #FFC371);
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0.4rem 0.6rem rgba(0, 0, 0, 0.1);
}

.cta-button:hover,
.submit-button:hover {
    transform: translateY(-0.3rem);
    box-shadow: 0 0.6rem 1rem rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* Cookie Popup */
.cookie-popup {
    display: none; /* Initially hidden, shown by JS */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1B263B;
    color: #fff;
    padding: 1.5rem 2rem;
    z-index: 1000;
    box-shadow: 0 -0.2rem 1rem rgba(0, 0, 0, 0.1);
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 120rem;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    padding-right: 2rem;
}

#cookie-accept {
    background-color: #FF6F61;
    color: #fff;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

#cookie-accept:hover {
    background-color: #FFC371;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1B263B;
    text-transform: lowercase;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 2.5rem;
}

.main-nav a {
    font-weight: 700;
    font-size: 1.6rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.2rem;
    background-color: #FF6F61;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-contact a {
    font-weight: 700;
    color: #FF6F61;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    margin-bottom: 0.5rem;
    background-color: #1B263B;
    transition: all 0.3s ease;
}

/* Main Banner */
.banner {
    background-color: #1B263B;
    color: #fff;
    padding: 15rem 0 8rem;
    text-align: center;
    margin-top: 6.5rem;
}

.banner h1 {
    color: #fff;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.banner p {
    font-size: 2.2rem;
    max-width: 70rem;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.banner .cta-button {
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

/* About Us */
.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.about-text {
    flex: 1;
}

/* Services */
.service-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-box {
    background-color: #fff;
    padding: 0;
    border-radius: 0.8rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    overflow: hidden;
}

.service-box:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 20rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-box:hover .service-image img {
    transform: scale(1.1);
}

.service-box h3 {
    margin: 2rem 2rem 1rem;
}

.service-box p {
    padding: 0 2rem 2rem;
    margin-bottom: 0;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    background: linear-gradient(to bottom right, #FF6F61, #FFC371);
    border-radius: 50%;
    margin-bottom: 2rem;
    color: #fff;
}

.service-icon i {
    font-size: 3.2rem;
}

/* Advantages */
.advantages {
    background-color: #1B263B;
    color: #fff;
}

.advantages h2 {
    color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
}

.advantage-item {
    position: relative;
    padding-left: 8rem;
}

.advantage-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
}

.advantage-item h3 {
    color: #FF6F61;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    background-color: #EAEAEA;
}

.testimonials-slider {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 3rem;
    scroll-snap-type: x mandatory;
}

.testimonial {
    flex: 0 0 calc(50% - 1.5rem);
    background-color: #fff;
    border-radius: 0.8rem;
    padding: 3rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin-right: 1.5rem;
    object-fit: cover;
}

.author-details h4 {
    margin-bottom: 0.3rem;
    color: #1B263B;
}

.author-details p {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: #666;
}

/* Infographics */
.infographics {
    background-color: #fff;
}

.infographic-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.infographic-item {
    flex: 1;
    min-width: 15rem;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.infographic-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(to right, #FF6F61, #FFC371);
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.infographic-arrow {
    flex: 0 0 5%;
    height: 0.3rem;
    background-color: #FF6F61;
    position: relative;
}

.infographic-arrow::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border-top: 0.3rem solid #FF6F61;
    border-right: 0.3rem solid #FF6F61;
    transform: rotate(45deg);
}

.infographic-image {
    max-width: 80rem;
    margin: 0 auto;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

/* Order Form */
.order-form {
    background-color: #EAEAEA;
}

.order-form form {
    max-width: 70rem;
    margin: 0 auto;
    background-color: #fff;
    padding: 4rem;
    border-radius: 0.8rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1B263B;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 0.1rem solid #ddd;
    border-radius: 0.4rem;
    background-color: #f9f9f9;
    font-size: 1.6rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6F61;
    box-shadow: 0 0 0 0.2rem rgba(255, 111, 97, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-group a {
    color: #FF6F61;
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    padding: 1.5rem;
    font-size: 2rem;
}

/* Footer */
.site-footer {
    background-color: #1B263B;
    color: #fff;
    padding: 6rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-content h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: #FF6F61;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #FF6F61;
}

.footer-bottom {
    border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS icons for services and contacts */
.icon-document::before {
    content: "📄";
}

.icon-analytics::before {
    content: "📊";
}

.icon-tax::before {
    content: "💼";
}

.icon-location::before {
    content: "📍";
}

.icon-phone::before {
    content: "📞";
}

.icon-email::before {
    content: "✉️";
}

/* Policy Pages Styles */
.policy-section {
    padding: 15rem 0 8rem;
    margin-top: 6.5rem;
    background-color: #EAEAEA;
}

.policy-content {
    max-width: 90rem;
    margin: 0 auto;
    background-color: #fff;
    padding: 5rem;
    border-radius: 0.8rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-date {
    text-align: center;
    color: #666;
    margin-bottom: 4rem;
    font-style: italic;
}

.policy-text h2 {
    font-size: 2.4rem;
    text-align: left;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.policy-text h2::after {
    left: 0;
    transform: none;
    width: 4rem;
}

.policy-text h3 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.policy-text ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.policy-text ul li {
    margin-bottom: 0.8rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .service-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .infographic-arrow {
        display: none;
    }
    
    .infographic-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .policy-content {
        padding: 4rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .menu-icon {
        display: block;
        z-index: 102;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #1B263B;
        padding: 10rem 3rem 3rem;
        transition: right 0.3s ease;
        z-index: 101;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 2rem;
    }
    
    .main-nav a {
        color: #fff;
        font-size: 1.8rem;
        display: block;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(0.5rem, 0.5rem);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(0.5rem, -0.5rem);
    }
    
    .header-contact {
        display: none;
    }
    
    .service-boxes {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 25rem;
    }
    
    .policy-content {
        padding: 3rem 2rem;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .order-form form {
        padding: 3rem 2rem;
    }
    
    .policy-content h1 {
        font-size: 3.2rem;
    }
    
    .policy-text h2 {
        font-size: 2.2rem;
    }
} 