/* ============================================================
   PREMIUM ANIMATIONS & DESIGN ENHANCEMENTS
   Tailwind-inspired animation utilities + premium design polish
   ============================================================ */

/* ----------------------------------------------------------
   1. SCROLL-TRIGGERED ANIMATION CLASSES
   ---------------------------------------------------------- */

/* Base state: elements start invisible and animate in on scroll */
[data-animate] {
    opacity: 0;
    transition-property: opacity, transform, filter;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    transition-duration: 0.55s;
    will-change: opacity, transform;
}

[data-animate].animated-in {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Fade Up */
[data-animate="fade-up"] {
    transform: translateY(40px);
}

/* Fade Down */
[data-animate="fade-down"] {
    transform: translateY(-40px);
}

/* Fade Left */
[data-animate="fade-left"] {
    transform: translateX(40px);
}

/* Fade Right */
[data-animate="fade-right"] {
    transform: translateX(-40px);
}

/* Zoom In */
[data-animate="zoom-in"] {
    transform: scale(0.92);
}

/* Zoom Out */
[data-animate="zoom-out"] {
    transform: scale(1.08);
}

/* Blur In */
[data-animate="blur-in"] {
    filter: blur(8px);
    transform: translateY(10px);
}

/* Slide Up */
[data-animate="slide-up"] {
    transform: translateY(60px);
}

/* Flip Up */
[data-animate="flip-up"] {
    transform: perspective(800px) rotateX(15deg);
    transform-origin: bottom center;
}

/* Scale Fade */
[data-animate="scale-fade"] {
    transform: scale(0.85);
    filter: blur(4px);
}

/* Delay modifiers */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }
[data-delay="700"] { transition-delay: 0.7s; }
[data-delay="800"] { transition-delay: 0.8s; }

/* Duration modifiers */
[data-duration="fast"] { transition-duration: 0.3s; }
[data-duration="normal"] { transition-duration: 0.55s; }
[data-duration="slow"] { transition-duration: 0.85s; }
[data-duration="slower"] { transition-duration: 1.1s; }


/* ----------------------------------------------------------
   2. KEYFRAME ANIMATIONS (Continuous / Triggered)
   ---------------------------------------------------------- */

/* Gentle floating */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Pulse glow for buttons/CTAs */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 193, 149, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 8px rgba(0, 193, 149, 0.15);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* Subtle shimmer for premium elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-shimmer {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Smooth spin */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

/* Bounce subtle */
@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

/* Slide in from left for counters/stats */
@keyframes count-up-bar {
    from { width: 0; }
    to { width: var(--bar-width, 100%); }
}

/* Text gradient animation */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animate-gradient-text {
    background: linear-gradient(135deg, #00C195, #10c317, #15d09a, #00C195);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* Ripple effect for buttons */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


/* ----------------------------------------------------------
   3. PREMIUM HOVER EFFECTS
   ---------------------------------------------------------- */

/* Card lift on hover */
.hover-lift {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Image zoom on hover */
.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-zoom:hover img {
    transform: scale(1.08);
}

/* Glow border on hover */
.hover-glow {
    transition: box-shadow 0.4s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 193, 149, 0.2),
                0 0 60px rgba(0, 193, 149, 0.08);
}

/* Underline animation */
.hover-underline {
    position: relative;
    display: inline-block;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00C195, #10c317);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-underline:hover::after {
    width: 100%;
}


/* ----------------------------------------------------------
   4. PREMIUM DESIGN ENHANCEMENTS
   ---------------------------------------------------------- */

/* Enhanced section titles */
.main-section-title h2 {
    position: relative;
    letter-spacing: -0.02em;
}

/* Glass morphism card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
}

/* Premium gradient overlays */
.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0, 193, 149, 0.05) 0%,
        rgba(16, 195, 23, 0.03) 100%);
    pointer-events: none;
    border-radius: inherit;
}

/* Smooth divider line with gradient */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 193, 149, 0.3),
        transparent);
    border: none;
    margin: 0;
}

/* Enhanced button styles */
.main-default-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.main-default-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.main-default-btn:hover::before {
    width: 300px;
    height: 300px;
}

.main-default-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 193, 149, 0.35);
}

/* Sign-up button (Contact Us in nav) */
.sign-up {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sign-up:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 193, 149, 0.35);
}

