/* Main CSS File for "domain" Financial Audit Website */

/* === VARIABLES === */
:root {
    --primary: #1E3F66; /* Sapphire Blue */
    --secondary: #FF6B35; /* Neon Orange */
    --accent: #7FFFD4; /* Aqua Mint */
    --background: #FFFFF0; /* Ivory White */
    --text: #2B2B2B; /* Charcoal Black */
    --transition: all 0.3s ease;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* === RESET & GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 5px;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideIn {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-slideIn {
    animation: slideIn 0.5s ease forwards;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--box-shadow);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

/* === HEADER === */
header {
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

/* === HERO SECTION === */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(127,255,212,0.2) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease;
    flex: 1;
    min-width: 300px;
}

.hero-image {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text);
}

.hero-shape {
    position: absolute;
    right: -200px;
    bottom: -200px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

/* === ABOUT SECTION === */
.about-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: calc(var(--i) * 0.2s);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* === SERVICES SECTION === */
.services {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: calc(var(--i) * 0.3s);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-content {
    padding: 25px;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

.service-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* === WHY CHOOSE US === */
.features {
    position: relative;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feature-item {
    flex: 0 0 48%;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: calc(var(--i) * 0.2s);
}

.feature-icon {
    margin-right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* === PROCESS SECTION === */
.process {
    background-color: #f9f9f9;
    position: relative;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 1;
    opacity: 0.3;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: calc(var(--i) * 0.3s);
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: rgba(127,255,212,0.2);
    z-index: -1;
}

.process-step h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* === TESTIMONIALS === */
.testimonials {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(30,63,102,0.1) 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: calc(var(--i) * 0.2s);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--secondary);
}

/* === FAQ SECTION === */
.faq {
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: white;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: calc(var(--i) * 0.2s);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(127,255,212,0.1);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-toggle {
    color: var(--secondary);
    font-weight: bold;
}

/* === CONTACT FORM === */
.contact {
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 2;
    min-width: 400px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

input, 
select, 
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, 
select:focus, 
textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30,63,102,0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

/* === FOOTER === */
footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.5s ease;
    z-index: 9999;
}

.cookie-popup.active {
    bottom: 0;
}

.cookie-text {
    flex: 2;
    padding-right: 20px;
}

.cookie-buttons {
    flex: 1;
    text-align: right;
}

.cookie-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept {
    background: var(--primary);
    color: white;
}

.cookie-accept:hover {
    background: var(--secondary);
}

.cookie-decline {
    background: transparent;
    border: 1px solid #ddd;
}

.cookie-decline:hover {
    background: #f1f1f1;
}

/* === POLICY PAGES === */
.policy-page {
    padding: 150px 0 80px;
    background-color: var(--background);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(30,63,102,0.1);
}

.policy-title {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.5rem;
}

.policy-content h2 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.policy-content p, 
.policy-content ul {
    margin-bottom: 20px;
}

.policy-content ul {
    padding-left: 40px;
}

.policy-content li {
    margin-bottom: 10px;
}

.policy-date {
    text-align: right;
    margin-top: 50px;
    font-style: italic;
    color: #777;
}

/* === THANK YOU PAGE === */
.thank-you {
    padding: 200px 0;
    text-align: center;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: white;
    position: relative;
    overflow: hidden;
}

.thank-you-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.thank-you i {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 30px;
    display: inline-block;
    animation: pulse 2s infinite;
}

.thank-you h1 {
    margin-bottom: 20px;
    color: var(--primary);
}

.thank-you p {
    margin-bottom: 40px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        background: white;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .feature-item {
        flex: 0 0 100%;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .contact-form {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .policy-container {
        padding: 30px 20px;
    }
    
    .policy-title {
        font-size: 2rem;
    }
}
