/********** ClassifySpend One-Page CSS **********/
:root {
    --primary: #0E0EE1;        /* Eton Blue - 30% of webpage */
    --secondary: #FFB027;      /* Eton Yellow - for aesthetics */
    --light: #FFFFFF;          /* White - 60% of webpage content */
    --dark: #1D1D27;           /* Dark text on white background */
    --warning: #FFB027;        /* Eton Yellow for buttons and highlights */
}

/* Global Font Family */
* {
    font-family: 'Poppins', sans-serif !important;
}

body {
    font-family: 'Poppins', sans-serif !important;
}

/* Font Awesome Icon Fixes */
.fa, .fas, .far, .fab, .fal, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

.fab {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}

/* Ensure icons are visible */
i[class*="fa-"] {
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
}

/* Specific font weights for different elements */
.navbar-brand,
.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
}

.btn {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
}

.animated-heading {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}

.animated-text {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
}

/* Form elements */
.form-control,
.form-floating,
input,
textarea,
select {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
}

/* Footer and other text elements */
.footer,
.footer h5,
.footer p,
.footer a {
    font-family: 'Poppins', sans-serif !important;
}

.footer h5 {
    font-weight: 600 !important;
}

.footer p,
.footer a {
    font-weight: 400 !important;
}

/* Service items and cards */
.service-item h5,
.service-item h6,
.service-item p,
.service-item small {
    font-family: 'Poppins', sans-serif !important;
}

.service-item h5 {
    font-weight: 600 !important;
}

.service-item h6 {
    font-weight: 500 !important;
}

.service-item p,
.service-item small {
    font-weight: 400 !important;
}

/* Section titles */
.section-title h6 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
}

.section-title h2 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Navbar ***/
.navbar-light {
    background: #FFFFFF !important;
    background-size: 400% 400%;
    animation: none;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--dark) !important;
    outline: none;
    transition: .5s;
}

.navbar-scrolled.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 50%;
    background: var(--secondary);
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.navbar-scrolled.navbar-light .navbar-brand img {
    max-height: 45px;
}

/* Logo Text "Classify Spend" */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}

/* Hide logo text when navbar is scrolled */
.navbar-scrolled .logo-text {
    opacity: 0;
    visibility: hidden;
    width: 0;
    margin: 0;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-scrolled.navbar-light .navbar-collapse {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }
    
    .navbar-scrolled.navbar-light .navbar-nav .nav-link {
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--light);
    }
    
    .navbar-scrolled.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .navbar-scrolled.navbar-light {
        position: relative;
        background: #FFFFFF !important;
        background-size: 400% 400%;
        animation: none;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(0, 0, 0, .05);
        z-index: 999;
        transition: background 0.3s ease, box-shadow 0.3s ease;
        background: #FFFFFF !important;
    }
    
    .navbar-scrolled.navbar-light {
        position: fixed;
        background: #FFFFFF !important;
        background-size: 400% 400%;
        animation: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar-scrolled.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
    
/* When navbar is sticky (scrolled), change link colors to black */
.navbar-scrolled.navbar-light .navbar-nav .nav-link {
    color: var(--dark) !important;
}

/* Logo size when navbar is scrolled */
.navbar-scrolled .navbar-brand img {
    max-height: 60px !important;
    transition: max-height 0.3s ease;
}
    
    /* When navbar is blue (not scrolled), keep link colors white */
    .navbar-light:not(.navbar-scrolled) .navbar-nav .nav-link {
        color: var(--dark) !important;
    }
    
    /* When navbar is blue, style the Get Started button */
    .navbar-light:not(.navbar-scrolled) .btn-warning {
        background-color: transparent !important;
        border: 2px solid var(--secondary) !important;
        color: var(--secondary) !important;
    }
    
    .navbar-light:not(.navbar-scrolled) .btn-warning:hover {
        background-color: var(--light) !important;
        color: var(--dark) !important;
    }
}

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(135deg, 
        #0E0EE1 0%, 
        #1a1af0 25%, 
        #2d2df5 50%, 
        #4040f8 75%, 
        #5353fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding-top: 120px !important;
    padding-bottom: 20px !important;
    position: relative;
    overflow: hidden;
}

/* Gradient animation *
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animate background elements */
.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 176, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: floatSlow 15s ease-in-out infinite;
    pointer-events: none;
}

