@font-face {
    font-family: "bootstrap-icons";
    font-display: block;
    src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/fonts/bootstrap-icons.woff2?1fa40e8b2bf3ca1e71239c09c3a3782b") format("woff2"),
         url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/fonts/bootstrap-icons.woff?1fa40e8b2bf3ca1e71239c09c3a3782b") format("woff");
}

html, body {
    font-family: var(--body-font-family, 'Outfit', sans-serif);
    color: #495057;
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    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-premium-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%) !important;
    color: #fff !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 10px 25px rgba(13,110,253,0.2) !important;
}

.btn-premium-gradient:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 15px 30px rgba(111,66,193,0.35) !important;
    background: linear-gradient(135deg, #0b5ed7 0%, #5a2e9b 100%) !important;
}

.btn-premium-gradient:active {
    transform: translateY(-2px) scale(1.01) !important;
}

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

/* Form Styling */
.form-floating > label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: calc(100% - 24px) !important;
}

.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;
    }
}