/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --background: oklch(1 0 0);
    --foreground: oklch(0.145 0 0);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.145 0 0);
    --primary: oklch(0.205 0 0);
    --primary-foreground: oklch(0.985 0 0);
    --secondary: oklch(0.97 0 0);
    --secondary-foreground: oklch(0.205 0 0);
    --muted: oklch(0.97 0 0);
    --muted-foreground: oklch(0.556 0 0);
    --accent: oklch(0.97 0 0);
    --accent-foreground: oklch(0.205 0 0);
    --border: oklch(0.922 0 0);
    --input: oklch(0.922 0 0);
    --ring: oklch(0.708 0 0);
    
    /* Spacing */
    --radius: 0.625rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    border-radius: 0.5rem;
}

.logo-icon span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-foreground);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    padding: 0.5rem;
}

.mobile-menu-btn .close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.nav-mobile {
    display: none;
    border-top: 1px solid var(--border);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    height: 2.25rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background-color: rgba(33, 33, 33, 0.9);
}

.btn-outline {
    height: 2.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-link {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-link:hover {
    text-decoration: none;
}

.btn-lg {
    height: 2.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
}

.btn-full {
    width: 100%;
}

/* Cards */
.card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--card);
    color: var(--card-foreground);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: grid;
    grid-template-rows: auto auto;
    gap: 0.375rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.card-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.card-content {
    padding: 0;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom right, 
        rgba(33, 33, 33, 0.1), 
        var(--background), 
        rgba(247, 247, 247, 0.1));
    padding: 5rem 0 8rem;
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.hero-description {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.text-primary {
    color: var(--primary);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.section-description {
    max-width: 42rem;
    margin: 0 auto;
    color: var(--muted-foreground);
}

.section-link {
    margin-top: 3rem;
    text-align: center;
}

.bg-muted {
    background-color: rgba(247, 247, 247, 0.5);
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.service-icon {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Results Grid */
.results-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.text-center {
    text-align: center;
}

.result-metric {
    margin-bottom: 1rem;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
}

.result-title {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

/* Why Choose Us */
.why-choose-content {
    max-width: 48rem;
    margin: 0 auto;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    margin-top: 0.25rem;
    flex-shrink: 0;
    color: var(--primary);
}

.feature-item p {
    color: var(--muted-foreground);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to bottom right, 
        rgba(33, 33, 33, 0.1), 
        rgba(247, 247, 247, 0.1));
}

.cta-card {
    border: 0;
    background-color: transparent;
    box-shadow: none;
}

.cta-card .card-content {
    padding: 3rem;
    text-align: center;
}

.cta-title {
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.cta-description {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(to bottom right, 
        rgba(33, 33, 33, 0.1), 
        var(--background), 
        rgba(247, 247, 247, 0.1));
    padding: 5rem 0;
}

.page-hero-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.page-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

/* Services Detail */
.services-detail {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.service-detail {
    scroll-margin-top: 5rem;
}

.service-detail-content {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.service-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    background-color: rgba(33, 33, 33, 0.1);
    border-radius: 0.5rem;
}

.service-detail-icon svg {
    color: var(--primary);
}

.service-detail-title {
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.service-detail-description {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.benefits-card {
    background-color: rgba(247, 247, 247, 0.5);
}

.features-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.features-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.features-checklist li span {
    flex: 1;
}

/* Process Grid */
.process-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.process-step {
    margin-bottom: 0.5rem;
    font-size: 2.25rem;
    font-weight: 700;
    color: rgba(33, 33, 33, 0.2);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background-color: rgba(247, 247, 247, 0.5);
}

.footer .container {
    padding: 3rem 1rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--muted-foreground);
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--primary);
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-contact svg {
    margin-top: 0.125rem;
    color: var(--muted-foreground);
    flex-shrink: 0;
}

.footer-contact span {
    color: var(--muted-foreground);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .page-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-title {
        font-size: 2.25rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 5rem 0 8rem;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-detail-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-content.reverse .service-detail-info {
        order: 2;
    }

    .service-detail-content.reverse .service-detail-features {
        order: 1;
    }
}

/* About Page Styles */
.mission-vision-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.mission-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
}

.values-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background-color: rgba(33, 33, 33, 0.1);
    border-radius: 0.5rem;
}

.value-icon svg {
    color: var(--primary);
}

.team-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.team-card {
    overflow: hidden;
    padding: 0;
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 16rem;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-content {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.quote-icon {
    margin-bottom: 1rem;
    color: rgba(33, 33, 33, 0.3);
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--foreground);
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    padding-top: 0;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Contact Page Styles */
.contact-layout {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    background-color: rgba(33, 33, 33, 0.1);
    border-radius: 0.5rem;
}

.contact-icon svg {
    color: var(--primary);
}

.contact-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item-text {
    color: var(--muted-foreground);
}

.contact-link {
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--primary);
}

.consultation-card {
    margin-top: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background-color: var(--background);
    color: var(--foreground);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
    border-color: transparent;
}

.form-textarea {
    resize: vertical;
}

.map-card {
    overflow: hidden;
    border-radius: 0.75rem;
}

.map-placeholder {
    height: 24rem;
    background: linear-gradient(to bottom right, rgba(33, 33, 33, 0.2), rgba(247, 247, 247, 0.2));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder svg {
    color: var(--primary);
    margin-bottom: 1rem;
}

.map-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-address {
    color: var(--muted-foreground);
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast p {
    margin: 0;
    color: var(--foreground);
}

/* Responsive styles for new pages */
@media (min-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr 2fr;
    }
}