/* 
 * Main Stylesheet for Financial Audit Website
 * Colors:
 * - Primary Background: #3E2761 (dark-purple)
 * - Secondary Background: #B4D455 (pistachio)
 * - Accents: #00C8E0 (azure), #FF6F61 (coral-pink)
 * - Text: #F5F5F5 (light-gray), #1A1A1A (anthracite)
 */

/* === Base Styles === */
:root {
    --color-primary: #3E2761;
    --color-secondary: #B4D455;
    --color-accent1: #00C8E0;
    --color-accent2: #FF6F61;
    --color-text-light: #F5F5F5;
    --color-text-dark: #1A1A1A;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px rgba(180, 212, 85, 0.6);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-primary);
    padding-top: 5rem;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--color-accent1);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent1);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-accent1);
    border-color: var(--color-accent1);
    color: var(--color-text-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent1);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--color-accent2);
    border-color: var(--color-accent2);
    color: var(--color-text-light);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--color-accent2);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

/* === Layout Components === */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    color: var(--color-text-light);
    padding: 1rem;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0 1rem 0 0;
    flex: 1;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 700;
}

.logo svg {
    margin-right: 0.5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li:not(:last-child) {
    margin-right: 1rem;
}

.main-nav a {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.main-nav a:hover {
    color: var(--color-secondary);
}

.nav-contact {
    background-color: var(--color-accent2);
    color: var(--color-text-light) !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 12px !important;
}

.nav-contact:hover {
    background-color: var(--color-accent1);
    color: var(--color-text-dark) !important;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background-image: url('./img/Jhlzin.jpg');
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 97, 0.85);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background-color: var(--color-text-light);
    padding: 5rem 0;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-image {
    flex: 0 0 40%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.company-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

/* Advantages Section */
.advantages-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d1c48 100%);
    color: var(--color-text-light);
    padding: 5rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.advantage-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.advantage-icon {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
    background-color: var(--color-text-light);
    padding: 5rem 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    padding: 1rem 1.5rem;
    margin: 0;
    color: var(--color-primary);
}

.service-card p {
    padding: 0 1.5rem;
    color: var(--color-text-dark);
}

.price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-accent2);
    padding: 0.5rem 0;
}

.service-card .btn {
    margin: 1rem 0 1.5rem;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #2d1c48 0%, var(--color-primary) 100%);
    color: var(--color-text-light);
    padding: 5rem 0;
    text-align: center;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    max-width: 500px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin: 0;
    color: var(--color-accent1);
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-text-light);
    padding: 5rem 0;
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item svg {
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-form {
    flex: 1;
    background-color: rgba(62, 39, 97, 0.05);
    padding: 2rem;
    border-radius: 12px;
}

/* Form fixes to prevent text overlap */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.3);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder {
    color: transparent;
}

.form-group label {
    position: absolute;
    top: 0.75rem;
    left: 0;
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent1);
}

/* Fix for label overlap - move labels up by default */
.form-group input:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -0.75rem;
    font-size: 0.75rem;
    color: var(--color-accent1);
}

/* Special handling for select elements */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em;
}

.form-group select:not([value=""]) + label {
    top: -0.75rem;
    font-size: 0.75rem;
    color: var(--color-accent1);
}

.form-group select option[value=""] {
    display: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.form-check label {
    font-size: 0.875rem;
}

.contact-form .btn {
    margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d1c48 100%);
    color: var(--color-text-light);
    padding: 5rem 0;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
    max-height: 500px;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-company p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo svg {
    margin-right: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.footer-contact-item svg {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.footer-links-column h3 {
    margin-bottom: 1rem;
    color: var(--color-accent1);
    font-size: 1.1rem;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column li {
    margin-bottom: 0.5rem;
}

.footer-links-column a {
    color: var(--color-text-light);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links-column a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Thank You Page */
.thank-you-section {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 8rem 0;
    text-align: center;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-section h1 {
    color: var(--color-accent1);
}

.thank-you-section .btn {
    margin-top: 2rem;
}

/* Policy Pages */
.policy-section {
    background-color: var(--color-text-light);
    padding: 3rem 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    color: var(--color-primary);
    margin-top: 2rem;
}

.policy-content h3 {
    color: var(--color-accent2);
    margin-top: 1.5rem;
}

.policy-content ul, 
.policy-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* === Responsive Styles === */

/* Tablet */
@media (max-width: 768px) {
    body {
        padding-top: 4rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .about-content, 
    .contact-wrapper {
        flex-direction: column;
    }
    
    .advantages-grid, 
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-nav {
        position: fixed;
        top: 4rem;
        left: 0;
        width: 100%;
        background-color: var(--color-primary);
        box-shadow: var(--shadow);
        padding: 1rem;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        z-index: 99;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: row;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo a {
        font-size: 1rem;
    }
    
    .logo svg {
        width: 28px;
        height: 28px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }
    
    .hero-section {
        padding: 1.5rem 0;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .advantages-grid, 
    .services-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .site-header {
        padding: 0.3rem 0;
    }
    
    .main-nav ul {
        gap: 0.3rem;
    }
    
    .main-nav a {
        font-size: 0.8rem;
        padding: 0.15rem 0.3rem;
    }
    
    .logo a {
        font-size: 1rem;
    }
    
    .logo svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-menu-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .about-section,
    .services-section,
    .testimonials-section,
    .contact-section,
    .faq-section {
        padding: 3rem 0;
    }
} 

/* FAQ toggle links */
.faq-toggle a {
    text-decoration: none;
    color: var(--color-text-light);
    display: block;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-toggle a:hover {
    color: var(--color-accent2);
}

/* Mobile menu toggle link */
.mobile-menu-toggle a {
    display: block;
} 