@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #004a8b;
    /* Bright IT Blue */
    --primary-hover: #1D4ED8;
    --secondary: #0EA5E9;
    /* Cyan / Light Blue */
    --accent: #F59E0B;
    /* Amber for CTA */
    --dark: #0F172A;
    /* Slate 900 for modern dark tech feel */
    --darker: #020617;
    --light: #F8FAFC;
    /* Slate 50 */
    --text-muted: #64748B;
    --border-color: #E2E8F0;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.4);

    --radius-md: 12px;
    --radius-lg: 24px;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #334155;
    background-color: #FFFFFF;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    color: var(--darker);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* =========================================
   Navbar & Logo Fixes
   ========================================= */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0 !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 60px;
}

/* Custom Hamburger Icon */
.navbar-toggler {
    border: none !important;
    padding: 0 !important;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent !important;
}

.navbar-toggler span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--darker);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Sidebar Styling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #ffffff !important;
        z-index: 2000 !important;
        transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
        display: block !important;
        padding: 30px !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        visibility: hidden;
    }

    .sidebar-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #f1f5f9;
    }

    .sidebar-header img {
        height: 40px;
    }

    .close-sidebar {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--dark);
        cursor: pointer;
        padding: 5px;
        line-height: 1;
    }

    .navbar-collapse.show {
        right: 0;
        visibility: visible;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .nav-item.nav-link {
        font-weight: 600 !important;
        padding: 18px 0 !important;
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        color: var(--dark) !important;
    }

    .nav-item.nav-link:hover {
        color: var(--primary) !important;
    }

    .navbar-toggler.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .navbar-toggler.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Sidebar Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--dark) !important;
    padding: 10px 20px !important;
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s ease !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: rgba(37, 99, 235, 0.05);
}

/* Topbar */
.bg-dark {
    background-color: var(--dark) !important;
}

.topbar-right {
    background: var(--primary) !important;
    padding-left: 20px !important;
}

.topbar-right span {
    font-size: 14px !important;
}

/* =========================================
   Buttons
   ========================================= */
.footer-social .btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 14px 16px !important;
    text-transform: none !important;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #FFF !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-glow) !important;
}

/* =========================================
   Hero Section / Carousel
   ========================================= */
.carousel-item {
    height: 85vh;
    min-height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.4) 100%) !important;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    text-align: left !important;
}

.carousel-caption h1 {
    font-size: 4rem !important;
    line-height: 1.1;
    color: #FFFFFF !important;
    margin-bottom: 24px !important;
    font-weight: 800 !important;
}

.carousel-caption p {
    font-size: 1.25rem !important;
    color: var(--light) !important;
    letter-spacing: 2px;
    font-family: 'Outfit', sans-serif;
}

/* =========================================
   IT Service Cards
   ========================================= */
.service-item,
.card {
    background: #FFFFFF !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-color) !important;
    padding: 40px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.4s ease !important;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-item:hover,
.card:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

.service-img,
.icon-wrapper {
    width: 70px !important;
    height: 70px !important;
    background: rgba(37, 99, 235, 0.1) !important;
    border-radius: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px !important;
    transition: all 0.4s ease !important;
}

.service-item:hover .service-img,
.card:hover .icon-wrapper {
    background: var(--primary) !important;
}

.service-img img {
    width: 35px !important;
    filter: invert(34%) sepia(85%) saturate(2256%) hue-rotate(209deg) brightness(96%) contrast(93%);
    transition: all 0.4s ease !important;
}

.service-item:hover .service-img img {
    filter: brightness(0) invert(1) !important;
}

.service-detail h3,
.card h3 {
    font-size: 24px !important;
    color: var(--darker) !important;
    margin-bottom: 16px !important;
}

.service-detail p,
.card p {
    color: var(--text-muted) !important;
    font-size: 15px !important;
    line-height: 1.6;
}

/* Hide ugly default overlay lines */
hr.w-25 {
    display: none !important;
}

.service-text,
.service-title {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    text-align: left !important;
}

.service-text p.text-white {
    display: none !important;
    /* Hidden old overlay text */
}

/* Remove old hover image scaling messes */
.service-item>img {
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    height: 220px !important;
    object-fit: cover;
    width: 100%;
}

/* =========================================
   Section Headings
   ========================================= */
section,
.py-5 {
    padding: 80px 0 !important;
}

.section-title h2,
.display-5 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: var(--dark) !important;
    margin-bottom: 50px !important;
    text-align: center;
}

