/* 
* FINAUDIT - Financial Audit and Accounting Website
* Color Palette:
* - Dark Blue: #003366
* - Orange: #FF6600
* - White: #FFFFFF
* - Light Grey: #F2F2F2
* - Blue: #00BFFF
* - Silver: #C0C0C0
*/

/* === RESET & BASE STYLES === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --dark-blue: #003366;
    --orange: #FF6600;
    --white: #FFFFFF;
    --light-grey: #F2F2F2;
    --blue: #00BFFF;
    --silver: #C0C0C0;
    --gradient: linear-gradient(135deg, var(--dark-blue), var(--blue));
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height); /* Add scroll padding for proper anchor positioning */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Fix for anchor positioning with fixed header */
section {
    scroll-margin-top: var(--header-height);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--orange);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* === BUTTONS === */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: #e55a00;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
}

.btn-secondary:hover {
    background-color: var(--orange);
    color: var(--white);
}

.btn-cookie {
    background-color: var(--dark-blue);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.btn-cookie:hover {
    background-color: var(--blue);
}

/* === HEADER === */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    max-height: 50px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: var(--transition);
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: var(--dark-blue);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--orange);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu .highlight a {
    color: var(--orange);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-blue);
    transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 191, 255, 0.85)), url('../img/eZdAd.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0;
    overflow: hidden;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary {
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* === SERVICES SECTION === */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--light-grey);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    color: var(--dark-blue);
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px;
    flex-grow: 1;
}

.service-card .btn-secondary {
    margin: 20px;
    align-self: flex-start;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    background-color: var(--light-grey);
    padding: 80px 0;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    margin-top: 40px;
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    margin-right: 30px;
    scroll-snap-align: start;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--silver);
    opacity: 0.5;
    line-height: 1;
}

.testimonial p {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.client {
    border-top: 2px solid var(--light-grey);
    padding-top: 15px;
}

.client h4 {
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.client p {
    font-size: 0.9rem;
    margin-bottom: 0;
    font-style: normal;
    color: #777;
}

/* === CONTACT FORM SECTION === */
.contact-form {
    padding: 80px 0;
    background-color: var(--white);
}

form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--light-grey);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-blue);
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: var(--white);
    transition: var(--transition);
    font-family: inherit;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox label {
    font-weight: normal;
    font-size: 0.9rem;
}

form .btn-primary {
    margin-top: 10px;
    width: 100%;
}

/* === FAQ SECTION === */
.faq {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    padding: 20px;
    font-weight: bold;
    color: var(--dark-blue);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 0 20px 20px;
}

/* === CONTACT INFO SECTION === */
.contact-info {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    margin-right: 15px;
    color: var(--orange);
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
}

.map {
    flex: 2;
    min-width: 300px;
    height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: none;
}

/* === LEGAL LINKS SECTION === */
.legal-links {
    background-color: var(--light-grey);
    padding: 40px 0;
}

.legal-grid {
    display: flex;
    justify-content: center;
}

.legal-column h3 {
    margin-bottom: 20px;
}

.legal-column ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
}

.legal-column li {
    position: relative;
}

.legal-column li:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -12px;
    color: var(--silver);
}

/* === FOOTER === */
.main-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--silver);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--orange);
}

.about p {
    margin-top: 20px;
    color: var(--silver);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: var(--silver);
    font-size: 0.9rem;
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.5s ease-in-out;
    transform: translateY(100%);
}

.cookie-popup.show {
    transform: translateY(-100%);
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === ICONS === */
.icon-location::before {
    content: '📍';
    margin-right: 8px;
}

.icon-phone::before {
    content: '📞';
    margin-right: 8px;
}

.icon-email::before {
    content: '✉️';
    margin-right: 8px;
}

.icon-clock::before {
    content: '🕒';
    margin-right: 8px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .testimonial {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: 999;
    }
    
    .menu-toggle:checked ~ .nav-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    form {
        padding: 20px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .map {
        height: 300px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .accordion-header {
        padding: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content .btn-cookie {
        width: 100%;
    }
} 