/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Core brand colors - Deep Navy & Electric Cyan */
    --background: 0 0% 100%;
    --foreground: 220 30% 15%;

    --card: 0 0% 100%;
    --card-foreground: 220 30% 15%;

    --popover: 0 0% 100%;
    --popover-foreground: 220 30% 15%;

    /* Primary: Deep Navy Blue */
    --primary: 220 70% 20%;
    --primary-foreground: 0 0% 100%;

    /* Secondary: Light tech gray */
    --secondary: 210 20% 96%;
    --secondary-foreground: 220 30% 15%;

    /* Muted backgrounds */
    --muted: 210 20% 96%;
    --muted-foreground: 220 15% 45%;

    /* Accent: Electric Cyan */
    --accent: 190 95% 45%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;

    --border: 220 15% 90%;
    --input: 220 15% 90%;
    --ring: 190 95% 45%;

    --radius: 0.75rem;

    /* Custom brand tokens */
    --navy: 220 70% 20%;
    --navy-light: 220 60% 30%;
    --navy-dark: 220 75% 12%;
    --cyan: 190 95% 45%;
    --cyan-light: 190 90% 60%;
    --cyan-dark: 190 95% 35%;
    --slate: 220 15% 45%;
    --slate-light: 220 15% 65%;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--navy)) 0%, hsl(var(--navy-light)) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(var(--cyan)) 0%, hsl(var(--cyan-light)) 100%);
    --gradient-hero: linear-gradient(135deg, hsl(220 75% 12%) 0%, hsl(220 60% 25%) 50%, hsl(200 70% 25%) 100%);
    --gradient-card: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(210 20% 98%) 100%);
    --gradient-text: linear-gradient(90deg, hsl(var(--cyan)) 0%, hsl(var(--cyan-light)) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px -2px hsl(220 30% 15% / 0.08);
    --shadow-md: 0 8px 24px -8px hsl(220 30% 15% / 0.12);
    --shadow-lg: 0 16px 48px -16px hsl(220 30% 15% / 0.16);
    --shadow-glow: 0 0 40px hsl(var(--cyan) / 0.25);
    --shadow-card: 0 4px 20px -4px hsl(220 30% 15% / 0.1);

    /* Sidebar */
    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;
}

.dark {
    --background: 220 30% 8%;
    --foreground: 210 20% 96%;

    --card: 220 30% 12%;
    --card-foreground: 210 20% 96%;

    --popover: 220 30% 12%;
    --popover-foreground: 210 20% 96%;

    --primary: 190 95% 45%;
    --primary-foreground: 220 75% 12%;

    --secondary: 220 30% 18%;
    --secondary-foreground: 210 20% 96%;

    --muted: 220 30% 18%;
    --muted-foreground: 220 15% 55%;

    --accent: 190 95% 45%;
    --accent-foreground: 220 75% 12%;

    --destructive: 0 62% 50%;
    --destructive-foreground: 0 0% 100%;

    --border: 220 30% 22%;
    --input: 220 30% 22%;
    --ring: 190 95% 45%;

    --sidebar-background: 220 30% 10%;
    --sidebar-foreground: 210 20% 90%;
    --sidebar-primary: 190 95% 45%;
    --sidebar-primary-foreground: 220 75% 12%;
    --sidebar-accent: 220 30% 15%;
    --sidebar-accent-foreground: 210 20% 90%;
    --sidebar-border: 220 30% 18%;
    --sidebar-ring: 190 95% 45%;
}

* {
    border-color: hsl(var(--border));
}

html {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Component Classes (Converted from @apply) */

.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.glass-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-card);
}

.section-container {
    max-width: 80rem;
    /* 7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

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

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

.service-card {
    background-color: hsl(var(--card));
    border-radius: 0.75rem;
    /* xl */
    padding: 1.5rem;
    transition: all 300ms;
    box-shadow: var(--shadow-sm);
}

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

.stat-number {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3rem;
        line-height: 1;
    }
}

.nav-link {
    position: relative;
    color: hsl(var(--foreground) / 0.8);
    transition-property: color;
    transition-duration: 200ms;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: hsl(var(--accent));
    transition: all 300ms;
}

.nav-link:hover::after {
    width: 100%;
}

.glow {
    box-shadow: var(--shadow-glow);
}

.grid-bg {
    background-image:
        linear-gradient(hsl(var(--cyan) / 0.03) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--cyan) / 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.tech-pattern {
    background-image: radial-gradient(circle at 25% 25%, hsl(var(--cyan) / 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, hsl(var(--cyan) / 0.05) 0%, transparent 50%);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-gradient {
    animation: gradient 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* IT Service Styles */
.IT_service {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.IT_service-item {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.IT_service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(var(--accent) / 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.IT_service-item:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--accent) / 0.5);
    box-shadow: var(--shadow-md);
}

.IT_service-item:hover::before {
    opacity: 1;
}

.IT_service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsl(var(--accent) / 0.1);
    color: hsl(var(--accent));
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.IT_service-item:hover .IT_service-icon {
    transform: scale(1.1) rotate(5deg);
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.IT_service-content {
    flex: 1;
    z-index: 1;
}

.IT_service-title {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
    display: block;
}

.IT_service-desc {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.4;
}