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

:root {
    /* Design System Colors (HSL) */
    --background: 0 0% 100%;
    --foreground: 220 26% 14%;
    
    --card: 0 0% 100%;
    --card-foreground: 220 26% 14%;
    
    --primary: 215 28% 17%;
    --primary-foreground: 0 0% 98%;
    
    --secondary: 210 17% 82%;
    --secondary-foreground: 220 26% 14%;
    
    --muted: 210 17% 95%;
    --muted-foreground: 215 14% 49%;
    
    --accent: 146.27 97.45% 30.78%;
    --accent-foreground: 220 26% 14%;
    
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    
    --border: 220 13% 91%;
    --input: 220 13% 91%;
    --ring: 215 28% 17%;
    
    /* Industrial design tokens */
    --industrial-blue: 215 28% 17%;
    --industrial-blue-light: 215 25% 27%;
    --industrial-gray: 220 14% 11%;
    --industrial-gray-light: 220 13% 18%;
    --industrial-orange: 146.27 97.45% 30.78%;
    --industrial-orange-light: 144 88.18% 60.04%;
    --steel-gray: 220 9% 46%;
    --steel-gray-light: 220 9% 56%;
    
    /* Gradients */
    --gradient-industrial: linear-gradient(135deg, hsl(var(--industrial-blue)), hsl(var(--industrial-blue-light)));
    --gradient-hero: linear-gradient(135deg, hsl(var(--industrial-gray)), hsl(var(--industrial-blue)));
    --gradient-accent: linear-gradient(135deg, hsl(var(--industrial-orange)), hsl(var(--industrial-orange-light)));
    
    /* Shadows */
    --shadow-industrial: 0 10px 40px -15px hsl(var(--industrial-blue) / 0.3);
    --shadow-card: 0 4px 20px -5px hsl(var(--industrial-gray) / 0.15);
    --shadow-glow: 0 0 30px hsl(var(--industrial-orange) / 0.4);
}

html {
    scroll-behavior: smooth;
}

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

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.section-header {
    margin-bottom: 4rem;
}

/* Icons */
.icon {
    display: inline-block;
    vertical-align: middle;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--gradient-industrial);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-industrial);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-accent {
    background: var(--gradient-accent);
    color: hsl(var(--accent-foreground));
}

.btn-accent:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: hsl(var(--background) / 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
    z-index: 1000;
}

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

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: hsl(var(--accent));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.header-contact {
    display: none;
    align-items: center;
    gap: 1rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(var(--border));
}

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

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('9412.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.8;
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
    z-index: 1;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 92px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsl(var(--background) / 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid hsl(var(--background) / 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--primary-foreground));
}

.hero-logo {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: hsl(var(--accent-foreground));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: hsl(var(--primary-foreground) / 0.9);
    margin-bottom: 2rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-buttons .btn-outline{
    border-color: #FFF;
    color: #FFF;
}
.hero-buttons .btn-outline:hover{
    border-color: hsl(var(--primary));
    color: #FFF;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    color: hsl(var(--primary-foreground));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: hsl(var(--muted) / 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: hsl(var(--card));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-content {
    padding: 1.5rem;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent-foreground));
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.service-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--accent));
    font-weight: 600;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: start;
    justify-content: center;
    align-items: center;
}

.about-text {
    text-align: center;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-features {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

@media(max-width: 991px){
    .about-features{
        flex-direction: column;
    }
    .hero-title{
        font-size: 1.5rem;
    }
    .hero-description{
        font-size: 1rem;
    }
}

.feature-card {
    background: hsl(var(--card));
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent-foreground));
    margin-bottom: 1rem;
}

.feature-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: hsl(var(--muted) / 0.3);
}

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

.contact .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    height: max-content;
}

.contact-card {
    background: hsl(var(--card));
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    align-items: center;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent-foreground));
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-form-container {
    background: hsl(var(--card));
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 500;
    color: hsl(var(--foreground));
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--accent));
    box-shadow: 0 0 0 3px hsl(var(--accent) / 0.1);
}

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

.form-note {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: hsl(var(--industrial-gray));
    color: hsl(var(--primary-foreground));
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--accent));
}

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

.footer-description {
    color: hsl(var(--primary-foreground) / 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary-foreground) / 0.8);
    font-size: 0.875rem;
}

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

.footer-links a {
    color: hsl(var(--primary-foreground) / 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
    color: hsl(var(--primary-foreground) / 0.6);
}

.footer-bottom p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-stats{
        flex-direction: row;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .about-text {
        text-align: left;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form .form-group:nth-child(5),
    .contact-form .form-group:nth-child(6) {
        grid-column: 1 / -1;
    }
    
    .contact-form button {
        grid-column: 1 / -1;
    }
    
    .contact-form .form-note {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .header-contact {
        display: flex;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid hsl(var(--accent));
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}