/* 
   Domain - Financial Audit Services
   Main Stylesheet
   Colors:
   - Main background: #131E2A (deep night blue)
   - Accents: #F3BC3A (bright amber), #32C7A7 (mint)
   - Text: #FFFFFF (main), #C6D4E1 (secondary)
   - Button gradient: #F3BC3A to #32C7A7
*/

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #131E2A;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #F3BC3A, #32C7A7);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
    color: #C6D4E1;
}

a {
    color: #32C7A7;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F3BC3A;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, #F3BC3A, #32C7A7);
    color: #131E2A;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #131E2A;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(19, 30, 42, 0.95);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: lowercase;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #F3BC3A, #32C7A7);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after, 
.main-nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: url('./img/P4cIuj.jpg') no-repeat center center/cover;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(19, 30, 42, 0.9), rgba(19, 30, 42, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
    justify-content: center;
}

/* About Section */
#about {
    background-color: #182433;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-text h2 {
    text-align: left;
}

/* Services Section */
#services {
    background-color: #131E2A;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: #182433;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, #F3BC3A, #32C7A7);
    transition: height 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.service-item:hover::before {
    height: 100%;
}

.service-image {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-item h3 {
    margin-bottom: 15px;
}

/* Benefits Section */
#benefits {
    background-color: #182433;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #131E2A;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    min-width: 60px;
    height: 60px;
    background: linear-gradient(to bottom right, #F3BC3A, #32C7A7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #131E2A;
}

/* Process Section */
#process {
    background-color: #131E2A;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    position: relative;
}

.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% + 30px);
    background: linear-gradient(to bottom, #F3BC3A, #32C7A7);
}

.process-number {
    min-width: 60px;
    height: 60px;
    background: linear-gradient(to bottom right, #F3BC3A, #32C7A7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #131E2A;
    z-index: 1;
}

.process-content {
    background-color: #182433;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
}

/* Testimonials Section */
#testimonials {
    background-color: #182433;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-item {
    background-color: #131E2A;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(243, 188, 58, 0.1);
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #F3BC3A;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Order Form Section */
#order {
    background-color: #131E2A;
}

.order-container {
    display: flex;
    justify-content: center;
}

.order-form {
    background-color: #182433;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(50, 199, 167, 0.1);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #F3BC3A;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background-color: #131E2A;
    border: 1px solid #2A3B4D;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #32C7A7;
    box-shadow: 0 0 0 3px rgba(50, 199, 167, 0.2);
}

.form-group.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #131E2A;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #2A3B4D;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
}

.radio-option input[type="radio"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #2A3B4D;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked {
    border-color: #32C7A7;
}

.radio-option input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #32C7A7;
    border-radius: 50%;
    animation: pulse 0.3s ease;
}

.checkbox-group {
    margin-top: 25px;
    background-color: #131E2A;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #2A3B4D;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.checkbox-option:last-child {
    margin-bottom: 0;
}

.checkbox-option input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #2A3B4D;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    margin-top: 3px;
    transition: all 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked {
    background-color: #32C7A7;
    border-color: #32C7A7;
}

.checkbox-option input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    color: #131E2A;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 0.3s ease;
}

.checkbox-option label {
    font-size: 0.95rem;
    color: #C6D4E1;
    line-height: 1.5;
}

.checkbox-option a {
    color: #F3BC3A;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.checkbox-option a:hover {
    color: #32C7A7;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

.form-submit button {
    width: auto;
    min-width: 200px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    box-shadow: 0 8px 15px rgba(243, 188, 58, 0.2);
    transition: all 0.3s ease;
}

.form-submit button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(243, 188, 58, 0.3);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* FAQ Section */
#faq {
    background-color: #182433;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: #131E2A;
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    background-color: #1D2C3B;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Contact Section */
#contact {
    background-color: #131E2A;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    min-width: 40px;
    height: 40px;
    background: linear-gradient(to bottom right, #F3BC3A, #32C7A7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #131E2A;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background-color: #0C1621;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 15px;
    position: relative;
}



.footer-info p {
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-links h4,
.footer-nav h4 {
    color: #FFFFFF;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #F3BC3A, #32C7A7);
}

.footer-links ul,
.footer-nav ul {
    list-style: none;
}

.footer-links ul li,
.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-nav ul li a {
    color: #C6D4E1;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-nav ul li a:hover {
    color: #F3BC3A;
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid #1A2A3A;
    padding-top: 20px;
    text-align: center;
}

.copyright p {
    color: #869FB2;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: #182433;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    animation: slideUp 0.5s ease;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-more {
    color: #C6D4E1;
    font-size: 0.9rem;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 120px auto 60px;
    background-color: #182433;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    margin-top: 40px;
    font-size: 1.8rem;
}

.policy-container h3 {
    margin-top: 30px;
    font-size: 1.4rem;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    padding-left: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

.back-btn {
    display: inline-block;
    margin-top: 30px;
}

/* Thank You Page */
.thanks-container {
    text-align: center;
    max-width: 700px;
    margin: 120px auto 60px;
    background-color: #182433;
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.thanks-icon {
    font-size: 5rem;
    color: #32C7A7;
    margin-bottom: 30px;
}

.thanks-container h1 {
    margin-bottom: 20px;
}

.thanks-container p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .toggle-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
    }
    
    .toggle-button span {
        width: 100%;
        height: 3px;
        background-color: #FFFFFF;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .toggle-button.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .toggle-button.active span:nth-child(2) {
        opacity: 0;
    }
    
    .toggle-button.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: #0C1621;
        padding: 80px 40px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.mobile-open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin-left: 0;
        margin-bottom: 20px;
    }
    
    .main-nav ul li a {
        font-size: 1.2rem;
    }
    
    .about-content,
    .order-container,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .benefits-grid,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .process-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-step:not(:last-child)::before {
        display: none;
    }
    
    .process-number {
        margin: 0 auto;
    }
    
    .service-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .policy-container,
    .order-form {
        padding: 20px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}
