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

body {
    font-family: 'Inter', sans-serif;
    color: #495057;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    color: #212529;
    letter-spacing: -0.5px;
}

.tracking-wide {
    letter-spacing: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d1117 0%, #1a222d 100%);
    color: white;
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13,110,253,0.15) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
    animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Animated Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -100px;
    animation-duration: 20s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    animation-duration: 25s;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: 20%;
    animation-duration: 18s;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Custom Utilities & Cards */
.transition-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.custom-service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: rgba(13,110,253,0.1) !important;
}

.hover-shadow:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    transform: translateY(-5px);
}

/* Buttons */
.btn-primary {
    background-color: #0d6efd;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13,110,253,0.4) !important;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
}

/* Form Styling */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #0d6efd;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.15);
}

/* Custom Colors for Icons */
.bg-purple-subtle {
    background-color: rgba(111, 66, 193, 0.1) !important;
}
.text-purple {
    color: #6f42c1 !important;
}

/* Ensure smooth image rendering */
img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Timeline / Process Line */
.process-row::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #343a40;
    z-index: -1;
}

@media (max-width: 991px) {
    .process-row::before {
        display: none;
    }
}