html,
body {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    -moz-tab-size: 4;
    -o-tab-size: 4;

    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif !important;

    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

/* Custom animations */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in-scale {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.fade-in-scale {
    transform: scale(0.95);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Navigation underline animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Custom Bootstrap overrides */
.navbar-brand {
    font-weight: bold;
    font-size: 1.25rem;
    color: black !important;
    transition: transform 0.2s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.custom-nav-link {
    color: #6c757d !important;
    position: relative;
    transition: all 0.3s ease;
}

.custom-nav-link:hover {
    color: black !important;
    transform: scale(1.05);
}

/* Hero section styling */
.hero-section {
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Custom button styles */
.btn-custom {
    background-color: black;
    border-color: black;
    color: white;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #343a40;
    border-color: #343a40;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Stats section */
.stats-number {
    font-size: 3rem;
    font-weight: bold;
    color: black;
}

/* Feature cards */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: rotate(12deg);
}

/* Testimonial cards */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.testimonial-avatar:hover {
    transform: scale(1.1);
}

/* Accordion styles */
.accordion-button {
    font-weight: 500;
    background-color: white;
    border: 1px solid #dee2e6;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    box-shadow: none;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.accordion-item:hover {
    transform: scale(1.02);
}

/* Mobile app images */
.mobile-app-img {
    max-width: 320px;
    height: auto;
    transition: all 0.5s ease;
}

/* .mobile-app-img:hover {
    transform: scale(1.05) rotate(1deg);
} */

/* CTA section */
.cta-card {
    transition: all 0.5s ease;
}

.cta-card:hover {
    transform: scale(1.05);
}

/* Footer links */
.footer-link {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: black;
    transform: translateX(4px);
}

/* Social icons */
.social-icon {
    width: 24px;
    height: 24px;
    background-color: #e9ecef;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: scale(1.1);
    background-color: #dee2e6;
}

/* Counter animation */
@keyframes countUp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.counter {
    animation: countUp 2s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-number {
        font-size: 2.5rem;
    }
}

.mobile-app-img {
    max-height: 490px;
    width: auto;
}

@media (max-width: 992px) {

    /* tablets & mobiles */
    .mobile-app-img {
        max-height: 400px;
    }
}

@media (max-width: 576px) {

    /* small mobiles */
    .mobile-app-img {
        max-height: 300px;
    }
}

.nav-link.active {
    font-weight: 600;
    color: #666769 !important;

    border-bottom: 2px solid #080808;
}

.btn-custom {
    /* background-color: #ff6600; */
    /* Default background */
    color: #fff;
    /* Text color */
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

/* Hover Effect */
.btn-custom:hover {
    /* background-color: #e65c00; */
    /* Darker orange on hover */
    color: #fff;
}

/* Active (click) Effect */
.btn-custom:active {

    /* Even darker when clicked */
    transform: scale(0.97);
    /* Slight shrink effect on click */
}

.no-underline-lang .nav-link,
.no-underline-lang .nav-link:focus,
.no-underline-lang .nav-link:active,
.no-underline-lang .nav-link.show,
.no-underline-lang .nav-link.dropdown-toggle::after {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    outline: none !important;
}

@media (max-width: 767.98px) {
    .hero-title {
        text-align: center !important;
    }

    .hero-section .btn {
        display: block;
        margin: 0 auto;

        /* Center button */
    }

}

@media (max-width: 767.98px) {
    a {
        text-decoration: none !important;
    }
}

@media (max-width: 767.98px) {
    footer .row {
        text-align: center;
    }

    footer .col-md-6,
    footer .col-md-3 {
        margin-bottom: 2rem;
    }

    footer .d-flex {
        justify-content: center !important;
    }

    footer .d-flex.flex-column {
        align-items: center;
    }

    footer ul {
        padding-left: 0;
    }
}