/* Fonts */

:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */

:root {
    --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
    --default-color: #444444;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #2c3e50;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #3498db;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
    --tech-primary: #667eea;
    --tech-secondary: #764ba2;
    --edtech-primary: #ff6b6b;
    --edtech-secondary: #feca57;
    --gradient-tech: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-edtech: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    --shadow-light: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2);
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */

:root {
    --nav-color: #2c3e50;
    /* The default color of the main navmenu links */
    --nav-hover-color: #3498db;
    /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff;
    /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff;
    /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #2c3e50;
    /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #3498db;
    /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f6fafd;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

.accent-background {
    --background-color: #3498db;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --accent-color: #ffffff;
    --surface-color: #3498db;
    --contrast-color: #ffffff;
}

.custom-software-bg {
    background: url("../img/custom-soft-bg.webp") no-repeat center;
    background-size: cover;
}

.ai-ml-bg {
    background: url("../img/3d/ai_3d.mp4") no-repeat center;
    background-size: cover;
}

.web-dev-bg {
    background: url('../img/web_dev.webp') no-repeat center center;
    /* Set your background image */
}

.e-commerce-bg {
    background: url("../img/shpping-cart.webp") no-repeat center;
    background-size: cover;
}

.upskilling-bg {
    background: url("../img/training-serv.webp") no-repeat center;
    background-size: cover;
}

.certifications-bg {
    background: url("../img/certification-serv.webp") no-repeat center;
    background-size: cover;
}

/* Smooth scroll */

:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/

body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/

.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient( var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

.pulsating-play-btn:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-play-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

.pulsating-play-btn:hover:after {
    border-left: 15px solid var(--accent-color);
    transform: scale(20);
}

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/* PHP Email Form Messages
------------------------------*/

.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
    border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 48px;
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 300;
    color: var(--default-color);
}

/* Header container improvements */
.header .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

/* Header navigation and buttons grouping */
.header-nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* Ensure proper spacing between navigation and buttons */
.header .navmenu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

/* Standardized button container */
.header-buttons-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Improved mobile navigation toggle */
.mobile-nav-toggle {
    order: 4;
    margin-left: 15px;
}

/* Specific color schemes for each button */
.header .btn-getstarted,
.header .btn-getstarted:focus,
.header .btn-register,
.header .btn-register:focus,
.header .btn-login,
.header .btn-login:focus,
.header .btn-course-dashboard,
.header .btn-course-dashboard:focus,
.header .btn-code-playground,
.header .btn-code-playground:focus,
.header .btn-logout,
.header .btn-logout:focus {
    color: var(--contrast-color);
    font-size: 14px;
    padding: 8px 20px;
    margin: 0 0 0 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    border: 2px solid transparent;
    white-space: nowrap;
    vertical-align: middle;
}

/* Specific color schemes for each button */
.header .btn-getstarted,
.header .btn-getstarted:focus {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.header .btn-register,
.header .btn-register:focus {
    background: #007bff;
    border-color: #007bff;
}

.header .btn-login,
.header .btn-login:focus {
    background: #28a745;
    border-color: #28a745;
}

.header .btn-course-dashboard,
.header .btn-course-dashboard:focus {
    background: #6f42c1;
    border-color: #6f42c1;
}

.header .btn-code-playground,
.header .btn-code-playground:focus {
    background: #fd7e14;
    border-color: #fd7e14;
}

.header .btn-logout,
.header .btn-logout:focus {
    background: #dc3545;
    border-color: #dc3545;
}

/* Hover effects for all buttons */
.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.header .btn-register:hover,
.header .btn-register:focus:hover {
    background: color-mix(in srgb, #007bff, transparent 15%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.header .btn-login:hover,
.header .btn-login:focus:hover {
    background: color-mix(in srgb, #28a745, transparent 15%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.header .btn-course-dashboard:hover,
.header .btn-course-dashboard:focus:hover {
    background: color-mix(in srgb, #6f42c1, transparent 15%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.header .btn-code-playground:hover,
.header .btn-code-playground:focus:hover {
    background: color-mix(in srgb, #fd7e14, transparent 15%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.header .btn-logout:hover,
.header .btn-logout:focus:hover {
    background: color-mix(in srgb, #dc3545, transparent 15%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Auth buttons container for better alignment */
#authButtons {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Single responsive media query for header elements */
@media (max-width: 1200px) {
    .header .container-fluid {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header .navmenu {
        order: 3;
        flex-basis: 100%;
        margin: 10px 0 0 0;
        justify-content: flex-start;
    }
    
    .header-nav-buttons {
        gap: 10px;
    }
    
    .header-buttons-group {
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .header .container-fluid {
        gap: 5px;
    }
    
    .header-nav-buttons {
        gap: 5px;
    }
    
    .header-buttons-group {
        gap: 3px;
    }
    
    .header .btn-getstarted,
    .header .btn-register,
    .header .btn-login,
    .header .btn-course-dashboard,
    .header .btn-code-playground,
    .header .btn-logout {
        padding: 5px 12px;
        font-size: 12px;
        margin: 0 5px 0 0;
    }
}

.scrolled .header {
    border-color: var(--contrast-color);
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Navmenu - Desktop */

@media (min-width: 1200px) {
    .header .container-fluid {
        align-items: center;
        min-height: 70px;
    }
    
    .header .navmenu ul {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
        gap: 5px;
    }
    
    .header .navmenu li {
        position: relative;
        margin: 0;
    }
}

.navmenu {
    padding: 0;
}
.navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}
.navmenu li {
    position: relative;
}
.navmenu a,
.navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
}
.navmenu a i,
.navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
}
.navmenu li:last-child a {
    padding-right: 0;
}
.navmenu li:hover>a,
.navmenu .active,
.navmenu .active:focus {
    color: var(--nav-hover-color);
}
.navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.navmenu .dropdown ul li {
    min-width: 200px;
}
.navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
}
.navmenu .dropdown ul a i {
    font-size: 12px;
}
.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
}
.navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}
.navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
}
.navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
}
}

/* Navmenu - Mobile */

@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }
    .navmenu {
        padding: 0;
        z-index: 9997;
    }
    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }
    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }
    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }
    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }
    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }
    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }
    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        transition: all 0.5s ease-in-out;
    }
    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }
    .navmenu .dropdown>.dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }
    .mobile-nav-active {
        overflow: hidden;
    }
    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }
    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }
    .mobile-nav-active .navmenu>ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
}

