/* ===== COMPONENTS CSS - All Layout & Component Styles ===== */

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(246, 246, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header nav {
    justify-content: space-between;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0 auto;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .mobile-menu {
        display: block;
    }
}

/* ===== BUTTONS ===== */
.cta-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 135, 21, 0.3);
}

.secondary-button {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    background-color: rgba(238, 135, 21, 0.1);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.7;
    text-align: justify;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-align: center;
}

.placeholder-image i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.placeholder-image p {
    margin: 0;
    font-weight: 600;
    opacity: 0.9;
}

/* ===== SERVICES SECTION ===== */
.services-preview {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    text-align: center;
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.service-features li {
    margin-bottom: 8px;
    color: var(--gray);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* ===== SERVICE DETAIL CARD ===== */
.service-detail-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s;
}

.service-detail-card:hover {
    transform: translateY(-5px);
}

.service-detail-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-detail-card h3 .service-icon {
    font-size: 32px;
    margin-bottom: 0;
}

/* ===== EXPERTS SECTION ===== */
.experts-preview {
    background-color: var(--light);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.expert-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    text-align: center;
    border-top: 4px solid var(--secondary);
}

.expert-card:hover {
    transform: translateY(-10px);
}

.expert-image {
    height: 250px;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.expert-card:hover .expert-image img {
    transform: scale(1.1);
}

.expert-content {
    padding: 25px;
}

.expert-content h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--dark);
}

.expert-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.expert-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.expert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.skill-tag {
    background-color: #f1f5f9;
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.skill-tag-large {
    background-color: #f1f5f9;
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

/* ===== TRUST/WHY CHOOSE SECTION ===== */
.trust-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trust-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid var(--accent);
}

.trust-card:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.trust-card p {
    color: var(--gray);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%23ffffff" opacity="0.05"/></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-section .cta-button {
    background-color: white;
    color: var(--primary);
    font-weight: 600;
    padding: 15px 30px;
    font-size: 16px;
}

.cta-section .cta-button:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.footer-contact i {
    width: 20px;
    color: var(--primary);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    justify-content: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===== SCROLL INDICATORS ===== */
.scroll-indicator {
    position: fixed;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-up {
    bottom: 80px;
}

.scroll-down {
    bottom: 30px;
}

.scroll-indicator.visible {
    opacity: 1;
}

/* ===== FORMS ===== */
.contact {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    padding: 30px;
    background-color: #f8fafc;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--accent);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-methods {
    list-style: none;
    margin-bottom: 30px;
}

.contact-methods li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-methods i {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-methods strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 16px;
}

.contact-methods p {
    margin: 0;
    color: var(--gray);
    font-size: 14px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-light);
    border-top: 4px solid var(--primary);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--dark);
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(238, 135, 21, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials-enhanced {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 20px;
}

.testimonial-card-enhanced {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border-top: 5px solid var(--primary);
    margin: 20px 0;
    transition: all 0.3s ease;
}

.testimonial-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--dark);
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
    margin: 0 0 8px 0;
}

.rating {
    color: var(--accent);
    font-size: 14px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ===== TESTIMONIAL CHAT ===== */
.testimonials {
    background-color: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-chat {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    position: relative;
    border: 1px solid var(--gray-light);
    border-top: 4px solid var(--secondary);
}

.chat-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 18px;
}

.chat-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.chat-info p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.chat-bubble {
    background-color: #f1f5f9;
    border-radius: 18px;
    padding: 15px 20px;
    margin-bottom: 15px;
    position: relative;
    max-width: 85%;
    line-height: 1.5;
}

.chat-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 20px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #f1f5f9 transparent;
}

.chat-bubble.client {
    background-color: var(--primary);
    color: white;
    margin-left: auto;
}

.chat-bubble.client::after {
    left: auto;
    right: 20px;
    border-color: var(--primary) transparent;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 200px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.step p {
    color: var(--gray);
    max-width: 250px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== RESULTS CARDS ===== */
.results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.result-item {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-light);
}

.result-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.result-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* ===== SERVICES HERO ===== */
.services-hero {
    background: linear-gradient(135deg, #fef6e9 0%, #fdebd0 100%);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%23EE8715" opacity="0.03"/></svg>');
    background-size: cover;
}

.services-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.services-hero p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .about-content,
    .profile-header {
        flex-direction: column;
    }

    .profile-image {
        flex: 0 0 250px;
        height: 250px;
        align-self: center;
    }

    .profile-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-hero h1 {
        font-size: 36px;
    }

    .hero-buttons-modern {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .process-steps::before {
        display: none;
    }

    .step {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about-image,
    .profile-image {
        flex: 1;
    }

    .services-grid,
    .experts-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

    .service-detail-card {
        padding: 25px;
    }

    .service-detail-card h3 {
        font-size: 24px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .results {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .chat-bubble {
        max-width: 90%;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .author-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .results {
        grid-template-columns: 1fr;
    }

    .contact-methods li {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-methods i {
        align-self: center;
    }

    .logo {
        font-size: 20px;
    }

    .services-hero h1 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 52px;
    }

    .stat-item {
        font-size: 42px;
    }
}
