/* 
   Main Stylesheet for domain - Financial Audit Website
   Color Palette:
   - Dark Turquoise: #084c61
   - Light Lime: #efff64
   - Pastel Coral: #ff7660
   - Deep Purple: #523f6d
   - Ultra Light Gray Background: #f6f6f6
*/

/* --- Reset and Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f6f6f6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #084c61;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff7660;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #084c61;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    background-color: #084c61;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #523f6d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: #ff7660;
}

.btn-accent {
    background-color: #efff64;
    color: #084c61;
}

/* --- Header --- */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
}

.logo-text {
    color: #084c61;
    position: relative;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff7660;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #084c61;
    transition: all 0.3s ease;
}

/* --- Main Content --- */
main {
    padding-top: 80px; /* Header height */
}

section {
    padding: 80px 0;
}

section > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Hero Section */
.hero {
    background-color: #084c61;
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #efff64;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.about-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Benefits Section */
.benefits {
    background-color: #f6f6f6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    background-color: #084c61;
    color: white;
    transform: translateY(-10px);
}

.service-card:hover h3 {
    color: white;
}

.service-card h3 {
    transition: color 0.3s ease;
    margin-top: 20px;
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.service-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.service-card ul {
    text-align: left;
    margin-top: 15px;
    padding-left: 20px;
    width: 100%;
}

/* CTA Section */
.cta {
    background-color: #523f6d;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    color: white;
}

/* Form Section */
.form-section {
    background-color: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #084c61;
    box-shadow: 0 0 0 2px rgba(8, 76, 97, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    margin-top: 20px;
    text-align: center;
}

/* FAQ Section */
.faq {
    background-color: #f6f6f6;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}

.faq-answer {
    background-color: #f9f9f9;
    padding: 20px;
    display: none;
}

.faq-answer.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5rem;
    color: #efff64;
    opacity: 0.3;
    line-height: 0.8;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Contact Section */
.contact {
    background-color: #f6f6f6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    margin-bottom: 30px;
}

.contact-method {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-method p {
    margin-bottom: 0;
}

.map-container {
    position: relative;
}

.google-map {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-overlay {
    margin-top: 15px;
    text-align: center;
}

/* Footer */
footer {
    background-color: #084c61;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

footer h3, footer h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-legal ul {
    list-style: none;
}

.footer-legal li {
    margin-bottom: 10px;
}

.footer-legal a {
    color: #efff64;
}

.footer-legal a:hover {
    color: #ff7660;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Policy Pages */
.policy-page {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 30px auto;
    max-width: 1000px;
}

.policy-page h1 {
    border-bottom: 2px solid #efff64;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    color: #523f6d;
    margin-bottom: 15px;
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #084c61;
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-banner p {
    margin-bottom: 0;
    margin-right: 20px;
}

#accept-cookies {
    background-color: #efff64;
    color: #084c61;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 80px 40px;
    max-width: 800px;
    margin: 50px auto;
    background-color: white;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: 2px solid #efff64;
}

.thank-you h1 {
    color: #084c61;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.thank-you p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* --- Media Queries --- */
@media (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    header .container {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 15px;
    }
    
    .main-nav li:last-child {
        margin-bottom: 0;
    }
    
    main {
        padding-top: 70px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner p {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}
