:root {
    --bs-primary: #2f3e3f;;
    --bs-secondary: #4299E1;
}



@keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-15px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  @font-face {
    font-family: 'NotoSansHK-bold';
    src: url('/assets/fonts/Noto_Sans_HK/static/NotoSansHK-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
  }
  

  @font-face {
    font-family: Montserrat;
    src: url(/assets/fonts/Montserrat/static/Montserrat-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
  }



@media (min-width: 992px) {
    html{
        font-size: 16px;
        color: var(--bs-primary);
    }
}

@media (min-width: 1200px) {
    html{
        font-size: 19px;
        color: var(--bs-primary);
    }
}

@media (min-width: 1400px) {
    html{
        font-size: 20px;
    }
}

h1.sectionTitle {
    font-size: 2.2rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

h3.sectionTitle {
    font-size: 1.3rem;
    color: #00a1e4;
    font-weight: 600;
} 

h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Error Page Styles */
.error-container {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff, #f0f7ff);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-content {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.error-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 30px;
}

.error-details {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    overflow-x: auto;
}

.error-details pre {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.back-button {
    margin-top: 30px;
}

.back-button .btn {
    padding: 10px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.back-button .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
} 



.demo-btn {
    display: inline-block;
    background-color: #4285f4;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
    border: none;
  }
  
  .demo-btn:hover {
    background-color: #3367d6;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(66, 133, 244, 0.4);
    color: white;
    text-decoration: none;
  }

.navbar {
    transition: all 0.4s ease;
    background-color: transparent;
    padding: 10px 0;
    border: none;
}


.navbar-expand-lg {
    max-width: 90%;
    margin: 0 auto;
}

.navbar-inner {
    background-color: #fffffff8;
    border-radius: 50px;
    padding: 10px 25px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(74, 72, 145, 0.08);
    transition: all 0.4s ease;
}

.navbar-brand {
    padding: 0;
    margin-right: 30px;
}

.navbar.floating {
    margin-top: 0;
}

.navbar.floating .navbar-inner {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
    color: #333;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link.active {
    color: #4285f4;
}

@media (min-width: 991px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    .navbar .nav-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: #4285f4;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }    
}


.navbar .nav-link.active:after,
.navbar .nav-link:hover:after {
    width: 70%;
}

.navbar .nav-link:hover {
    color: #4285f4;
}

.demo-nav-btn {
    background-color: #4285f4;
    color: white !important;
    border-radius: 30px;
    padding: 8px 20px !important;
    margin-left: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
}

.demo-nav-btn:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(66, 133, 244, 0.4);
}

.demo-nav-btn:after {
    display: none;
}

.navbar-toggler {
    background-color: #00a1e4;
    color: white;
    border: none;
}

.navbar-toggler-icon {
    color: white;
    background-image: url('/assets/menuButton.svg');
}



@media (max-width: 991px) {
    .navbar-collapse.collapse.show {
        z-index: 1000;
        max-height: calc(100vh - 120px);
        overflow-y: scroll;
    }
    .navbar-inner {
        border-radius: 20px;
        padding: 10px 15px;
    }
    
    .navbar.floating {
        margin-top: 0;
    }
    
    .navbar .nav-link.demo-nav-btn {
        margin: 10px 0 0 10px;
    }
    
    .demo-nav-btn {
        margin: 10px 0;
        display: inline-block;
        text-align: center;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
        padding: 1rem;
    }

    

    .navbar-inner {
        position: relative;
        width: 100%;
        justify-content: space-between;
    }

    /* Animation for dropdown */
    .navbar-collapse {
        padding: 2rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.2s ease;
        display: block !important;
        visibility: hidden;
    }

    .navbar-collapse.show {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu,
    .modules-dropdown {
        position: static;
        box-shadow: none;
        transform: none !important;
        min-width: 100%;
        margin-top: 0;
        padding: 10px 0;
        background: #f8f9fa;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu::before,
    .modules-dropdown::before {
        display: none;
    }

    /* Adjust module dropdown for mobile */
    .modules-dropdown {
        padding: 15px;
    }

    .modules-menu-container {
        flex-direction: column;
    }

    .module-category {
        margin-bottom: 20px;
        padding: 0;
    }

    /* Style the dropdown toggles for mobile */
    .nav-link[id$="Dropdown"] {
        position: relative;
        cursor: pointer;
        padding-right: 30px !important;
    }

    .nav-link[id$="Dropdown"]::after {
        content: '\F235';
        font-family: 'bootstrap-icons';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%) rotate(180deg);
        font-size: 10px;
        transition: transform 0.3s ease;
        border: none;
        color: #333;
    }

    .navbar .nav-link.active:after, .navbar .nav-link:hover:after{
        width: unset;
    }

    .nav-link[id$="Dropdown"].active::after {
        transform: translateY(-50%);
    }

    /* Animation for dropdown */
    .dropdown-menu {
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: "Microsoft JhengHei", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.topBannerIndex {
    background-size: cover; /* Ensure the image covers the area */
    background-repeat: no-repeat; /* Prevent repeating */
    background-position: center; /* Center the image */
    overflow: hidden;
    padding-top: calc(100vw * (800 / 1920));
}


.indexBannerScreenshots {
    height: 110%;
    width: auto;
    animation: homepageBannerAnimation 6s linear infinite ;
    z-index: 2;
}

@media (max-width: 992px) {
    .topBannerIndex {
        padding-top: 80%;
    }
    .indexBannerScreenshots{
        animation: none;
        top: 0;
        right: -10%;
    }
}



@keyframes homepageBannerAnimation {
    0% {
        top: 0%;
        right:-10%;
    }
    100% {
        top: -8%;
        right:-3%;
    }
}

.topBannerIndexTitle {
    position: relative;
    display: inline-block;
    z-index: 2;
    will-change: transform;
    transition: transform 0.2s ease-out;
}

.topBanner {
    position: relative;
    overflow: hidden;
}

.topBannerIndexTitle {
    font-family: "NotoSansHK-bold";
    letter-spacing: 4px;
    text-align: left;
    font-weight: bold;
    color:white;
    text-shadow: 5px 4px 3px #013d78bf, 1px 1px 8px #439bff, 0 3px 18px rgb(31 108 236 / 28%);
    left: 0;
    z-index: 3;
    top: 33%;
    /* background: linear-gradient(to right, #1976c84a 0%, #00a0e400 50%,  #ffffff00 100%); */
    padding: 2rem;
    width: 100%;
    padding-left: 5rem;
    letter-spacing: 4px;
}

.topBannerIndexTitle span{
    color: #047fc9;
    text-shadow: 1px 1px 26px white, 1px 1px 26px white, 1px 1px 26px white;
}

@media (max-width: 992px) {
    .topBannerIndexTitle {
        font-size: 2rem;
        background-color: #18548ae3;
        width: 100%;
        left: 0;
        color: white;
        line-height: 1.2;
        padding: 1rem;
        text-align: center;
        text-shadow: unset;
    }
    .topBannerIndexTitle span{
        color: white;
        text-shadow: unset;
    }
}

@media (min-width: 992px) {
    .topBannerIndexTitle {
        font-size: 3.3rem;
    }
}

.indexBannerScreenshots img {
    width: auto;
    height: 100%;
}

.topBannerDeco1 {
    position: absolute;
    top: -35%;
    left: 30%;
    z-index: 1;
    animation: scaleAnimationBanner 6s ease-in-out infinite ;
    animation-delay: 0.4s;
    opacity: 0.4;
}

.topBannerDeco2 {
    position: absolute;
    bottom: -30%;
    left: 45%;
    z-index: 0;
    animation: scaleAnimationBanner 7s ease-in-out infinite;
}

.topBannerDeco3 {
    position: absolute;
    bottom: -30%;
    left: -20px;
    z-index: 0;
    animation: scaleAnimationBannerSmall 4s ease-in-out infinite;
    animation-delay: 0.2s;
    transform: scale(0.5);
    opacity: 0.5;
}

@keyframes scaleAnimationBanner {
    0%, 100% {
        transform: scale(0.8); /* Original size */
    }
    50% {
        transform: scale(1.2); /* Slightly larger */
    }
}

@keyframes scaleAnimationBannerSmall {
    0%, 100% {
        transform: scale(0.5); /* Original size */
    }
    50% {
        transform: scale(0.7); /* Slightly larger */
    }
}



.displaySection h1 {
    font-size: 2.2rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.displaySection h3 {
    font-size: 1.2rem;
    color: #00a1e4;
    font-weight: 600;
}

.bg-colorSpace {
    background: linear-gradient(to top right, #ffffff, #f7f9ff,#fcffff, #e1f5fb, #ffffff);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 50% 0%;
    }
    
    100% {
        background-position: 50% 100%;
    }
}

/* Add your custom styles here */

/* Solutions Section */
.solutions {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 90vw; /* Set max-width for the solutions section */
    margin: 0 auto; /* Center the section */
    position: relative; /* Make the solutions section relative */
    z-index: 1; /* Ensure content is above the background */

}

@media (min-width: 992px) {
    .solutions {
        padding: 3rem 0;
        overflow-x: hidden;

    }
}

.solution-point {
    position: relative;
    margin: 4rem 0;
}

@media (min-width: 992px) {
    .solution-point {
        padding: 2rem 0;
    }
}


/* Screen Styles */
.screen-container {
    width: 375px;
    height: 700px;
    position: relative;
    display: none; /* Hidden by default */
    box-shadow: none; /* Remove shadow effect */
}

.screen-container.visible {
    display: block;
}

.screen-img {
    height: 85%;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 10%;
    left: 5%;
    object-fit: cover;
}

.screen-img.active {
    opacity: 1;
}

.screen-container.fixed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Content Box Styles */
@media (min-width: 992px) {
.content-box {
    padding: 2rem;
    }
    .feature-description {
        padding-right: 2rem;
    }
}

.point-label {
    color: #FF6B00;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .illustration-wrapper {
        display: none; /* Hide illustrations on mobile */
    }

    .screen-container {
        display: block;
        position: static;
        width: 100%;
        max-width: 375px;
        margin: auto;
    }

    .screen-img {
        position: static;
        display: none;
        margin: 0 auto; /* Center the image */
    }

    .screen-img.active {
        display: block;
        opacity: 1;
    }

    .solution-point {
        text-align: center;
        margin: 2rem 0 0 0 ;
    }



    /* Center the screencap container */
    .col-12.d-block {
        display: flex !important;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {


    .feature-title {
        font-size: 2rem;
    }
}

/* Add these styles */
.intro-section,
.features-section {
    padding: 30px 0;
    background: white;
}

.intro-section h2,
.features-section h2 {
    color: var(--bs-primary);
}

.lead {
    font-size: 1.25rem;
    color: #666;
}

.topBanner {
    position: relative;
    margin-top: 66px;

    background-size: cover; /* Ensure the image covers the area */
    background-repeat: no-repeat; /* Prevent repeating */
    background-position: center; /* Center the image */
}

@media (min-width: 992px) {
    .topBanner {
        margin-top: unset;
    }
}

.school-sharing {
    padding: 80px 0; /* Add padding for spacing */
    width: 100%; /* Ensure full width */
}

.school-sharing h5 {
    font-size: 1.2rem; /* Match the font size */
    font-weight: bold; /* Match the font weight */
    color: var(--bs-primary); /* Match the color */
    margin-bottom: 0; /* Add margin for spacing */
    color: #FF6B00;
}

.card {
    position: relative; /* Make the card a positioned element */
    border: 0px solid #007bff; /* Border color */
    border-radius: 15px; /* Rounded corners */
    transition: transform 0.3s; /* Smooth transition for hover effect */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    padding: 50px 25px; /* Increase padding inside each card */
    min-width: 300px; /* Set a minimum width for the card */
    flex: 1 0 auto; /* Allow cards to grow and shrink */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    background-color: #f0f8ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: scale(1.05); /* Scale effect on hover */
}

.card-body {
    position: relative; /* Position the card body */
    z-index: 2; /* Ensure the text is above the background */
}

.card-decor {
    position: absolute; /* Position the image absolutely */
    top: 10px; /* Adjust as needed */
    left: 10px; /* Adjust as needed */
    width: 50px; /* Set a width for the decoration image */
    height: auto; /* Maintain aspect ratio */
    z-index: 1; /* Ensure it appears above other content */
}

.card-title {
    font-weight: bold; /* Bold title */
    font-size: 1.5rem; /* Adjust font size */
    margin-bottom: 10px; /* Add space between title and text */
    text-align: center; /* Center the title */
    color: var(--bs-primary);
}

.card-text {
    font-size: 1rem; /* Adjust font size */
    color: #333; /* Text color */
    text-align: center; /* Center the text */
    padding: 15px; /* Add padding to the card body */
} 

.card-logo {
    width: 50px; /* Set the width of the logo */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Space between logo and text */
    display: block; /* Ensure it behaves as a block element */
    margin-left: auto; /* Center the logo */
    margin-right: auto; /* Center the logo */
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px !important; /* Set the width of the arrows */
    height: 40px !important; /* Set the height of the arrows */
    background-color: #00a1e4; /* Make the background transparent */
    border-radius: 50%; /* Make them circular */
    display: flex; /* Center the icon */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    transition: background-color 0.3s, transform 0.3s; /* Smooth background transition */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px !important; /* Adjust the icon size */
    color: white; /* Change the color of the arrows */
}

/* Change background color on hover */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 123, 255, 0.1); /* Change background on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.swiper-container{
    position: relative;
    width: 953;
    margin: 0 auto;
}

.swiper {
    width: 100%; /* Use full width of the container */
    height: auto; /* Adjust height as needed */
}

.swiper-container .swiper-button-prev{
    left: -50px;
}
.swiper-container .swiper-button-next{
    right: -50px;
}
.swiper-container .swiper-pagination{
    bottom: -30px!important;
}

.background-deco {
    position: absolute; /* Position it absolutely */
    width: 46%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    opacity: 0.5; /* Set opacity for a subtle effect */
    z-index: 0; /* Ensure it's behind other content */
    animation: scaleAnimation 6s ease-in-out infinite; /* Add animation */
}

.right-deco {
    top: 15%; /* Align to the top */
    right: -15%; /* Align to the right */
}

.left-deco {
    top: 40%; /* Align to the top */
    left: -10%; /* Align to the left */
}

.bottom-right-deco {
    bottom: 5%; /* Align to the bottom */
    right: -10%; /* Align to the right */
    width: 50%; /* Adjust width as needed */
}

/* Animation for scaling */
@keyframes scaleAnimation {
    0%, 100% {
        transform: scale(1); /* Original size */
    }
    50% {
        transform: scale(1.1); /* Slightly larger */
    }
}

.features-section {
    min-height: 2180px;
    position: relative;
    padding-top: 100px;
}

.feature-box {
    background: linear-gradient(to right, #EBF8FD, #c6e4ff);
    border-radius: 25px;
    padding: 60px 80px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 60px;
    margin-bottom: 40px;
    width: 100%;
    height: 500px;
    max-width: 1140px;
    margin: 0 auto;
    box-shadow: 0 -4px 8px #bbcfdd8a;
}

.feature-box.fixed-box {
    display: block;
    background: none;
    border: none;
    box-shadow: none;
}

.feature-box.fixed {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1140px;
}

/* Stack positions */
.feature-box.fixed[data-index="1"] {
    transform: translateX(-50%) translateY(10px);
}

.feature-box.fixed[data-index="2"] {
    transform: translateX(-50%) translateY(20px);
}

/* Remove any existing transform animations */
.feature-box::before {
    content: attr(data-category);
    position: absolute;
    left: -5px;
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    writing-mode: vertical-lr;
    font-size: 2.5em; /* Adjust size as needed */
    font-weight: 800;
    color: #007bff38; /* Darker blue */
    /* color: #00A1E4;*/
    text-transform: uppercase;
    letter-spacing: 0.1em;
    height: auto;
    line-height: 1;
  /*  animation: bounce 4s ease-in-out infinite;*/ /* Apply bounce animation */
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
}

.feature-title {
    font-size: 2.2rem;
    color: #2f3e3f;
    margin-bottom: 15px;
    margin-top: 15px;
}

.feature-description {
    font-size: 1.1rem;
    color: #2f3e3f;
    line-height: 1.6;
    margin-bottom: 30px;
    margin-top: 2rem;
}

.client-sharing {
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.client-sharing p {
    margin: 0;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .feature-box {
        padding: 40px 60px;
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }

    .feature-box::before {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .feature-box {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }
    
    .feature-box::before {
        position: static;
        transform: none;
        writing-mode: horizontal-tb;
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .feature-content {
        text-align: center;
    }

    .feature-image {
        max-width: 400px;
        margin: 0 auto;
        display: none;
    }
}

.product-categories-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
}

.product-categories-section h1 {
    font-size: 2.2rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.product-categories-section h3 {
    font-size: 1.2rem;
    color: #00a1e4;
    font-weight: normal;
}

.product-category-box {
    background: white;
    border-radius: 16px;
    padding: 20px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0px 1px 3px rgba(16, 24, 40, 0.1), 
        0px 1px 2px rgba(16, 24, 40, 0.06),
        0 8px 24px -4px #70beeb59;
    transition: all 0.3s ease;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(230, 235, 241, 0.5);
}

.product-category-box:hover {
    transform: translateY(-15px);
    box-shadow: 
        0px 4px 8px rgba(16, 24, 40, 0.12),
        0px 20px 32px #70beeb59;
}

.category-title {
    color: #00A1E4;
    text-align: center;
    position: relative;
    text-decoration: none;
}


.product-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.product-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(230, 235, 241, 0.7);
    color: #475467;
    font-size: 1.1rem;
}

.product-list li:last-child {
    border-bottom: none;
}

.category-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 30px;
    background: #00A1E4;
    color: white;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
}

.category-btn:hover {
    background: #0088c7;
    color: white;
    box-shadow: 0 2px 4px #70beeb59;
}

@media (max-width: 992px) {
    .product-category-box {
        margin-bottom: 30px;
    }
}

.category-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    display: block;
    object-fit: contain;
}

/* Modern Teacher Sharing Section - Refined Design */
.teacher-sharing-section {
    
    margin: 40px auto;
    max-width: 90%;
    overflow: hidden;
}

.teacher-sharing-container {
    margin: 0 auto;
    border-radius: 20px;
    padding: 80px 0 140px 0;
    background: linear-gradient(to top right, #ebeffa,#fcffff, #e1f5fb);
    background-size: 200% 200%;
    animation: gradientAnimation 10s ease infinite;
}

.teacher-sharing-header {
    text-align: center;
    margin-bottom: 60px;
}



.teacher-sharing-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Sharing Slider */
.sharing-slider {
    margin: 0 auto;
    width: 90%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin-top: -160px;
}

.sharing-track {
    display: flex;
    animation: slideRight 50s linear infinite;
    width: max-content;
}

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

.sharing-card {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px #92c3e5a3;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sharing-card .highlight {
    color: #00a1e4;
}

.sharing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px #79a7c7a3;
    transform: scale(1.05);
}

.sharing-card:hover .author .name {
    color: #00a1e4;
}

.sharing-card:hover .quote {
    color: #0e1c55;
}

.sharing-content {
    padding: 25px;
}

.quote {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.author .name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author .school {
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .stats-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .sharing-card {
        width: 280px;
    }
}

@media (max-width: 640px) {
    .teacher-sharing-section {
        padding: 60px 0;
        margin: 0;
        max-width: 100%;
    }
    
    .sharing-card {
        width: 260px;
    }
}

/* Advantages Section */
.advantages-section {
  background-color: #f5f7fa;
  padding: 80px 0;
  margin: 80px 0;
  position: relative;

}

@media (max-width: 992px) {
  .advantages-section {
    margin: 0;
  }
}

.decoration-image {
  width: 680px;
  position: absolute;
  text-align: left;
  bottom: 0;
  right: 3%;
  z-index: 1;
  max-width: 40%;
  /* transform: rotate3d(0, 2, 1, 29deg); */
  overflow: hidden;
}

.decoration-image img {

  height: auto;
}

.advantages-header h2 {
  font-size: 2.5rem;
  color: #333;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  position: relative;
  z-index: 2;
}

.advantages-subheader {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.advantages-subheader p {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
}

.advantages-cards {
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.advantage-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 5px 15px #92c3e5a3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px #92c3e5a3;
}

.advantage-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.blue-icon {
  background-color: rgb(149 242 255 / 49%);
}

.yellow-icon {
  background-color: #fff1b3;
}

.green-icon {
  background-color: #94ff0082;
}

.advantage-icon img {
  width: 100%;
  height: auto;
  max-width: 60px;
  filter: invert(23%) sepia(75%) saturate(1352%) hue-rotate(198deg) brightness(91%) contrast(87%);
  animation: swingIcon 5 s ease-in-out infinite;
}

/* Swinging animation for advantage icons */
@keyframes swingIcon {
  0% {
    transform: rotate(-5deg);
  }

  50% {
    transform: rotate(5deg);
  }

  100% {
    transform: rotate(-5deg);
  }
}

/* Add a slight delay to each icon to create a more natural effect */
.blue-icon img {
  animation-delay: 0s;
}

.yellow-icon img {
  animation-delay: 0.5s;
}

.green-icon img {
  animation-delay: 1s;
}

/* This filter applies #2056a7 color to the SVG strokes */
.blue-icon img, .yellow-icon img, .green-icon img {
  stroke: #2056a7;
}

.advantage-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.advantage-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;  
}


@media (max-width: 992px) {
  .advantages-header, .advantages-subheader {
    text-align: center;
  }
  
  .advantages-subheader {
    justify-content: center;
    margin-top: 20px;
  }
  

}

@media (max-width: 768px) {
  .advantages-header h2 {
    font-size: 2rem;
  }
}

/* Schedule Demo Section */
.schedule-demo-section {
  padding: 80px 0;
  background-color: #e8efff;
  text-align: center;
}

.schedule-demo-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.schedule-demo-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


@media (max-width: 768px) {
  .schedule-demo-section {
    padding: 60px 0;
  }
  
  .schedule-demo-section h2 {
    font-size: 1.7rem;
  }
  
  .demo-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: #fff;
}

.faq-section h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.faq-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  background-color: #f8f9fa;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #4285f4;
  background-color: #f0f7ff;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-size: 18px;
  transition: all 0.3s ease;
}

.accordion-body {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  background-color: #fff;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-section h2 {
    font-size: 1.8rem;
  }
  
  .accordion-button {
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  .accordion-body {
    padding: 15px 20px;
  }
}

/* Footer Section */
.footer-section {
  background-color: #2c3e50;
  color: #fff;
  padding: 70px 0 20px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
}

.company-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.company-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #4285f4;
  color: #fff;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: #4285f4;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #4285f4;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  margin-bottom: 20px;
}

.contact-info i {
  font-size: 1.2rem;
  color: #4285f4;
  margin-right: 15px;
  margin-top: 3px;
}

.contact-info div {
  flex: 1;
}

.contact-info span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #4285f4;
}

.contact-info p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 992px) {
  .footer-bottom-links {
    justify-content: flex-start;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 50px 10px 20px;
  }
  
  .footer-heading {
    margin-top: 20px;
  }
}

/* Dropdown menu styling */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    display: none;
}

.navbar-nav .dropdown-toggle:after {
    display: none;
}

/* Common styles for all dropdown menus */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 15px 0;
    background: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Specific styles for services dropdown */
#servicesDropdown + .dropdown-menu {
    min-width: 280px;
}

#servicesDropdown + .dropdown-menu .dropdown-item {
    padding: 12px 25px;
    font-size: 1rem;
    white-space: nowrap;
}

#servicesDropdown + .dropdown-menu .dropdown-item:hover {
    background: transparent;
    color: #00A1E4;
    transform: translateX(5px);
}

