/* 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;
    --default-font-size: 16px;
}

/* 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: #040677; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #1acc8d; /* 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. */
}

/* 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: #667eea; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: rgba(255, 255, 255, 0.05); /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: rgba(255, 255, 255, 0.95); /* 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: #667eea; /* 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: #f4f5fe;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #08005e;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #0c0091;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
html{
    box-sizing:border-box;
    margin:0;
    padding:0;
}
body {
    margin:0;
    padding:0;
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    font-size:var(--default-font-size);
}

button{
    cursor:pointer;
}

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);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    transition: all 0.5s;
    z-index: 997;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.custom-navbar {
    margin:20px 15px 0px 15px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0px 25px;
    transition: all 0.3s ease;
}

    .custom-navbar.scrolled{
        margin:0px;
        border-top-left-radius:0px;
        border-top-right-radius:0px;
    }

    .custom-navbar:hover {
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }

    .custom-navbar .navbar-brand {
        font-weight: bold;
        font-size: 1.5rem;
        color: var(--nav-color) !important;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .custom-navbar .navbar-brand img {
            height: 35px;
        }

    .custom-navbar .brand-icon {
        background: linear-gradient(45deg, #667eea, #764ba2);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .custom-navbar .navbar-nav .nav-link {
        color: var(--nav-color);
        font-weight: 500;
        margin: 0 8px;
        padding: 10px 18px;
        border-radius: 25px;
        transition: all 0.3s ease;
        position: relative;
    }

    .custom-navbar .navbar-nav .nav-link.btn-global{
        color: white;
    }

        .custom-navbar .navbar-nav .nav-link:hover {
            background: linear-gradient(45deg, var(--nav-hover-color), #764ba2);
            color: white ;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .custom-navbar .navbar-nav .nav-link.btn-global:hover,
        .custom-navbar .navbar-nav .nav-link.btn-global.active{
            color: white;
            background: color-mix(in srgb, var(--accent-color), transparent 15%);
        }

        .custom-navbar .navbar-nav .nav-link.active {
            background: linear-gradient(45deg, var(--nav-hover-color), #764ba2);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

    .custom-navbar .navbar-toggler {
        border: none;
        padding: 8px 12px;
        border-radius: 20px;
        background: none;
        transition: all 0.3s ease;
    }

        .custom-navbar .navbar-toggler:hover {
            background: rgba(102, 126, 234, 0.2);
            transform: scale(1.05);
        }

        .custom-navbar .navbar-toggler:focus {
            box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        }

    .custom-navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .custom-navbar .dropdown-menu {
        border: none;
        border-radius: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        background: var(--nav-dropdown-background-color);
        backdrop-filter: blur(10px);
        margin-top: 10px;
    }

    .custom-navbar .dropdown-item {
        padding: 10px 20px;
        border-radius: 10px;
        margin: 5px;
        transition: all 0.3s ease;
        color: var(--nav-dropdown-color);
    }

        .custom-navbar .dropdown-item:hover {
            background: linear-gradient(45deg, var(--nav-dropdown-hover-color), #764ba2);
            color: white;
            transform: translateX(5px);
        }

    /* Custom animation for mobile menu */
    .custom-navbar .navbar-collapse {
        border-radius: 25px;
        padding: 15px;
        background: var(--nav-mobile-background-color);
    }

