/* 
   Main Stylesheet for domain - Financial Audit Services 
   Color palette:
   - Background: #f9f5f0 (sandy beige)
   - Accent 1: #30638e (azure)
   - Accent 2: #f2545b (coral)
   - Text: #333333
*/

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: #333333;
    background-color: #f9f5f0;
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: #30638e;
    margin-bottom: 1.5rem;
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #f2545b;
}

h3 {
    font-size: 1.5rem;
    color: #30638e;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #30638e;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f2545b;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

section {
    padding: 4rem 0;
}

/* ========== Cookie Banner ========== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(48, 99, 142, 0.95);
    color: #fff;
    padding: 1rem;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
    margin: 0 1rem 0 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

#accept-cookies {
    background: #f2545b;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    white-space: nowrap;
}

#accept-cookies:hover {
    background: #d93e45;
}

/* ========== Header & Navigation ========== */
.main-header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #30638e;
    text-transform: lowercase;
    letter-spacing: -1px;
    transition: color 0.3s;
}

.logo:hover {
    color: #f2545b;
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    position: relative;
}

.main-nav a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f2545b;
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.contact-link {
    background: linear-gradient(135deg, #30638e, #f2545b);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.contact-link:hover {
    opacity: 0.9;
}

.contact-link:after {
    display: none;
}

/* CSS-only Mobile Menu Toggle */
.menu-toggle-input {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle-label span {
    height: 3px;
    width: 100%;
    background-color: #30638e;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========== Hero Section ========== */
.hero-section {
    background-image: url('./img/RgIOM.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    text-align: center;
    padding: 8rem 0;
}

.hero-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #30638e, #f2545b);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.cta-button:hover {
    color: #fff;
    transform: translateY(-3px);
    opacity: 0.9;
}

/* ========== About Section ========== */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ========== Services Section ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.service-card h3,
.service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
}

.service-card p {
    padding-bottom: 1.5rem;
}

/* ========== Benefits Section ========== */
.benefits-section {
    background-color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    background: linear-gradient(135deg, #30638e, #f2545b);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* ========== Testimonials Section ========== */
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 280px;
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-content:before {
    content: """;
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(48, 99, 142, 0.1);
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* ========== Contact Section ========== */
.contact-section {
    background-color: #fff;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: #f9f5f0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
}

.submit-button {
    background: linear-gradient(135deg, #30638e, #f2545b);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-button:hover {
    opacity: 0.9;
}

/* ========== FAQ Section ========== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: block;
    position: relative;
    font-weight: 700;
    background: #fff;
    padding: 1rem;
    cursor: pointer;
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 1rem;
    font-size: 1.5rem;
    color: #30638e;
    transition: transform 0.3s;
}

.faq-item input:checked ~ .faq-question:after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f9f9f9;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1rem;
}

.faq-item input:checked ~ .faq-answer {
    max-height: 200px;
}

/* ========== Footer ========== */
.main-footer {
    background: #30638e;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info,
.footer-contact,
.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    display: block;
}

.footer-contact h3,
.footer-links h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-contact a,
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover,
.footer-links a:hover {
    color: #f2545b;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* ========== Policy Pages ========== */
.policy-section {
    padding: 4rem 0;
}

.policy-box {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-box h1 {
    margin-bottom: 1.5rem;
    color: #30638e;
}

.policy-box h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

.policy-box p,
.policy-box ul {
    margin-bottom: 1rem;
}

.policy-box ul {
    padding-left: 1.5rem;
}

/* ========== Thanks Page ========== */
.thanks-section {
    padding: 8rem 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.thanks-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.thanks-box h1 {
    color: #30638e;
    margin-bottom: 1.5rem;
}

.thanks-box p {
    margin-bottom: 1.5rem;
}

/* ========== Responsive Styles ========== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 6rem 0;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    /* CSS-only Mobile Menu Toggle */
    .menu-toggle-label {
        display: flex;
    }
    
    .menu-toggle-input:checked ~ .menu-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle-input:checked ~ .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle-input:checked ~ .menu-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .menu-toggle-input:checked ~ .main-nav {
        height: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .main-nav li {
        margin: 0;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 0;
    }
    
    .contact-link {
        display: inline-block;
        margin: 1rem 0;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-info,
    .footer-contact,
    .footer-links {
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
    
    .policy-box,
    .thanks-box {
        padding: 1.5rem;
    }
} 