.service-detail-content .display-5,
.service-detail-content h1,
.service-detail-content h2,
.service-detail-content h3,
.service-detail-content h4,
.service-detail-content h5 {
    text-align: left !important;
    margin-bottom: 25px !important;
    color: var(--darker);
}

.service-detail-content {
    text-align: left !important;
}

.service-detail-content p,
.service-detail-content ul,
.service-detail-content li {
    text-align: left !important;
}

p.text-primary.text-uppercase {
    color: var(--primary) !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    font-family: 'Outfit', sans-serif;
}

/* =========================================
   Modern Images & Overlays
   ========================================= */
img {
    border-radius: var(--radius-md);
}

.hovereffect .overlay {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(5px);
    border-radius: var(--radius-md);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--darker) !important;
    color: var(--text-muted) !important;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h4 {
    color: #FFFFFF !important;
    font-size: 20px !important;
    margin-bottom: 25px !important;
}

.footer .btn-link {
    color: var(--text-muted) !important;
}

.footer .btn-link:hover {
    color: var(--primary) !important;
    padding-left: 8px !important;
}

.copyright {
    background: var(--darker) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 25px 0 !important;
    color: var(--text-muted) !important;
}

/* =========================================
   Overrides for specific inline styles
   ========================================= */
.text-primary {
    color: var(--primary) !important;
}

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

/* Remove ugly borders */
.border {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md);
}

/* Progress bars for skills */
.progress {
    height: 10px !important;
    border-radius: 10px !important;
    background: var(--border-color) !important;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--secondary), var(--primary)) !important;
    border-radius: 10px !important;
}

/* Project Cards */
.project-item {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

.project-title {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
}

/* Clean up custom icons */
.fixed-icons a {
    box-shadow: var(--shadow-lg);
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 24px !important;
}

/* =========================================
   Modern Unique Header & Footer
   ========================================= */

/* Topbar */
.modern-topbar {
    background: var(--darker);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-info a {
    color: #e9e9e9;
    font-size: 14px;
    margin-right: 25px;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.top-info a i {
    color: #0ea5e9;
    margin-right: 8px;
}

.top-info a:hover {
    color: #FFF;
}

.top-social a {
    color: #e9e9e9;
    margin-left: 20px;
    font-size: 15px;
    transition: all 0.3s;
}

.top-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
    display: inline-block;
}

.text-success {
    color: #17ff94 !important;
}

/* Navbar */
.modern-navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    padding: 15px 0 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.modern-navbar .navbar-brand img {
    max-height: 55px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-navbar .navbar-brand:hover img {
    transform: scale(1.05);
}

.modern-navbar .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600 !important;
    color: var(--dark) !important;
    font-size: 16px !important;
    padding: 10px 18px !important;
    margin: 0 5px;
    border-radius: 50px;
    position: relative;
    transition: all 0.3s ease !important;
}

.modern-navbar .nav-link:hover,
.modern-navbar .nav-link.active {
    color: var(--primary) !important;
    background: rgba(37, 99, 235, 0.08);
}

.nav-btn {
    border-radius: 50px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2) !important;
}

.nav-btn:hover {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Footer */
.modern-footer {
    background: #0B1120;
    color: #94A3B8;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
}

.footer-logo img {
    max-height: 60px;
    background: #FFF;
    padding: 10px 20px;
    border-radius: 12px;
}

.footer-text {
    line-height: 1.8;
    font-size: 15px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social .btn-square {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #FFF !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social .btn-square:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4) !important;
}

.footer-title {
    color: #F8FAFC !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 5px;
}

.footer-links a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-contact p i {
    color: var(--primary);
    margin-top: 5px;
    margin-right: 15px;
    font-size: 16px;
}

.footer-bottom {
    background: #020617;
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    margin: 0;
    color: #64748B;
    font-size: 14px;
}

.footer-bottom a {
    color: #F8FAFC;
    text-decoration: none;
    font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--primary) !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
    display: none;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.5);
}

/* =========================================
   Sleek Carousel Arrows
   ========================================= */
.carousel-control-prev,
.carousel-control-next {
    width: 8% !important;
    opacity: 0 !important;
    transition: all 0.4s ease !important;
}

#header-carousel:hover .carousel-control-prev,
#header-carousel:hover .carousel-control-next {
    opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 60px !important;
    height: 60px !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    background-size: 24px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: scale(1.1);
}