@media (max-width: 991.98px) {
    .custom-navbar {
        margin: 20px 15px 0;
        border-radius: 30px;
        padding-top:10px;
        padding-bottom:10px;
    }

        .custom-navbar.scrolled{
            padding-top:20px;
        }

        .custom-navbar .navbar-nav {
            align-items: center;
        }

        .custom-navbar .navbar-nav .nav-link {
            margin: 5px 0;
            text-align: center;
            width: auto;
            display: inline-block;
        }

        .custom-navbar .navbar-nav .nav-link.btn-global {
            width: auto;
        }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background: linear-gradient(to bottom, var(--background-color), color-mix(in srgb, var(--accent-color), transparent 97%));
    font-size: 14px;
    position: relative;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

    .footer img {
        height: 80px;
        transition: transform 0.3s ease;
    }

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

    .footer-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .footer-link {
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        padding: 8px 12px;
        border-radius: 6px;
    }

        .footer-link:hover {
            color: var(--accent-color);
            background: color-mix(in srgb, var(--accent-color), transparent 93%);
            transform: translateY(-2px);
        }

    .footer-divider {
        color: color-mix(in srgb, var(--default-color), transparent 70%);
        font-size: 12px;
        margin: 0 4px;
    }

    .footer-copyright {
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 13px;
        font-weight: 400;
        letter-spacing: 0.3px;
    }

    .footer .footer-top {
        padding-top: 50px;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

    .footer .footer-about .logo {
        line-height: 1;
        margin-bottom: 25px;
    }

        .footer .footer-about .logo img {
            max-height: 40px;
            margin-right: 6px;
        }

        .footer .footer-about .logo span {
            font-size: 26px;
            font-weight: 700;
            letter-spacing: 1px;
            font-family: var(--heading-font);
            color: var(--heading-color);
        }

    .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: 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(--accent-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 30%);
                display: inline-block;
                line-height: 1;
            }

                .footer .footer-links ul a:hover {
                    color: var(--accent-color);
                }

    .footer .footer-contact p {
        margin-bottom: 5px;
    }

    .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;
        }

            .footer .footer-newsletter .newsletter-form input[type=submit]:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
            }

    .footer .copyright {
        padding: 25px 0;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .footer .copyright p {
            margin-bottom: 0;
        }

    .footer .credits {
        margin-top: 6px;
        font-size: 13px;
    }


/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global button
--------------------------------------------------------------*/

.btn-global {
    cursor: pointer;
    color: var(--contrast-color);
    background: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px 12px 28px;
    border:none;
    border-radius: 50px;
    transition: 0.5s;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

    .btn-global:hover {
        color: var(--contrast-color);
        background: color-mix(in srgb, var(--accent-color), transparent 15%);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    }

/* OAuth Button Variants */
    .btn-global.btn-google {
        background: var(--accent-color);
        border-color: var(--accent-color);
    }

        .btn-global.btn-google:hover {
            background: color-mix(in srgb, var(--accent-color), transparent 15%);
            border-color: var(--accent-color);
            color: var(--contrast-color);
        }

.btn-global.btn-facebook {
    background: #1877f2;
    border-color: #1877f2;
}

.btn-global.btn-facebook:hover {
    background: color-mix(in srgb, #1877f2, transparent 15%);
    border-color: #1877f2;
    color: var(--contrast-color);
}

.btn-global.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
}

.btn-global.btn-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    opacity: 0.9;
    color: var(--contrast-color);
}

.btn-global.btn-youtube {
    background: #FF0000;
    border-color: #FF0000;
}

.btn-global.btn-youtube:hover {
    background: color-mix(in srgb, #FF0000, transparent 15%);
    border-color: #FF0000;
    color: var(--contrast-color);
}

/* Button Variants */
.btn-global.danger {
    background: #dc3545;
    border-color: #dc3545;
}

.btn-global.danger:hover {
    background: color-mix(in srgb, #dc3545, transparent 15%);
    border-color: #dc3545;
    color: var(--contrast-color);
}

.btn-global.secondary {
    background: #6c757d;
    border-color: #6c757d;
}

.btn-global.secondary:hover {
    background: color-mix(in srgb, #6c757d, transparent 15%);
    border-color: #6c757d;
    color: var(--contrast-color);
}

.btn-global.success {
    background: #198754;
    border-color: #198754;
}

.btn-global.success:hover {
    background: color-mix(in srgb, #198754, transparent 15%);
    border-color: #198754;
    color: var(--contrast-color);
}

.btn-global.warning {
    background: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.btn-global.warning:hover {
    background: color-mix(in srgb, #ffc107, transparent 15%);
    border-color: #ffc107;
    color: #000;
}

.btn-global.info {
    background: #0dcaf0;
    border-color: #0dcaf0;
    color: #000;
}

.btn-global.info:hover {
    background: color-mix(in srgb, #0dcaf0, transparent 15%);
    border-color: #0dcaf0;
    color: #000;
}

/* Small button variant */
.btn-global.btn-sm {
    padding: 5px 15px;
    font-size: 14px;
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
}

    .page-title .heading {
        padding: 160px 0 80px 0;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .page-title .heading h1 {
            font-size: 38px;
            font-weight: 700;
        }

    .page-title nav {
        background-color: color-mix(in srgb, var(--default-color), transparent 88%);
        padding: 20px 0;
    }

        .page-title nav ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            margin: 0;
            font-size: 16px;
            font-weight: 600;
        }

            .page-title nav ol li + li {
                padding-left: 10px;
            }

                .page-title nav 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: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 14px;
        font-weight: 500;
        padding: 0;
        line-height: 1px;
        margin: 0;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        position: relative;
    }

        .section-title h2::after {
            content: "";
            width: 120px;
            height: 1px;
            display: inline-block;
            background: var(--accent-color);
            margin: 4px 10px;
        }

    .section-title div {
        color: var(--heading-color);
        margin: 0;
        margin: 0;
        font-size: 28px;
        font-weight: 700;
        text-transform: uppercase;
        font-family: var(--heading-font);
    }


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 70vh;
    position: relative;
    padding: 120px 0 120px 0;
    display: flex;
    align-items: center;
}

    .hero .hero-bg {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .hero:before {
        content: "";
        background: color-mix(in srgb, var(--background-color), transparent 10%);
        position: absolute;
        inset: 0;
        z-index: 2;
    }

    .hero .container {
        position: relative;
        z-index: 3;
    }

    .hero h1 {
        margin: 0 0 20px 0;
        font-size: 48px;
        font-weight: 700;
        line-height: 56px;
        color: color-mix(in srgb, var(--heading-color), transparent 30%);
    }

        .hero h1 span {
            color: var(--heading-color);
            border-bottom: 4px solid var(--accent-color);
        }

    .hero p
    {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin: 5px 0 30px 0;
        font-size: 22px;
        font-weight: 400;
    }

    

    .hero .btn-watch-video {
        font-size: 16px;
        transition: 0.5s;
        margin-left: 25px;
        color: var(--default-color);
        font-weight: 600;
    }

        .hero .btn-watch-video i {
            color: var(--accent-color);
            font-size: 32px;
            transition: 0.3s;
            line-height: 0;
            margin-right: 8px;
        }

        .hero .btn-watch-video:hover {
            color: var(--accent-color);
        }

            .hero .btn-watch-video:hover i {
                color: color-mix(in srgb, var(--accent-color), transparent 15%);
            }

    .hero .animated {
        animation: up-down 2s ease-in-out infinite alternate-reverse both;
    }

@media (max-width: 640px) {
    .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .hero p {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .hero .btn-get-started,
    .hero .btn-watch-video {
        font-size: 13px;
    }
}

.hero .hero-waves {
    display: block;
    width: 100%;
    height: 60px;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3;
}

.hero .wave1 use {
    animation: move-forever1 10s linear infinite;
    animation-delay: -2s;
    fill: var(--default-color);
    opacity: 0.6;
}

.hero .wave2 use {
    animation: move-forever2 8s linear infinite;
    animation-delay: -2s;
    fill: var(--default-color);
    opacity: 0.4;
}

.hero .wave3 use {
    animation: move-forever3 6s linear infinite;
    animation-delay: -2s;
    fill: var(--default-color);
}

@keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes move-forever3 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Hero Review Boxes Styles */
.hero-review-container {
    height: 500px;
    position: relative;
}

.hero-review-box {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    max-width: 280px;
    animation: float 6s ease-in-out infinite;
    /* Firefox performance optimizations */
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

.hero-review-box.review-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.hero-review-box.review-2 {
    top: 120px;
    right: 30px;
    animation-delay: 2s;
}

.hero-review-box.review-3 {
    bottom: 40px;
    left: 40px;
    animation-delay: 4s;
}

.hero-youtube-box {
    position: absolute;
    bottom: 140px;
    right: 20px;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    max-width: 260px;
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

.hero-youtube-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-review-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-review-box h6 {
    color: #333;
}

.hero-review-box .review-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555;
    margin-bottom: 8px;
}

.hero-review-container .floating-rating-badge {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.hero-review-box .rating-number {
    font-size: 2rem;
    margin-bottom: 5px;
}

@keyframes float {
    0%, 100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }
    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        -webkit-transform: translateY(-50%) scale(1);
        transform: translateY(-50%) scale(1);
    }
    50% {
        -webkit-transform: translateY(-50%) scale(1.05);
        transform: translateY(-50%) scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-review-container {
        height: 400px;
        margin-top: 2rem;
    }
    
    .hero-review-box {
        max-width: 240px;
        padding: 16px;
    }

    .hero-youtube-box {
        max-width: 220px;
        padding: 14px;
        bottom: 120px;
    }

    .hero-review-container .floating-rating-badge {
        right: 10px;
        padding: 16px;
    }
    
    .hero-review-box .rating-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-review-container {
        height: 350px;
    }
    
    .hero-review-box {
        max-width: 200px;
        padding: 12px;
    }

    .hero-youtube-box {
        max-width: 180px;
        padding: 10px;
        bottom: 100px;
    }

    .hero-review-box .review-text {
        font-size: 0.8rem;
    }
}


/* Modal backdrop styling */
body.modal-open .main-content {
  filter: blur(2px);
  transition: filter 0.3s ease;
}

body:not(.modal-open) .main-content {
  filter: none;
  transition: filter 0.3s ease;
}

/* Layout option hover effects */
.layout-option {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.layout-option:hover {
  transform: translateY(-2px);
}

.layout-option .card {
  transition: all 0.2s ease;
}

.layout-option:hover .card {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.layout-preview {
  min-height: 200px;
}

/* Google Sign-In Divider Styling */
.divider {
  position: relative;
  margin: 1rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #dee2e6;
}

.divider-text {
  background-color: white;
  padding: 0 1rem;
  color: #6c757d;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

/* Google Button Styling */
.btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

/* Footer styles */
.hover-effect {
  transition: color 0.2s ease-in-out;
}

.hover-effect:hover {
  color: #0077cc !important;
}

.social-icon {
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: #0077cc !important;
}

/* Modal Container Styles - Clean and Simple */
.modal-container {
  position: relative;
}

/* Enhanced Modal Styling */
.modal-content {
  background: var(--surface-color);
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.modal-header {
  background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 95%));
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.modal-body {
  background: var(--surface-color);
}

.modal .form-control:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(26, 204, 141, 0.25) !important;
}

.modal .btn-outline-danger {
  border: 2px solid #dc3545;
  color: #dc3545;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modal .btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* OAuth Button Styling */
.modal .btn-outline-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.modal a[style*="gradient"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(188, 24, 136, 0.3);
}

/* Enhanced modal backdrop */
.modal-backdrop {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.4) !important;
  z-index: 1050;
}

/* Ensure proper modal behavior */
body.modal-open {
  overflow: hidden !important;
  padding-right: 0 !important;
}

/* Modal animation enhancements */
.modal.fade .modal-dialog {
  transform: scale(0.8) translateY(-50px);
  transition: all 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

/* Form validation styling */
.modal .form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.modal .form-control.is-valid {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(26, 204, 141, 0.25);
}

/* Custom Modal Styling */
#loginModal .modal-header {
  border-top-right-radius: 15px;
}

/* Toast Notification Styles */
.toast {
  min-width: 300px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
}

.toast-body {
  font-size: 0.95rem;
  padding: 0.75rem;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  filter: brightness(0.75);
}

@keyframes toast-progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/*--------------------------------------------------------------
# Widget Upgrade Modal Styles
--------------------------------------------------------------*/

/* Billing Toggle */
.widget-upgrade .billing-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.widget-upgrade .billing-label {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.widget-upgrade .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.widget-upgrade .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.widget-upgrade .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 26px;
}

.widget-upgrade .toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.widget-upgrade .toggle-switch input:checked + .toggle-slider {
    background-color: #28a745;
}

.widget-upgrade .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Price Strikethrough */
.widget-upgrade .price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 8px;
    font-weight: 500;
}

/* Plan Cards */
.widget-upgrade .plan-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
}

.widget-upgrade .plan-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.widget-upgrade .plan-card.popular-plan {
    border-color: var(--accent-color);
    position: relative;
}

.widget-upgrade .plan-card.enterprise-plan {
    border-color: #6f42c1;
    position: relative;
}

.widget-upgrade .plan-card.current-plan {
    border-color: #28a745;
    background-color: #f8fff8;
}

/* Plan Badges */
.widget-upgrade .plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.widget-upgrade .plan-badge.enterprise-badge {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
}

/* Plan Header */
.widget-upgrade .plan-header {
    text-align: center;
    margin-bottom: 20px;
}

.widget-upgrade .plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.widget-upgrade .plan-price {
    margin-bottom: 4px;
}

.widget-upgrade .plan-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.widget-upgrade .plan-price .period {
    color: #6c757d;
    font-size: 0.9rem;
}

.widget-upgrade .annual-price {
    font-size: 11px;
    color: #28a745;
    font-weight: 600;
    margin-bottom: 8px;
}

.widget-upgrade .current-badge {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

/* Feature List */
.widget-upgrade .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.widget-upgrade .feature-list li {
    padding: 6px 0;
    font-size: 13px;
}

/* Plan Action */
.widget-upgrade .plan-action {
    margin-top: 20px;
}

/* Upgrade Highlight */
.widget-upgrade .upgrade-highlight {
    border-radius: 12px;
}

.widget-upgrade .upgrade-highlight .alert {
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .widget-upgrade .plan-card {
        margin-bottom: 1rem;
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 30px;
    bottom: 30px;
    z-index: 996;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #764ba2 40%));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.4s;
    box-shadow: 0 4px 12px rgba(26, 204, 141, 0.3);
}

    .scroll-top i {
        font-size: 28px;
        color: #fff;
        line-height: 0;
    }

    .scroll-top:hover {
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 15%), color-mix(in srgb, #764ba2, transparent 15%));
        box-shadow: 0 6px 20px rgba(26, 204, 141, 0.5);
        transform: translateY(-3px);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
    }

@media (max-width: 768px) {
    .scroll-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }

        .scroll-top i {
            font-size: 24px;
        }
}