/* ================================================
   UJSS Custom Theme Overrides
   Makes the design unique and distinct
   ================================================ */

/* ---- 1. GLOBAL SHAPE CHANGES ---- */
/* Change from full-rounded to modern subtle corners */
:root {
    --global-border-radius: 12px 12px 12px 12px;
    --ujss-radius-sm: 8px;
    --ujss-radius-md: 12px;
    --ujss-radius-lg: 16px;
    --ujss-radius-xl: 20px;
    --ujss-gradient: linear-gradient(135deg, #0052D4 0%, #0066FF 40%, #00B4DB 100%);
    --ujss-gradient-subtle: linear-gradient(135deg, rgba(0,102,255,0.08) 0%, rgba(0,180,219,0.05) 100%);
}

/* ---- 2. UNIQUE BUTTON STYLES ---- */
/* Replace pill buttons with modern angled style */
.btn-accent {
    border-radius: var(--ujss-radius-sm) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.btn-accent:hover::before {
    left: 100%;
}

.btn-accent:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.3) !important;
}

.icon-circle {
    border-radius: var(--ujss-radius-sm) !important;
    transition: transform 0.3s ease !important;
}

.btn-accent:hover .icon-circle {
    transform: translateX(4px);
}

/* ---- 3. UNIQUE CARD STYLES ---- */
/* Add left-border accent and distinct hover */
.card-service {
    border-radius: var(--ujss-radius-lg) !important;
    border-left: 3px solid transparent !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
}

.card-service::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--ujss-gradient);
    transition: width 0.4s ease;
}

.card-service:hover {
    border-left-color: var(--accent-color) !important;
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.12) !important;
}

.card-service:hover::after {
    width: 100%;
}

/* Testimonial cards */
.card-testimonial {
    border-radius: var(--ujss-radius-lg) !important;
    border-top: 3px solid var(--accent-color) !important;
    transition: all 0.3s ease !important;
}

.card-testimonial:hover {
    transform: translateY(-5px) !important;
}

/* ---- 4. UNIQUE SECTION SEPARATORS ---- */
/* Add diagonal/wave separators between sections */
.section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ujss-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ---- 5. ANIMATED GRADIENT TEXT ---- */
.title-heading-banner {
    background: var(--ujss-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ujssGradientShift 4s ease infinite;
    background-size: 200% 200%;
}

@keyframes ujssGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- 6. UNIQUE HOVER GLOW EFFECTS ---- */
.service-icon-wrapper {
    transition: all 0.3s ease !important;
}

.card-service:hover .service-icon-wrapper {
    filter: drop-shadow(0 0 12px rgba(0, 102, 255, 0.4));
    transform: scale(1.1) rotate(-5deg);
}

/* ---- 7. FLOATING ANIMATION FOR ELEMENTS ---- */
@keyframes ujssFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes ujssFloatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

.expertise-img img,
.about-img img {
    animation: ujssFloatSlow 5s ease-in-out infinite;
}

/* ---- 8. NAVBAR ENHANCEMENT ---- */
.navbar-wrapper {
    transition: all 0.3s ease;
}

.navbar-wrapper.scrolled {
    backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.nav-link {
    position: relative !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 70%;
}

/* ---- 9. SCROLL REVEAL ANIMATIONS ---- */
@keyframes ujssRevealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ujssRevealLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ujssRevealScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---- 10. COUNTER SECTION ENHANCEMENTS ---- */
.counter {
    background: var(--ujss-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900 !important;
}

.counter-detail {
    color: var(--accent-color) !important;
}

/* ---- 11. UNIQUE PRICING CARD STYLE ---- */
.card-pricing {
    border-radius: var(--ujss-radius-lg) !important;
    transition: all 0.4s ease !important;
    position: relative;
    overflow: hidden;
}

.card-pricing:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 60px rgba(0, 102, 255, 0.15) !important;
}

.pricing-highlight {
    border: 2px solid var(--accent-color) !important;
    position: relative;
}

.pricing-highlight::before {
    content: 'Popular';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--ujss-gradient);
    color: #fff;
    padding: 4px 35px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

/* ---- 12. FOOTER ENHANCEMENT ---- */
.section-footer {
    position: relative;
}

.bg-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ujss-gradient);
}