/* Enhanced card shadows */
.single-core-service,
.single-among-item,
.single-review-item,
.single-blog-item,
.single-step-item,
.single-team-item,
.single-footer-widget {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.single-core-service:hover,
.single-among-item:hover,
.single-blog-item:hover,
.single-step-item:hover,
.single-team-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* Enhanced form inputs */
.form-control {
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.2s ease !important;
}

.form-control:focus {
    border-color: #00C195 !important;
    box-shadow: 0 0 0 3px rgba(0, 193, 149, 0.12) !important;
}

/* Navbar enhancement */
.main-navbar.is-sticky {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Footer enhancement */
.footer-style-area {
    position: relative;
}

.footer-style-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 193, 149, 0.4),
        transparent);
}

/* Social icons premium hover */
.top-header-social a,
.footer-social a {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.top-header-social a:hover,
.footer-social a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Page title / breadcrumb area enhancement */
.main-banner-area.breadcrumbs {
    position: relative;
    overflow: hidden;
}

.main-banner-area.breadcrumbs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

/* Contact form section enhancement */
.contact-form-line {
    position: relative;
    overflow: hidden;
}

.contact-form-line::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 193, 149, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Preloader enhancement */
.loader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Back to top button enhancement */
.float-btn {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.float-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 193, 149, 0.35);
}

/* News/blog cards enhancement */
.single-blog-post-item {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
    overflow: hidden;
}

.single-blog-post-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.single-blog-post-item img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.single-blog-post-item:hover img {
    transform: scale(1.05);
}