.footer .footer-about .logo {
    line-height: 1;
    margin-bottom: 25px;
}

.footer .footer-about .logo img {
    max-height: 48px;
}

.footer .footer-about .logo span {
    color: var(--heading-color);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--heading-font);
}

.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 50%);
    font-size: 16px;
    color: var(--accent-color);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    display: inline-block;
    line-height: 1.2;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 4px;
    font-size: 13px;
}

.footer .credits a {
    color: color-mix(in srgb, var(--contrast-color), transparent 30%);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--contrast-color);
    border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 6px 8px;
    position: relative;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    display: flex;
    background-color: var(--background-color);
    transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
    border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"] {
    border: 0;
    padding: 4px;
    width: 100%;
    background-color: var(--background-color);
    color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"]:focus-visible {
    outline: none;
}

.footer .footer-newsletter .newsletter-form input[type="submit"] {
    border: 0;
    font-size: 16px;
    padding: 0 20px;
    margin: -7px -8px -7px 0;
    background: var(--accent-color);
    color: var(--contrast-color);
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
}

.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/

.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/

@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/

.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.ai-ml-page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    text-align: center;
    position: relative;
}

.ai-ml-page-title:before {
    content: "";
    background-color: color-mix(in srgb, var(--background-color), transparent 50%);
    position: absolute;
    inset: 0;
}

.ai-ml-page-title:before {
    content: "";
    background-color: color-mix(in srgb, var(--background-color), transparent 50%);
    position: absolute;
    inset: 0;
}

.ai-ml-page-title h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ai-ml-page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.ai-ml-page-title .breadcrumbs ol li+li {
    padding-left: 10px;
}

