/* 
   Domain - Financial Audit Website
   Color Palette:
   - Background: #12181b (deep graphite)
   - Accents: #FF5A5F (coral red), #FFBC00 (golden), #4ECDC4 (sea wave)
   - Text: #FFFFFF (white), #B0BEC5 (gray text)
*/

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #12181b;
    overflow-x: hidden;
}

a {
    color: #4ECDC4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFBC00;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 2rem;
    line-height: 1.2;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #FF5A5F, #4ECDC4);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF5A5F, #FF8086);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF8086, #FF5A5F);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 90, 95, 0.3);
    color: #FFFFFF;
}

.btn-secondary {
    background: linear-gradient(135deg, #4ECDC4, #2EB8B0);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2EB8B0, #4ECDC4);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
    color: #FFFFFF;
}

.btn-outline {
    background: transparent;
    border: 2px solid #4ECDC4;
    color: #4ECDC4;
}

.btn-outline:hover {
    background: #4ECDC4;
    color: #12181b;
}

/* ===== HEADER & NAVIGATION ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 24, 27, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 8rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #FFFFFF;
    margin: 0;
    background: linear-gradient(135deg, #FF5A5F, #FFBC00, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: lowercase;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 2.5rem;
}

.main-nav ul li a {
    color: #FFFFFF;
    font-weight: 500;
    position: relative;
}

.main-nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF5A5F;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon span {
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: #FFFFFF;
    transition: all 0.3s ease;
    left: 0;
}

.menu-icon::before {
    top: 0;
}

.menu-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon::after {
    bottom: 0;
}

.menu-icon.open::before {
    transform: rotate(45deg);
    top: 8px;
}

.menu-icon.open span {
    opacity: 0;
}

.menu-icon.open::after {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Main Content Offset for Fixed Header */
main {
    padding-top: 8rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(18, 24, 27, 0.7), rgba(18, 24, 27, 0.9)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 90, 95, 0.2), rgba(78, 205, 196, 0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.text-center {
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5.6rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 4rem;
    color: #B0BEC5;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: #1a2126;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 188, 0, 0.2), rgba(78, 205, 196, 0.2));
    z-index: 1;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: #12181b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background: #1a2126;
    border-radius: 10px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, #FF5A5F, #4ECDC4);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: #FFFFFF;
}

.service-card p {
    color: #B0BEC5;
}

.service-image {
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 10px;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ===== ADVANTAGES SECTION ===== */
.advantages {
    background: #1a2126;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 3rem;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5A5F, #4ECDC4);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.advantage-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed #FFBC00;
    z-index: 1;
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.advantage-item h3 {
    margin-bottom: 1.5rem;
}

.advantage-item p {
    color: #B0BEC5;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: #12181b;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: #1a2126;
    border-radius: 10px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 10rem;
    opacity: 0.1;
    color: #4ECDC4;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 2rem;
    color: #B0BEC5;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    border: 2px solid #FF5A5F;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.author-info p {
    color: #B0BEC5;
    margin: 0;
    font-size: 1.4rem;
}

/* ===== STEPS SECTION ===== */
.steps {
    background: #1a2126;
}

.steps-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.steps-timeline {
    position: relative;
    padding: 3rem 0;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, #FF5A5F, #FFBC00, #4ECDC4);
    transform: translateX(-50%);
    border-radius: 2px;
}

.step {
    position: relative;
    margin-bottom: 8rem;
    counter-increment: step-counter;
}

.step:last-child {
    margin-bottom: 0;
}

.step-content {
    width: calc(50% - 3rem);
    padding: 3rem;
    background: #12181b;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step:nth-child(odd) .step-content {
    margin-left: auto;
}

.step-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: #12181b;
}

.step:nth-child(odd) .step-content::before {
    left: -10px;
}

.step:nth-child(even) .step-content::before {
    right: -10px;
}

.step-number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #12181b;
    border-radius: 50%;
    border: 4px solid;
    font-weight: bold;
    font-size: 2.4rem;
    z-index: 1;
}

.step:nth-child(odd) .step-number {
    left: calc(50% - 30px);
    border-color: #FF5A5F;
}

.step:nth-child(even) .step-number {
    right: calc(50% - 30px);
    border-color: #4ECDC4;
}

.step-number::before {
    content: counter(step-counter);
}

/* ===== CONTACT FORM ===== */
.contact {
    background: #12181b;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info .info-item {
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: #1a2126;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    flex-shrink: 0;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    background: #1a2126;
    border-radius: 10px;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1.5rem;
    background: #12181b;
    border: 1px solid #2a353f;
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4ECDC4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.form-control.error {
    border-color: #FF5A5F;
}

.error-message {
    color: #FF5A5F;
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #12181b;
    border: 1px solid #2a353f;
    border-radius: 3px;
    margin-right: 1rem;
    cursor: pointer;
    position: relative;
    top: 5px;
}

.checkbox-group input[type="checkbox"]:checked {
    background: #4ECDC4;
    border-color: #4ECDC4;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #12181b;
    font-size: 1.4rem;
    font-weight: bold;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23B0BEC5' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    padding-right: 4rem;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: #1a2126;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #12181b;
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    position: relative;
}

.faq-question::after {
    content: '+';
    font-size: 2.4rem;
    color: #4ECDC4;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 2rem 2rem;
    height: auto;
}

.faq-answer-content {
    border-top: 1px solid #2a353f;
    padding-top: 2rem;
    color: #B0BEC5;
}

/* ===== FOOTER ===== */
.main-footer {
    background: #0b0e10;
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #2a353f;
}

.footer-info h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FF5A5F, #FFBC00, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: lowercase;
    display: inline-block;
}

.footer-info p {
    color: #B0BEC5;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-contact address {
    font-style: normal;
    color: #B0BEC5;
}

.footer-contact address p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact address i {
    margin-right: 1rem;
    color: #4ECDC4;
    font-size: 1.8rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 1rem;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #B0BEC5;
    margin: 0;
    font-size: 1.4rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(18, 24, 27, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup p {
    margin: 0;
    max-width: 70%;
}

.cookie-buttons {
    display: flex;
    gap: 1.5rem;
}

/* ===== POLICY PAGES ===== */
.policy-page {
    padding: 6rem 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 33, 38, 0.8);
    border-radius: 10px;
    padding: 4rem;
    border: 1px solid #2a353f;
}

.policy-container h1 {
    margin-bottom: 3rem;
    text-align: center;
}

.policy-container h2 {
    font-size: 2.4rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2a353f;
}

.policy-container p {
    margin-bottom: 1.5rem;
    color: #B0BEC5;
}

.policy-container ul,
.policy-container ol {
    margin-bottom: 2rem;
    margin-left: 2rem;
    color: #B0BEC5;
}

.policy-container ul li,
.policy-container ol li {
    margin-bottom: 1rem;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-container {
    max-width: 600px;
    background: #1a2126;
    border-radius: 10px;
    padding: 5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid #4ECDC4;
}

.thank-you-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FF5A5F, #FFBC00, #4ECDC4);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background: #12181b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
    position: relative;
}

.thank-you-icon::before {
    content: '✓';
    font-size: 5rem;
    color: #4ECDC4;
}

.thank-you-container h1 {
    margin-bottom: 2rem;
}

.thank-you-container p {
    color: #B0BEC5;
    margin-bottom: 3rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
    
    .steps-timeline::before {
        left: 30px;
    }
    
    .step-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .step-content::before {
        top: 30px;
        left: -10px !important;
        right: auto !important;
    }
    
    .step-number {
        left: 0 !important;
        right: auto !important;
        top: 20px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%; /* 1rem = 8px */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(18, 24, 27, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 10rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .main-nav.mobile-menu-open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 0 0 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup p {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 3rem 2rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 3rem;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .policy-container {
        padding: 3rem 2rem;
    }
}

/* Icon font for footer */
@font-face {
    font-family: 'Icons';
    src: url('../fonts/icons.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'Icons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-location:before {
    content: "\e900";
}
.icon-phone:before {
    content: "\e901";
}
.icon-mail:before {
    content: "\e902";
}
