/* 
 * AuditFinance - Styles
 * Color Palette:
 * - Deep Mandarin (#FF6B35)
 * - Smoky Blue-Gray (#4C5B5C)
 * - Soft Cream-Beige (#FAF3DD)
 * - Electric Violet (#6C5B7B)
 * - Dark Gray (#2A2A2A)
 */

/* ======= Reset & Base Styles ======= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2A2A2A;
    background-color: #FAF3DD;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

a {
    text-decoration: none;
    color: #FF6B35;
    transition: all 0.3s ease;
}

a:hover {
    color: #6C5B7B;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

/* ======= Typography ======= */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: #4C5B5C;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-divider {
    height: 4px;
    width: 60px;
    background-color: #FF6B35;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
}

/* ======= Buttons ======= */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #FF6B35;
    color: white;
    box-shadow: 0 4px 6px rgba(255, 107, 53, 0.2);
}

.btn-primary:hover {
    background-color: #e55a27;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #4C5B5C;
    border: 2px solid #4C5B5C;
}

.btn-secondary:hover {
    background-color: #4C5B5C;
    color: white;
    transform: translateY(-2px);
}

/* ======= Header ======= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 243, 221, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: #4C5B5C;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo svg {
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: #4C5B5C;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
}

.main-nav a:hover {
    color: #FF6B35;
}

.main-nav a.btn-primary {
    color: white;
}

/* ======= Hero Section ======= */
.hero-section {
    padding: 150px 0 80px;
    background-color: #FAF3DD;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #4C5B5C;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #6C5B7B;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ======= About Section ======= */
.about-section {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    color: #FF6B35;
    margin-top: 20px;
}

.about-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ======= Services Section ======= */
.services-section {
    background-color: #FAF3DD;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    color: #4C5B5C;
    margin-bottom: 15px;
}

/* ======= Pricing Section ======= */
.pricing-section {
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: #FAF3DD;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background-color: #4C5B5C;
    color: white;
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured .price-period {
    color: white;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: #FF6B35;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.pricing-header {
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B35;
    margin: 15px 0 5px;
}

.price-period {
    color: #6C5B7B;
    font-size: 0.9rem;
}

.pricing-features {
    margin: 30px 0;
    text-align: left;
}

.pricing-features ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.pricing-features ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-weight: bold;
}

.pricing-card.featured .pricing-features ul li::before {
    color: #FF6B35;
}

/* ======= Testimonials Section ======= */
.testimonials-section {
    background-color: #FAF3DD;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    padding: 0 15px;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 4rem;
    color: #FF6B35;
    opacity: 0.2;
    position: absolute;
}

.testimonial-content::before {
    top: -20px;
    left: -15px;
}

.testimonial-content::after {
    bottom: -50px;
    right: -15px;
    transform: rotate(180deg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #6C5B7B;
    margin-right: 15px;
}

.testimonial-info h4 {
    margin-bottom: 5px;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: #6C5B7B;
    margin: 0;
}

/* ======= Why Us Section ======= */
.why-us-section {
    background-color: white;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-item {
    text-align: center;
    padding: 20px;
}

.why-us-icon {
    margin-bottom: 20px;
}

.why-us-item h3 {
    color: #4C5B5C;
    margin-bottom: 15px;
}

/* ======= Contact Section (Original Styles) ======= */
.contact-section {
    background-color: #FAF3DD;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #4C5B5C;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #FF6B35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.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;
}

/* ======= Contact Section (New Design) ======= */
.contact-new-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.contact-info-header {
    margin-bottom: 30px;
    text-align: center;
}

.contact-info-header h3 {
    color: #4C5B5C;
    margin-bottom: 10px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(76, 91, 92, 0.1);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    margin-right: 15px;
    background-color: rgba(255, 107, 53, 0.1);
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail h4 {
    color: #4C5B5C;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-detail p {
    margin: 0;
    color: #2A2A2A;
    line-height: 1.5;
}

.contact-detail a {
    color: #FF6B35;
    transition: all 0.3s ease;
}

.contact-detail a:hover {
    color: #6C5B7B;
    text-decoration: underline;
}

.contact-form-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
    color: #4C5B5C;
    margin-bottom: 10px;
    text-align: center;
}

.contact-form-card > p {
    text-align: center;
    margin-bottom: 25px;
    color: #6C5B7B;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-check-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-full {
    width: 100%;
    padding: 15px;
}

/* ======= Footer ======= */
.site-footer {
    background-color: #4C5B5C;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo svg {
    margin-right: 10px;
}

.footer-logo span {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact h3,
.footer-legal h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer-contact ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-contact ul li span {
    margin-right: 10px;
}

.footer-contact a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover,
.footer-legal a:hover {
    color: #FF6B35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ======= Thank You Page ======= */
.thank-you-section {
    padding: 150px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you-buttons {
    margin-top: 30px;
}

.thank-you-buttons a {
    margin: 0 10px;
}

/* ======= Cookie Popup ======= */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 90%;
    max-width: 500px;
    z-index: 9999;
    animation: slideUp 0.5s ease forwards;
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    margin-bottom: 20px;
}

.cookie-content form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 100px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ======= Responsive Styles ======= */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section .container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .site-header .container {
        flex-direction: column;
    }
    
    .main-nav {
        margin-top: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px;
    }
    
    .contact-new-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card {
        order: 2;
    }
    
    .contact-form-card {
        order: 1;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .services-grid,
    .pricing-grid,
    .testimonials-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content form {
        flex-direction: column;
    }
    
    .cookie-content form button,
    .cookie-content form a {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* ======= Form Errors Display ======= */
.form-errors {
    background-color: rgba(255, 107, 53, 0.1);
    border-left: 4px solid #FF6B35;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.form-errors ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #FF6B35;
}

.form-errors li {
    margin-bottom: 5px;
}

/* ======= Policy Pages Styles ======= */
.policy-section {
    padding: 150px 0 80px;
    background-color: #FAF3DD;
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
}

.policy-header h1 {
    color: #4C5B5C;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.policy-content {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.policy-content h2 {
    color: #FF6B35;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
    padding-bottom: 10px;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content p, 
.policy-content ul, 
.policy-content ol {
    margin-bottom: 20px;
    line-height: 1.7;
}

.policy-content ul, 
.policy-content ol {
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

.policy-content a {
    color: #6C5B7B;
    border-bottom: 1px dotted #6C5B7B;
    transition: all 0.3s ease;
}

.policy-content a:hover {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
}

.contact-list {
    background-color: rgba(108, 91, 123, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-list li {
    padding: 5px 0;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookies-table th, 
.cookies-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookies-table th {
    background-color: rgba(76, 91, 92, 0.1);
    color: #4C5B5C;
    font-weight: 600;
}

.cookies-table tr:hover {
    background-color: rgba(250, 243, 221, 0.5);
}

@media (max-width: 768px) {
    .policy-content {
        padding: 25px;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.4rem;
    }
} 