/* =========================================
   Modern About Us Section
   ========================================= */
.py-6 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-img-box {
    z-index: 1;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: transform 0.3s ease;
}

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

.bg-primary-subtle {
    background-color: rgba(37, 99, 235, 0.1) !important;
}

.tracking-wide {
    letter-spacing: 2px;
}

/* =========================================
   Modern Services (What We Do)
   ========================================= */
.modern-service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modern-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    transition: all 0.4s ease;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modern-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.modern-service-card:hover::before {
    height: 100%;
    border-radius: var(--radius-lg);
}

.modern-service-card:hover h4,
.modern-service-card:hover p {
    color: #ffffff !important;
}

.modern-service-card:hover .service-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

.service-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

/* =========================================
   Premium Image Service Cards (Our Services)
   ========================================= */
.premium-service-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.premium-service-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.premium-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-service-card:hover .premium-service-img img {
    transform: scale(1.1);
}

.premium-service-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
}

.premium-service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.premium-service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.premium-service-card:hover .premium-service-content h3 {
    color: var(--primary);
}

.premium-service-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.read-more-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.read-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-hover);
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* =========================================
   Modern Portfolio Section
   ========================================= */
.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    /* width: 100%; */
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.9) 0%, rgba(11, 17, 32, 0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
}

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

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-category {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-link-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
}

.portfolio-item:hover .portfolio-link-btn {
    opacity: 1;
    transform: scale(1);
}

.portfolio-link-btn:hover {
    background: #ffffff;
    color: var(--primary);
}

/* =========================================
   Modern Skills Section
   ========================================= */
.skill-wrapper {
    margin-bottom: 25px;
}

.skill-wrapper .skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
}

.skill-wrapper .progress {
    height: 10px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 5px;
    overflow: visible;
}

.skill-wrapper .progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 5px;
    position: relative;
    overflow: visible;
}

.skill-wrapper .progress-bar::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 5px solid var(--secondary);
    box-shadow: var(--shadow-sm);
    transform: translateX(50%);
}

.skills-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.skills-img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.skills-experience-badge {
    position: absolute;
    bottom: -30px;
    left: 40px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.8);
    animation: pulseBadge 3s infinite;
}

.skills-experience-badge h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1;
}

.skills-experience-badge p {
    margin: 0;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4), 0 0 0 10px rgba(255, 255, 255, 0.8);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 99, 235, 0), 0 0 0 10px rgba(255, 255, 255, 0.8);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0), 0 0 0 10px rgba(255, 255, 255, 0.8);
    }
}

/* =========================================
   Floating Contact Icons (Left Side)
   ========================================= */
