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

:root {
    --primary: #ff6b00;
    --primary-dark: #e65f00;
    --background: #ffffff;
    --foreground: #1a1a1a;
    --muted: #f5f5f5;
    --muted-foreground: #666666;
    --border: #e0e0e0;
    --card: #ffffff;
    --card-foreground: #1a1a1a;
    --input: #e0e0e0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
    opacity: 0;
}

/* Header */
.header {
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.logo-text {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--foreground);
}

.nav {
    display: none;
    gap: 1.5rem;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--card);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 100;
    padding: 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0;
}

.mobile-menu.active .mobile-nav-link {
    animation: fade-in 0.4s ease-out forwards;
}

.mobile-menu.active .mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.active .mobile-nav .btn { animation-delay: 0.4s; }

.mobile-nav-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    display: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--muted);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0 8rem;
    background: linear-gradient(to bottom, var(--muted), var(--background));
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    background-color: var(--muted);
    color: var(--foreground);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitles {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    margin-bottom: 0.75rem;
}

.hero-subtitle.primary {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.hero-subtitle.secondary {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.service-card {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.card-header {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
}

.card-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.card-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--card-foreground);
}

.card-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.card-content {
    position: relative;
    z-index: 10;
    flex: 1;
    padding: 0 1.5rem 1.5rem;
    overflow-y: auto;
}

.card-intro {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.card-list-item span {
    font-size: 0.875rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--muted);
}

.about-content {
    max-width: 64rem;
    margin: 0 auto;
}

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

.about-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.about-card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.about-card-text {
    color: var(--muted-foreground);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--background);
}

.contact-content {
    max-width: 64rem;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
}

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

.contact-info,
.contact-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.contact-form-wrapper {
    background-color: var(--muted);
    border-radius: 0.5rem;
    padding: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.form-description {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.contact-form {
    max-width: 28rem;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--input);
    border-radius: 0.375rem;
    background-color: var(--background);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--muted);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-text {
    text-align: center;
    color: var(--muted-foreground);
}

/* ========================================
   RESPONSIVE DESIGN - ALL BREAKPOINTS
   ======================================== */

/* Tablet and larger (768px+) */
@media (min-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .nav {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .btn-primary {
        display: inline-block;
    }

    .mobile-menu {
        display: none;
    }

    .hero {
        padding: 8rem 0;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-subtitle.primary {
        font-size: 1.875rem;
    }

    .hero-subtitle.secondary {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-description {
        font-size: 1.25rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }
}