.social-item {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.social-item:hover {
    transform: translateY(-5px) scale(1.15) !important;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25) !important;
}

/* ---- 13. UNIQUE CASE STUDY CARDS ---- */
.case-studies-content {
    border-radius: var(--ujss-radius-lg) !important;
    transition: all 0.4s ease !important;
}

.case-studies-content:hover {
    transform: scale(1.02) !important;
}

.cs-component a {
    border-radius: var(--ujss-radius-sm) !important;
    transition: all 0.2s ease !important;
}

.cs-component a:hover {
    background: var(--accent-color) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ---- 14. ACCORDION/FAQ STYLE ---- */
.accordion-item {
    border-radius: var(--ujss-radius-md) !important;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px !important;
}

.accordion-button:not(.collapsed) {
    border-left: 3px solid var(--accent-color);
}

/* ---- 15. FORM INPUTS ENHANCEMENT ---- */
.form input,
.form select,
.form textarea {
    border-radius: var(--ujss-radius-sm) !important;
    transition: all 0.3s ease !important;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1) !important;
}

/* ---- 16. LOADING/PAGE TRANSITION ---- */
.animate-box {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-box.animated {
    opacity: 1;
}

/* ---- 17. BANNER ENHANCEMENT ---- */
.section-banner {
    position: relative;
    overflow: hidden;
}

/* Subtle animated dot grid in banner */
.banner-layout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(0, 102, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    animation: ujssDotMove 20s linear infinite;
    pointer-events: none;
}

@keyframes ujssDotMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

/* ---- 18. PARTNER LOGO SECTION ---- */
.swiperPartner-layout img {
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease !important;
}

.swiperPartner-layout img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* ---- 19. PROCESS STEPS UNIQUE STYLE ---- */
.digital-process-step {
    border-radius: var(--ujss-radius-lg) !important;
    transition: all 0.4s ease !important;
    position: relative;
}

.digital-process-step:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.12) !important;
}

.digital-process-step span {
    background: var(--ujss-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ---- 20. CUSTOM SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0052D4;
}

/* ---- 21. SELECTION COLOR ---- */
::selection {
    background: rgba(0, 102, 255, 0.2);
    color: var(--primary);
}

/* ---- 22. NEWSLETTER SECTION ---- */
.newsletter-layout {
    border-radius: var(--ujss-radius-xl) !important;
    position: relative;
    overflow: hidden;
}

.newsletter-layout::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,180,219,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ---- 23. MEGA MENU ENHANCEMENT ---- */
.mega-menu {
    border-radius: var(--ujss-radius-lg) !important;
}

.mega-menu h6 {
    position: relative;
    padding-bottom: 8px;
}

.mega-menu h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.mega-menu a {
    transition: all 0.2s ease !important;
    padding: 3px 0 !important;
}

.mega-menu a:hover {
    color: var(--accent-color) !important;
    padding-left: 8px !important;
}

/* ---- 24. BLOG CARDS ---- */
.card-blog {
    border-radius: var(--ujss-radius-lg) !important;
    transition: all 0.4s ease !important;
    overflow: hidden;
}

.card-blog:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.1) !important;
}

.card-blog:hover .blog-image img {
    transform: scale(1.08);
}

.blog-image {
    overflow: hidden;
}

.blog-image img {
    transition: transform 0.5s ease !important;
}

/* ---- 25. CTA SERVICE BANNER ---- */
.cta-service-banner {
    border-radius: var(--ujss-radius-lg) !important;
    background: var(--ujss-gradient) !important;
    position: relative;
    overflow: hidden;
}

.cta-service-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .title-heading-banner {
        font-size: 32px !important;
    }

    .ujss-modal-stats {
        gap: 12px;
    }
}