/* Specific styles for modules dropdown */
.modules-dropdown {
    min-width: 800px;
    padding: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown:hover .modules-dropdown {
    transform: translateX(-37%) translateY(0);
}

/* Dropdown items styling */
.dropdown-item {
    padding: 8px 25px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #4285f4;
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .dropdown-menu,
    .modules-dropdown {
        position: static;
        box-shadow: none;
        transform: none;
        min-width: 100%;
        margin-top: 0;
        padding: 10px 0;
        background: #f8f9fa;
    }

    .dropdown-menu::before,
    .modules-dropdown::before {
        display: none;
    }

    .modules-dropdown {
        transform: none;
    }

    .dropdown:hover .modules-dropdown {
        transform: none;
    }
}

/* Module category icons */
.module-category h5 {
    color: #00A1E4;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px; /* Space for icon */
    display: flex;
    align-items: center;
    min-height: 32px; /* Ensure minimum height for icon */
}

.schooLinkLogo{
    width: 100%;
    height: auto;
}

/* Add icons before each module category title */
.module-category h5::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.module-category.module-intro h5{
    padding-left: 0;
}

/* Remove the underline that was appearing under icons */
.module-category h5::after {
    display: none;
}

/* Specific icons for each category */
.module-category:nth-child(2) h5::before {
    background-image: url('/assets/icon_message.gif');
}

.module-category:nth-child(3) h5::before {
    background-image: url('/assets/icon_teacher.gif');
}

.module-category:nth-child(4) h5::before {
    background-image: url('/assets/icon_grow.gif');
}

.module-category:nth-child(5) h5::before {
    background-image: url('/assets/icon_new.gif');
}

/* Module menu specific styles */
.modules-menu-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.module-category {
    flex: 1;
    padding: 15px 0px;
    min-width: 180px;
}

@media (max-width: 1200px) {
    .dropdown-menu.modules-dropdown {
        padding: 15px;
    }
    .module-category {
        min-width: 160px;
    }
}

@media (max-width: 992px) {
    .module-category.module-intro a{
        width: 100%;
        display: flex!important;
        align-items: center;
    } 
    .module-category.module-intro a img{
        width: auto!important;
        height: 50px!important;
    }
    .module-category.module-intro h5{
        margin-bottom: 0;
        padding-bottom: 0;
    } 
}

.module-category.module-intro{
    min-width: 100px;
    padding-left: 0;
    padding-right: 15px;
}

.module-category.module-intro a{
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: aliceblue;
}

.module-category.module-intro a:hover{
    background-color: #1972bb!important;
}

.module-category.module-intro a:hover .category-title{
    color: #fff!important;
}

.module-category h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    position: relative;
}

