:root {
    --nav-color: #012970;
    --light-primary: #4d7ccc;
    --color-assigned: #20c997;
    --color-today: #fd7e14;
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

/* Underline default */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #242A69;
    transition: width 0.3s;
}


/* Show underline on hover */
.nav-link:hover::after {
    width: 100%;
}

.service-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    background-color: #E8F6F3;
    color: #1B7F6B;
    border-radius: 50px;
    white-space: nowrap;
}

.compact-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    @media (min-width: 992px) {
        .compact-section {
            min-height: 60vh;
            padding-top: 4rem;
            padding-bottom: 4rem;
        }
    }

    /* Hero Title */
.hero-title {
    font-family: 'Candal', sans-serif;
    color: #60A7D9;
    line-height: 1.2;
    word-wrap: break-word;
}

/* Hero Subtitle */
.hero-subtitle {
    line-height: 1.6;
}

/* Desktop View */
@media (min-width: 992px) {
    .hero-title {
        font-size: 64px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

img:hover {
    transform: scale(1.05);
    transition: 0.3s;
}

.step-card {
    border-radius: 20px;
    background: #ffffff;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    background: rgba(36, 42, 105, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 30px;
    color: #242A69;
}

.step-badge {
    display: inline-block;
    font-weight: bold;
    color: #242A69;
    font-size: 14px;
    letter-spacing: 2px;
}

/* .slider {
    overflow: hidden;
    position: relative;
}

.slide-track {
    display: flex;
    width: calc(250px * 12);
    animation: scrollLeft 25s linear infinite;
}

.slide {
    width: 250px;
    margin: 0 15px;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.slide:hover {
    transform: translateY(-10px);
}

ANIMATION
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* PAUSE ON HOVER */
/* .slider:hover .slide-track {
    animation-play-state: paused;
}

.slider::before,
.slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}  */

/* .testimonial-card {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    padding-top: 60px;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

Avatar
.testimonial-avatar {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}

/* Quote Icon */
/* .quote-icon i {
    font-size: 30px;
    color: #242A69;
    opacity: 0.2;
}  */

.hover-scale {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-scale:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    }
    
    /* Custom Primary Color Override if needed */
    .btn-primary {
        background-color: #0d6efd; /* Change to your brand color */
        border-color: #0d6efd;
    }

 /* Hover Zoom Effect for Images */
    .hover-zoom {
        transition: transform 0.4s ease;
    }
    .group-hover:hover .hover-zoom,
    .hover-zoom:hover {
        transform: scale(1.05);
    }

    /* Button Hover Lift Effect */
    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(36, 42, 105, 0.25) !important;
    }

    /* Text Hover Color */
    .hover-primary:hover {
        color: #242A69 !important;
    }

    /* Floating Animation */
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    /* Smooth Gradient Text Accent */
    .text-primary {
        color: #242A69 !important;
    }
    
    /* Responsive Adjustments */
    @media (max-width: 991px) {
        .display-5 {
            font-size: 2.5rem;
        }
    }

    /* Card Hover Lift Effect */
    .hover-lift {
        transition: transform 0.35s ease, box-shadow 0.35s ease;
        will-change: transform;
    }
    .hover-lift:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(36, 42, 105, 0.15) !important;
    }

    /* Pulse Animation for Step Numbers */
    @keyframes pulse {
        0% { transform: scale(1); opacity: 0.6; }
        50% { transform: scale(1.15); opacity: 0.3; }
        100% { transform: scale(1); opacity: 0.6; }
    }

    /* Desktop Connector Line */
    .step-connector-line {
        flex: 1;
        height: 3px;
        margin: 35px 10px;
        background: linear-gradient(90deg, 
            #242A69 0%, 
            #242A69 33%, 
            #FFC107 33%, 
            #FFC107 66%, 
            #198754 66%, 
            #198754 100%);
        border-radius: 2px;
        position: relative;
    }
    
    /* Connector Dots */
    .step-connector-line::before,
    .step-connector-line::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        background: #fff;
        border: 3px solid #242A69;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
    }
    .step-connector-line::before { left: -6px; }
    .step-connector-line::after { right: -6px; border-color: #198754; }

    /* Icon Wrapper Hover */
    .icon-wrapper {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .step-card:hover .icon-wrapper {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    /* Progress Bar Animation */
    .progress-bar {
        transition: width 0.6s ease;
    }

    /* Responsive Adjustments */
    @media (max-width: 991px) {
        .step-connector-line { display: none; }
        
        .step-card {
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
        }
        
        .step-card::before {
            content: '';
            position: absolute;
            left: 50%;
            top: -1.5rem;
            width: 20px;
            height: 20px;
            background: #fff;
            border: 3px solid #242A69;
            border-radius: 50%;
            transform: translateX(-50%);
            z-index: 3;
        }
    }

/* Custom Purple Color for Tech Category */
    .text-purple { color: #6f42c1 !important; }
    .bg-purple { background-color: #6f42c1 !important; }
    .bg-purple.bg-opacity-10 { background-color: rgba(111, 66, 193, 0.1) !important; }

    /* Slider Wrapper */
    .slider-wrapper {
        position: relative;
        overflow: hidden;
        padding: 1rem 0;
        margin: 0 -15px; /* Extend to edges */
    }

    /* Slide Track - Infinite Scroll Animation */
    .slide-track {
        display: flex;
        gap: 1.25rem;
        width: max-content;
        animation: scrollLeft 45s linear infinite;
        will-change: transform;
    }

    /* Pause animation on hover for better UX */
    .slide-track:hover {
        animation-play-state: paused;
    }

    @keyframes scrollLeft {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); } /* Move half (duplicate set) */
    }

    /* Individual Slide */
    .service-card-slide {
        flex: 0 0 auto;
        width: 260px;
    }

    /* Service Card Design */
    .service-card {
        background: #fff;
        border-radius: 16px;
        padding: 1.5rem;
        text-align: center;
        box-shadow: 0 4px 20px rgba(36, 42, 105, 0.08);
        transition: all 0.35s ease;
        cursor: pointer;
        position: relative;
        border: 1px solid rgba(36, 42, 105, 0.05);
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(36, 42, 105, 0.15);
        border-color: rgba(36, 42, 105, 0.2);
    }

    /* Icon Wrapper */
    .service-icon-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card:hover .service-icon-wrapper {
        transform: scale(1.1) rotate(3deg);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    /* Service Tag/Badge */
    .service-tag {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        border-radius: 50px;
        font-size: 0.7rem;
        font-weight: 600;
        background: rgba(36, 42, 105, 0.1);
        color: #242A69;
        margin-top: auto;
    }

    .service-tag.bg-success { background: rgba(25, 135, 84, 0.15); color: #198754; }
    .service-tag.bg-info { background: rgba(13, 202, 240, 0.15); color: #0dcaf0; }
    .service-tag.bg-warning { background: rgba(255, 193, 7, 0.2); color: #856404; }
    .service-tag.bg-purple { background: rgba(111, 66, 193, 0.15); color: #6f42c1; }
    .service-tag.bg-danger { background: rgba(220, 53, 69, 0.15); color: #dc3545; }

    /* Hover Lift for Buttons */
    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-lift:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .service-card-slide {
            width: 220px;
        }
        .service-card {
            padding: 1.25rem;
        }
        .service-icon-wrapper {
            width: 60px;
            height: 60px;
        }
        .slide-track {
            animation-duration: 35s; /* Faster on mobile */
            gap: 1rem;
        }
    }

    @media (max-width: 480px) {
        .service-card-slide {
            width: 190px;
        }
        .display-4 {
            font-size: 2rem;
        }
    }

    /* Reduce motion preference */
    @media (prefers-reduced-motion: reduce) {
        .slide-track {
            animation: none;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
        }
        .service-card-slide {
            scroll-snap-align: start;
        }
    }

/* Card Hover Lift Effect */
    .hover-lift {
        transition: transform 0.35s ease, box-shadow 0.35s ease;
        will-change: transform;
    }
    .hover-lift:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(36, 42, 105, 0.12) !important;
    }

    /* Avatar Wrapper Hover */
    .avatar-wrapper img {
        transition: transform 0.3s ease;
    }
    .testimonial-card:hover .avatar-wrapper img {
        transform: scale(1.05);
    }

    /* Custom Primary Color Override if needed */
    .text-primary { color: #242A69 !important; }
    
    /* Smooth Border Radius */
    .testimonial-card {
        border-radius: 16px;
        background: #fff;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .display-4 { font-size: 2.2rem; }
        .testimonial-card { margin-bottom: 1rem; }
    }

    :root {
        --footer-bg: #242A69;
        --footer-accent: #3A8B95;
        --footer-accent-light: #4da3b0;
        --footer-text: #e2e6f0;
    }

    .footer-section {
        background-color: var(--footer-bg);
        position: relative;
    }

    .footer-bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 10% 20%, rgba(58, 139, 149, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 90% 80%, rgba(36, 42, 105, 0.4) 0%, transparent 60%);
        pointer-events: none;
    }

    .footer-brand {
        font-family: 'Candal', sans-serif;
        letter-spacing: 1px;
        position: relative;
        display: inline-block;
    }
    .footer-brand::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--footer-accent);
        border-radius: 2px;
    }

    .footer-heading {
        color: var(--footer-accent);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.85rem;
    }

    .footer-links li a {
        color: var(--footer-text);
        transition: all 0.25s ease;
        opacity: 0.85;
    }
    .footer-links li a:hover {
        color: var(--footer-accent-light);
        opacity: 1;
        padding-left: 4px;
    }

    /* Social Buttons */
    .social-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: var(--footer-text);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .social-btn:hover {
        background: var(--footer-accent);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(58, 139, 149, 0.4);
    }

    /* Newsletter Input */
    .newsletter-form input {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        backdrop-filter: blur(4px);
    }
    .newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
    .newsletter-form input:focus {
        background: rgba(255, 255, 255, 0.12);
        border-color: var(--footer-accent);
        box-shadow: 0 0 0 0.2rem rgba(58, 139, 149, 0.3);
        color: #fff;
    }

    /* Divider & Bottom Bar */
    .footer-divider {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    .footer-bottom .btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.3);
    }

    /* Hover Lift Utility */
    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-lift:hover {
        transform: translateY(-2px);
    }

    /* Responsive Tweaks */
    @media (max-width: 768px) {
        .footer-section .row > div { margin-bottom: 1.5rem; }
        .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    }

    :root {
        --nav-height: 80px;
        --nav-scrolled-height: 65px;
        --primary: #242A69;
        --accent: #3A8B95;
    }

    /* Header Base */
    #main-header {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 2px 15px rgba(36, 42, 105, 0.06);
    }
    #main-header.scrolled {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        box-shadow: 0 4px 20px rgba(36, 42, 105, 0.1);
        background: rgba(255, 255, 255, 0.98);
    }

    /* Brand Logo */
    .logo-wrapper img {
        transition: transform 0.3s ease;
    }
    .navbar-brand:hover .logo-wrapper img {
        transform: scale(1.05) rotate(-3deg);
    }

    /* Nav Links */
    .nav-link {
        position: relative;
        font-weight: 500;
        color: #2c3e50 !important;
        padding: 0.5rem 0.25rem !important;
        transition: color 0.3s ease;
    }
    .nav-link:hover, .nav-link.active {
        color: var(--accent) !important;
    }
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--accent);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 2px;
    }
    .nav-link:hover::after, .nav-link.active::after {
        width: 65%;
    }

    /* Buttons */
    .btn-outline-primary {
        color: var(--primary);
        border-color: var(--primary);
    }
    .btn-outline-primary:hover {
        background: var(--primary);
        color: #fff;
    }
    .btn-primary {
        background: var(--primary);
        border-color: var(--primary);
    }
    .btn-primary:hover {
        background: #1b2054;
        border-color: #1b2054;
    }
    .hover-lift {
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .hover-lift:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(36, 42, 105, 0.15) !important;
    }

    /* Mobile Menu Polish */
    @media (max-width: 991.98px) {
        .navbar-collapse {
            background: #fff;
            padding: 1rem;
            border-radius: 16px;
            margin-top: 0.75rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }
        .nav-link {
            padding: 0.75rem 0 !important;
            border-bottom: 1px solid #f0f0f0;
        }
        .nav-link:last-child { border-bottom: none; }
        .d-flex.align-items-center.gap-3 {
            flex-direction: column;
            width: 100%;
            gap: 0.5rem !important;
        }
        .d-flex.align-items-center.gap-3 .btn { width: 100%; }
    }

    :root {
        --primary: #242A69;
        --accent: #3A8B95;
    }

    /* Filter Bar */
    .filter-bar { border: 1px solid rgba(36, 42, 105, 0.1); }
    .input-group-text, .form-control { transition: all 0.25s ease; }
    .form-control:focus { box-shadow: none; background: #f8f9fa; }

    /* Category Buttons */
    .cat-btn {
        background: transparent;
        border: 1px solid #e2e8f0;
        color: #64748b;
        padding: 0.4rem 1rem;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.25s ease;
        font-size: 0.9rem;
        font-weight: 500;
    }
    .cat-btn:hover { background: #f1f5f9; color: var(--primary); }
    .cat-btn.active { 
        background: var(--primary); 
        color: #fff; 
        border-color: var(--primary); 
        box-shadow: 0 4px 12px rgba(36, 42, 105, 0.2);
    }

    /* Service Card */
    .service-card { background: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .hover-lift:hover { 
        transform: translateY(-6px); 
        box-shadow: 0 15px 35px rgba(36, 42, 105, 0.12) !important; 
    }

    /* Category Pill */
    .category-pill {
        background: rgba(58, 139, 149, 0.1);
        color: var(--accent);
        padding: 0.25rem 0.75rem;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    /* Rating Badge */
    .rating-badge {
        background: #fffbeb;
        color: #d97706;
        padding: 0.2rem 0.6rem;
        border-radius: 8px;
        font-size: 0.8rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* Empty State */
    .empty-icon { font-size: 4rem; color: #cbd5e1; }
    
    /* Animation for filtering */
    .service-item { transition: opacity 0.3s ease, transform 0.3s ease; }
    .service-item.hidden { display: none; }

    /* Responsive */
    @media (max-width: 767.98px) {
        .filter-bar .row > div { text-align: center !important; }
        .filter-bar .col-md-7 { margin-top: 0.5rem; }
        .cat-btn { font-size: 0.8rem; padding: 0.3rem 0.8rem; }
    }