/* 
* Main stylesheet for Financial Audit Website
* Colors:
* - Deep indigo: #2D2A4A (background)
* - Bright azure: #00BFFF (accents)
* - Soft coral: #FF6F61 (buttons)
* - Gray-white: #F6F6F6 (blocks and forms)
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
    font-size: 16px;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

section[id] {
    scroll-margin-top: 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2D2A4A;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #00BFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6F61;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #FF6F61;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #e55a4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: white;
}

.btn-secondary {
    background-color: #00BFFF;
}

.btn-secondary:hover {
    background-color: #00a8e6;
}

/* Header */
header {
    background-color: #2D2A4A;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 0.5rem;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

nav ul li a:hover {
    color: #00BFFF;
}

/* Mobile menu toggle */
#menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero section */
.hero {
    background-image: linear-gradient(rgba(45, 42, 74, 0.8), rgba(45, 42, 74, 0.8)), url('../img/Hw9Gm.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #F6F6F6;
}

/* About section */
.about {
    padding: 5rem 0;
    background-color: #F6F6F6;
}

/* Services section */
.services {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #F6F6F6;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin-top: 1rem;
    color: #2D2A4A;
}

/* Benefits section */
.benefits {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2D2A4A, #4D4A6A);
    color: white;
}

.benefits h2 {
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: #F6F6F6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* Form section */
.contact-form {
    padding: 5rem 0;
}

form {
    background-color: #F6F6F6;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #00BFFF;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

/* FAQ section */
.faq {
    padding: 5rem 0;
    background-color: #F6F6F6;
}

.faq-item {
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: #2D2A4A;
}

/* Contact section */
.contact {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: #F6F6F6;
    padding: 2rem;
    border-radius: 8px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #2D2A4A;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #F6F6F6;
}

.footer-column ul li a:hover {
    color: #00BFFF;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2D2A4A;
    color: white;
    padding: 1rem;
    z-index: 1001;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-content {
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

/* Policy pages */
.policy-content {
    padding: 6rem 0 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    margin-bottom: 2rem;
}

.policy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    /* Mobile navigation */
    .menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }
    
    .menu-btn span,
    .menu-btn:before,
    .menu-btn:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: white;
        transition: all 0.3s ease;
    }
    
    .menu-btn:before {
        top: 0;
    }
    
    .menu-btn span {
        top: 9px;
    }
    
    .menu-btn:after {
        bottom: 0;
    }
    
    nav ul {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #2D2A4A;
        flex-direction: column;
        align-items: center;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    #menu-toggle:checked ~ nav ul {
        height: auto;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero {
        padding-top: 60px;
        height: auto;
        min-height: 100vh;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-actions {
        margin-top: 1rem;
        width: 100%;
        justify-content: space-between;
    }
} 