/********** Template CSS **********/
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 16px;
    text-transform: uppercase;
    outline: none;
}
.navbar-brand img {
    height: 90px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    /* */
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 90px;
    /* */
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/* Styles for the search icon button and profile icon */
.search-icon-btn,
.profile-icon-btn { /* Added this class for consistent styling */
    background: none;
    border: none;
    color: #06BBCC; /* Primary color */
    font-size: 1.25rem; /* Larger icon */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1050; /* Higher than search-bar-overlay */
    display: flex; /* To center icon */
    align-items: center;
    justify-content: center;
    padding: 0 25px; /* Adjust padding to match px-lg-5 from original sign-in button */
    height: 100%; /* Ensure it takes full height of navbar space */
}

.search-icon-btn:hover,
.profile-icon-btn:hover { /* Added hover for profile icon */
    background-color: rgba(6, 187, 204, 0.1); /* Light primary background on hover */
}

/* Adjust padding for dropdowns to align with icons */
.navbar-nav .nav-item .dropdown-menu {
    margin-top: 0; /* Remove default margin from Bootstrap */
    border-radius: 0; /* Optional: Make corners sharp like Deloitte */
    border: none; /* Optional: Remove border */
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15); /* Add a subtle shadow */
}

/* Specific padding for profile dropdown to align with other icons/buttons */
#profile-dropdown > .nav-link {
    padding: 0 25px; /* Ensures consistent padding with search icon */
}

@media (min-width: 992px) { /* Adjust padding for large screens */
    #profile-dropdown > .nav-link {
         padding: 0 25px; /* Matches the px-lg-5 */
    }
}


/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/* Add to style.css */

@keyframes springBounceFade {
    0% {
        transform: translateY(20px) scale(0.5);
        opacity: 0;
    }
    30% {
        transform: translateY(-5px) scale(1.1);
        opacity: 1;
    }
    60% {
        transform: translateY(2px) scale(0.95);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.7; /* Keep them slightly visible */
    }
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    animation: springBounceFade 2.5s infinite cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Use a bouncy cubic-bezier */
    /* Ensure existing styles */
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

/* Optional: Stagger the animation */
.header-carousel .owl-nav .owl-prev {
    animation-delay: 0s;
}

.header-carousel .owl-nav .owl-next {
    animation-delay: 1.25s; /* Stagger half the animation duration */
}
/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service Box (Used for Digital Adoption, Analytics, etc.) ***/
/* New styles for the image theme service boxes */
.service-box {
    background-color: #ffffff;
    border-radius: 0.25rem; /* Slightly rounded corners */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Soft shadow */
    text-align: center;
    padding: 2.5rem 1.5rem; /* Increased padding */
    transition: all 0.3s ease-in-out;
    height: 100%; /* Ensures equal height in a grid */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-box:hover {
    transform: translateY(-0.5rem); /* Slight lift on hover */
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
}

.service-box a {
    text-decoration: none;
    color: var(--dark); /* Default text color */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.service-box .icon {
    font-size: 3.5rem; /* Larger icon size */
    color: var(--primary); /* Primary color for icons */
    margin-bottom: 1rem;
    line-height: 1; /* Adjust line height for icon */
}

.service-box h5 {
    font-weight: 700; /* Bold title */
    margin-bottom: 0;
    color: var(--dark);
}

/* Hover state for non-active service boxes: icon and text remain primary, only lift effect */
.service-box:not(.service-box-active):hover .icon,
.service-box:not(.service-box-active):hover h5 {
    color: var(--primary) !important;
}


/* Active state for service box (first one in image is highlighted) */
.service-box-active {
    background-color: #06BBCC; /* Primary color for active box */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); /* Slightly stronger shadow for active */
    transform: translateY(-0.25rem); /* Slight lift to show it's active */
}

.service-box-active .icon,
.service-box-active h5,
.service-box-active a {
    color: #ffffff !important; /* White color for icon and text in active box */
}


/* Force equal height on service items */
.row.g-4 {
    display: flex;
    flex-wrap: wrap;
}

.row.g-4 > [class*="col-"] {
    display: flex;
    flex-direction: column;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}

img {
    transition: transform 0.5s ease;
}

img:hover {
    transform: scale(1.05);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** What We Do - Service Card Styles (Image with Text Overlay) ***/
.service-card {
    position: relative;
    display: block; /* Makes the entire card clickable */
    overflow: hidden;
    border-radius: 0.5rem; /* Consistent rounded corners */
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08); /* Subtle shadow for consistency with addant.com */
    height: 300px; /* Fixed height for consistency among cards */
    text-decoration: none;
    color: #fff; /* Default text color for content overlaid on image */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transitions */
}

.service-card:hover {
    transform: translateY(-8px); /* Lift effect on hover, consistent with previous plan */
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15); /* More pronounced shadow on hover */
}

.service-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.6); /* Darken image initially for better text contrast */
}