/* Owl carousel dots enhancement */
.owl-dots .owl-dot span {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.owl-dots .owl-dot.active span {
    transform: scaleX(1.5);
}

/* Dropdown menu enhancement */
.dropdown-menu {
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    animation: dropdown-fade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdown-fade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    padding: 8px 16px !important;
}

.dropdown-item:hover {
    background: rgba(0, 193, 149, 0.08) !important;
    color: #00C195 !important;
    transform: translateX(4px);
}

/* Premium text selection */
::selection {
    background: rgba(0, 193, 149, 0.2);
    color: inherit;
}

/* Smooth scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00C195, #10c317);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00a87f, #0eb514);
}


/* ----------------------------------------------------------
   5. RESPONSIVE ADJUSTMENTS
   ---------------------------------------------------------- */

@media (max-width: 767px) {
    /* Reduce animation distances on mobile */
    [data-animate="fade-up"] { transform: translateY(20px); }
    [data-animate="fade-down"] { transform: translateY(-20px); }
    [data-animate="fade-left"] { transform: translateX(20px); }
    [data-animate="fade-right"] { transform: translateX(-20px); }
    [data-animate="slide-up"] { transform: translateY(30px); }

    /* Faster animations on mobile */
    [data-animate] {
        transition-duration: 0.35s;
    }

    /* Disable continuous animations on mobile for performance */
    .animate-float,
    .animate-spin-slow {
        animation: none;
    }

    /* Disable hover effects that don't work on touch */
    .hover-lift:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .animate-float,
    .animate-pulse-glow,
    .animate-shimmer,
    .animate-spin-slow,
    .animate-bounce-subtle {
        animation: none !important;
    }

    .hover-lift:hover,
    .hover-zoom:hover img {
        transform: none;
    }
}


/* ----------------------------------------------------------
   6. DARK MODE ANIMATION ADJUSTMENTS
   ---------------------------------------------------------- */

.theme-dark .glass-card {
    background: rgba(30, 30, 30, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .hover-lift:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.theme-dark .dropdown-menu {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

.theme-dark .dropdown-item:hover {
    background: rgba(0, 193, 149, 0.15) !important;
}

.theme-dark ::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.theme-dark .main-navbar.is-sticky {
    background: rgba(13, 24, 32, 0.95) !important;
}

.theme-dark .single-core-service:hover,
.theme-dark .single-among-item:hover,
.theme-dark .single-blog-item:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}


/* ----------------------------------------------------------
   7. PREMIUM GRADIENT ENHANCEMENTS
   ---------------------------------------------------------- */

/* --- Top Header: navy gradient --- */
.main-top-header {
    background: linear-gradient(135deg, #1a2744 0%, #243556 50%, #1e3a5f 100%) !important;
}

/* --- Footer: deep navy gradient --- */
.footer-style-area {
    background: linear-gradient(180deg, #0d1820 0%, #122333 40%, #0a1a2e 100%) !important;
}

.footer-style-area .copyright-style-area {
    border-top-color: rgba(0, 193, 149, 0.15) !important;
}

/* --- Main CTA Button: green gradient --- */
.main-default-btn {
    background: linear-gradient(135deg, #00C195 0%, #00D4A0 50%, #10c317 100%) !important;
    background-size: 200% 200% !important;
    background-position: 0% 50% !important;
}

.main-default-btn:hover {
    background-position: 100% 50% !important;
    background: linear-gradient(135deg, #1a2744 0%, #243556 50%, #1e3a5f 100%) !important;
}

/* --- Sign-up / Contact Us nav button: green gradient --- */
.main-navbar .navbar.navbar-light .others-option .option-item .sign-up {
    background: linear-gradient(135deg, #00C195 0%, #00D4A0 50%, #10c317 100%) !important;
    background-size: 200% 200% !important;
    background-position: 0% 50% !important;
}

.main-navbar .navbar.navbar-light .others-option .option-item .sign-up:hover {
    background-position: 100% 50% !important;
}

/* --- Inner page banner / breadcrumb overlay gradient --- */
.main-banner-area.breadcrumbs.inner-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(26, 39, 68, 0.85) 0%,
        rgba(30, 58, 95, 0.75) 50%,
        rgba(0, 193, 149, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.main-banner-area.breadcrumbs.inner-page .container,
.main-banner-area.breadcrumbs.inner-page .container-fluid {
    position: relative;
    z-index: 2;
}

/* --- Section title: subtle gradient underline accent --- */
.main-section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00C195, #10c317, #00D4A0);
    margin: 15px auto 0;
    border-radius: 3px;
}

.core-service-area .main-section-title h2::after,
.contact-form-line .main-section-title h2::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(0, 193, 149, 0.8), rgba(255,255,255,0.6));
}

/* --- Contact form section: gradient overlay --- */
.contact-form-line {
    position: relative;
}

.contact-form-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 193, 149, 0.04) 100%);
    pointer-events: none;
    z-index: 0;
}

/* --- Card top border gradient accent --- */
.single-core-service,
.single-among-item,
.single-step-item,
.single-blog-item,
.single-team-item {
    position: relative;
}

.single-core-service::after,
.single-among-item::after,
.single-step-item::after,
.single-blog-item::after,
.single-team-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00C195, #10c317, #00D4A0);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.single-core-service:hover::after,
.single-among-item:hover::after,
.single-step-item:hover::after,
.single-blog-item:hover::after,
.single-team-item:hover::after {
    opacity: 1;
}

/* --- Social icon hover: gradient background --- */
.top-header-social li a i:hover {
    background: linear-gradient(135deg, #00C195, #10c317) !important;
    color: #ffffff !important;
}

.footer-social li a:hover {
    background: linear-gradient(135deg, #00C195, #10c317) !important;
    color: #ffffff !important;
}

/* --- Form input focus: gradient bottom border --- */
.form-control:focus {
    border-image: linear-gradient(90deg, #00C195, #10c317) 1 !important;
    border-image-slice: 1 !important;
}

/* Override for inputs that need solid border-radius */
.let-contact-form-2 .form-control:focus,
.let-contact-form .form-control:focus {
    border-image: none !important;
    border-color: #00C195 !important;
}

/* --- Navbar active link: gradient underline (replaced by Section 8 double underline) --- */

.main-navbar .navbar.navbar-light .navbar-nav .nav-item {
    position: relative;
}

/* --- Owl carousel nav dots: gradient active dot --- */
.owl-dots .owl-dot.active span {
    background: linear-gradient(90deg, #00C195, #10c317) !important;
}

/* --- Back to top button: gradient --- */
.float-btn {
    background: linear-gradient(135deg, #00C195, #10c317) !important;
}

.float-btn:hover {
    background: linear-gradient(135deg, #10c317, #00C195) !important;
}

/* --- Copyright bar: subtle gradient --- */
.copyright-style-area {
    background: linear-gradient(90deg,
        rgba(0, 193, 149, 0.03),
        rgba(0, 193, 149, 0.08),
        rgba(0, 193, 149, 0.03)) !important;
}

/* --- Blog post card image overlay gradient --- */
.single-blog-post-item .blog-img::after,
.single-blog-item .blog-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.single-blog-post-item:hover .blog-img::after,
.single-blog-item:hover .blog-img::after {
    opacity: 1;
}

.single-blog-post-item .blog-img,
.single-blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

/* --- Page title text: gradient on inner pages --- */
.page-title-content h2 {
    background: linear-gradient(135deg, #ffffff 0%, #e0f7f1 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Sticky navbar bottom border gradient --- */
.main-navbar .navbar.is-sticky::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        #00C195,
        #10c317,
        #00C195,
        transparent);
    opacity: 0.5;
}

/* --- Mobile fixed footer: gradient top border --- */
.mobile-fixed-footer {
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, #00C195, #10c317, #00C195) 1;
}

/* --- Cookie banner button gradient --- */
.cookie-btn-primary {
    background: linear-gradient(135deg, #00C195, #10c317) !important;
}

.cookie-btn-primary:hover {
    background: linear-gradient(135deg, #1a2744, #243556) !important;
}

/* --- Dark mode gradient adjustments --- */
.theme-dark .main-top-header {
    background: linear-gradient(135deg, #0a1525 0%, #132240 50%, #0d1f38 100%) !important;
}

.theme-dark .footer-style-area {
    background: linear-gradient(180deg, #060d14 0%, #0a1520 40%, #050e18 100%) !important;
}

.theme-dark .page-title-content h2 {
    background: linear-gradient(135deg, #ffffff 0%, #b8f0e0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ----------------------------------------------------------
   8. DOUBLE UNDERLINE LINKS — HEADER, FOOTER, CONTENT
   ---------------------------------------------------------- */

/* --- Navbar links: animated double underline on hover --- */
.main-navbar .navbar.navbar-light .navbar-nav .nav-item > a {
    position: relative;
    text-decoration: none;
}

.main-navbar .navbar.navbar-light .navbar-nav .nav-item > a::before,
.main-navbar .navbar.navbar-light .navbar-nav .nav-item > a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00C195, #10c317);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navbar .navbar.navbar-light .navbar-nav .nav-item > a::before {
    bottom: -4px;
    transform-origin: left;
}

.main-navbar .navbar.navbar-light .navbar-nav .nav-item > a::after {
    bottom: -9px;
    transform-origin: right;
    transition-delay: 0.08s;
    opacity: 0.5;
}

.main-navbar .navbar.navbar-light .navbar-nav .nav-item > a:hover::before,
.main-navbar .navbar.navbar-light .navbar-nav .nav-item > a:hover::after,
.main-navbar .navbar.navbar-light .navbar-nav .nav-item.active > a::before,
.main-navbar .navbar.navbar-light .navbar-nav .nav-item.active > a::after {
    transform: scaleX(1);
}

/* --- Footer links: double underline on hover --- */
.single-footer-widget .quick-link li a {
    position: relative;
    text-decoration: none;
    display: inline;
}

.single-footer-widget .quick-link li a::before,
.single-footer-widget .quick-link li a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #00C195;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.single-footer-widget .quick-link li a::before {
    bottom: -2px;
    transform-origin: left;
}

.single-footer-widget .quick-link li a::after {
    bottom: -6px;
    transform-origin: right;
    transition-delay: 0.06s;
    opacity: 0.5;
}

.single-footer-widget .quick-link li a:hover::before,
.single-footer-widget .quick-link li a:hover::after {
    transform: scaleX(1);
}

/* --- Footer address info links: double underline --- */
.single-footer-widget .address-info li a {
    position: relative;
    text-decoration: none;
}

.single-footer-widget .address-info li a::before,
.single-footer-widget .address-info li a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #00C195;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.single-footer-widget .address-info li a::before {
    bottom: -2px;
    transform-origin: left;
}

.single-footer-widget .address-info li a::after {
    bottom: -6px;
    transform-origin: right;
    transition-delay: 0.06s;
    opacity: 0.5;
}

.single-footer-widget .address-info li a:hover::before,
.single-footer-widget .address-info li a:hover::after {
    transform: scaleX(1);
}

/* --- Content area links: subtle double underline --- */
.content-area a:not(.main-default-btn):not(.choose-btn):not(.quote-btn):not(.sign-up):not(.nav-link),
.about-style-content a:not(.main-default-btn):not(.quote-btn) {
    position: relative;
    text-decoration: none;
}

.content-area a:not(.main-default-btn):not(.choose-btn):not(.quote-btn):not(.sign-up):not(.nav-link)::before,
.content-area a:not(.main-default-btn):not(.choose-btn):not(.quote-btn):not(.sign-up):not(.nav-link)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.content-area a:not(.main-default-btn):not(.choose-btn):not(.quote-btn):not(.sign-up):not(.nav-link)::before {
    bottom: -1px;
}

.content-area a:not(.main-default-btn):not(.choose-btn):not(.quote-btn):not(.sign-up):not(.nav-link)::after {
    bottom: -4px;
    opacity: 0.2;
}

.content-area a:not(.main-default-btn):not(.choose-btn):not(.quote-btn):not(.sign-up):not(.nav-link):hover::before,
.content-area a:not(.main-default-btn):not(.choose-btn):not(.quote-btn):not(.sign-up):not(.nav-link):hover::after {
    opacity: 0.8;
}


