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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #2563eb, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-loading {
    display: none;
}

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 640px) {
    .logo-text { font-size: 1.5rem; }
}

/* Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop { display: block; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .nav-links { gap: 2rem; }
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2563eb;
}

@media (min-width: 1024px) {
    .nav-link { font-size: 1rem; }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

#mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: #374151;
    margin: 2px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #2563eb;
}

.mobile-nav-btn {
    padding: 0.75rem;
}

.mobile-nav-btn .btn-primary {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 50%, #faf5ff 100%);
    padding-top: 4rem;
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content { text-align: left; }
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 3rem; }
}

@media (min-width: 1280px) {
    .hero-title { font-size: 3.75rem; }
}

.hero-title-primary {
    color: #1f2937;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #2563eb, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-description { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons { flex-direction: row; }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
        margin-bottom: 3rem;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-stats { gap: 2rem; }
}

@media (min-width: 1024px) {
    .hero-stats {
        max-width: none;
        margin: 0;
    }
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .hero-stat-number { font-size: 1.875rem; }
}

.hero-stat:nth-child(odd) .hero-stat-number {
    color: #2563eb;
}

.hero-stat:nth-child(even) .hero-stat-number {
    color: #9333ea;
}

.hero-stat-label {
    color: #6b7280;
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .hero-stat-label { font-size: 0.875rem; }
}

.hero-image {
    order: -1;
}

@media (min-width: 1024px) {
    .hero-image { order: 1; }
}

.hero-image-container {
    position: relative;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-image-container { max-width: none; }
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    border-radius: 1.5rem;
    transform: rotate(6deg);
    opacity: 0.2;
}

.hero-image-card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-image-card { padding: 2rem; }
}

.hero-img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 1rem;
}

@media (min-width: 640px) {
    .hero-img { height: 20rem; }
}

.hero-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .hero-badge {
        bottom: -1.5rem;
        right: -1.5rem;
        padding: 1.5rem;
    }
}

.hero-badge-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .hero-badge-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.125rem;
    }
}

.hero-badge-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
}

@media (min-width: 1024px) {
    .hero-badge-title { font-size: 1rem; }
}

.hero-badge-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
}

@media (min-width: 1024px) {
    .hero-badge-subtitle { font-size: 0.875rem; }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .section-header { margin-bottom: 4rem; }
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title { font-size: 2.25rem; }
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .section-description { font-size: 1.25rem; }
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #f9fafb;
}

@media (min-width: 1024px) {
    .services { padding: 5rem 0; }
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.service-header {
    text-align: center;
    margin-bottom: 1rem;
}

.service-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.service-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.service-icon-purple {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.service-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.service-icon-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.service-icon-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.service-icon-indigo {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
}

@media (min-width: 640px) {
    .service-title { font-size: 1.25rem; }
}

.service-card:hover .service-title {
    color: #2563eb;
}

.service-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.service-description {
    color: #6b7280;
    line-height: 1.7;
    text-align: center;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .service-description { font-size: 1rem; }
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: white;
}

@media (min-width: 1024px) {
    .about { padding: 5rem 0; }
}

.about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-text {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .about-text { font-size: 1.125rem; }
}

@media (min-width: 1024px) {
    .about-text { margin-bottom: 2rem; }
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .about-visual { gap: 2rem; }
}

.about-image-container {
    position: relative;
}

.about-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
    .about-image { height: 20rem; }
}

@media (min-width: 1024px) {
    .about-image { height: 24rem; }
}

.about-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 1rem;
}

@media (min-width: 1024px) {
    .about-badge {
        bottom: -1.5rem;
        left: -1.5rem;
        padding: 1.5rem;
    }
}

.about-badge-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .about-badge-number { font-size: 1.875rem; }
}

.about-badge-text {
    color: #6b7280;
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .about-badge-text { font-size: 0.875rem; }
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .about-values { gap: 1.5rem; }
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.75rem;
}

@media (min-width: 1024px) {
    .about-value { padding: 1.5rem; }
}

.about-value-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .about-value-icon {
        width: 3rem;
        height: 3rem;
    }
}

.about-value-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

@media (min-width: 1024px) {
    .about-value-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.about-value-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .about-value-title { font-size: 1rem; }
}

.about-value-description {
    color: #6b7280;
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .about-value-description { font-size: 0.875rem; }
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #f9fafb;
}

@media (min-width: 1024px) {
    .contact { padding: 5rem 0; }
}

.contact-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-text {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #1d4ed8;
}

/* Form Styles */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    margin-top: 1rem;
}

.form-success {
    background-color: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.form-error-message {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.form-message svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
}

.footer-content {
    padding: 3rem 0;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        padding: 4rem 0;
    }
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .footer-logo { font-size: 1.5rem; }
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer-description { font-size: 1rem; }
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    color: #d1d5db;
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
    color: #60a5fa;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.footer-contact-item span {
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer-contact-item span { font-size: 1rem; }
}

.footer-links-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer-link { font-size: 1rem; }
}

.footer-link:hover {
    color: #60a5fa;
}

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

@media (min-width: 1024px) {
    .footer-bottom { padding: 2rem 0; }
}

.footer-copyright {
    text-align: center;
    color: #9ca3af;
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .footer-copyright { font-size: 0.875rem; }
}

/* Utility Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn-primary {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero,
    .services,
    .about,
    .contact {
        padding: 1rem 0;
    }
}