.hero-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

/* Point Cloud Container */
.point-cloud-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Point Cloud Particles */
.point-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.point-particle.active {
    background: radial-gradient(circle, rgba(255, 176, 39, 1) 0%, rgba(255, 176, 39, 0.6) 100%);
    box-shadow: 0 0 15px rgba(255, 176, 39, 0.8), 0 0 30px rgba(255, 176, 39, 0.4);
    transform: scale(2.5);
}

.point-particle.connected {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Connection Lines */
.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform-origin: left center;
    pointer-events: none;
    z-index: 0;
}

/* Background Dots Container */
.bg-dots-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Individual dot styling */
.bg-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: float 10s ease-in-out infinite;
}

.bg-dot:hover {
    background: rgba(255, 176, 39, 0.6);
    transform: scale(2);
    box-shadow: 0 0 20px rgba(255, 176, 39, 0.5);
}

/* Wave animations */
@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animated-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 80px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.wave {
    fill: rgba(255, 255, 255, 0.3);
}

.wave1 {
    animation: wave 20s linear infinite;
}

.wave2 {
    animation: wave 25s linear infinite;
    fill: rgba(255, 176, 39, 0.2);
}

.wave3 {
    animation: wave 30s linear infinite;
    fill: rgba(255, 255, 255, 0.1);
}

/* Hover effect on hero section */
#heroSection:hover .bg-dot {
    background: rgba(255, 255, 255, 0.4);
}

#heroSection:hover .wave {
    opacity: 0.2;
}

/* Glow effect on hover */
#heroSection:hover::before {
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

/* Pulsing effect for dots */
@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.bg-dot.animate-pulse {
    animation: dotPulse 2s ease-in-out infinite;
}

/* Ripple effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 176, 39, 0.4);
    pointer-events: none;
    animation: ripple 1s ease-out;
}

/*** Hero Animations ***/
/* Spinning cog/settings icon */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Floating background dots */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-15px) translateX(0px);
    }
    75% {
        transform: translateY(-10px) translateX(-5px);
    }
}

/* Fade in and out for subtle shimmer */
@keyframes shimmer {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

/* Text glow animation */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 176, 39, 0.8), 0 0 30px rgba(255, 176, 39, 0.5);
    }
}

/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouncing animation for robot */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulsing animation */
@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Rotate and float combo */
@keyframes rotateFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(120deg);
    }
    66% {
        transform: translateY(0px) rotate(240deg);
    }
}

/* Floating left to right */
@keyframes drift {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(15px);
    }
}

/* Apply animations to elements */
.animated-icon {
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.icon-1 {
    animation-name: spin;
    animation-duration: 8s;
}

.icon-2 {
    animation-name: pulse;
    animation-duration: 2s;
}

.icon-3 {
    animation-name: drift;
    animation-duration: 4s;
}

.icon-4 {
    animation-name: rotateFloat;
    animation-duration: 6s;
}

.icon-5 {
    animation-name: float;
    animation-duration: 5s;
}

.icon-6 {
    animation-name: shimmer;
    animation-duration: 2s;
}

.animated-robot {
    animation: bounce 3s ease-in-out infinite;
}

.animated-text {
    animation: fadeInUp 1s ease-out;
}

/* Hover effects on animated icons */
.animated-icon:hover {
    color: var(--secondary) !important;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

/* Responsive adjustments for animations */
@media (max-width: 768px) {
    .animated-icon {
        font-size: 1.5rem !important;
    }
    
    .icon-1 {
        font-size: 2rem !important;
        top: 5% !important;
        left: 2% !important;
    }
    
    .icon-2, .icon-3, .icon-4 {
        font-size: 1.2rem !important;
    }
    
    .animated-robot {
        animation-duration: 4s;
    }
}

@media (max-width: 576px) {
    .animated-icon {
        display: none; /* Hide on very small screens for cleaner look */
    }
    
    .bg-dots-container {
        opacity: 0.3; /* Reduce opacity on mobile for better performance */
    }
    
    .animated-waves {
        display: none; /* Hide waves on very small screens */
    }
    
    .point-cloud-container {
        opacity: 0.5; /* Reduce point cloud intensity on mobile */
    }
    
    .point-particle {
        width: 1px;
        height: 1px;
    }
}

/* Performance optimization for background animations */
@media (prefers-reduced-motion: reduce) {
    .bg-dot,
    .animated-waves,
    .animated-icon,
    .animated-robot,
    .point-particle,
    .connection-line {
        animation: none !important;
    }
}

/* GPU acceleration for point cloud */
.point-particle,
.connection-line {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--secondary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--secondary);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(255, 176, 39, 0.5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}

/*** Service ***/
.service-item {
    position: relative;
    height: 400px;
    padding: 30px 25px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    border: 2px solid transparent;
}

.service-item:hover {
    background: var(--primary);
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: linear-gradient(135deg, var(--secondary), #FFD700);
    border-radius: 50%;
    transition: .5s;
    box-shadow: 0 5px 15px rgba(255, 176, 39, 0.3);
}

.service-item:hover .service-icon {
    color: var(--light);
    background: var(--light);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--light);
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--secondary);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}

/*** Newsletter & Testimonial ***/
.newsletter,
.testimonial {
    background:
        url(../img/bg-top.png),
        url(../img/bg-bottom.png);
    background-position:
        left top,
        right bottom;
    background-repeat: no-repeat;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}
.testimonial-item{
    height: 300px;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--light) !important;
    border-color: var(--secondary);
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #888888;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}



/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--secondary);
    background: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Custom Color Classes ***/
