/* Prevent horizontal scroll globally */
html,
body {
    overflow-x: hidden;
}

.landing-welcome {
    margin-top: -5.5rem;
    /* margin-bottom: -2.5rem; */
}

.landing-bottom {
    margin-bottom: -1rem !important;
}

.choose-path {
    margin-top: -80px;
}

@media (max-width: 991.98px) {
    .choose-path {
        margin-top: -50px;
    }
}

@media (max-width: 767.98px) {
    .choose-path {
        margin-top: -30px;
    }
}

.useful-links {
    margin-top: 50px !important;
}

.advisory-slider--inner-2 .card-testimonial--l4 {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    /* margin: 15px;  */
}

@media (min-width: 992px) {
    .advisory-btn {
        margin-bottom: 30px !important;
    }
}

@media (min-width: 768px) {
    .testimonial-slider--l8 {
        width: 140%;
    }
}

.advisory-btn button {
    background-color: transparent;
    border: none;
    min-width: 50px;
    max-width: 50px;
    min-height: 50px;
    max-height: 50px;
    color: #099a97;
    border-radius: 50%;
    background-color: #fff;
    margin: 0 10px;
    transition: 0.4s;
}

.advisory-btn button:hover {
    box-shadow: 0 4px 4px #9da3a3;
    background-color: #5034fc;
    color: #fff;
}

.testimonial-inner-2 .advisory-btn button {
    color: #5034fc;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-inner-2 .advisory-btn button:hover {
    box-shadow: 0 4px 4px #2f18be !important;
    background-color: #5034fc !important;
    color: #fff;
}

.advisory-content-box__heading {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 54px;
    /* text-transform: uppercase; */
    color: var(--color-headings-2);
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .advisory-content-box__heading {
        font-size: 35px;
    }
}

@media (min-width: 992px) {
    .advisory-contentt-box__heading {
        font-size: 45px;
    }
}


/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) {

    .landing-welcome {
        /* margin-top: -20px;  */
        margin-top: -1.25rem;
    }

    .choose-path {
        margin-top: -20px;
    }

    .useful-links {
        margin-top: 10px;
    }

}

/* 
    ##Device = Tablets, Ipads (landscape)
    ##Screen = B/w 768px to 1024px
  */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    .landing-welcome {
        /* margin-top: -40px;  */
        margin-top: -2.5rem;
    }

    .choose-path {
        margin-top: -20px;
    }

    .useful-links {
        margin-top: 10px;
    }

}

/* 
    ##Device = Low Resolution Tablets, Mobiles (Landscape)
    ##Screen = B/w 481px to 767px
  */

@media (min-width: 481px) and (max-width: 767px) {

    .landing-welcome {
        margin-top: -1.25px;
    }

    .choose-path {
        margin-top: -15px;
    }

    .useful-links {
        margin-top: 10px;
    }

}

/* 
    ##Device = Most of the Smartphones Mobiles (Portrait)
    ##Screen = B/w 320px to 479px
  */

@media (min-width: 320px) and (max-width: 480px) {

    .landing-welcome {
        margin-top: -20px;
    }

    .choose-path {
        margin-top: -15px;
    }

    .useful-links {
        margin-top: 10px;
    }

}

.text-red {
    color: red;
}

.text-success {
    color: green;
}

.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.alert-error {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}

.form-control.error {
    border-color: #E84444;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(232, 68, 68, .6);
}

.form-control.success {
    border-color: #22b660;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(46, 204, 113, .6);
}


@media (min-width: 992px) {
    .site-menu-main .sub-menu.megamenu {
        /* min-width: 925px; 57.8rem; */
        min-width: 40rem !important;
    }
}

@media (min-width: 1200px) {
    .site-menu-main .sub-menu.megamenu {
        /* min-width: 1100px; 75rem; */
        min-width: 45rem !important;
    }
}

@media (min-width: 1366px) {
    .site-menu-main .sub-menu.megamenu {
        /* min-width: 1300px; 85.4rem; */
        min-width: 48rem !important;
    }
}





/* New CSS to Refactor START Here... */
/* Custom styles for mobile view adjustments */
@media (max-width: 767.98px) {
    /* Global button sizing for mobile phones */
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
    }
    
    .btn.btn--lg-2 {
        height: 45px !important;
        line-height: 1.2 !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
        /* Adjust brand size */
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
        /* Adjust navigation links size */
    }

    .hero-section {
        text-align: center;
        padding: 20px;
    }

    .hero-section .hero-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hero-section .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-section .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-section .image-wrapper {
        display: flex;
        justify-content: center;
    }

    .hero-section .image-wrapper img {
        width: 100%;
        max-width: 200px;
    }

    .info-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .statistics {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        margin-bottom: 20px;
        text-align: center;
    }

    .path-section {
        padding: 20px;
    }

    .path-section .path-item {
        margin-bottom: 20px;
    }

    .testimonial-section {
        padding: 20px;
    }

    .testimonial {
        margin-bottom: 20px;
        text-align: center;
        background-color: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
    }

    .partners-section {
        padding: 20px;
    }

    .partner-logo {
        margin-bottom: 10px;
        width: 100%;
    }

    .partner-logo img {
        max-width: 150px;
    }

    .footer {
        padding: 20px;
        text-align: center;
    }

    .footer .social-icons {
        margin-top: 20px;
    }

    .footer .social-icons img {
        width: 30px;
        margin: 0 10px;
    }

    .hero-section .avatar-group {
        justify-content: center;
        margin-top: 10px;
    }

    .hero-section .avatar-group img {
        margin: 0 5px;
        width: 40px;
        height: 40px;
    }

    .hero-section .chart {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .hero-section .chart img {
        width: 100%;
        max-width: 300px;
    }
}

/* Additional responsive tweaks for smaller devices */
@media (max-width: 575.98px) {
    .hero-section .hero-title {
        font-size: 1.25rem;
    }

    .hero-section .hero-description {
        font-size: 0.875rem;
    }

    .info-cards .info-card {
        padding: 15px;
    }

    .testimonial-section .testimonial {
        padding: 15px;
    }

    .partners-section .partner-logo img {
        max-width: 120px;
    }

    .footer .social-icons img {
        width: 25px;
        margin: 0 8px;
    }
}

