/* 
 * domain.com - Financial Audit Services
 * Main stylesheet
 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette */
    --cosmic-indigo: #2A1E5C;
    --solar-flare-orange: #FF5F1F;
    --electric-teal: #00CFC1;
    --velvet-rose: #D7263D;
    --misty-pearl-white: #F4F2EF;
    --graphite-charcoal: #2B2B2B;
    
    /* Typography */
    --base-font: 'Arial', sans-serif; /* Will be replaced with self-hosted font */
}

@font-face {
    font-family: 'DomainSans';
    src: url('./fonts/domain-sans.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: var(--base-font);
    background-color: var(--misty-pearl-white);
    color: var(--graphite-charcoal);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--cosmic-indigo);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--cosmic-indigo);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--electric-teal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-align: center;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--solar-flare-orange);
    color: white;
}

.btn-primary:hover {
    background-color: darken(var(--solar-flare-orange), 10%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 95, 31, 0.3);
}

.btn-secondary {
    background-color: var(--electric-teal);
    color: white;
}

.btn-secondary:hover {
    background-color: darken(var(--electric-teal), 10%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 207, 193, 0.3);
}

/* Section styling */
.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    display: inline-block;
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--cosmic-indigo), var(--electric-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--cosmic-indigo), var(--electric-teal));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--graphite-charcoal);
    max-width: 800px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Grid system */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col {
    flex: 1;
    padding: 15px;
}

.col-1 { flex-basis: 8.33%; }
.col-2 { flex-basis: 16.66%; }
.col-3 { flex-basis: 25%; }
.col-4 { flex-basis: 33.33%; }
.col-5 { flex-basis: 41.66%; }
.col-6 { flex-basis: 50%; }
.col-7 { flex-basis: 58.33%; }
.col-8 { flex-basis: 66.66%; }
.col-9 { flex-basis: 75%; }
.col-10 { flex-basis: 83.33%; }
.col-11 { flex-basis: 91.66%; }
.col-12 { flex-basis: 100%; }

/* Header & Navigation */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cosmic-indigo);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-menu li a {
    color: var(--cosmic-indigo);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--electric-teal);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--electric-teal);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--cosmic-indigo);
    transition: all 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--cosmic-indigo);
    z-index: 999;
    padding: 80px 20px 40px;
}

.mobile-menu-active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(120deg, var(--cosmic-indigo), var(--electric-teal));
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

/* Footer */
.footer {
    background-color: var(--cosmic-indigo);
    color: white;
    padding: 80px 0 40px;
}

.footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 2px;
    width: 50px;
    background-color: var(--electric-teal);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--electric-teal);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 10px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info svg {
    margin-right: 10px;
    fill: var(--electric-teal);
}

.copyright {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(42, 30, 92, 0.95);
    color: white;
    padding: 20px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-popup p {
    margin: 0;
    padding-right: 20px;
}

/* Form styling */
.form-group {
    margin-bottom: 25px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    background-color: white;
    border: 2px solid rgba(42, 30, 92, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--electric-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 207, 193, 0.2);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1E5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.form-check-label, .form-check-label a {
    color: white !important;
}

.form-check-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.order-form {
    border-radius: 20px;
    padding: 40px;
    background-color: white;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.order-form::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--cosmic-indigo), var(--electric-teal));
    border-radius: 23px;
    z-index: -1;
}

/* FAQ section */
.faq-item {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: var(--cosmic-indigo);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '–';
    transform: rotate(180deg);
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 1000px; /* Large enough to fit content */
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    flex: 0 0 100%;
    padding: 20px;
    box-sizing: border-box;
}

.testimonial-content {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.1;
    color: var(--cosmic-indigo);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-name {
    font-weight: 600;
    color: var(--cosmic-indigo);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--graphite-charcoal);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries */
@media (max-width: 1024px) {
    .col-md-1 { flex-basis: 8.33%; }
    .col-md-2 { flex-basis: 16.66%; }
    .col-md-3 { flex-basis: 25%; }
    .col-md-4 { flex-basis: 33.33%; }
    .col-md-5 { flex-basis: 41.66%; }
    .col-md-6 { flex-basis: 50%; }
    .col-md-7 { flex-basis: 58.33%; }
    .col-md-8 { flex-basis: 66.66%; }
    .col-md-9 { flex-basis: 75%; }
    .col-md-10 { flex-basis: 83.33%; }
    .col-md-11 { flex-basis: 91.66%; }
    .col-md-12 { flex-basis: 100%; }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .col-sm-1 { flex-basis: 8.33%; }
    .col-sm-2 { flex-basis: 16.66%; }
    .col-sm-3 { flex-basis: 25%; }
    .col-sm-4 { flex-basis: 33.33%; }
    .col-sm-5 { flex-basis: 41.66%; }
    .col-sm-6 { flex-basis: 50%; }
    .col-sm-7 { flex-basis: 58.33%; }
    .col-sm-8 { flex-basis: 66.66%; }
    .col-sm-9 { flex-basis: 75%; }
    .col-sm-10 { flex-basis: 83.33%; }
    .col-sm-11 { flex-basis: 91.66%; }
    .col-sm-12 { flex-basis: 100%; }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .order-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .col-xs-1 { flex-basis: 8.33%; }
    .col-xs-2 { flex-basis: 16.66%; }
    .col-xs-3 { flex-basis: 25%; }
    .col-xs-4 { flex-basis: 33.33%; }
    .col-xs-5 { flex-basis: 41.66%; }
    .col-xs-6 { flex-basis: 50%; }
    .col-xs-7 { flex-basis: 58.33%; }
    .col-xs-8 { flex-basis: 66.66%; }
    .col-xs-9 { flex-basis: 75%; }
    .col-xs-10 { flex-basis: 83.33%; }
    .col-xs-11 { flex-basis: 91.66%; }
    .col-xs-12 { flex-basis: 100%; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 20px;
    }
}
