/* 
* Main stylesheet for domain - Financial Audit Services
* Color palette:
* - Primary: #1E2A38 (dark blue)
* - Secondary: #FBBF24 (bright yellow)
* - Background: #F9FAFB (light gray-white)
* - Accents: #22C55E (green), #EF4444 (red)
* - Text: #111827 (almost black), #6B7280 (secondary text)
*/

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #F9FAFB;
}

a {
    color: #1E2A38;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FBBF24;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1E2A38;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #FBBF24;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #6B7280;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1E2A38;
    color: white;
    border: 2px solid #1E2A38;
}

.btn-primary:hover {
    background-color: #FBBF24;
    border-color: #FBBF24;
    color: #1E2A38;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #1E2A38;
    color: #1E2A38;
}

.btn-secondary:hover {
    background-color: #1E2A38;
    color: white;
}

.btn-tertiary {
    background-color: #FBBF24;
    color: #1E2A38;
    border: 2px solid #FBBF24;
}

.btn-tertiary:hover {
    background-color: transparent;
    color: #1E2A38;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1E2A38;
    text-transform: lowercase;
}

.logo a:hover {
    color: #FBBF24;
}

.header-right {
    display: flex;
    align-items: center;
}

.phone-number {
    margin-right: 30px;
}

.phone-number a {
    font-weight: 600;
    font-size: 1.1rem;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #1E2A38;
    position: relative;
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #1E2A38;
    transition: all 0.3s ease;
}

.menu-icon::before {
    transform: translateY(-10px);
}

.menu-icon::after {
    transform: translateY(10px);
}

.menu-icon.active {
    background-color: transparent;
}

.menu-icon.active::before {
    transform: translateY(0) rotate(45deg);
}

.menu-icon.active::after {
    transform: translateY(0) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #EFF6FF 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
}

.gradient-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.4) 0%, rgba(34, 197, 94, 0.4) 100%);
    border-radius: 10px;
    animation: gradientMove 8s infinite alternate;
    z-index: 1;
}

@keyframes gradientMove {
    0% {
        transform: translate(-5%, -5%) scale(1.1);
    }
    100% {
        transform: translate(5%, 5%) scale(0.9);
    }
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.about-text {
    flex: 1;
}

.about-features {
    margin-top: 20px;
}

.about-features li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.about-features li::before {
    content: '✓';
    color: #22C55E;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Benefits Section */
.benefits {
    background-color: #F9FAFB;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: #FBBF24;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #FBBF24;
}

.service-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
}

.service-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.service-img:hover {
    transform: scale(1.05);
}

.service-features {
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '•';
    color: #FBBF24;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: #F9FAFB;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.testimonial-rating {
    color: #FBBF24;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.author-info p {
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    padding-right: 20px;
    flex: 1;
}

.toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #1E2A38;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.toggle-icon::before {
    width: 2px;
    height: 16px;
}

.toggle-icon::after {
    width: 16px;
    height: 2px;
}

.toggle-icon.open::before {
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    opacity: 0;
}

.faq-answer.visible {
    max-height: 500px;
    margin-top: 20px;
    opacity: 1;
}

/* Contact Section */
.contact {
    background-color: #F9FAFB;
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    background-color: #1E2A38;
    color: white;
    padding: 40px;
    border-radius: 10px;
}

.contact-info h3 {
    color: white;
    margin-bottom: 30px;
}

.contact-info ul {
    margin-bottom: 30px;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info .icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: #FBBF24;
}

.contact-hours h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-hours p {
    color: #E5E7EB;
    margin-bottom: 5px;
}

.contact-form {
    flex: 2;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FBBF24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-check input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-check label {
    font-size: 0.9rem;
}

.form-check a {
    color: #1E2A38;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #1E2A38;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 2;
    min-width: 250px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.company-description {
    color: #E5E7EB;
}

.footer-contact,
.footer-legal {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #FBBF24;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #E5E7EB;
}

.footer ul li a:hover {
    color: #FBBF24;
}

.footer address {
    font-style: normal;
    color: #E5E7EB;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: #E5E7EB;
    font-size: 0.9rem;
    margin: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Policy Pages Template */
.policy-page {
    padding: 60px 0;
}

.policy-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container ul li {
    list-style-type: disc;
    margin-bottom: 10px;
    color: #6B7280;
}

.policy-container .back-button {
    margin-top: 30px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-nav.visible {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-right {
        justify-content: flex-end;
    }
    
    .phone-number {
        display: none;
    }
    
    .testimonials-grid,
    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .policy-container {
        padding: 20px;
    }
}
