html {
    scroll-behavior: smooth;
}

/* Ensure homepage hero section keeps a blue gradient if Tailwind utilities do not load */
body.home #hero {
    background: linear-gradient(135deg, #0a66c2 0%, #001882 45%, #04104a 100%) !important;
    color: #ffffff;
}

body.home #hero h1,
body.home #hero h1 span,
body.home #hero h1 p,
body.home #hero .text-white {
    color: #ffffff !important;
}

body.home #hero p {
    color: rgba(255, 255, 255, 0.92) !important;
}

#hero #hero-typewriter {
    display: inline-block !important;
    color: #fbd703 !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #fbd703 !important;
}

#hero #hero-typewriter-prefix {
    color: #fbd703 !important;
}

#hero .grid {
    display: grid;
    gap: 1rem;
}

#hero .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
    #hero .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #001882;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #001882;
    background-color: white;
}

/* Custom select styling */
select {
    cursor: pointer;
}

/* Button shine effect */
button[type="submit"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s;
}

button[type="submit"]:hover::before {
    left: 100%;
}

/* Animation Classes */
.slide-in-left {
    transform: translateX(-100px);
    opacity: 0;
}

.slide-in-right {
    transform: translateX(100px);
    opacity: 0;
}

.fade-in-up {
    transform: translateY(50px);
    opacity: 0;
}

/* Utility Classes */
.animate {
    transition: all 0.6s ease-out;
}

.animated {
    transform: translateX(0) translateY(0);
    opacity: 1;
}

/* Hero Section Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.7;
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.7;
    }
}

/* New shape animations */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes reverse-spin {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float-delay {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes float-delay-2 {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-blob {
    animation: blob 7s infinite;
}

.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

.animate-reverse-spin {
    animation: reverse-spin 10s linear infinite;
}

.animate-float-delay-1 {
    animation: float 6s ease-in-out 1s infinite;
}

.animate-float-delay-2 {
    animation: float 6s ease-in-out 2s infinite;
}

.animate-float-delay-3 {
    animation: float 6s ease-in-out 3s infinite;
}

.animate-float-delay-4 {
    animation: float 6s ease-in-out 4s infinite;
}

.animate-pulse {
    animation: pulse 3s ease-in-out infinite;
}

.animate-pulse-delay-1 {
    animation: pulse 3s ease-in-out 1s infinite;
}

.animate-pulse-delay-2 {
    animation: pulse 3s ease-in-out 2s infinite;
}

.animate-float-delay {
    animation: float-delay 8s ease-in-out 1s infinite;
}

.animate-float-delay-2 {
    animation: float-delay-2 7s ease-in-out 2s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Gradient effects */
.mix-blend-soft-light {
    mix-blend-mode: soft-light;
}

/* Glass effect */
.backdrop-blur-sm {
    backdrop-filter: blur(8px);
}

/* Content fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#heroText {
    animation: fadeInUp 1s ease-out forwards;
}

#heroImage {
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

#visionText {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.95s ease-out forwards;
    animation-delay: 0.2s;
}

#visionImage {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.95s ease-out forwards;
    animation-delay: 0.45s;
}

.fade-in-up {
    animation: fadeInUp 0.95s ease-out forwards;
}

.service-panel {
    position: relative;
    border-radius: 2.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 30px 80px rgba(0, 24, 130, 0.08);
    padding: 2.5rem;
    overflow: hidden;
}

.service-feature {
    display: flex;
    gap: 1rem;
    border-radius: 1.5rem;
    background: #f8fbff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    padding: 1rem 1.25rem;
}

.service-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.service-card {
    position: relative;
    display: grid;
    gap: 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
    padding: 1.75rem;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(10, 102, 194, 0.24);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.12);
}

.service-card-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* About Section Animations */
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

@keyframes reverse-spin {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.animate-reverse-spin {
    animation: reverse-spin 12s linear infinite;
}

/* Slower rotation animations for larger background shapes */
@keyframes spin-slower {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes reverse-spin-slower {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.animate-spin-slower {
    animation: spin-slower 30s linear infinite;
}

.animate-reverse-spin-slower {
    animation: reverse-spin-slower 40s linear infinite;
}



/* Animation utilities */
.animate-spin-slow {
    animation: spin 8s linear infinite;
}

.animate-float-delay-1 {
    animation: float 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-10px) rotate(45deg);
    }
}