.fixed-icons {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fixed-icons a {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #ffffff;
}

.fixed-icons a.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.fixed-icons a.call {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.fixed-icons a.email {
    background: linear-gradient(135deg, #ea4335, #c5221f);
}

.fixed-icons a:hover {
    transform: translateX(10px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Tooltips */
.fixed-icons a::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    margin-left: 15px;
    background: #333333;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: var(--shadow-sm);
}

.fixed-icons a::before {
    content: '';
    position: absolute;
    left: 100%;
    margin-left: 4px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent #333333 transparent transparent;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.fixed-icons a:hover::after,
.fixed-icons a:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* =========================================
   Testimonials Slider (Infinite CSS Scroll)
   ========================================= */
.testimonial-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}

.testimonial-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Fading edges */
.testimonial-slider-container::before,
.testimonial-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonial-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.testimonial-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollTestimonials 50s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.testimonial-card {
    background: #F8FAFC;
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 420px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    background: #ffffff;
    border-color: var(--primary);
}

.testimonial-quote-icon {
    font-size: 40px;
    color: rgba(37, 99, 235, 0.15);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Impact / Facts Counter Section (IT Theme)
   ========================================= */
.impact-section {
    padding: 80px 0;
    position: relative;
    background: #ffffff;
    z-index: 1;
    overflow: hidden;
}

.impact-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.impact-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.6s ease;
}

.impact-card:hover::before {
    transform: scale(5);
    background: var(--primary);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
    border-color: transparent;
}

.impact-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.impact-icon {
    font-size: 32px;
    color: var(--primary);
    transition: all 0.5s ease;
}

.impact-card:hover .impact-icon-wrapper {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.impact-card:hover .impact-icon {
    transform: rotateY(180deg);
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1;
    transition: all 0.4s ease;
}

.impact-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    transition: all 0.4s ease;
}

.impact-card:hover .impact-number,
.impact-card:hover .impact-text {
    color: #ffffff;
}

/* =========================================
   Call To Action (CTA) Section
   ========================================= */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-image: url('../img/software-slider.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    /* Deep dark blue overlay */
    z-index: -1;
}

.cta-content {
    text-align: center;
    color: #ffffff;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: var(--primary);
    color: #ffffff;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* =========================================
   Premium CTA Section
   ========================================= */
.premium-cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #0A192F 0%, #112240 100%);
    border-radius: 40px;
    overflow: hidden;
    margin-top: 50px;
    margin-bottom: 50px;
}

.premium-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.cta-premium-content {
    position: relative;
    z-index: 1;
}

.cta-premium-content h2 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-premium-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.cta-premium-btn {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-premium-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* =========================================
   Utility Classes
   ========================================= */
.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15) !important;
    border-color: var(--primary) !important;
}

/* =========================================
   Filterable Portfolio Section
   ========================================= */
.portfolio-filter {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.filter-btn i {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.filter-btn:hover i,
.filter-btn.active i {
    color: #ffffff;
}

.filter-btn .filter-count {
    background: #f1f5f9;
    color: var(--text-muted);
    border-radius: 50px;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.portfolio-thumbnail {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
    margin-bottom: 30px;
    display: block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.portfolio-thumbnail:hover img {
    transform: scale(1.1);
}

/* =========================================
   Contact Page Styles
   ========================================= */
.contact-info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.1);
    border-color: var(--primary);
}

.contact-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(0, 123, 255, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-icon-box {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

.contact-card-title {
    color: #0A192F;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.contact-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(0, 123, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.contact-form-input {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    background: #F8FAFC !important;
    padding: 15px !important;
    font-size: 0.95rem !important;
}

.contact-form-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1) !important;
    background: #ffffff !important;
}

.contact-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-feature-icon {
    min-width: 45px;
    height: 45px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    font-size: 14px;
}

.contact-feature-text {
    color: #0A192F;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* =========================================
   Service Detail Page Styles
   ========================================= */
.service-feature-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.05);
    transition: all 0.3s ease;
}

.service-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1);
    border-color: var(--primary);
}

.service-feature-icon {
    min-width: 45px;
    height: 45px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    font-size: 14px;
}

.service-feature-title {
    color: #0A192F;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.service-sidebar-title {
    color: #0A192F;
    font-weight: 700;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
    margin-bottom: 25px;
}

.service-sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.service-sidebar-link i {
    font-size: 12px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.service-sidebar-link:hover,
.service-sidebar-link.active {
    background: var(--primary);
    color: #ffffff;
}

.service-sidebar-link:hover i,
.service-sidebar-link.active i {
    transform: translateX(5px);
    color: #ffffff;
}

/* Mobile Responsiveness for Headings */
@media (max-width: 768px) {
    .display-1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    .display-2 {
        font-size: 2.2rem !important;
    }

    .display-3 {
        font-size: 2rem !important;
    }

    .display-4 {
        font-size: 1.8rem !important;
    }

    .display-5 {
        font-size: 1.6rem !important;
    }

    .carousel-item img {
        height: 100vh !important;
        object-fit: cover !important;
    }

    .carousel-caption h1 {
        font-size: 2.5rem !important;
    }

    .carousel-caption p {
        font-size: 1rem !important;
    }
}

/* =========================================
   Service Content Helpers
   ========================================= */
.btn-sm-square {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-lg-square {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.process-steps {
    position: relative;
    padding-left: 0;
}

.process-steps .d-flex {
    position: relative;
    z-index: 1;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 74, 139, 0.1);
    z-index: 0;
}

.process-steps .flex-shrink-0 {
    position: relative;
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 74, 139, 0.3);
}

.service-feature-item {
    padding: 15px !important;
    margin-bottom: 10px;
}

.service-feature-item i {
    font-size: 14px;
}