/* 
* Main Stylesheet
* Financial Audit Website
* Colors:
* - Deep Teal (#007E80)
* - Golden Amber (#FFB845)
* - Pastel Gray (#F6F6F9)
* - Dark Coal (#1F1F1F)
* - Neon Lime (#C5FF5D)
*/

/* ===== BASE STYLES ===== */
:root {
    --teal: #007E80;
    --amber: #FFB845;
    --gray: #F6F6F9;
    --coal: #1F1F1F;
    --lime: #C5FF5D;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--coal);
    background-color: var(--white);
    min-height: 100vh;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--amber);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--amber);
}

button, .button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--teal);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

button:hover, .button:hover {
    background-color: var(--amber);
    transform: translateY(-2px);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--gray);
}

/* Diagonal border effect for alternating sections */
section:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(135deg, var(--white) 49%, var(--teal) 49.5%, var(--teal) 50%, var(--white) 50.5%);
    z-index: 1;
}

section:nth-child(even)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(-45deg, var(--white) 49%, var(--amber) 49.5%, var(--amber) 50%, var(--gray) 50.5%);
    z-index: 1;
}

/* Wave border for section bottoms */
.wave-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23007E80"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23FFB845"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23C5FF5D"/></svg>');
    background-size: cover;
}

/* ===== HEADER STYLES ===== */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    margin-left: 8px;
    color: var(--teal);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    color: var(--coal);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--amber);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--teal);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius);
}

.cta-button:hover {
    background-color: var(--amber);
}

.cta-button::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--coal);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: calc(100vh - 60px);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--coal);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--teal);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.primary-button {
    background-color: var(--teal);
    color: var(--white);
}

.secondary-button {
    background-color: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
}

.secondary-button:hover {
    background-color: var(--teal);
    color: var(--white);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    position: relative;
    z-index: 2;
}

.about-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 30px;
    align-items: center;
}

.about-content {
    flex: 1;
    text-align: left;
}

.about-image {
    flex: 1;
    max-width: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background-color: var(--lime);
    border-radius: 50%;
    z-index: -1;
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column-reverse;
    }
    
    .about-content {
        text-align: center;
    }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
}

.section-description {
    max-width: 800px;
    margin: 20px auto 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    height: 80px;
    width: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray);
    border-radius: 50%;
}

.service-content {
    padding: 30px;
    text-align: center;
}

.service-title {
    color: var(--teal);
    margin-bottom: 15px;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-section {
    background-color: var(--gray);
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-icon {
    min-width: 50px;
    height: 50px;
    background-color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.advantage-content h3 {
    margin-bottom: 10px;
    color: var(--teal);
}

/* ===== CASES SECTION ===== */
.cases-section {
    position: relative;
    z-index: 2;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 20px;
}

.case-title {
    color: var(--teal);
    margin-bottom: 10px;
}

.case-category {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--amber);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: 20px;
    margin-bottom: 15px;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background-color: var(--gray);
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-content {
    padding: 20px;
    text-align: center;
}

.team-name {
    color: var(--teal);
    margin-bottom: 5px;
}

.team-role {
    color: var(--amber);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    position: relative;
    z-index: 2;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--white);
}

.faq-question {
    padding: 20px;
    background-color: var(--white);
    color: var(--coal);
    font-weight: 600;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question a {
    text-decoration: none;
    color: var(--coal);
    display: block;
    width: 100%;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--teal);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--gray);
}

.faq-item.active .faq-question {
    background-color: var(--teal);
    color: var(--white);
}

.faq-item.active .faq-question:after {
    content: '−';
    color: var(--white);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px; /* Arbitrary large value */
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--gray);
    position: relative;
    z-index: 2;
}

.contact-form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background-color: var(--lime);
    border-radius: 50%;
    z-index: 0;
}

.form-title {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    background-color: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--teal);
    outline: none;
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23007E80" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.checkbox-group input {
    min-width: 20px;
    height: 20px;
    margin-top: 3px;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--teal);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.submit-button:hover {
    background-color: var(--amber);
}

.form-errors {
    color: #e74c3c;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fadbd8;
    border-radius: var(--radius);
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    background-color: var(--coal);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo-text {
    color: var(--white);
}

.company-description {
    margin-top: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-contact h3,
.footer-links h3 {
    color: var(--amber);
    margin-bottom: 20px;
}

.contact-list li,
.legal-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list a,
.legal-links a {
    color: var(--gray);
}

.contact-list a:hover,
.legal-links a:hover {
    color: var(--amber);
}

.icon {
    min-width: 16px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    padding: 20px;
    transition: var(--transition);
}

.cookie-popup.hidden {
    opacity: 0;
    transform: translateY(100px);
}

.cookie-popup h3 {
    color: var(--teal);
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.accept-button {
    background-color: var(--teal);
}

.decline-button {
    background-color: var(--coal);
}

/* ===== POLICY PAGES ===== */
.policy-page {
    padding: 60px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.policy-title {
    color: var(--teal);
    margin-bottom: 30px;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h3 {
    color: var(--amber);
    margin-bottom: 15px;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 60px 40px;
    text-align: center;
    margin: 0 auto;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background-color: var(--lime);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-title {
    color: var(--teal);
    margin-bottom: 20px;
}

/* ===== RESPONSIVE STYLES ===== */

/* Tablet (768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-menu-overlay.open {
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Large (425px) */
@media (max-width: 425px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        height: auto;
        min-height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 20px;
    }
}

/* Mobile Small (360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
} 