.service-card:hover .service-card-img {
    transform: scale(1.1); /* Zoom image on hover */
    filter: brightness(0.8); /* Slightly lighten image on hover */
}

.service-card-overlay {
    position: absolute;
    bottom: 0; /* Align content to the bottom */
    left: 0;
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push content to the bottom */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%); /* Gradient overlay */
    transition: background 0.5s ease;
    height: 100%; /* Overlay covers full height to ensure content is always positioned correctly */
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%); /* Darker gradient on hover */
}

.service-card-title {
    color: #FFFFFF; /* White title text */
    font-size: 1.3rem; /* Slightly larger title for impact */
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease-in-out;
}

.service-card:hover .service-card-title {
    color: var(--primary); /* Title color changes to primary on hover */
}

.service-card-text {
    color: rgba(255, 255, 255, 0.8); /* Slightly transparent white for description */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem; /* Space before "READ MORE" */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit text to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1; /* Initially visible */
    transition: opacity 0.3s ease-in-out;
}

.service-card:hover .service-card-text {
    opacity: 0.8; /* Slightly less opaque on hover */
}

.service-card-readmore {
    color: var(--primary); /* Primary color for "READ MORE" */
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: 0.5rem; /* Space between text and read more */
}

.service-card-readmore i {
    margin-left: 8px;
    transition: transform 0.3s ease-in-out;
}

.service-card:hover .service-card-readmore i {
    transform: translateX(5px); /* Arrow slides right on hover */
}

/* Ensure equal height in a row for the whole card */
.row.g-4 > .col-lg-3 {
    display: flex;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Typing animation CSS */
.text-typing {
    /* Required for cursor to align correctly with text */
    display: inline-block;
    position: relative;
}

/* Cursor for the typing effect */
.text-typing::after {
    content: '|'; /* The blinking cursor */
    display: inline-block;
    animation: blink-caret 0.75s step-end infinite;
}

/* Blink animation for the cursor */
@keyframes blink-caret {
    from, to {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
/* Update this rule in your style.css to target the navbar container directly */
.navbar-nav {
    font-family: 'Nunito', sans-serif !important;
}
/* Blog Post Detail Page Specific Styles */
.blog-post-detail .post-content {
    text-align: justify;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333; /* Darker text for better readability */
    padding: 20px 0; /* Add some vertical padding */
}

.blog-post-detail .post-content p {
    margin-bottom: 1.5rem; /* Space between paragraphs */
}

.blog-post-detail .post-content ul,
.blog-post-detail .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 25px; /* Indent lists */
}

.blog-post-detail .post-content li {
    margin-bottom: 0.5rem; /* Space between list items */
}

.blog-post-detail .post-content h1,
.blog-post-detail .post-content h2,
.blog-post-detail .post-content h3,
.blog-post-detail .post-content h4,
.blog-post-detail .post-content h5,
.blog-post-detail .post-content h6 {
    color: var(--dark); /* Use your dark color for headings */
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-detail .post-content strong {
    font-weight: 700; /* Ensure strong tags are clearly bold */
}

.blog-post-detail .card-body {
    padding: 3rem; /* Increase padding inside the card for more breathing room */
}

.blog-post-detail .card-title {
    font-size: 2.2rem; /* Make the title more prominent */
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.blog-post-detail .meta {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2rem;
}