:root {
    --primary-color: #0891b2;
    --secondary-color: #0ea5e9;
    --success-color: #10b981;
    --purple-color: #8b5cf6;
    --dark-color: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #fff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
    letter-spacing: -2px;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
}

.hero-decoration {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: #fff;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 16px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

/* Tech Badges */
.tech-badge {
    background: #f8f9fa;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.1);
    transform: translateY(-5px);
}

/* About Section */
.stats-container {
    border-left: 5px solid var(--primary-color);
}

.stat-item h3 {
    font-size: 3.5rem;
    line-height: 1;
}

/* Contact Section */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.contact-section a:hover {
    opacity: 0.8;
}

/* Custom Purple Background */
.bg-purple {
    background-color: var(--purple-color);
}

/* Buttons */
.btn-lg {
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Footer */
footer a:hover {
    opacity: 0.8;
}

/* Social Icons */
#contact a[href="#"] {
    transition: all 0.3s ease;
}

#contact a[href="#"]:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2rem !important;
        letter-spacing: -1px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .service-icon {
        width: 60px;
        height: 60px;
    }

    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

/* Smooth Scrolling */
section {
    scroll-margin-top: 80px;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
