/* CSS Variables - Design System */
:root {
    /* Colors */
    --primary: hsl(259, 94%, 51%);
    --primary-foreground: hsl(0, 0%, 98%);
    --primary-light: hsl(259, 94%, 61%);
    --primary-dark: hsl(259, 94%, 41%);
    
    --secondary: hsl(210, 40%, 94%);
    --secondary-foreground: hsl(222.2, 47.4%, 11.2%);
    
    --accent: hsl(180, 84%, 57%);
    --accent-foreground: hsl(0, 0%, 98%);
    
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222.2, 84%, 4.9%);
    
    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    
    --border: hsl(214.3, 31.8%, 91.4%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-subtle: linear-gradient(180deg, var(--background), var(--muted));
    
    /* Shadows */
    --shadow-card: 0 4px 6px -1px hsla(259, 94%, 51%, 0.1);
    --shadow-hero: 0 20px 25px -5px hsla(259, 94%, 51%, 0.2);
    --shadow-service: 0 10px 15px -3px hsla(259, 94%, 51%, 0.1);
    
    /* Radius */
    --radius: 0.75rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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 1.5rem;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    background: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

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

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
    box-shadow: var(--shadow-hero);
}

.btn-accent:hover {
    background-color: hsl(180, 84%, 47%);
}

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

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

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

.btn-full {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    margin-bottom: 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: var(--transition);
    background-color: transparent;
}

.header.scrolled {
    background-color: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-card);
}

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

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

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: -0.25rem;
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    background: none;
    border: none;
    color: var(--foreground);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: inherit;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        hsla(259, 94%, 51%, 0.9), 
        hsla(259, 94%, 51%, 0.8), 
        hsla(259, 94%, 51%, 0.7)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--primary-foreground);
    padding: 0 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}

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

.hero-subtitle {
    display: block;
    font-size: 1.875rem;
    font-weight: 400;
    margin-top: 0.5rem;
    color: var(--accent);
}

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

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-subtext {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--accent);
}

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

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-foreground);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid var(--primary-foreground);
    border-radius: 1.25rem;
    display: flex;
    justify-content: center;
}

.scroll-wheel {
    width: 0.25rem;
    height: 0.75rem;
    background-color: var(--primary-foreground);
    border-radius: 0.125rem;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-30px);
    }
    70% {
        transform: translateX(-50%) translateY(-15px);
    }
    90% {
        transform: translateX(-50%) translateY(-4px);
    }
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-content {
    order: 2;
}

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

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

.about-mission {
    margin-bottom: 2rem;
}

.mission-item {
    margin-bottom: 1rem;
}

.mission-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.mission-item p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

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

.capability-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.capability-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.capability-item span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    order: 1;
}

@media (min-width: 1024px) {
    .stats-grid {
        order: 2;
    }
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-card);
}

.stat-icon {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--gradient-subtle);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

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

.service-card {
    background-color: var(--background);
    border: 1px solid hsla(214.3, 31.8%, 91.4%, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-service);
    transform: translateY(-0.5rem);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.service-card:hover .service-title {
    color: var(--primary);
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.feature-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(to bottom right, 
        hsla(259, 94%, 51%, 0.05), 
        hsla(180, 84%, 57%, 0.05)
    );
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 6xl;
    margin: 0 auto;
}

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

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

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

.info-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: hsla(259, 94%, 51%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

.info-label {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

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

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--muted-foreground);
}

.list-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-form-container {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.form-card {
    padding: 1.5rem;
}

.form-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: var(--transition);
    background-color: var(--background);
    color: var(--foreground);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(259, 94%, 51%, 0.2);
}

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

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-company {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .footer-company {
        grid-column: span 2;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-foreground);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-logo-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.footer-logo-text p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.footer-description {
    color: hsla(0, 0%, 98%, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: hsla(0, 0%, 98%, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 98%, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: hsla(0, 0%, 98%, 0.6);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-legal a {
    color: hsla(0, 0%, 98%, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hero);
    transform: translateX(100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 100;
    max-width: 24rem;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content strong {
    display: block;
    margin-bottom: 0.25rem;
}

.toast-content p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 767px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 20rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}