/* Domain - Financial Audit Services CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #00BFA5;
    --accent-coral: #FF5A5F;
    --bg-graphite: #1C1C1C;
    --gold-yellow: #FFD700;
    --text-white: #FFFFFF;
    --gradient-main: linear-gradient(135deg, #00BFA5, #FF5A5F);
    --gradient-reverse: linear-gradient(135deg, #FF5A5F, #00BFA5);
    --shadow-main: 0 10px 30px rgba(0, 191, 165, 0.3);
    --shadow-accent: 0 10px 30px rgba(255, 90, 95, 0.3);
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--bg-graphite);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 191, 165, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 90, 95, 0.8); }
}

/* Header */
.header {
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-teal);
    animation: slideInLeft 0.8s ease-out;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s infinite;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
}

.nav a:hover {
    background: var(--gradient-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-main);
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Smooth scrolling with offset for anchors */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

section {
    scroll-margin-top: 100px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(28, 28, 28, 0.7), rgba(28, 28, 28, 0.7)), url('./img/a1L0Lp.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-main);
    opacity: 0.2;
    animation: pulse 4s infinite;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.2s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-reverse);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: slideInRight 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient-main);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-main);
    animation: fadeIn 1s ease-out 0.9s both;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-accent);
    background: var(--gradient-reverse);
}

/* Section Styling */
.section {
    padding: 5rem 0;
    animation: fadeIn 0.8s ease-out;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(0, 191, 165, 0.1), rgba(255, 90, 95, 0.1));
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(0, 191, 165, 0.1);
    padding: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-main);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.8rem;
    margin: 1.5rem 2.5rem 1rem 2.5rem;
    color: var(--gold-yellow);
}

.service-card p {
    font-size: 1.1rem;
    margin: 0 2.5rem 2rem 2.5rem;
}

.service-card ul {
    margin: 1rem 2.5rem;
}

.service-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-coral);
    margin: 0 2.5rem 1rem 2.5rem;
}

/* Advantages Section */
.advantages {
    background: rgba(255, 90, 95, 0.05);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(0, 191, 165, 0.1);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 90, 95, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

/* Testimonials Section */
.testimonials {
    background: rgba(0, 191, 165, 0.05);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: rgba(255, 90, 95, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid var(--accent-coral);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-accent);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--gold-yellow);
    font-weight: bold;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: rgba(0, 191, 165, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold-yellow);
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: rgba(28, 28, 28, 0.8);
    color: var(--text-white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 20px rgba(0, 191, 165, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-main);
    color: var(--text-white);
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-main);
    background: var(--gradient-reverse);
}

/* Contact Section */
.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-item {
    margin: 1rem 0;
    font-size: 1.2rem;
}

.contact-item strong {
    color: var(--gold-yellow);
}

/* Footer */
.footer {
    background: rgba(28, 28, 28, 0.95);
    border-top: 3px solid var(--primary-teal);
    padding: 3rem 0 2rem;
    animation: slideInRight 0.8s ease-out;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--gold-yellow);
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-teal);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 191, 165, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-top: 3px solid var(--primary-teal);
    z-index: 10000;
    transition: bottom 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.cookie-banner.show {
    bottom: 0;
    opacity: 1;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-teal);
    background: transparent;
    color: var(--text-white);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--gradient-main);
    border-color: transparent;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Fix horizontal scrolling on mobile */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    /* Compact mobile header */
    .header {
        padding: 0.5rem 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .nav a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Main content adjustments */
    .main {
        margin-top: 120px;
    }
    
    .hero h1 { 
        font-size: 2.5rem; 
        word-break: break-word;
    }
    
    .hero p { 
        font-size: 1.2rem;
        word-break: break-word;
    }
    
    /* Prevent text overflow */
    .section-title {
        font-size: 2rem;
        word-break: break-word;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .contact-form {
        margin: 2rem 1rem;
        padding: 2rem;
        max-width: calc(100vw - 2rem);
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .container { 
        padding: 0 0.5rem; 
        max-width: 100%;
    }
    
    .section { padding: 2rem 0; }
    
    .hero h1 { 
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .logo { font-size: 1.8rem; }
    
    .service-card { 
        margin: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .service-card h3 {
        margin: 1rem 1.5rem 1rem 1.5rem;
        font-size: 1.6rem;
    }
    
    .service-card p {
        margin: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .service-card ul {
        margin: 1rem 1.5rem;
    }
    
    .service-price {
        margin: 0 1.5rem 1rem 1.5rem;
        font-size: 1.8rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .contact-form { 
        padding: 1.5rem 1rem;
        margin: 1rem 0.5rem;
        max-width: calc(100vw - 1rem);
    }
    
    .advantages-grid,
    .services-grid,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Compact navigation for very small screens */
    .main {
        margin-top: 140px;
    }
    
    .header-container {
        padding: 0 0.5rem;
    }
    
    .nav ul {
        gap: 0.3rem;
    }
    
    .nav a {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}