.ai-ml-page-title .breadcrumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.page-title .breadcrumbs ol a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.page-title .breadcrumbs ol li+li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 100px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 76px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/

.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
    width: 100%;
    min-height: calc(100vh - 100px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px 0;
    overflow: hidden;
}

.hero:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 30%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h2 {
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    line-height: 72px;
}

.hero p {
    margin: 10px 0 0 0;
    font-size: 22px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.hero .btn-scroll {
    transition: 0.4s;
    color: var(--accent-color);
    display: block;
    margin-top: 0px;
    animation: btn-up-down 1s ease-in-out infinite alternate-reverse both;
}

.hero .btn-scroll i {
    font-size: 48px;
}

.hero .btn-scroll:hover {
    color: var(--accent-color);
}

.hero .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
    object-fit: contain;
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }
    .hero p {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}

@keyframes btn-up-down {
    0% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(-5px);
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }
    .hero p {
        font-size: 18px;
        line-height: 24px;
    }
}

.hero .btn-get-started {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 14px 50px;
    border-radius: 5px;
    transition: 0.5s;
    margin-top: 30px;
}

.hero .btn-get-started:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .icon-box {
    background-color: var(--surface-color);
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.hero .icon-box .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.hero .icon-box .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.hero .icon-box .description {
    font-size: 15px;
    margin-bottom: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.hero .icon-box .icon {
    margin-bottom: 20px;
    padding-top: 10px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    font-size: 36px;
    line-height: 1;
    color: var(--accent-color);
}

@media (min-width: 640px) {
    .hero .icon-box:hover {
        transform: scale(1.08);
    }
    .hero .icon-box:hover .title a {
        color: var(--accent-color);
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about ul {
    list-style: none;
    padding: 0;
}

.about ul li {
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}

.about ul i {
    font-size: 20px;
    padding-right: 4px;
    color: var(--accent-color);
}

.about .read-more {
    background: var(--accent-color);
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 10px 28px;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about .read-more i {
    font-size: 18px;
    margin-left: 5px;
    line-height: 0;
    transition: 0.3s;
}

.about .read-more:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.about .read-more:hover i {
    transform: translate(5px, 0);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/

.stats {
    padding: 30px 0;
}

.stats .stats-item {
    padding: 30px;
    width: 100%;
}

.stats .stats-item span {
    font-size: 48px;
    display: block;
    color: var(--accent-color);
    font-weight: 700;
}

.stats .stats-item p {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    padding: 0;
    margin: 0;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 600;
}

/*--------------------------------------------------------------
# About Alt Section
--------------------------------------------------------------*/

.about-alt .content h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

.about-alt .content ul {
    list-style: none;
    padding: 0;
}

.about-alt .content ul li {
    padding: 10px 0 0 0;
    display: flex;
}

.about-alt .content ul i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    line-height: 1.2;
    font-size: 1.25rem;
}

.about-alt .content p:last-child {
    margin-bottom: 0;
}

.about-alt .pulsating-play-btn {
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/

.clients {
    padding: 80px 0;
    overflow: hidden;
}

.clients .client-logo {
    padding: 20px;
    transition: all 0.3s ease;
}

.clients .client-item {
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clients .client-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--accent-color), 0.3);
}

.clients .client-item img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.clients .client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.clients .client-info h6 {
    color: var(--heading-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.clients .client-info p {
    color: var(--color-gray);
    font-size: 12px;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Infinite Scrolling Logos Section */
.clients .logos-scrolling-section {
    margin: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.clients .logos-scrolling-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(var(--accent-color), 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(var(--accent-color), 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.clients .scrolling-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.clients .scrolling-title h4 {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 15px;
}

.clients .scrolling-title p {
    color: var(--default-color);
    font-size: 16px;
    opacity: 0.8;
}

.clients .logos-marquee {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.clients .logos-marquee::before,
.clients .logos-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.clients .logos-marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
}

.clients .logos-marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
}

.clients .logos-scroll {
    display: inline-flex;
    animation: scroll-left 40s linear infinite;
    align-items: center;
}

.clients .logo-item {
    flex-shrink: 0;
    margin: 0 40px;
    background: white;
    border-radius: 15px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.clients .logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-color), 0.1), transparent);
    transition: left 0.6s ease;
}

.clients .logo-item:hover::before {
    left: 100%;
}

.clients .logo-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.clients .logo-item img {
    height: 60px;
    width: auto;
    max-width: 120px;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    opacity: 0.7;
}

.clients .logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Pause animation on hover */
.clients .logos-marquee:hover .logos-scroll {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Reverse scrolling for second row */
.clients .logos-scroll-reverse {
    animation: scroll-right 35s linear infinite;
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Stats section styling */
.clients .stats-item {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.clients .stats-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #007bff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.clients .stats-item:hover::before {
    transform: scaleX(1);
}

.clients .stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.clients .stats-item .purecounter {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color), #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.clients .stats-item p {
    color: var(--heading-color);
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 15px;
}

.clients .testimonial-content {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.clients .testimonial-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(var(--accent-color), 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.clients .testimonial-content h4 {
    color: var(--heading-color);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.clients .testimonial-content .blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 30px;
    margin: 0;
    position: relative;
    z-index: 2;
}

.clients .testimonial-content .blockquote p {
    color: var(--default-color);
    font-style: italic;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.6;
}

.clients .testimonial-content .blockquote-footer {
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clients {
        padding: 60px 0;
    }
    
    .clients .client-item {
        padding: 20px 10px;
    }
    
    .clients .client-item img {
        max-height: 60px;
    }
    
    .clients .stats-item .purecounter {
        font-size: 32px;
    }
    
    .clients .testimonial-content {
        padding: 30px 20px;
    }
    
    .clients .logo-item {
        margin: 0 20px;
        padding: 15px 20px;
    }
    
    .clients .logo-item img {
        height: 45px;
        max-width: 100px;
    }
    
    .clients .logos-scroll {
        animation: scroll-left 30s linear infinite;
    }
    
    .clients .logos-scroll-reverse {
        animation: scroll-right 25s linear infinite;
    }
}

@media (max-width: 576px) {
    .clients .client-logo {
        padding: 10px;
    }
    
    .clients .stats-item {
        padding: 20px 15px;
    }
    
    .clients .logo-item {
        margin: 0 15px;
        padding: 12px 18px;
    }
    
    .clients .scrolling-title h4 {
        font-size: 24px;
    }
}

/* Animation for client logos */
.clients .client-logo {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.clients .client-logo:nth-child(1) { animation-delay: 0.1s; }
.clients .client-logo:nth-child(2) { animation-delay: 0.2s; }
.clients .client-logo:nth-child(3) { animation-delay: 0.3s; }
.clients .client-logo:nth-child(4) { animation-delay: 0.4s; }
.clients .client-logo:nth-child(5) { animation-delay: 0.5s; }
.clients .client-logo:nth-child(6) { animation-delay: 0.6s; }
.clients .client-logo:nth-child(7) { animation-delay: 0.7s; }
.clients .client-logo:nth-child(8) { animation-delay: 0.8s; }
.clients .client-logo:nth-child(9) { animation-delay: 0.9s; }
.clients .client-logo:nth-child(10) { animation-delay: 1.0s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advanced Client Scroll Container */
.advanced-client-scroll-container {
    position: relative;
    margin: 80px 0;
    padding: 60px 0;
    background: linear-gradient(135deg, 
        rgba(19, 92, 152, 0.03) 0%, 
        rgba(19, 92, 152, 0.08) 50%, 
        rgba(19, 92, 152, 0.03) 100%);
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 92, 152, 0.1);
}

.advanced-client-scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(19, 92, 152, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(19, 92, 152, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(19, 92, 152, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Scroll Title Section */
.scroll-title-section {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.scroll-main-title {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--heading-color) 0%, #007bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(19, 92, 152, 0.2);
}

.scroll-subtitle {
    font-size: 18px;
    color: rgba(var(--default-color), 0.7);
    font-weight: 400;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Multi-Scroll Wrapper */
.multi-scroll-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin: 40px 0;
}

/* Scroll Layers */
.scroll-layer {
    position: absolute;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.scroll-layer-1 {
    top: 0;
    z-index: 3;
}

.scroll-layer-2 {
    top: 120px;
    z-index: 2;
}

.scroll-layer-3 {
    top: 50px;
    height: 200px;
    z-index: 1;
    opacity: 0.3;
}

/* Scroll Tracks */
.scroll-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    gap: 40px;
    padding: 0 20px;
}

/* Right to Left Animation */
.scroll-right-to-left {
    animation: scrollRightToLeft 25s linear infinite;
}

@keyframes scrollRightToLeft {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* Left to Right Animation */
.scroll-left-to-right {
    animation: scrollLeftToRight 30s linear infinite;
}

@keyframes scrollLeftToRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* Client Scroll Items */
.client-scroll-item {
    flex-shrink: 0;
    position: relative;
}

.client-scroll-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(20px);
}

.client-scroll-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(19, 92, 152, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.client-scroll-card:hover::before {
    left: 100%;
}

.client-scroll-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(19, 92, 152, 0.3);
}

.client-scroll-logo {
    height: 60px;
    width: auto;
    max-width: 140px;
    filter: grayscale(100%) brightness(1.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.client-scroll-card:hover .client-scroll-logo {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* Glow Effect */
.client-scroll-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(19, 92, 152, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.client-scroll-card:hover .client-scroll-glow {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Floating Animation Layer */
.scroll-floating {
    animation: floatingContainer 20s ease-in-out infinite;
}

@keyframes floatingContainer {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-client-item {
    position: absolute;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.floating-client-item:hover {
    opacity: 0.8;
}

.floating-1 {
    top: 20px;
    left: 10%;
    animation: floating1 6s ease-in-out infinite;
}

.floating-2 {
    top: 80px;
    right: 15%;
    animation: floating2 8s ease-in-out infinite;
}

.floating-3 {
    top: 40px;
    left: 60%;
    animation: floating3 7s ease-in-out infinite;
}

@keyframes floating1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes floating2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(12px) rotate(-1deg); }
    75% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes floating3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    40% { transform: translateY(-20px) rotate(1deg); }
    80% { transform: translateY(5px) rotate(-1deg); }
}

.floating-logo {
    height: 40px;
    width: auto;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.3s ease;
}

.floating-client-item:hover .floating-logo {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.2);
}

/* Gradient Overlays */
.scroll-gradient-left,
.scroll-gradient-right {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.scroll-gradient-left {
    left: 0;
    background: linear-gradient(90deg, 
        rgba(248, 250, 252, 1) 0%, 
        rgba(248, 250, 252, 0.9) 30%,
        rgba(248, 250, 252, 0.5) 70%,
        transparent 100%);
}

.scroll-gradient-right {
    right: 0;
    background: linear-gradient(270deg, 
        rgba(248, 250, 252, 1) 0%, 
        rgba(248, 250, 252, 0.9) 30%,
        rgba(248, 250, 252, 0.5) 70%,
        transparent 100%);
}

/* Performance Indicator */
.scroll-performance-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(19, 92, 152, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.performance-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(19, 92, 152, 0.6) 0%, 
        rgba(19, 92, 152, 1) 50%, 
        rgba(19, 92, 152, 0.6) 100%);
    border-radius: 2px;
    animation: performanceFlow 3s ease-in-out infinite;
}

@keyframes performanceFlow {
    0% { 
        transform: translateX(-100%);
        width: 50%;
    }
    50% { 
        transform: translateX(0%);
        width: 100%;
    }
    100% { 
        transform: translateX(100%);
        width: 50%;
    }
}

/* Pause Animation on Container Hover */
.advanced-client-scroll-container:hover .scroll-right-to-left,
.advanced-client-scroll-container:hover .scroll-left-to-right {
    animation-play-state: paused;
}

/* Responsive Design for Advanced Scroll */
@media (max-width: 768px) {
    .advanced-client-scroll-container {
        margin: 60px 0;
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .scroll-main-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .scroll-subtitle {
        font-size: 16px;
    }
    
    .multi-scroll-wrapper {
        height: 250px;
    }
    
    .scroll-layer {
        height: 80px;
    }
    
    .scroll-layer-2 {
        top: 100px;
    }
    
    .client-scroll-card {
        padding: 20px;
    }
    
    .client-scroll-logo {
        height: 50px;
        max-width: 100px;
    }
    
    .scroll-track {
        gap: 30px;
    }
    
    .scroll-right-to-left {
        animation: scrollRightToLeft 20s linear infinite;
    }
    
    .scroll-left-to-right {
        animation: scrollLeftToRight 25s linear infinite;
    }
}

@media (max-width: 576px) {
    .scroll-main-title {
        font-size: 28px;
    }
    
    .multi-scroll-wrapper {
        height: 200px;
    }
    
    .scroll-layer {
        height: 70px;
    }
    
    .scroll-layer-2 {
        top: 80px;
    }
    
    .client-scroll-card {
        padding: 15px;
    }
    
    .client-scroll-logo {
        height: 40px;
        max-width: 80px;
    }
    
    .scroll-track {
        gap: 20px;
    }
    
    .scroll-gradient-left,
    .scroll-gradient-right {
        width: 100px;
    }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    box-sizing: content-box;
    min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50%;
    margin: -40px 0 0 40px;
    position: relative;
    z-index: 2;
    border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    font-size: 26px;
    line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 15px 0 15px;
    padding: 20px 20px 60px 20px;
    background: color-mix(in srgb, var(--default-color), transparent 97%);
    position: relative;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--background-color);
    opacity: 1;
    border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.service-img {
    img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    }
}

.services .service-item {
    /* background-color: var(--surface-color); */
    /* box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1); */
    padding: 50px 30px;
    transition: all 0.3s ease-in-out;
    height: 100%;
    position: relative;
    z-index: 1;
}

.services .service-item:before {
    content: "";
    position: absolute;
    background: var(--accent-color);
    inset: 100% 0 0 0;
    transition: all 0.3s;
    z-index: -1;
}

.services .service-item .icon {
    margin-bottom: 10px;
}

.services .service-item .icon i {
    color: var(--accent-color);
    font-size: 36px;
    transition: ease-in-out 0.3s;
}

.services .service-item h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.services .service-item h4 a {
    color: var(--heading-color);
    transition: ease-in-out 0.3s;
}

.services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
    transition: ease-in-out 0.3s;
    color: #04090c;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/

.call-to-action {
    padding: 80px 0;
    position: relative;
    clip-path: inset(0);
}

.call-to-action h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--default-color);
}

.call-to-action p {
    color: var(--default-color);
}

.call-to-action .cta-btn {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 5px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid var(--contrast-color);
    color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
    background: var(--surface-color);
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/

.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

.portfolio .portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 20px 10px 20px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 5px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
    color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
    margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
    margin-right: 0;
}

@media (max-width: 575px) {
    .portfolio .portfolio-filters li {
        font-size: 14px;
        margin: 0 0 10px 0;
    }
}

.portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
    opacity: 0;
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -100%;
    z-index: 3;
    transition: all ease-in-out 0.5s;
    background: color-mix(in srgb, var(--background-color), transparent 10%);
    padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
    font-size: 18px;
    font-weight: 600;
    padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 14px;
    margin-bottom: 0;
    padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
    position: absolute;
    right: 50px;
    font-size: 24px;
    top: calc(50% - 14px);
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    transition: 0.3s;
    line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
    color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
    right: 14px;
    font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
    opacity: 1;
    bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/

.team .team-member {
    background-color: var(--surface-color);
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0px 0 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.team .team-member .member-img {
    position: relative;
    overflow: hidden;
}

.team .team-member .social {
    position: absolute;
    left: 0;
    bottom: 30px;
    right: 0;
    opacity: 0;
    transition: ease-in-out 0.3s;
    text-align: center;
}

.team .team-member .social a {
    background: color-mix(in srgb, var(--contrast-color), transparent 25%);
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0 3px;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    transition: ease-in-out 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.team .team-member .social a:hover {
    color: var(--contrast-color);
    background: var(--accent-color);
}

.team .team-member .social i {
    font-size: 18px;
    line-height: 0;
}

.team .team-member .member-info {
    padding: 25px 15px;
}

.team .team-member .member-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
}

.team .team-member .member-info span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
    opacity: 1;
    bottom: 15px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/

.pricing .pricing-item {
    background-color: var(--surface-color);
    padding: 60px 40px;
    box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
}

.pricing h3 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
}

.pricing h4 {
    font-size: 48px;
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 400;
}

.pricing h4 sup {
    font-size: 28px;
}

.pricing h4 span {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    font-size: 18px;
}

.pricing ul {
    padding: 20px 0;
    list-style: none;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    text-align: left;
    line-height: 20px;
}

.pricing ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.pricing ul i {
    color: #059652;
    font-size: 24px;
    padding-right: 3px;
}

.pricing ul .na {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
    text-decoration: line-through;
}

.pricing .buy-btn {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    background-color: var(--background-color);
    display: inline-block;
    padding: 8px 35px 10px 35px;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
    transition: none;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--heading-font);
    transition: 0.3s;
}

.pricing .buy-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.pricing .featured {
    z-index: 10;
}

.pricing .featured .pricing-item {
    background: var(--accent-color);
}

@media (min-width: 992px) {
    .pricing .featured .pricing-item {
        transform: scale(1.02, 1.1);
    }
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
    color: var(--contrast-color);
}

.pricing .featured .buy-btn {
    background: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--contrast-color);
}

.pricing .featured .buy-btn:hover {
    background: color-mix(in srgb, var(--background-color), transparent 92%);
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/

.faq .faq-container .faq-item {
    background-color: var(--surface-color);
    position: relative;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-radius: 5px;
    overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
    margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    margin: 0 30px 0 0;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq .faq-container .faq-item h3 .num {
    color: var(--accent-color);
    padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
    color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
    margin-bottom: 0;
    overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
    cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
    color: var(--accent-color);
}

.faq .faq-container .faq-active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.faq .faq-container .faq-active h3 {
    color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact .info-item+.info-item {
    margin-top: 40px;
}

.contact .info-item i {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .php-email-form {
    height: 100%;
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: color-mix( in srgb, var(--background-color), transparent 50%);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/

.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .swiper-wrapper {
    height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
    width: 48px;
    height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 24px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
    background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {
    .portfolio-details .swiper-button-prev,
    .portfolio-details .swiper-button-next {
        display: none;
    }
}

.portfolio-details .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.portfolio-details .portfolio-info h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    bottom: 0;
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
    text-transform: uppercase;
    font-weight: 400;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
    padding: 8px 40px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50px;
    transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
    padding: 30px 30px 0 30px;
    position: relative;
    background: color-mix(in srgb, var(--default-color), transparent 97%);
    margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50px;
    border: 6px solid var(--background-color);
    float: left;
    margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 5px 0;
    padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    font-size: 26px;
    line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
    font-style: italic;
    margin: 0 0 15px 0 0 0;
    padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

.service-details .services-list {
    background-color: var(--surface-color);
    padding: 10px 30px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

.service-details .services-list a {
    display: block;
    line-height: 1;
    padding: 8px 0 8px 15px;
    border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
    margin: 20px 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
}

.service-details .services-list a.active {
    color: var(--heading-color);
    font-weight: 700;
    border-color: var(--accent-color);
}

.service-details .services-list a:hover {
    border-color: var(--accent-color);
}

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 26px;
    font-weight: 700;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.service-details ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.service-details ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

.starter-section {
    /* Add your styles here */
}

/* custom CSS */

.ai-ml-page-title {
    position: relative;
    overflow: hidden;
    /* Hide the overflowing part of the video */
    height: 100vh;
    /* Set a height to control the visible area */
}

#aiVideo {
    position: absolute;
    top: -20%;
    /* Adjust this value to move the video up */
    left: 0;
    width: 100%;
    height: 120%;
    /* Adjust this value to ensure the video covers the area */
    object-fit: cover;
    /* Ensures the video covers the container */
}

#about-vid {
    width: 100%;
    height: auto;
    /* Adjust this value to ensure the video covers the area */
    object-fit: cover;
    /* Ensures the video covers the container */
}

.title-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    /* Optional: makes the text more visible on top of the video */
    text-align: center;
    /* Optional: center text inside the container */
    width: 100%;
}

.page-title {
    position: relative;
    /* Ensure that the section can contain positioned child elements */
    width: 100%;
    /* Full width */
    height: 100vh;
    /* Full viewport height (or adjust as needed) */
    background-size: cover;
    /* Make sure the image covers the section */
    background-attachment: fixed;
    /* Optional: Fixes the background image while scrolling */
    align-content: center;
}

.full-container {
    position: relative;
    /* Allows for proper positioning within the section */
    z-index: 1;
    /* Ensure content is above the background image */
    color: white;
    /* Optional: Makes text more readable against the background */
    padding: 20px;
    /* Optional: Add some padding for spacing */
}

h1,
p {
    margin: 0;
}

.breadcrumbs {
    margin-top: 10px;
}

/* Enhanced Services Section Styling */
/* ================================ */

/* Service Item Enhancements */
.services .service-item {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border: 2px solid transparent;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.services .service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.services .service-item:hover::before {
    opacity: 1;
}

/* Technology Service Cards */
.tech-service-card {
    border-left: 4px solid var(--tech-primary);
}

.tech-service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: var(--tech-primary);
}

/* Education Technology Service Cards */
.edtech-service-card {
    border-left: 4px solid var(--edtech-primary);
}

.edtech-service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
    border-color: var(--edtech-primary);
}

/* Service Icon Badges */
.service-icon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-tech);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: var(--shadow-medium);
    animation: badgePulse 2s ease-in-out infinite;
}

.edtech-badge {
    background: var(--gradient-edtech) !important;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Service Image Styling */
.services .service-img {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 25px;
    height: 200px;
}

.services .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.services .service-item:hover .service-img img {
    transform: scale(1.1);
}

/* Service Title Styling */
.services .service-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--heading-color);
    line-height: 1.3;
    flex-shrink: 0;
}

.services .service-item h3 div {
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.edtech-service-card h3 div {
    background: linear-gradient(135deg, var(--edtech-primary), var(--edtech-secondary)) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Description */
.services .service-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 25px;
}

/* Enhanced Card Footer with Visible CTA */
.cardlinkfooter {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid #f8f9fa;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 15;
}

.service-cta-btn {
    background: var(--gradient-tech);
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-medium);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, var(--tech-secondary), var(--tech-primary));
    color: white !important;
}

.edtech-cta {
    background: var(--gradient-edtech) !important;
}

.edtech-cta:hover {
    background: linear-gradient(135deg, var(--edtech-secondary), var(--edtech-primary)) !important;
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.3) !important;
    color: white !important;
}

/* Link Icons Wrapper */
.linkiconsw {
    display: flex;
    align-items: center;
    gap: 8px;
}

.linkiconsw i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-cta-btn:hover .linkiconsw i {
    transform: translateX(5px) rotate(15deg);
}

.linkiconsw span {
    font-weight: 600;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services .service-item {
        min-height: auto;
        padding: 25px;
        margin-bottom: 25px;
    }
    
    .service-icon-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .services .service-img {
        height: 180px;
        margin-bottom: 20px;
    }
    
    .services .service-item h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .services .service-item p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .service-cta-btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}

/* Additional Hover Effects */
.services .service-item {
    position: relative;
    z-index: 1;
}

.services .service-item:hover {
    z-index: 10;
}

/* Smooth Animation for All Interactive Elements */
.services .service-item * {
    transition: all 0.3s ease;
}

/* Service Section Title Enhancement */
.services .section-title h2 {
    background: linear-gradient(135deg, var(--tech-primary), var(--edtech-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 15px;
}

.services .section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Accessibility Improvements */
.service-cta-btn:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

.edtech-cta:focus {
    outline: 3px solid rgba(255, 107, 107, 0.5);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .services .service-item {
        border: 2px solid #000;
    }
    
    .service-cta-btn {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .services .service-item,
    .service-cta-btn,
    .service-icon-badge {
        transition: none;
        animation: none;
    }
    
    .services .service-item:hover {
        transform: none;
    }
}