/* 
   Main Styles for FinAudit ZA
   Color Palette:
   - Electric Tangerine: #FF5400
   - Royal Azure: #0033A0
   - Ivory: #FFFFF0
   - Mint Green: #B2F9D2
   - Midnight Black: #1A1A1A
*/

/* Global Styles */
:root {
    --primary: #FF5400;
    --secondary: #0033A0;
    --background: #FFFFF0;
    --accent: #B2F9D2;
    --text: #1A1A1A;
    --light-grey: #F5F5F5;
    --mid-grey: #D9D9D9;
    --dark-grey: #666666;
    --white: #FFFFFF;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    color: var(--text);
    text-align: center;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    text-align: center;
}

section h2 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--primary);
    bottom: -10px;
    left: 20%;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
    text-align: center;
}

/* Button Styles */
.cta-button, .service-button, .submit-button, .cookie-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
}

.cta-button:hover, .submit-button:hover, .cookie-button:hover {
    background-color: transparent;
    color: var(--primary);
}

.service-button {
    background-color: var(--secondary);
    border-color: var(--secondary);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.service-button:hover {
    background-color: transparent;
    color: var(--secondary);
}

/* Header Styles */
.site-header {
    background-color: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    flex: 0 0 auto;
}

.nav-list {
    display: flex;
}

.nav-list li {
    margin: 0 1rem;
}

.nav-list a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-speed);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-button {
    background-color: var(--secondary);
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    border: 2px solid var(--secondary);
}

.nav-button:hover {
    background-color: transparent;
    color: var(--secondary) !important;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: all var(--transition-speed);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 99;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-list li {
    text-align: center;
    margin: 1rem 0;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 5rem;
    background: linear-gradient(180deg, var(--background) 0%, rgba(255, 255, 240, 0.8) 100%);
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 0 1 50%;
    animation: fadeInLeft 1s ease-out;
}

.hero-image {
    flex: 0 1 45%;
    text-align: right;
    animation: fadeInRight 1s ease-out;
}

/* About Section */
.about-section {
    background-color: var(--light-grey);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 0 1 55%;
    text-align: left;
}

.about-image {
    flex: 0 1 40%;
    text-align: right;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
    color: var(--secondary);
}

.service-card .price {
    color: var(--primary);
    font-weight: bold;
}

.service-card .service-button {
    margin: 1.5rem;
    display: inline-block;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--secondary);
    color: var(--white);
}

.benefits-section h2 {
    color: var(--white);
}

.benefits-section h2::after {
    background-color: var(--accent);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    transition: transform var(--transition-speed);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item h3 {
    color: var(--accent);
}

/* CSS-based icons */
.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon::before,
.icon::after {
    content: '';
    position: absolute;
    transition: all var(--transition-speed);
}

/* Experience Icon */
.icon-experience::before {
    width: 28px;
    height: 28px;
    border: 4px solid var(--primary);
    border-radius: 50%;
}

.icon-experience::after {
    width: 12px;
    height: 12px;
    background-color: var(--secondary);
    border-radius: 50%;
}

/* Customized Solutions Icon */
.icon-customized::before {
    width: 30px;
    height: 22px;
    border: 4px solid var(--primary);
    border-radius: 4px;
}

.icon-customized::after {
    width: 14px;
    height: 14px;
    background-color: var(--secondary);
    border-radius: 2px;
    transform: rotate(45deg);
}

/* Confidentiality Icon */
.icon-confidentiality::before {
    width: 30px;
    height: 30px;
    border: 4px solid var(--primary);
    border-radius: 5px;
}

.icon-confidentiality::after {
    width: 16px;
    height: 8px;
    border: 3px solid var(--secondary);
    border-top: none;
    border-radius: 0 0 3px 3px;
    bottom: 19px;
}

/* Support Icon */
.icon-support::before {
    width: 34px;
    height: 22px;
    border: 4px solid var(--primary);
    border-radius: 16px;
}

.icon-support::after {
    width: 4px;
    height: 12px;
    background-color: var(--secondary);
    border-radius: 2px;
    bottom: 10px;
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    animation: fadeIn 1s ease-out;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    text-align: left;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    text-align: left;
}

.author-info p {
    color: var(--dark-grey);
    margin: 0;
    text-align: left;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--mid-grey);
    padding-bottom: 1.5rem;
}

.faq-question h3 {
    color: var(--secondary);
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    transition: color var(--transition-speed);
    text-align: left;
}

.faq-question h3:hover {
    color: var(--primary);
}

.faq-question h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-item.active .faq-question h3::after {
    content: '−';
}

.faq-answer {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
    text-align: left;
}

/* Contact Form Section */
.contact-section {
    background-color: var(--light-grey);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--mid-grey);
    border-radius: 5px;
    transition: border-color var(--transition-speed);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--secondary);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin: 0;
}

.submit-button {
    width: 100%;
}

/* Footer Styles */
.site-footer {
    background-color: var(--text);
    color: var(--white);
    padding: 1.5rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    flex: 0 1 200px;
}

.footer-tagline {
    margin-top: 0.25rem;
    color: var(--mid-grey);
    font-size: 0.9rem;
}

.footer-nav, .footer-services, .footer-legal, .footer-contact {
    flex: 1 1 150px;
}

.footer-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.25rem;
    text-align: left;
    font-size: 1.2rem;
}

.footer-content h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-content ul li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.footer-content a {
    color: var(--mid-grey);
}

.footer-content a:hover {
    color: var(--primary);
}

.footer-contact li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background-color: var(--secondary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-button {
    background-color: var(--primary);
    white-space: nowrap;
}

/* Thank You Page */
.thank-you-section {
    padding: 10rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

/* Policy Pages */
.policy-section {
    padding: 10rem 0 5rem;
}

.policy-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.policy-list {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-list li {
    margin-bottom: 0.75rem;
    position: relative;
    list-style-type: disc;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        flex: 0 1 100%;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: 0 1 100%;
        text-align: center;
    }
    
    .about-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .footer-content > div {
        flex: 0 1 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Form Alternative */
.form-alternative {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-grey);
}

.form-alternative a {
    color: var(--secondary);
    text-decoration: underline;
}

.form-alternative a:hover {
    color: var(--primary);
} 