/* Remove the line that was overwriting the icon */
.module-category h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #4285f4;
}

.module-category-last h5 {
    color: #FF6B00!important;
}

.module-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-category ul li {
    margin-bottom: 10px;
}

.module-category ul li a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: block;
}

.module-category ul li a:hover {
    color: #4285f4;
    transform: translateX(5px);
}

.module-category-last ul li a:hover {
    color: #FF6B00!important;
}

@media (max-width: 991px) {
    
    .module-category.module-intro a{
        background-color: white;
    }
    .modules-menu-container {
        gap: 0;
        flex-direction: column;
    }

    .module-category {
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .module-category h5 {
        font-size: 1rem;
        padding-left: 35px; /* Increase padding for mobile */
    }

    .module-category h5::before {
        width: 28px; /* Slightly smaller icons on mobile */
        height: 28px;
    }

    .module-category.module-intro{
        padding-right: 0;
    }

    .module-category.module-intro h5{ 
        padding-left: 0;
    }

    .module-category.module-intro h5::before{ 
        display: none;
    }

    .module-category ul li {
        margin-bottom: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #00a1e4;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #0084bd;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 20px;
    line-height: 45px;
}

.back-to-top.show {
    display: flex;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top i {
        font-size: 18px;
        line-height: 40px;
    }
}



@media (max-width: 992px) {
    .topBanner, .news-hero-section, .hero-section, .news-post-container {
      margin-top: 0!important;
    }    
  }