/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 16px;
    font-weight: 700;
}

h1 { 
    font-size: 48px; 
    line-height: 1.2;
    color: #1e3a8a;
}

h2 { 
    font-size: 36px; 
    line-height: 1.3;
    color: #1F2937;
}

h3 { 
    font-size: 24px; 
    line-height: 1.4;
    color: #1F2937;
}

h4 { 
    font-size: 18px; 
    line-height: 1.5;
    color: #1e3a8a;
}

p {
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #fbbf24;
    color: #1F2937;
}

.btn-primary:hover {
    background-color: rgba(251, 191, 36, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background-color: #1e3a8a;
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: #1c3473;
}

.btn-outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}

.btn-outline:hover {
    background-color: #1e3a8a;
    color: #FFFFFF;
    border: 1px solid #1e3a8a;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #E5E7EB;
}

.navbar {
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
}

.nav-brand i {
    font-size: 28px;
    color: #fbbf24;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: #1F2937;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1e3a8a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fbbf24;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1e3a8a;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imgs/professional_modern_office_environment_legal_debt_collection.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.6));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #FFFFFF;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.feature-item i {
    color: #fbbf24;
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: #F9FAFB;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.service-icon i {
    font-size: 32px;
    color: #FFFFFF;
}

.service-title {
    margin-bottom: 16px;
    color: #1e3a8a;
}

.service-description {
    color: #6B7280;
    line-height: 1.7;
}

/* Advantages Section */
.advantages {
    padding: 100px 0;
}

.advantages-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.advantage-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.advantage-item.reverse {
    direction: rtl;
}

.advantage-item.reverse > * {
    direction: ltr;
}

.advantage-text h3 {
    color: #1e3a8a;
    margin-bottom: 24px;
}

.advantage-text p {
    color: #6B7280;
    font-size: 16px;
    margin-bottom: 24px;
}

.advantage-features {
    list-style: none;
}

.advantage-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #1F2937;
}

.advantage-features i {
    color: #fbbf24;
    font-size: 16px;
}

.advantage-image {
    border-radius: 12px;
    overflow: hidden;
}

.advantage-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Cases Section */
.cases {
    background-color: #F9FAFB;
    padding: 100px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.case-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 24px;
}

.case-tag {
    display: inline-block;
    background-color: #1e3a8a;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.case-title {
    margin-bottom: 16px;
    color: #1F2937;
}

.case-description {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.case-result {
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-label {
    color: #6B7280;
    font-size: 14px;
}

.result-amount {
    color: #fbbf24;
    font-size: 18px;
    font-weight: 700;
}

/* Stats Section */
.stats-section {
    margin-top: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.stat-label {
    color: #6B7280;
    font-size: 16px;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #1e3a8a;
    color: #FFFFFF;
}

.testimonials .section-title,
.testimonials .section-subtitle {
    color: #FFFFFF;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 48px;
}

.testimonial-item {
    display: none;
    text-align: center;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    padding: 48px 32px;
}

.testimonial-text {
    margin-bottom: 32px;
}

.testimonial-text p {
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 16px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background-color: #fbbf24;
    border-color: #fbbf24;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-description {
    color: #6B7280;
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-item i {
    color: #fbbf24;
    font-size: 24px;
    margin-top: 4px;
}

.feature-content h4 {
    color: #1e3a8a;
    margin-bottom: 4px;
}

.feature-content p {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 0;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* News Section */
.news {
    background-color: #F9FAFB;
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.news-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.news-date {
    color: #6B7280;
    font-size: 14px;
}

.news-category {
    background-color: #1e3a8a;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.news-title {
    margin-bottom: 12px;
    color: #1F2937;
}

.news-excerpt {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #fbbf24;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #1e3a8a;
    color: #FFFFFF;
}

.contact .section-title,
.contact .section-subtitle {
    color: #FFFFFF;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 64px;
}

.contact-info h3 {
    color: #FFFFFF;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item i {
    color: #fbbf24;
    font-size: 24px;
    margin-top: 4px;
}

.contact-details h4 {
    color: #FFFFFF;
    margin-bottom: 8px;
}

.contact-details p {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-details span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    color: #FFFFFF;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 16px;
    backdrop-filter: blur(5px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.form-group select option {
    background-color: #1e3a8a;
    color: #FFFFFF;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #FFFFFF;
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    color: #FFFFFF;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer-brand i {
    color: #fbbf24;
    font-size: 28px;
}

.footer-description {
    color: #9CA3AF;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1e3a8a;
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #fbbf24;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fbbf24;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #9CA3AF;
}

.footer-contact i {
    color: #fbbf24;
    width: 16px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #374151;
}

.footer-copyright {
    text-align: center;
    color: #9CA3AF;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 200px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #fbbf24;
    color: #1F2937;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #1e3a8a;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .advantage-item,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .advantage-item.reverse {
        direction: ltr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero */
    .hero-title {
        font-size: 32px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .services-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
    .back-to-top{
        right:20px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .testimonial-content {
        padding: 32px 16px;
    }
    
    .contact-form {
        padding: 24px;
    }
}