/* Tablet-specific styles (e.g., iPad Pro) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        text-align: left;
        padding: 40px;
    }

    .hero-section .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero-section .hero-description {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }

    .hero-section .btn {
        width: auto;
        margin-right: 10px;
    }

    .info-cards {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .info-card {
        width: 45%;
        margin-bottom: 30px;
    }

    .statistics {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        margin-bottom: 0;
        width: 23%;
        text-align: center;
    }

    .path-section {
        padding: 40px;
    }

    .path-section .path-item {
        width: 45%;
        margin-bottom: 30px;
    }

    .testimonial-section {
        padding: 40px;
    }

    .testimonial {
        width: 45%;
        margin-bottom: 30px;
    }

    .partners-section {
        padding: 40px;
    }

    .partner-logo {
        width: 30%;
        margin-bottom: 20px;
    }

    .footer {
        padding: 40px;
        text-align: left;
    }

    .footer .social-icons {
        margin-top: 30px;
    }

    .footer .social-icons img {
        width: 30px;
        margin: 0 10px;
    }
}

/* Dual-screen devices (e.g., Surface Duo) */
@media (max-width: 540px) {
    .hero-section {
        padding: 20px;
    }

    .hero-section .hero-title {
        font-size: 1.5rem;
    }

    .hero-section .hero-description {
        font-size: 1rem;
    }

    .info-cards .info-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .statistics .stat-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .path-section .path-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .testimonial-section .testimonial {
        width: 100%;
        margin-bottom: 20px;
    }

    .partners-section .partner-logo {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer {
        text-align: center;
    }
}

/* Foldable devices (e.g., Galaxy Z Fold 5) */
@media (max-width: 384px) {
    .hero-section {
        padding: 10px;
    }

    .hero-section .hero-title {
        font-size: 1.25rem;
    }

    .hero-section .hero-description {
        font-size: 0.875rem;
    }

    .info-cards .info-card {
        width: 100%;
        margin-bottom: 10px;
    }

    .statistics .stat-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .path-section .path-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .testimonial-section .testimonial {
        width: 100%;
        margin-bottom: 10px;
    }

    .partners-section .partner-logo {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer {
        padding: 10px;
        text-align: center;
    }
}

/* Foldable devices (e.g., Asus Zenbook Fold) */
@media (max-width: 1024px) {
    .hero-section {
        text-align: left;
        padding: 20px;
    }

    .hero-section .hero-title {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .hero-section .hero-description {
        font-size: 1.125rem;
        margin-bottom: 20px;
    }

    .hero-section .btn {
        width: auto;
        margin-right: 10px;
    }

    .info-cards {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        width: 90%;
        margin-bottom: 20px;
    }

    .statistics {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        width: 30%;
        margin-bottom: 20px;
        text-align: center;
    }

    .path-section {
        padding: 20px;
    }

    .path-section .path-item {
        width: 45%;
        margin-bottom: 20px;
    }

    .testimonial-section {
        padding: 20px;
    }

    .testimonial {
        width: 45%;
        margin-bottom: 20px;
        text-align: center;
        background-color: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
    }

    .partners-section {
        padding: 20px;
    }

    .partner-logo {
        width: 45%;
        margin-bottom: 10px;
    }

    .footer {
        padding: 20px;
        text-align: left;
    }

    .footer .social-icons {
        margin-top: 20px;
    }

    .footer .social-icons img {
        width: 25px;
        margin: 0 8px;
    }
}

/* Nest Hub */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        text-align: left;
        padding: 30px;
    }

    .hero-section .hero-title {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .hero-section .hero-description {
        font-size: 1.125rem;
        margin-bottom: 20px;
    }

    .info-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .info-card {
        width: 48%;
        margin-bottom: 20px;
    }

    .statistics {
        display: flex;
        justify-content: space-between;
    }

    .stat-item {
        width: 22%;
        text-align: center;
        margin-bottom: 20px;
    }

    .path-section .path-item {
        width: 48%;
        margin-bottom: 20px;
    }

    .testimonial-section .testimonial {
        width: 48%;
        margin-bottom: 20px;
        text-align: left;
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 8px;
    }

    .partners-section {
        padding: 30px;
    }

    .partner-logo {
        width: 22%;
        margin-bottom: 20px;
    }

    .footer {
        text-align: left;
        padding: 30px;
    }

    .footer .social-icons {
        margin-top: 30px;
    }

    .footer .social-icons img {
        width: 25px;
        margin: 0 8px;
    }
}

/* New CSS to Refactor STOPS Here... */
.landing-hero {
    background: radial-gradient(circle at top center, rgba(15, 137, 255, 0.14), rgba(33, 212, 253, 0.08) 35%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #f8fbff 0%, #ffffff 65%);
    padding-top: clamp(6rem, 10vw, 9.375rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.landing-hero .hero-copy {
    max-width: 950px;
}

.landing-hero .hero-title {
    font-size: clamp(3.5rem, 5vw + 1rem, 5.3rem);
    font-weight: 700;
    color: #12263f;
    line-height: 1.1;
    margin-top: clamp(4rem, 8vw, 9.5rem);
}

.landing-hero .hero-subtitle {
    font-size: clamp(1.25rem, 1.5vw, 1.5rem);
    color: #4a5874;
    line-height: 1.65;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.landing-hero .hero-cta {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-hero .hero-cta:hover,
.landing-hero .hero-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(33, 114, 255, 0.18);
}

.text-gradient {
    display: inline-block;
    background: linear-gradient(120deg, #0f89ff 0%, #21d4fd 50%, #ff6f3c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-visual {
    position: relative;
    width: 100%;
    margin-top: clamp(1.5rem, 3vw, 3rem);
}

.hero-visual .hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(68px);
    opacity: 0.65;
    z-index: 0;
}

.hero-visual .hero-glow--primary {
    width: 64%;
    height: 64%;
    top: 12%;
    left: 10%;
    background: radial-gradient(circle at center, rgba(33, 115, 255, 0.45), rgba(33, 115, 255, 0));
}

.hero-visual .hero-glow--secondary {
    width: 52%;
    height: 52%;
    bottom: 4%;
    right: 4%;
    background: radial-gradient(circle at center, rgba(255, 111, 60, 0.35), rgba(255, 111, 60, 0));
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 4rem) 0;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.hero-carousel {
    display: flex;
    gap: clamp(1.5rem, 2vw, 2.5rem);
    animation: scroll-infinite 60s linear infinite;
    will-change: transform;
    width: max-content;
}

@keyframes scroll-infinite {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - clamp(0.75rem, 1vw, 1.25rem)));
    }
}

.hero-carousel:hover {
    animation-play-state: paused;
}


.hero-card {
    flex: 0 0 auto;
    width: clamp(500px, 55vw, 800px);
    height: clamp(305px, 34vw, 490px);
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(18, 38, 63, 0.12);
    border: 1px solid rgba(15, 137, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(18, 38, 63, 0.18);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-avatars {
    position: relative;
}

.hero-avatars img {
    width: 54px;
    height: 54px;
    margin-right: -16px;
    box-shadow: 0 8px 20px rgba(18, 38, 63, 0.18);
}

.hero-trust-copy p {
    color: #12263f;
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .landing-hero {
        text-align: center;
    }

    .landing-hero .hero-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        margin: 0 auto;
    }

    .hero-badge {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-avatars img {
        width: 46px;
        height: 46px;
    }

    .hero-device-group {
        padding: 1.25rem;
        border-radius: 28px;
    }
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-badge-overlay {
    position: absolute;
    bottom: clamp(1.5rem, 3vw, 2.5rem);
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-badge .badge,
.hero-badge-overlay .badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0f89ff;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 24px rgba(15, 137, 255, 0.2);
    border: 1px solid rgba(15, 137, 255, 0.15);
    font-weight: 600;
}

/* Features Showcase Section */
.features-showcase {
    padding: clamp(3rem, 6vw, 6rem) 0;
    margin-top: -40px;
    background: linear-gradient(180deg, 
        #fefeff 0%,
        #fdfefe 5%,
        #fcfdfe 10%,
        #ffffff 20%,
        #ffffff 100%
    );
    background: -webkit-linear-gradient(180deg, 
        #fefeff 0%,
        #fdfefe 5%,
        #fcfdfe 10%,
        #ffffff 20%,
        #ffffff 100%
    );
    background: -moz-linear-gradient(180deg, 
        #fefeff 0%,
        #fdfefe 5%,
        #fcfdfe 10%,
        #ffffff 20%,
        #ffffff 100%
    );
    position: relative;
}

@media (max-width: 991.98px) {
    .features-showcase {
        margin-top: -30px;
    }
}

@media (max-width: 767.98px) {
    .features-showcase {
        margin-top: -20px;
    }
}

.features-showcase__title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #12263f;
    margin-bottom: 1rem;
}

.features-showcase__subtitle {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    color: #4a5874;
    margin-bottom: 0;
}

.features-showcase__sticky-container {
    position: relative;
    display: grid;
    display: -ms-grid;
    grid-template-columns: 38% 1fr;
    -ms-grid-columns: 38% 3rem 1fr;
    gap: 3rem;
    min-height: 200vh;
    height: auto;
    margin-top: 2rem;
}

/* Large Monitors (1920px+) - 27" to 42" displays */
@media (min-width: 1920px) {
    .features-showcase__sticky-container {
        grid-template-columns: 35% 1fr;
        -ms-grid-columns: 35% 4rem 1fr;
        gap: 4rem;
        max-width: 1800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .device-frame {
        width: 65%;
    }
    
    .device-frame__border {
        width: 115%;
    }
}

/* Standard Desktop (1441px - 1919px) - 16" MacBook Pro, 24" monitors */
@media (min-width: 1441px) and (max-width: 1919px) {
    .features-showcase__sticky-container {
        grid-template-columns: 37% 1fr;
        -ms-grid-columns: 37% 3.5rem 1fr;
        gap: 3.5rem;
    }
    
    .device-frame {
        width: 63%;
    }
    
    .device-frame__border {
        width: 122%;
    }
}

/* Laptop (1200px - 1440px) - 14" MacBook Pro, 15" laptops */
@media (min-width: 1200px) and (max-width: 1440px) {
    .features-showcase__sticky-container {
        grid-template-columns: 38% 1fr;
        -ms-grid-columns: 38% 3rem 1fr;
        gap: 3rem;
    }
    
    .features-showcase__scroll-content {
        padding-right: 1.5rem;
    }
    
    .device-frame {
        width: 62%;
    }
    
    .device-frame__border {
        width: 120%;
    }
    
    .feature-text__title {
        font-size: clamp(1.875rem, 2.8vw, 2.5rem);
    }
}

@media (max-width: 1199.98px) {
    .features-showcase__sticky-container {
        margin-top: 1.5rem;
    }
}

/* Scrolling Text Content (Left Side) */
.features-showcase__scroll-content {
    padding-left: 0;
    padding-right: 1.5rem;
    padding-top: 0;
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
}

/* Safari-specific fix for text positioning */
@supports (-webkit-appearance:none) {
    .features-showcase__scroll-content {
        padding-left: clamp(1rem, 3vw, 2rem);
    }
}

/* Sticky Device Frame (Right Side) - JS controlled */
.device-frame {
    position: absolute;
    top: 0;
    right: 0;
    height: 88vh;
    width: 62%;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    overflow: visible;
    will-change: transform, position;
    -webkit-will-change: transform, position;
    z-index: 10;
}

.device-frame__border {
    position: relative;
    width: 125%;
    max-width: none;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e0d5ff 0%, #f0ebff 100%);
    background: -webkit-linear-gradient(135deg, #e0d5ff 0%, #f0ebff 100%);
    background: -moz-linear-gradient(135deg, #e0d5ff 0%, #f0ebff 100%);
    border-radius: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    padding: 1.75rem;
    box-shadow: 0 40px 80px rgba(18, 38, 63, 0.2);
    -webkit-box-shadow: 0 40px 80px rgba(18, 38, 63, 0.2);
    border: 4px solid #7c3aed;
    overflow: hidden;
    transition: background 0.6s ease, border-color 0.6s ease;
    -webkit-transition: background 0.6s ease, border-color 0.6s ease;
    -moz-transition: background 0.6s ease, border-color 0.6s ease;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
}

.device-frame[data-active="2"] .device-frame__border {
    background: linear-gradient(135deg, #ffe4c4 0%, #fff5e6 100%);
    background: -webkit-linear-gradient(135deg, #ffe4c4 0%, #fff5e6 100%);
    background: -moz-linear-gradient(135deg, #ffe4c4 0%, #fff5e6 100%);
    border-color: #ff9500;
}

.device-frame[data-active="3"] .device-frame__border {
    background: linear-gradient(135deg, #d0e7ff 0%, #e6f2ff 100%);
    background: -webkit-linear-gradient(135deg, #d0e7ff 0%, #e6f2ff 100%);
    background: -moz-linear-gradient(135deg, #d0e7ff 0%, #e6f2ff 100%);
    border-color: #0f89ff;
}

.device-frame__screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.device-frame__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    -webkit-transition: opacity 0.6s ease;
    -moz-transition: opacity 0.6s ease;
}

.device-frame__content.active {
    opacity: 1;
}

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 0;
}

/* Hide mobile images on desktop */
.feature-text__mobile-image {
    display: none;
}

/* Base mobile tablet frame - MUST be defined before media queries */
.mobile-tablet-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mobile-tablet-frame__inner {
    position: relative;
    width: 100%;
    padding-bottom: 62.5%; /* 16:10 aspect ratio */
    overflow: hidden;
    box-sizing: border-box;
}

.mobile-tablet-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-text__title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: #12263f;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-text__description {
    font-size: clamp(1.125rem, 1.3vw, 1.25rem);
    color: #4a5874;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-text__link {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f89ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.feature-text__link:hover {
    transform: translateX(8px);
    color: #0f89ff;
}

/* Tablet Landscape (992px - 1199px) - iPad Pro, Surface Pro */
@media (min-width: 992px) and (max-width: 1199px) {
    .features-showcase__sticky-container {
        grid-template-columns: 42% 1fr;
        -ms-grid-columns: 42% 2.5rem 1fr;
        gap: 2.5rem;
        padding: 0 2rem;
    }
    
    .device-frame {
        width: 58%;
    }
    
    .device-frame__border {
        width: 125%;
    }
    
    .feature-text__title {
        font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    }
    
    .feature-text__description {
        font-size: 1.0625rem;
    }
}

/* Hide desktop iPad frame on all mobile/tablet screens */
@media (max-width: 991.98px) {
    .device-frame {
        display: none !important;
    }
    
    .feature-text {
        min-height: auto !important;
        height: auto !important;
        padding: 0 !important;
    }
    
    .mobile-tablet-frame__inner {
        padding-bottom: 62.5% !important;
        height: 0 !important;
    }
    
    .mobile-tablet-frame img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* Global button sizing for tablets */
    .btn {
        padding: 0.625rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
    
    .btn.btn--lg-2 {
        height: 48px !important;
        line-height: 1.2 !important;
    }
}

/* Tablet Portrait & Mobile Landscape (768px - 991px) - iPad, large phones landscape */
@media (min-width: 768px) and (max-width: 991.98px) {
    .features-showcase__sticky-container {
        display: block !important;
        grid-template-columns: none !important;
        min-height: auto !important;
        height: auto !important;
        padding: 0 2rem !important;
    }

    .features-showcase__scroll-content {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: static !important;
    }

    .device-frame {
        display: none !important;
        position: static !important;
    }

    .feature-text {
        padding: 0;
        margin-bottom: 2.5rem;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    
    .feature-text__title {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .feature-text__description {
        order: 2;
        margin-bottom: 1rem;
    }
    
    .feature-text__link {
        order: 3;
        margin-bottom: 1.5rem;
    }

    .feature-text__mobile-image {
        order: 4;
        display: block !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        clear: both;
        float: none;
        padding: 0 2rem;
    }
}

/* Mobile (481px - 767px) - iPhone 12/13/14/15 Pro Max, large phones */
@media (min-width: 481px) and (max-width: 767.98px) {
    .features-showcase__sticky-container {
        display: block !important;
        grid-template-columns: none !important;
        min-height: auto !important;
        height: auto !important;
        padding: 0 1.5rem !important;
    }

    .device-frame {
        display: none !important;
        position: static !important;
    }

    .features-showcase__scroll-content {
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        position: static !important;
    }

    .feature-text {
        min-height: auto;
        height: auto;
        text-align: center;
        padding: 0;
        margin-bottom: 2rem;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    
    .feature-text__title {
        order: 1;
        margin-bottom: 1.25rem;
    }
    
    .feature-text__description {
        order: 2;
        margin-bottom: 1.25rem;
    }
    
    .feature-text__link {
        order: 3;
        margin-bottom: 1.5rem;
    }

    .feature-text__mobile-image {
        order: 4;
        display: block !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        clear: both;
        float: none;
        padding: 0 1rem;
    }

    /* Mobile tablet frame styling - BULLETPROOF METHOD */
    .mobile-tablet-frame {
        position: relative;
        width: 100%;
        border-radius: 14px;
        -webkit-border-radius: 14px;
        -moz-border-radius: 14px;
        border: 2.5px solid;
        box-shadow: 0 12px 24px rgba(18, 38, 63, 0.1);
        -webkit-box-shadow: 0 12px 24px rgba(18, 38, 63, 0.1);
        overflow: visible;
        padding: 0.75rem;
        display: block;
        clear: both;
    }
    
    /* Inner wrapper for aspect ratio */
    .mobile-tablet-frame__inner {
        position: relative;
        width: 100%;
        padding-bottom: 62.5%; /* 16:10 aspect ratio */
        overflow: hidden;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        background: #fff;
        display: block;
    }

    .mobile-tablet-frame img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        -o-object-fit: cover;
        -webkit-object-fit: cover;
        object-position: center;
        -o-object-position: center;
        opacity: 1 !important;
    }

    /* Purple frame */
    .mobile-tablet-frame--purple {
        background: linear-gradient(135deg, #e0d5ff 0%, #f0ebff 100%);
        background: -webkit-linear-gradient(135deg, #e0d5ff 0%, #f0ebff 100%);
        background: -moz-linear-gradient(135deg, #e0d5ff 0%, #f0ebff 100%);
        border-color: #7c3aed;
    }

    /* Orange frame */
    .mobile-tablet-frame--orange {
        background: linear-gradient(135deg, #ffe4c4 0%, #fff5e6 100%);
        background: -webkit-linear-gradient(135deg, #ffe4c4 0%, #fff5e6 100%);
        background: -moz-linear-gradient(135deg, #ffe4c4 0%, #fff5e6 100%);
        border-color: #ff9500;
    }

    /* Blue frame */
    .mobile-tablet-frame--blue {
        background: linear-gradient(135deg, #d0e7ff 0%, #e6f2ff 100%);
        background: -webkit-linear-gradient(135deg, #d0e7ff 0%, #e6f2ff 100%);
        background: -moz-linear-gradient(135deg, #d0e7ff 0%, #e6f2ff 100%);
        border-color: #0f89ff;
    }

    .feature-text__title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .feature-text__description {
        font-size: clamp(1rem, 3vw, 1.125rem);
    }
}

/* Small Mobile (320px - 480px) - iPhone 12/13/14/15 standard, iPhone SE */
@media (max-width: 480px) {
    /* Global button sizing for small phones */
    .btn {
        padding: 0.5rem 0.875rem !important;
        font-size: 0.6875rem !important;
    }
    
    .btn.btn--lg-2 {
        height: 42px !important;
        line-height: 1.2 !important;
    }
    
    .features-showcase {
        padding: clamp(2.5rem, 6vw, 3.5rem) 0;
    }

    .features-showcase__sticky-container {
        display: block !important;
        grid-template-columns: none !important;
        min-height: auto !important;
        height: auto !important;
        padding: 0 1rem !important;
    }
    
    .device-frame {
        display: none !important;
        position: static !important;
    }

    .features-showcase__scroll-content {
        width: 100% !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        position: static !important;
    }

    .feature-text {
        padding: 0;
        margin-bottom: 2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .feature-text__title {
        order: 1;
        font-size: clamp(1.5rem, 6vw, 1.875rem);
        margin-bottom: 1rem;
    }

    .feature-text__description {
        order: 2;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-text__link {
        order: 3;
        margin-bottom: 1.5rem;
    }

    .feature-text__mobile-image {
        order: 4;
        display: block !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 0.75rem;
    }

    .mobile-tablet-frame {
        padding: 0.625rem;
        border-radius: 12px;
        border: 2px solid;
    }
    
    .mobile-tablet-frame__inner {
        padding-bottom: 62.5%;
        border-radius: 8px;
        -webkit-border-radius: 8px;
    }

    .mobile-tablet-frame img {
        border-radius: 8px;
        -webkit-border-radius: 8px;
        opacity: 1 !important;
    }
}

/* Extra Small Mobile (< 375px) - iPhone SE 1st gen, small devices */
@media (max-width: 374px) {
    .features-showcase {
        padding: 2rem 0 3rem;
    }

    .features-showcase__sticky-container {
        display: block !important;
        grid-template-columns: none !important;
        min-height: auto !important;
        height: auto !important;
        padding: 0 0.75rem !important;
    }
    
    .device-frame {
        display: none !important;
        position: static !important;
    }
    
    .features-showcase__scroll-content {
        width: 100% !important;
        position: static !important;
    }

    .feature-text {
        margin-bottom: 2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .feature-text__title {
        order: 1;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-text__description {
        order: 2;
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }
    
    .feature-text__link {
        order: 3;
        margin-bottom: 1.25rem;
    }
    
    .feature-text__mobile-image {
        order: 4;
        display: block !important;
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .mobile-tablet-frame {
        padding: 0.5rem;
        border-radius: 10px;
    }
    
    .mobile-tablet-frame__inner {
        padding-bottom: 62.5%;
        border-radius: 7px;
        -webkit-border-radius: 7px;
    }

    .mobile-tablet-frame img {
        border-radius: 7px;
        -webkit-border-radius: 7px;
        opacity: 1 !important;
    }
}

/* iPhone 16 Pro specific (402px x 874px) */
@media (max-width: 402px) and (min-height: 874px) {
    .feature-text__mobile-image {
        max-width: 95%;
        margin: 1.5rem auto 0;
    }
    
    .mobile-tablet-frame {
        padding: 0.625rem;
        border-radius: 12px;
    }
    
    .mobile-tablet-frame__inner {
        padding-bottom: 62.5%;
        border-radius: 8px;
        -webkit-border-radius: 8px;
    }
    
    .feature-text__title {
        font-size: 1.875rem;
        line-height: 1.2;
        word-break: break-word;
    }
    
    .feature-text__description {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* iPhone 16 Pro Max specific (440px x 956px) */
@media (max-width: 440px) and (min-height: 956px) {
    .feature-text__mobile-image {
        max-width: 95%;
        margin: 1.5rem auto 0;
    }
    
    .mobile-tablet-frame {
        padding: 0.625rem;
        border-radius: 12px;
    }
    
    .mobile-tablet-frame__inner {
        padding-bottom: 62.5%;
        border-radius: 8px;
        -webkit-border-radius: 8px;
    }
}

/* iPhone 14 Pro Max / 15 Pro Max specific (430px x 932px) */
@media (min-width: 428px) and (max-width: 432px) and (min-height: 926px) {
    .features-showcase__sticky-container {
        display: block !important;
        grid-template-columns: none !important;
        padding: 0 1rem !important;
    }
    
    .device-frame {
        display: none !important;
    }
    
    .feature-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
    }
    
    .feature-text__title {
        order: 1;
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }
    
    .feature-text__description {
        order: 2;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-text__link {
        order: 3;
        margin-bottom: 1.5rem;
    }
    
    .feature-text__mobile-image {
        order: 4;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 0 auto !important;
    }
    
    .mobile-tablet-frame {
        width: 100% !important;
        padding: 0.75rem !important;
        border-radius: 14px !important;
        border: 2.5px solid !important;
    }
    
    .mobile-tablet-frame__inner {
        width: 100% !important;
        padding-bottom: 62.5% !important;
        border-radius: 10px !important;
    }
    
    .mobile-tablet-frame img {
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* iPhone 14 Pro / 15 Pro specific (393px width) */
@media (min-width: 390px) and (max-width: 395px) {
    .feature-text__mobile-image {
        max-width: 370px;
    }
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Detailed Features Section
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.detailed-features {
    position: relative;
    padding: 3rem 0 4rem;
    margin-top: -100px;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #f7fbff 15%,
        #edf5fd 40%,
        #edf5fd 70%,
        #f7fbff 90%,
        #ffffff 100%
    );
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .detailed-features {
        margin-top: -60px;
        padding: 2rem 0 3rem;
    }
}

@media (max-width: 767.98px) {
    .detailed-features {
        margin-top: -40px;
        padding: 2rem 0 3rem;
    }
}

.detailed-features__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #12263f;
    margin-bottom: 4rem;
    line-height: 1.2;
}

.detailed-features__item {
    margin-bottom: 8rem;
}

.detailed-features__item:last-child {
    margin-bottom: 0;
}

.detailed-features__content {
    padding: 2rem 0;
}

.detailed-features__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #12263f;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.detailed-features__description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: #506690;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.detailed-features__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.detailed-features__list li {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: #506690;
    margin-bottom: 0.875rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.detailed-features__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7c3aed;
    font-size: 1.5rem;
    line-height: 1;
}

.detailed-features__list li strong {
    color: #12263f;
    font-weight: 600;
}

.detailed-features__visual {
    position: relative;
    padding: 1rem;
    width: 100%;
    max-width: 650px;
}

.detailed-features__visual img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Card styling only for JPG/JPEG images */
.detailed-features__visual img[src$=".jpg"],
.detailed-features__visual img[src$=".jpeg"] {
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
}

.detailed-features__visual img[src$=".jpg"]:hover,
.detailed-features__visual img[src$=".jpeg"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(124, 58, 237, 0.2);
}

/* PNG images - no card, just subtle hover */
.detailed-features__visual img[src$=".png"]:hover {
    transform: scale(1.02);
}

/* Responsive adjustments */
/* iPad Pro & Large Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .detailed-features {
        padding: 4.5rem 0;
    }

    .detailed-features__item {
        margin-bottom: 3rem;
        text-align: center;
    }

    .detailed-features__content {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }
    
    .detailed-features__title {
        text-align: center;
    }

    .detailed-features__visual {
        margin-top: 1rem;
    }
    
    .detailed-features__visual img {
        height: 350px;
    }
    
    .detailed-features .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
        display: inline-block;
        margin: 0 auto;
    }
    
    .btn.btn--lg-2 {
        height: 48px !important;
        line-height: 1.2 !important;
    }
}

/* Tablet & Mobile Landscape (< 992px) */
@media (max-width: 991.98px) {
    .detailed-features {
        padding: 4rem 0;
    }

    .detailed-features__item {
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .detailed-features__content {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }
    
    .detailed-features__title {
        text-align: center;
    }

    .detailed-features__visual {
        margin-top: 0;
    }
    
    .detailed-features__visual img {
        height: 300px;
    }

    .detailed-features__description {
        text-align: center;
    }

    .detailed-features__list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto 2rem;
    }

    .detailed-features .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.8125rem;
        display: inline-block;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .detailed-features {
        padding: 3rem 0;
    }

    .detailed-features__main-title {
        margin-bottom: 3rem;
    }

    .detailed-features__item {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .detailed-features__title {
        text-align: center;
    }

    .detailed-features__visual {
        padding: 0.5rem;
        margin-top: 0;
    }
    
    .detailed-features__visual img {
        height: 250px;
    }
    
    .detailed-features .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        display: inline-block;
        margin: 0 auto;
        min-width: 140px;
    }
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Choose Your Path Section
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.choose-path .section-title__heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #12263f;
    line-height: 1.2;
}

.choose-path .feature-area--l2__content__heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #12263f;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.choose-path .widget--feature-2__content {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: #506690;
    line-height: 1.6;
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Testimonials Section
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.testimonial-section--l9 {
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #fafcfe 30%,
        #f5f9fd 50%,
        #f5f9fd 70%,
        #fafcfe 90%,
        #f5f9fd 100%
    );
    padding: 5rem 0 5rem;
}

@media (max-width: 991.98px) {
    .testimonial-section--l9 {
        padding: 4rem 0 4rem;
    }
}

@media (max-width: 767.98px) {
    .testimonial-section--l9 {
        padding: 3rem 0 3rem;
    }
}

.testimonial-section--l9 .section-title__heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #12263f;
    line-height: 1.3;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .testimonial-section--l9 .section-title__heading {
        white-space: normal;
    }
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Trusted By Infinite Carousel
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.trusted-by-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 0.5rem 0 2rem 0;
    margin-top: 0.5rem;
}

/* Fade edges */
.trusted-by-carousel::before,
.trusted-by-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 300px;
    z-index: 2;
    pointer-events: none;
}

.trusted-by-carousel::before {
    left: 0;
    background: linear-gradient(to right, 
        rgba(250, 252, 254, 1) 0%, 
        rgba(250, 252, 254, 0.98) 5%,
        rgba(250, 252, 254, 0.95) 10%,
        rgba(250, 252, 254, 0.9) 15%,
        rgba(250, 252, 254, 0.85) 20%,
        rgba(250, 252, 254, 0.75) 25%,
        rgba(250, 252, 254, 0.65) 30%,
        rgba(250, 252, 254, 0.55) 35%,
        rgba(250, 252, 254, 0.45) 40%,
        rgba(250, 252, 254, 0.35) 50%,
        rgba(250, 252, 254, 0.25) 60%,
        rgba(250, 252, 254, 0.15) 70%,
        rgba(250, 252, 254, 0.08) 80%,
        rgba(250, 252, 254, 0.03) 90%,
        rgba(250, 252, 254, 0) 100%);
}

.trusted-by-carousel::after {
    right: 0;
    background: linear-gradient(to left, 
        rgba(250, 252, 254, 1) 0%, 
        rgba(250, 252, 254, 0.98) 5%,
        rgba(250, 252, 254, 0.95) 10%,
        rgba(250, 252, 254, 0.9) 15%,
        rgba(250, 252, 254, 0.85) 20%,
        rgba(250, 252, 254, 0.75) 25%,
        rgba(250, 252, 254, 0.65) 30%,
        rgba(250, 252, 254, 0.55) 35%,
        rgba(250, 252, 254, 0.45) 40%,
        rgba(250, 252, 254, 0.35) 50%,
        rgba(250, 252, 254, 0.25) 60%,
        rgba(250, 252, 254, 0.15) 70%,
        rgba(250, 252, 254, 0.08) 80%,
        rgba(250, 252, 254, 0.03) 90%,
        rgba(250, 252, 254, 0) 100%);
}

.trusted-by-carousel__track {
    display: flex;
    gap: 2rem;
    animation: scroll-infinite 30s linear infinite;
    width: fit-content;
}

.trusted-by-carousel__item {
    flex-shrink: 0;
    width: 280px;
}

.trusted-by-carousel__item .card {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.trusted-by-carousel__item .card:hover {
    transform: translateY(-5px);
}

.trusted-by-carousel__item img {
    max-width: 100%;
    max-height: 100px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.trusted-by-carousel:hover .trusted-by-carousel__track {
    animation-play-state: paused;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
    .trusted-by-carousel::before,
    .trusted-by-carousel::after {
        width: 200px;
    }
    
    .trusted-by-carousel__item {
        width: 240px;
    }
    
    .trusted-by-carousel__item .card {
        height: 130px;
    }
    
    .trusted-by-carousel__item img {
        max-height: 80px;
    }
    
    .trusted-by-carousel__track {
        gap: 1.5rem;
        animation-duration: 25s;
    }
}

@media (max-width: 767.98px) {
    .trusted-by-carousel::before,
    .trusted-by-carousel::after {
        width: 150px;
    }
    
    .trusted-by-carousel__item {
        width: 200px;
    }
    
    .trusted-by-carousel__item .card {
        height: 110px;
    }
    
    .trusted-by-carousel__item img {
        max-height: 70px;
    }
    
    .trusted-by-carousel__track {
        gap: 1rem;
        animation-duration: 20s;
    }
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Crowdfunding Banner Section
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.crowdfunding-banner-wrapper {
    background: #ffffff;
    padding: 2rem 0 1.5rem 0;
    position: relative;
}

/* Flattened banner style for top placement */
.crowdfunding-banner-wrapper--flat {
    background: transparent !important;
    background-color: transparent !important;
    padding: 1rem 0;
    margin: 1.5rem 0 2rem 0;
    position: relative;
    z-index: 10;
}

/* Force all children to be transparent */
.crowdfunding-banner-wrapper--flat * {
    background: transparent !important;
    background-color: transparent !important;
}

/* Except the iframe which contains the actual banner */
.crowdfunding-banner-wrapper--flat iframe {
    background: initial !important;
    background-color: initial !important;
}

.crowdfunding-banner-wrapper--flat .cc-banner-embed {
    max-height: 80px;
    overflow: visible;
    border-radius: 0;
    background: transparent !important;
}

.crowdfunding-banner-wrapper--flat .cc-banner-embed iframe {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Target all Crowdcube wrapper elements to remove white background */
.crowdfunding-banner-wrapper--flat .cc-banner-embed > div,
.crowdfunding-banner-wrapper--flat .cc-banner-embed > div > div,
.crowdfunding-banner-wrapper--flat .cc-banner-embed [class*="cc-"],
.crowdfunding-banner-wrapper--flat .cc-banner-embed [id*="cc-"] {
    background: transparent !important;
    background-color: transparent !important;
    -webkit-background-color: transparent !important;
}

/* Safari-specific targeting */
@supports (-webkit-appearance: none) {
    .crowdfunding-banner-wrapper--flat,
    .crowdfunding-banner-wrapper--flat .cc-banner-embed,
    .crowdfunding-banner-wrapper--flat .cc-banner-embed *:not(iframe),
    .crowdfunding-banner-wrapper--flat .cc-banner-embed > *,
    .crowdfunding-banner-wrapper--flat .cc-banner-embed div,
    .crowdfunding-banner-wrapper--flat .container-fluid,
    .crowdfunding-banner-wrapper--flat .row,
    .crowdfunding-banner-wrapper--flat .col-12 {
        background: none !important;
        background-color: rgba(0, 0, 0, 0) !important;
        -webkit-background-color: rgba(0, 0, 0, 0) !important;
        background-image: none !important;
    }
}

/* Additional Safari iOS targeting */
@supports (-webkit-touch-callout: none) {
    .crowdfunding-banner-wrapper--flat,
    .crowdfunding-banner-wrapper--flat * {
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .crowdfunding-banner-wrapper--flat .cc-banner-embed iframe {
        background: initial !important;
    }
}

.crowdfunding-banner-wrapper--flat .container,
.crowdfunding-banner-wrapper--flat .container-fluid {
    padding: 0 !important;
    background: transparent !important;
}

.crowdfunding-banner-wrapper--flat .row {
    margin: 0 !important;
    background: transparent !important;
}

.crowdfunding-banner-wrapper--flat .col-12 {
    padding: 0 !important;
    background: transparent !important;
}

/* Adjust landing-hero to accommodate banner */
.landing-hero {
    padding-top: 2rem !important;
}

/* Tablet responsive */
@media (max-width: 991.98px) {
    .crowdfunding-banner-wrapper--flat {
        margin: 1.25rem 0 1.5rem 0;
        padding: 0.75rem 0;
    }
    
    .crowdfunding-banner-wrapper--flat .cc-banner-embed {
        max-height: 75px;
    }
    
    .crowdfunding-banner-wrapper--flat .cc-banner-embed iframe {
        width: 100%;
        border-radius: 6px;
    }
}

/* Mobile responsive */
@media (max-width: 767.98px) {
    .crowdfunding-banner-wrapper--flat {
        margin: 1rem 0 1rem 0;
        padding: 0.5rem 0;
    }
    
    .crowdfunding-banner-wrapper--flat .cc-banner-embed {
        max-height: 100%;
        min-height: 60px;
    }
    
    .crowdfunding-banner-wrapper--flat .cc-banner-embed iframe {
        width: 100%;
        max-width: 100%;
        border-radius: 6px;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    }
    
    .crowdfunding-banner-wrapper--flat .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
    .crowdfunding-banner-wrapper--flat {
        margin: 0.75rem 0 0.75rem 0;
        padding: 0.25rem 0;
    }
    
    .crowdfunding-banner-wrapper--flat .cc-banner-embed {
        min-height: 50px;
    }
    
    .crowdfunding-banner-wrapper--flat .container-fluid {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Mobile button spacing */
    .landing-hero .welcome-btn-group--l3 {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .landing-hero .welcome-btn-group--l3 a {
        width: 100%;
        margin: 0 !important;
    }
}

.crowdfunding-cta {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, #0f89ff 0%, #1a5fb4 100%);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 8px 32px rgba(15, 137, 255, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.crowdfunding-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.crowdfunding-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 137, 255, 0.35);
    text-decoration: none;
}

.crowdfunding-cta:hover::before {
    opacity: 1;
}

.crowdfunding-cta__content {
    position: relative;
    z-index: 1;
}

.crowdfunding-cta__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.crowdfunding-cta__title {
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.crowdfunding-cta__description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.crowdfunding-cta__button {
    display: inline-block;
    background: #ffffff;
    color: #0f89ff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.crowdfunding-cta:hover .crowdfunding-cta__button {
    background: #f0f9ff;
    transform: translateX(4px);
}

@media (max-width: 767.98px) {
    .crowdfunding-banner-wrapper {
        padding: 1.5rem 0 1rem 0;
    }
    
    .crowdfunding-cta {
        padding: 1.5rem 1.5rem;
    }
    
    .crowdfunding-cta__description {
        margin-bottom: 1rem;
    }
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Partners & Sponsors Section
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.services-area.background-sky-blue {
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #fafcfe 10%,
        #f5f9fd 20%,
        #f5f9fd 50%,
        #f5f9fd 60%,
        #f7fafe 70%,
        #f9fbfe 75%,
        #fbfcfe 80%,
        #fcfdfe 85%,
        #fdfefe 90%,
        #fefeff 95%,
        #ffffff 100%
    ) !important;
    padding: 2rem 0 6rem 0;
    position: relative;
}

.services-area.background-sky-blue .container {
    overflow: hidden;
    position: relative;
}

.services-area.background-sky-blue .row {
    overflow: visible;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    margin: 0 -15px;
}

@media (max-width: 991.98px) {
    .services-area.background-sky-blue {
        padding: 5rem 0;
    }
}

@media (max-width: 767.98px) {
    .services-area.background-sky-blue {
        padding: 4rem 0;
    }
}

.services-area .section-title__heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #12263f;
    line-height: 1.2;
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Press Section
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.services-area.bg-default-6 {
    background: linear-gradient(180deg, 
        #f5f9fd 0%, 
        #fafcfe 30%,
        #ffffff 70%,
        #ffffff 100%
    ) !important;
    padding: 6rem 0;
}

@media (max-width: 991.98px) {
    .services-area.bg-default-6 {
        padding: 5rem 0;
    }
}

@media (max-width: 767.98px) {
    .services-area.bg-default-6 {
        padding: 4rem 0;
    }
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Counter Section (New)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.counter-section-new {
    padding: 4rem 0;
    background: #fff;
}

.counter-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(15, 137, 255, 0.08);
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.counter-label {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: #12263f;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .counter-box {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .counter-section-new {
        padding: 3rem 0;
    }

    .counter-box {
        padding: 2rem 1rem;
        border-radius: 16px;
    }

    .counter-number {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.875rem;
    }
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Dual Announcement Banner System
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/

/* Static Banner - Inside Hero Section */
.announcement-banner-static {
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 1rem 0 2rem 0;
    margin-top: 5rem; /* Space from navbar - desktop */
}

.announcement-banner-static .alert {
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Floating Banner - Sticks Below Navbar on Scroll */
.announcement-banner-floating {
    position: fixed;
    top: 85px; /* Below navbar with gap - desktop */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1020; /* Below navbar (1030) but above content */
    background: transparent; /* No white background */
    padding: 1rem 0 0.5rem 0; /* Added top padding for spacing from navbar */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.announcement-banner-floating.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.announcement-banner-floating .alert {
    box-shadow: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adjust for tablet */
@media (max-width: 991.98px) {
    .announcement-banner-static {
        margin-top: 4rem; /* Space from navbar - tablet */
        padding: 0.75rem 0 1.5rem 0;
    }
    
    .announcement-banner-floating {
        top: 75px; /* Below navbar with gap - tablet */
        padding: 0.75rem 0 0.5rem 0; /* Top padding for spacing */
    }
}

/* Adjust for mobile */
@media (max-width: 767.98px) {
    .announcement-banner-static {
        margin-top: 3.5rem; /* Space from navbar - mobile */
        padding: 0.5rem 0 1rem 0;
    }
    
    .announcement-banner-floating {
        top: 70px; /* Below navbar with gap - mobile */
        padding: 0.5rem 0 0.25rem 0; /* Top padding for spacing */
    }
    
    .announcement-banner-static .alert,
    .announcement-banner-floating .alert {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .announcement-banner-static .alert h4,
    .announcement-banner-floating .alert h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Video Support for Features Showcase
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper .feature-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: inherit;
    -webkit-border-radius: inherit;
    -moz-border-radius: inherit;
    display: none; /* Hidden by default, shown when loaded */
    z-index: 2;
}

.video-wrapper .video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: inherit;
    -webkit-border-radius: inherit;
    -moz-border-radius: inherit;
    display: block;
    z-index: 1;
}

/* When video loads successfully, it will be on top */
.video-wrapper .feature-video[style*="display: block"] ~ .video-fallback {
    display: none;
}

/* Safari/iOS specific fixes */
@supports (-webkit-appearance: none) {
    .video-wrapper .feature-video,
    .video-wrapper .video-fallback {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
    .video-wrapper .feature-video {
        background-color: transparent;
    }
}