.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #0A0AC7;
    border-color: #0A0AC7;
}

.btn-warning {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
}

.btn-warning:hover {
    background-color: #E6A023;
    border-color: #E6A023;
    color: var(--dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-light {
    color: var(--light);
    border-color: var(--light);
}

.btn-outline-light:hover {
    background-color: var(--light);
    border-color: var(--light);
    color: var(--primary);
}

/*** Additional Styling for Better Visual Appeal ***/
.hero-header h1 {
    /* Removed text shadow (glitter effect) */
    font-size: clamp(2rem, 4vw, 2rem) !important;
}

.service-item {
    border-radius: 15px;
}

.testimonial-item {
    border-radius: 15px;
}

.key-capabilities-section {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(90deg, #ffffff 0%, #f7fbff 55%);
    padding-bottom: 4rem;
}

.key-capabilities-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.key-capabilities-section > .container {
    position: relative;
    z-index: 2;
}

.about-star-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.85) 65%, rgba(255, 255, 255, 0.95) 100%);
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.about-star-pattern::before,
.about-star-pattern::before {
    position: absolute;
    inset: -10% 0;
    opacity: 0.8;
    animation: aboutDotsFloat 70s linear infinite;
}

.about-star-pattern::before {
    background-image:
        radial-gradient(circle at 6% 12%, rgba(84, 160, 255, 0.9) 0 12px, transparent 13px),
        radial-gradient(circle at 10% 32%, rgba(84, 160, 255, 0.7) 0 6px, transparent 7px),
        radial-gradient(circle at 14% 58%, rgba(84, 160, 255, 0.85) 0 10px, transparent 11px),
        radial-gradient(circle at 22% 25%, rgba(84, 160, 255, 0.8) 0 6px, transparent 7px),
        radial-gradient(circle at 26% 45%, rgba(84, 160, 255, 0.65) 0 8px, transparent 9px),
        radial-gradient(circle at 32% 65%, rgba(84, 160, 255, 0.55) 0 5px, transparent 6px),
        radial-gradient(circle at 35% 10%, rgba(84, 160, 255, 0.75) 0 7px, transparent 8px),
        radial-gradient(circle at 42% 30%, rgba(84, 160, 255, 0.7) 0 10px, transparent 11px),
        radial-gradient(circle at 48% 52%, rgba(84, 160, 255, 0.5) 0 6px, transparent 7px),
        radial-gradient(circle at 55% 20%, rgba(84, 160, 255, 0.45) 0 4px, transparent 5px),
        radial-gradient(circle at 60% 35%, rgba(84, 160, 255, 0.35) 0 5px, transparent 6px),
        radial-gradient(circle at 65% 65%, rgba(84, 160, 255, 0.3) 0 4px, transparent 5px),
        radial-gradient(circle at 70% 40%, rgba(84, 160, 255, 0.3) 0 3px, transparent 4px),
        radial-gradient(circle at 78% 72%, rgba(84, 160, 255, 0.28) 0 3px, transparent 4px),
        radial-gradient(circle at 84% 45%, rgba(84, 160, 255, 0.25) 0 3px, transparent 4px),
        radial-gradient(circle at 90% 60%, rgba(84, 160, 255, 0.2) 0 2px, transparent 3px),
        radial-gradient(circle at 96% 30%, rgba(84, 160, 255, 0.18) 0 2px, transparent 3px);
    filter: blur(0.25px);
}

.about-star-pattern::after {
    opacity: 0.9;
    animation-duration: 85s;
    animation-direction: reverse;
    background-image:
        radial-gradient(circle at 4% 45%, rgba(84, 160, 255, 0.8) 0 14px, transparent 15px),
        radial-gradient(circle at 8% 70%, rgba(84, 160, 255, 0.6) 0 9px, transparent 10px),
        radial-gradient(circle at 18% 20%, rgba(84, 160, 255, 0.6) 0 7px, transparent 8px),
        radial-gradient(circle at 22% 80%, rgba(84, 160, 255, 0.55) 0 6px, transparent 7px),
        radial-gradient(circle at 30% 35%, rgba(84, 160, 255, 0.5) 0 8px, transparent 9px),
        radial-gradient(circle at 38% 15%, rgba(84, 160, 255, 0.45) 0 4px, transparent 5px),
        radial-gradient(circle at 45% 60%, rgba(84, 160, 255, 0.4) 0 6px, transparent 7px),
        radial-gradient(circle at 52% 38%, rgba(84, 160, 255, 0.35) 0 4px, transparent 5px),
        radial-gradient(circle at 60% 75%, rgba(84, 160, 255, 0.3) 0 4px, transparent 5px),
        radial-gradient(circle at 68% 25%, rgba(84, 160, 255, 0.28) 0 3px, transparent 4px),
        radial-gradient(circle at 75% 55%, rgba(84, 160, 255, 0.25) 0 3px, transparent 4px),
        radial-gradient(circle at 82% 15%, rgba(84, 160, 255, 0.2) 0 2px, transparent 3px),
        radial-gradient(circle at 88% 45%, rgba(84, 160, 255, 0.2) 0 2px, transparent 3px),
        radial-gradient(circle at 94% 22%, rgba(84, 160, 255, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 98% 60%, rgba(84, 160, 255, 0.15) 0 2px, transparent 3px);
    filter: blur(0.8px);
}

/* Capability Cards Styling */
.capability-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    /* height: 100%; */
    height: auto;
    min-height: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.capability-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.capability-card.active {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.capability-card .card-icon {
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.capability-card.active .card-icon,
.capability-card:hover .card-icon {
    transform: scale(1.1);
}

.capability-card .card-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.capability-card .card-title h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability-card .card-image {
    text-align: center;
    margin-bottom: 1.5rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    overflow: hidden;
    border-radius: 8px;
}

.capability-card .card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.capability-card.active .card-image img,
.capability-card:hover .card-image img {
    transform: scale(1.05);
}

.capability-card .card-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #6c757d;
    line-height: 1.6;
}

.capability-card.active .card-description,
.capability-card:hover .card-description {
    opacity: 1;
    max-height: 300px;
    margin-top: 1rem;
}

.capability-card .card-description p {
    margin: 0;
    font-size: 0.95rem;
}

@keyframes aboutDotsFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-40px, -30px, 0) scale(1.02);
    }
    100% {
        transform: translate3d(40px, 30px, 0) scale(1);
    }
}

/*** Smooth Scrolling ***/
html {
    scroll-behavior: smooth;
}

/*** Loading Animation ***/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow.fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

/*** Responsive Design Enhancements ***/
@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 2rem;
    }
    
    .service-item {
        height: auto;
        min-height: 300px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}
@media (max-width: 443px) {
    .container{
        padding: 0px !important;
    }
}
@media (min-width: 443px) {
    .logo-img{
        max-height: 100px !important;
    }
}

@media (max-width: 576px) {
    .hero-header h1 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}
.color-white{
    color: #ffffff;
}
.secondary-color{
    color: var(--secondary);
}
.color-sky-blue{
    color: #b9cade !important;
}
.align-vertical-center{
    margin: auto 0px !important;
}
.img-steps{
    width: 50%;
    /* height: 100%; */
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 2px 3px 40px 20px rgba(0, 0, 0, 0.1);
}
.testimonial-text{
    height: 120px;
}
.logo-img{
    max-height: 150px;
}