* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1b4332;
    --accent: #d4af37;
    --background: #faf9f7;
    --card: #ffffff;
    --text: #2d3436;
    --text-muted: #636e72;
    --border: #e8e8e8;
    --shadow: 0 10px 30px rgba(27, 67, 50, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Lora', serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: var(--card);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Language Toggle Styles */
.lang-toggle {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2px;
    background: var(--background);
}

.lang-btn {
    padding: 4px 12px;
    border-radius: 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background: transparent;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background) 0%, #f5f3f0 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    min-width: 200px;
}

.cta-primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cta-secondary {
    background: transparent;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
}

.cta-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    background: var(--card);
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 2rem;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

section > .container > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.service-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
    transform: translateY(-8px);
}

.service-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card i {
    color: var(--accent);
    font-size: 1.5rem;
    min-width: 30px;
}

.service-description {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.service-description.collapsed {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.service-description.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--card));
}

.service-description.expanded {
    max-height: none;
}

.service-item {
    padding: 0.2rem 0;
    border-bottom: none;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.service-item::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.service-item-text {
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

.service-more-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 1rem;
}

.service-more-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    font-family: 'Playfair Display', serif;
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.tech-tag {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* FAQ Section */
#faq {
    background-color: var(--background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card);
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--primary);
}

.faq-question:hover {
    background: var(--background);
}

.faq-question i {
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-answer-content ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.team-member:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.team-member-content {
    flex: 1;
}

.team-member-content.collapsed {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.team-member-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--card));
}

.team-member-content.expanded {
    max-height: none;
}

.team-member h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.team-member .title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    font-size: 0.95rem;
}

.team-member p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-more-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 1rem;
}

.team-more-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.experience-highlight {
    background-color: var(--background);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.experience-highlight strong {
    color: var(--primary);
}

/* Contact Section */
#contact {
    background-color: var(--card);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lora', serif;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.form-submit:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.form-submit:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-item p {
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 3rem 0;
    }

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

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 0.95rem;
    }
}
