/* 
    Domain - Financial Audit Services
    Custom CSS Stylesheet
    Color Palette:
    - Primary Background: #1A1B2F (dark purple)
    - Accents: #F9D342 (golden yellow)
    - Text: #EAEAEA (light gray)
    - Block Backgrounds: #2E2F45 (blue-purple)
    - Buttons: gradient from #F9D342 to #FF8C42
*/

/* ---------- Reset & Base Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #EAEAEA;
    background-color: #1A1B2F;
}

a {
    color: #F9D342;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF8C42;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(to right, #F9D342, #FF8C42);
    margin: 15px auto;
    border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(to right, #F9D342, #FF8C42);
    color: #1A1B2F;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(249, 211, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(249, 211, 66, 0.4);
    color: #1A1B2F;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #F9D342;
    border: 2px solid #F9D342;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #F9D342;
    color: #1A1B2F;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 27, 47, 0.95);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2rem;
    font-weight: 800;
    color: #F9D342;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.logo a:hover {
    color: #FF8C42;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: #EAEAEA;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #F9D342;
    transition: all 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.header-cta {
    margin-left: 20px;
}

.mobile-menu-toggle {
    display: none;
}

.menu-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #F9D342;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    background: url('./img/T1zfrD.jpg') center/cover no-repeat;
    margin-top: 70px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 27, 47, 0.85);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero-content .btn-primary {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* ---------- About Section ---------- */
.about-section {
    background-color: #1A1B2F;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-certificates {
    display: flex;
    gap: 20px;
}

.certificate-item {
    background-color: #2E2F45;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.certificate-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #1A1B2F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

/* ---------- Advantages Section ---------- */
.advantages-section {
    background-color: #2E2F45;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 15px;
    background-color: #1A1B2F;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: #2E2F45;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

/* ---------- Services Section ---------- */
.services-section {
    background-color: #1A1B2F;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #2E2F45;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    background-color: #1A1B2F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.service-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    display: block;
    height: auto;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

.service-card ul {
    margin-bottom: 20px;
}

.service-card .btn-secondary {
    margin-top: auto;
    align-self: flex-start;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    background-color: #2E2F45;
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: #1A1B2F;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: none;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    color: #F9D342;
    margin-bottom: 5px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background-color: #EAEAEA;
    border: none;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
    opacity: 1;
    background-color: #F9D342;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    background-color: #1A1B2F;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #2E2F45;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: transparent;
    border: none;
    text-align: left;
    font-weight: 600;
    color: #EAEAEA;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #F9D342;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-question-form {
    margin: 0;
}

/* ---------- Contact Section ---------- */
.contact-section {
    background-color: #2E2F45;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: #F9D342;
    margin-bottom: 10px;
}

.contact-map {
    margin-top: auto;
    height: 250px;
    background-color: #1A1B2F;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---------- Contact Form ---------- */
.contact-form {
    background-color: #1A1B2F;
    border-radius: 10px;
    padding: 30px;
}

.contact-form h3 {
    color: #F9D342;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #2E2F45;
    background-color: #2E2F45;
    color: #EAEAEA;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #F9D342;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-group.submit {
    margin-top: 30px;
}

.form-errors {
    background-color: rgba(255, 76, 76, 0.1);
    border-left: 3px solid #ff4c4c;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.error {
    color: #ff4c4c;
}

.form-success {
    background-color: rgba(76, 217, 100, 0.1);
    border-left: 3px solid #4cd964;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #1A1B2F;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(234, 234, 234, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin-top: 15px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #F9D342;
}

.footer-contact h3,
.footer-legal h3 {
    color: #F9D342;
    margin-bottom: 20px;
}

.footer-contact ul,
.footer-legal ul {
    list-style: none;
    margin: 0;
}

.footer-contact li,
.footer-legal li {
    margin-bottom: 15px;
}

.footer-contact span {
    color: #F9D342;
    font-weight: 600;
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(234, 234, 234, 0.1);
}

/* ---------- Thank You Page ---------- */
.thank-you-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
}

.thank-you-content {
    max-width: 600px;
    padding: 50px;
    background-color: #2E2F45;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 3px solid #F9D342;
    margin: 0 auto;
}

.thank-you-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid #F9D342;
    border-radius: 15px;
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-color: #1A1B2F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ---------- Policy Pages ---------- */
.policy-section {
    padding: 120px 0 60px;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-box {
    background-color: #2E2F45;
    border-radius: 10px;
    padding: 40px;
    margin-top: 30px;
}

.policy-box h2 {
    color: #F9D342;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-box h3 {
    color: #EAEAEA;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ---------- Cookie Consent ---------- */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 27, 47, 0.95);
    padding: 20px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-popup.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.cookie-more {
    color: #EAEAEA;
    text-decoration: underline;
    padding: 12px 0;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-certificates {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: rgba(26, 27, 47, 0.95);
        overflow: hidden;
        transition: height 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav.active {
        height: calc(100vh - 70px);
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .main-nav a {
        font-size: 1.2rem;
    }
    
    .header-cta {
        display: none;
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-box {
        padding: 20px;
    }
}
