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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.page-header-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* Services Preview */
.services-preview {
    padding: 80px 20px;
    background-color: var(--white);
}

.services-preview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

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

.service-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.why-choose h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-item p {
    color: var(--text-light);
}

/* Cases Grid */
.cases-grid {
    padding: 60px 20px;
}

.case-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    height: 200px;
}

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

.case-info {
    padding: 25px;
}

.case-info h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.case-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.view-details {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

/* Case Detail Page */
.case-detail-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.back-link {
    display: inline-block;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.case-detail-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.case-detail-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.case-gallery {
    padding: 60px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* About Page */
.about-content {
    padding: 60px 20px;
    background-color: var(--white);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-text h2 {
    font-size: 1.75rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-highlights {
    margin-bottom: 60px;
}

.about-highlights h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.highlight-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.highlight-item p {
    color: var(--text-light);
}

.services-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-list h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.services-list ul {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
    display: inline-block;
}

.services-list li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Process Timeline */
.process-timeline {
    padding: 60px 20px;
    background-color: var(--white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto 40px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    padding-top: 10px;
}

.timeline-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.timeline-content p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.process-note {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.process-note p {
    color: var(--text-light);
}

/* Contact Page */
.contact-content {
    padding: 60px 20px;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2,
.contact-message h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-details p {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-message p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.message-tips {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
}

.message-tips h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.message-tips ul {
    list-style: disc;
    padding-left: 20px;
}

.message-tips li {
    color: var(--text-light);
    margin-bottom: 8px;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--bg-light);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}

footer p {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-200%);
        transition: transform 0.3s ease;
        gap: 15px;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .case-images {
        grid-template-columns: 1fr;
        height: auto;
    }

    .case-images img {
        height: 150px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .features-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
