﻿html {
    scroll-behavior: smooth;
}

.header-gradient {
    background: linear-gradient(to right, #ffffff 10%, #4BD8CA, #387AED);
}

#header .navbar-nav > li > a,
#mainMenu nav > ul > li > a {
    font-size: 15px; /* adjust as needed */
    font-weight: 500; /* optional: makes it a little bolder */
}

.text-box .hover-button {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.text-box:hover .hover-button {
    opacity: 1;
    visibility: visible;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgb(254, 76, 28);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.2s ease;
    z-index: 9999;
}

    /* Hover effect */
    .floating-btn:hover {
        color: white; /* keep text white */
        transform: translateY(-2px);
    }

    .floating-btn:hover,
    .floating-btn:focus,
    .floating-btn:active {
        color: white !important;
        text-decoration: none;
    }

    .floating-btn:hover {
        background-color: rgb(254, 76, 28);
        color: white !important;
    }

.features-section {
    background: linear-gradient(135deg, rgba(139,92,246,0.03), rgba(236,72,153,0.03));
    padding: 80px 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #2563eb, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn.btn-orange-gradient {
    background-color: #ff7a00 !important; /* solid orange */
    color: #ffffff !important; /* white text */
    border: none !important;
}

    .btn.btn-orange-gradient:hover,
    .btn.btn-orange-gradient:focus,
    .btn.btn-orange-gradient:active {
        background-color: #e56b00 !important; /* darker orange on hover */
        color: #ffffff !important;
        border: none !important;
    }

    /* Firefox inner focus fix */
    .btn.btn-orange-gradient::-moz-focus-inner {
        border: 0 !important;
    }

button.btn.btn-orange-gradient:-moz-focusring {
    outline: none !important;
}

.myo-section-title {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    color: #1f2937;
    text-transform: none;
    font-weight: 600; /* recommended for section titles */
}

.myo-section-para {
    font-size: 14px;
    color: #828282;
}

/* FORCE HERO TEXT STYLE OVERRIDE */
#slider .slide-captions h2.myo-hero-title {
    color: rgb(0, 64, 229) !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

#slider .slide-captions h3.myo-hero-para {
    color: rgb(0, 64, 229) !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    margin-top: 14px !important;
    line-height: 1.6 !important;
}

/* Responsive fix */
@media (max-width: 768px) {
    #slider .slide-captions h2.myo-hero-title {
        font-size: 34px !important;
    }

    #slider .slide-captions h3.myo-hero-para {
        font-size: 16px !important;
    }
}


/* HERO TITLE */
.myo-hero-title {
    color: #C0C0C0; /* Font color */
    font-size: clamp(28px, 4vw, 48px); /* Responsive size */
    font-weight: 700;
    line-height: 1.2;
}

/* HERO SUBTITLE */
.myo-hero-para {
    color: #e5e7eb; /* Light gray */
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 400;
    margin-top: 12px;
    line-height: 1.6;
}

.section-heading-bar {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(16, 185, 129, 0.06) 100%);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 20px;
}

/* Position carousel navigation outside the cards */
.carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* let clicks pass except buttons */
}

    .carousel .owl-nav button {
        background: #ffffff;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 20px;
        font-weight: bold;
        color: #333;
        border: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        cursor: pointer;
        pointer-events: all; /* make buttons clickable again */
        transition: all 0.2s ease-in-out;
    }

        .carousel .owl-nav button:hover {
            background: #333;
            color: #fff;
        }

.btn-orange-pill-sm {
    background-color: #FE4C1C !important;
    color: #fff !important;
    border: none !important;
    border-radius: 9999px !important;
    font-weight: 600 !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    position: relative;
    overflow: hidden; /* contain shimmer */
    cursor: pointer;
}

    .btn-orange-pill-sm::after {
        content: "";
        position: absolute;
        top: 0;
        left: -75%; /* start position */
        width: 50%;
        height: 100%;
        background: linear-gradient( 120deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100% );
        opacity: 0;
        transform: skewX(-20deg);
    }

    .btn-orange-pill-sm:hover::after {
        opacity: 1;
        animation: shimmer-slide 1s forwards;
    }

@keyframes shimmer-slide {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

.icon-box-grid {
    overflow: hidden;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    background-color: #0039e4;
    background-image: -moz-linear-gradient(145deg, #0039e4, #04dbf1);
    background-image: -webkit-linear-gradient(145deg, #0039e4, #04dbf1);
    background-image: linear-gradient(145deg, #0039e4, #04dbf1);
    box-shadow: 30px 30px 65px 0px rgba(2, 156, 236, 0.3);
    -webkit-box-shadow: 30px 30px 65px 0px rgba(2, 156, 236, 0.3);
    -moz-box-shadow: 30px 30px 65px 0px rgba(2, 156, 236, 0.3);
}

    .icon-box-grid .no-padding {
        padding: 0;
    }

    .icon-box-grid .icon-box {
        padding: 47px;
        color: #fff;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        transition: all 0.5s ease;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
    }

        .icon-box-grid .icon-box .icon-main {
            color: #fff;
            margin-bottom: 30px;
            line-height: 1;
            text-shadow: 8px 8px 30px rgba(1, 96, 231, 0.3);
            -moz-text-shadow: 8px 8px 30px rgba(1, 96, 231, 0.3);
        }

            .icon-box-grid .icon-box .icon-main i, .icon-box-grid .icon-box .icon-main span:before {
                font-size: 40px;
                line-height: 1;
            }

            .icon-box-grid .icon-box .icon-main img {
                max-width: 40px;
                margin-top: -5px;
            }

        .icon-box-grid .icon-box .content-box h5 {
            margin-bottom: 14px;
            font-size: 22px;
            color: #fff;
        }

            .icon-box-grid .icon-box .content-box h5 a {
                color: #fff;
            }

                .icon-box-grid .icon-box .content-box h5 a:hover {
                    color: #fe4c1c;
                }

        .icon-box-grid .icon-box:hover {
            color: #606060;
            background: #fff;
        }

            .icon-box-grid .icon-box:hover h5 {
                color: #1a1b1e;
            }

                .icon-box-grid .icon-box:hover h5 a {
                    color: #1a1b1e;
                }

            .icon-box-grid .icon-box:hover .icon-main {
                color: #0160e7;
            }

/* OMT section narrower container */
.container.narrow {
    max-width: 1100px; /* adjust: try 1000px or 1200px until it feels right */
    margin-left: auto;
    margin-right: auto;
}

.slide {
    position: relative;
}

.btn-bottom-right {
    position: absolute;
    bottom: 30px; /* adjust spacing */
    right: 30px;
    z-index: 10;
}
