/* Global */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    padding: 0px;
}

.oh {
    overflow: hidden !important;
}

.d-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-flex-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


/* Custom text classes for YourWorksheet */

.htx {
    font-size: 25px;
    line-height: normal;
    letter-spacing: normal;
    font-weight: 600;
    /* Optional */
}

.stx {
    font-size: 18px;
    line-height: normal;
    letter-spacing: normal;
    font-weight: 500;
    /* Optional */
}

.dsx {
    font-size: 16px;
    line-height: normal;
    letter-spacing: normal;
    font-weight: 400;
    /* Optional */
    color: var(--light-txt);
}


/* Header */


/* Desktop Header - Default */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}


/* Sticky Header */


/* .header.scrolled {
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  padding-left: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  width: 95%;
  max-width: 600px;
  left: 50%;
  transform: translateX(-50%);
  top: 15px;
  background: #ffffff80;
  box-shadow: 0px 4px 40px 0px #0000001a;
  backdrop-filter: blur(40px);
} */


/* Mobile Sticky Header */

@media (max-width: 768px) {
    /* .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 0;
    width: 100%;
    left: 0;
    transform: none;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  } */
}


/* Logo Section */

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    /* display: none; */
    width: 46px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.site-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--black-color);
    transition: color 0.3s ease;
}

.logo-section.full {
    display: flex;
}

.logo-section.minimal {
    display: none;
}


/* Navigation Menu */

.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 0px;
}

.nav-menu a {
    color: var(--light-txt);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    line-height: 20px;
}

.nav-menu a:hover {
    color: var(--black-color);
}

.nav-menu li:first-child a,
.nav-menu a.active {
    color: var(--black-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--main-color);
}


/* .header.scrolled .nav-menu {
  opacity: 0;
  pointer-events: none;
}

.header.scrolled .btn-login {
  display: none;
}

.header.scrolled .btn-get-started {
  display: inline-block;
} */


/* Buttons */

.header-buttons {
    display: flex;
    gap: 2px;
}

.btn {
    padding: 8px 16px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
}

.btn-signup {
    background: transparent;
    color: var(--black-color);
    border: none;
    font-weight: 600;
}

.btn-login {
    background: var(--main-color);
    color: #fff;
}

.btn-get-started {
    background: var(--main-color);
    color: #fff;
    display: none;
}

.btn-border {
    border: 1.33px solid #8f8f8f;
}


/* .header.scrolled .site-name {
  color: var(--black-color);
} */

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: var(--black-color);
    color: var(--white-color);
}

.btn-signup:hover {
    box-shadow: unset;
    color: var(--main-color);
    background: unset;
}

.arrow-btn {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.arrow-btn:hover {
    background: var(--main-color);
    transform: translateY(-2px);
    /* box-shadow: 0 8px 20px rgba(2, 119, 189, 0.4); */
}

.btn-text {
    display: inline-block;
    transition: transform 0.3s ease;
}

.arrow {
    position: absolute;
    right: 25px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.arrow-btn:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

.arrow-btn:hover .btn-text {
    transform: translateX(-10px);
}


/* Mobile Menu Toggle */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--black-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}


/* Mobile Sidebar */

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: #f8f8f8;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sidebar-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--black-color);
}

.sidebar-close {
    font-size: 28px;
    cursor: pointer;
    color: var(--black-color);
    background: none;
    border: none;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-content {
    flex: 1;
    padding: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    flex: 1;
}

.mobile-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-menu a {
    color: var(--black-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 18px 20px;
    display: block;
    transition: background 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    background: #fff;
}

.mobile-menu a.active {
    color: var(--main-color);
    font-weight: 600;
    background: #fff;
}

.mobile-cta {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.mobile-cta .btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 30px;
}


/* Overlay */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.overlay.active {
    display: block;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .desktop-menu nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .nav-menu {
    margin: 0px;
}

.header span.site-name.stx {
    font-weight: 700 !important;
}


/* .header.scrolled .logo-section img {
  display: none;
} */


/* Hero Section */

.hero-section {
    margin-top: 82px;
    padding-top: 32px;
    position: relative;
}

.hero-section .container {
    gap: 16px;
    position: relative;
}

.hero-content {
    gap: 32px;
}

.hero-section .yt {
    gap: 8px;
    padding: 8px 12px;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0px 4px 25px 0px #0000001a;
}

.yt-txt {
    gap: 6px;
}

.yt-txt a {
    gap: 6px;
    text-decoration: none;
}

.yt-txt p,
.yt-txt span {
    font-size: 14px;
    line-height: 16px;
}

.yt-txt span {
    font-weight: 600;
    color: var(--black-color);
}

.hero-title,
.hero-txt,
.hero-content {
    max-width: 1024px;
    width: 100%;
    text-align: center;
}

.hero-title h1 {
    font-size: 48px;
    color: var(--black-color);
    line-height: 64px;
}

.hero-title .high-light {
    color: var(--main-color);
}

.hero-buttons {
    gap: 16px;
}

.hero-buttons a {
    font-size: 16px;
    padding: 12px 32px;
    line-height: 24px;
}

.hero-images {
    align-items: flex-end;
}

.hero-images .student-1 {
    z-index: 1;
}

.hero-images .student-2 {
    margin-right: -94px;
    z-index: 0;
}

.hero-images .student-3 {
    margin-left: -94px;
    z-index: 0;
}

.hero-image-bg {
    max-width: 1343px;
    width: 100%;
    height: 1343px;
    border-radius: 50%;
    position: absolute;
    top: 370px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    background: var(--grey-color);
}

.hero-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.hero-icons svg {
    /* animation: float 3s ease-in-out infinite; */
}

.venii {
    position: absolute;
    top: 38%;
    left: 14%;
    animation: float-up-down-1 4s ease-in-out infinite;
    animation-delay: 0s;
}

.chemical-flask {
    position: absolute;
    top: 46%;
    left: 2%;
    animation: float-up-down-2 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.piechart {
    position: absolute;
    top: 54%;
    left: 18%;
    animation: float-rotate 6s ease-in-out infinite;
    animation-delay: 1s;
}

.pentagram {
    position: absolute;
    top: 62%;
    left: 8%;
    animation: float-up-down-3 4.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.graph {
    position: absolute;
    top: 76%;
    left: 2%;
    animation: float-up-down-2 5.5s ease-in-out infinite;
    animation-delay: 0.3s;
}

.pyramid {
    position: absolute;
    top: 32%;
    left: 86%;
    animation: float-up-down-1 5s ease-in-out infinite;
    animation-delay: 0.8s;
}

.magnet {
    position: absolute;
    top: 42%;
    left: 92%;
    animation: float-rotate 5.5s ease-in-out infinite;
    animation-delay: 1.2s;
}

.light-bulb {
    position: absolute;
    top: 48%;
    left: 78%;
    animation: float-up-down-3 4.8s ease-in-out infinite;
    animation-delay: 0.6s;
}

.triangle {
    position: absolute;
    top: 58%;
    left: 90%;
    animation: float-up-down-1 5.2s ease-in-out infinite;
    animation-delay: 1.8s;
}

.earth {
    position: absolute;
    top: 80%;
    left: 94%;
    animation: float-up-down-2 4.7s ease-in-out infinite;
    animation-delay: 0.9s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}


/* Icon Floating Animations */

@keyframes float-up-down-1 {

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

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-up-down-2 {

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

    50% {
        transform: translateY(-30px);
    }
}

@keyframes float-up-down-3 {

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

    50% {
        transform: translateY(-25px);
    }
}

@keyframes float-rotate {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}


/*Scroll Down Arrows*/

.scroll-down-arrows .arrow {
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 50% 50%;
    transform: translate3d(-50%, -50%, 0);
}

.scroll-down-arrows .arrow-first {
    -webkit-animation: arrow-movement 2s ease-in-out infinite;
    animation: arrow-movement 2s ease-in-out infinite;
}

.scroll-down-arrows .arrow-second {
    -webkit-animation: arrow-movement 2s 1s ease-in-out infinite;
    animation: arrow-movement 2s 1s ease-in-out infinite;
}

.scroll-down-arrows .arrow:before,
.scroll-down-arrows .arrow:after {
    background: #000;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
}

.scroll-down-arrows .arrow:before {
    transform: rotate(45deg) translateX(-20%);
    transform-origin: top left;
}

.scroll-down-arrows .arrow:after {
    transform: rotate(-45deg) translateX(20%);
    transform-origin: top right;
}

@-webkit-keyframes arrow-movement {
    0% {
        opacity: 0;
        top: 45%;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes arrow-movement {
    0% {
        opacity: 0;
        top: 45%;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.scroll-down-arrows {
    position: absolute;
    width: max-content;
    height: 100%;
    bottom: -46%;
    right: 3%;
}


/* About */

.abt {
    padding: 70px 0px;
    background: var(--third-color);
    margin-top: -15px;
    z-index: 1;
    position: relative;
}

.abt .container {
    gap: 40px;
}

.abt-txt {
    max-width: 1024px;
    width: 100%;
    text-align: center;
}

.abt-txt h2 {
    font-size: 32px;
    line-height: 48px;
    color: var(--black-color);
}

.abt-img {
    gap: 16px;
}

.abt-img-grid {
    display: flex;
    align-items: center;
}

.abt-img-item {
    position: relative;
}

.abt-img-item img {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}


/* Keep the first image normal */

.abt-img-item:first-child {
    margin-left: 0;
    z-index: 1;
}


/* Apply overlap to others */

.abt-img-item:nth-child(2) {
    margin-left: -14px;
    z-index: 2;
}

.abt-img-item:nth-child(3) {
    margin-left: -14px;
    z-index: 3;
}

.abt-img-item:nth-child(4) {
    margin-left: -14px;
    z-index: 4;
}

.abt-img-item:nth-child(5) {
    margin-left: -14px;
    z-index: 5;
}

.abt-img-item:nth-child(6) {
    margin-left: -14px;
    z-index: 6;
}

.abt-img-item:nth-child(7) {
    margin-left: -14px;
    z-index: 7;
}

.abt-img-txt p {
    line-height: 24px;
    font-weight: 500;
    text-transform: uppercase;
}


/*Why Us*/

.why-us {
    padding: 80px 0px;
}

.new-headings {
    gap: 16px;
    max-width: 1024px;
    width: 100%;
    text-align: center;
}

.new-headings h2 {
    color: var(--black-color);
    font-size: 48px;
    line-height: 64px;
    text-align: center;
}

.new-headings p {
    line-height: 28px;
}

.why-us-content {
    margin-top: 80px;
    width: 100%;
}

.why-us-items {
    gap: 80px;
    width: fit-content;
    margin: 0 auto;
}

.why-us-img img {
    width: 379px;
    height: 379px;
    object-fit: contain;
    object-position: center;
}

.why-us-txt {
    min-width: 661px;
    width: 100%;
    max-width: 661px;
}

.why-us-icon {
    margin-bottom: 24px;
}

.why-us-icon img {
    width: 27px;
    height: 27px;
    object-fit: contain;
    object-position: center;
}

.why-us-details h3 {
    font-size: 28px;
    line-height: 40px;
    color: var(--light-black-txt);
    font-weight: 600;
    margin-bottom: 12px;
}

.why-us-details p {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    margin-bottom: 40px;
}

.why-us-details a {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    width: 180px;
    height: 44px;
    padding: 12px 24px;
    border-radius: 100px;
}

.why-us-details a .arrow {
    right: unset;
    font-size: 16px;
    line-height: 20px;
}

.why-us-items:nth-child(odd) {
    flex-direction: row-reverse;
}

.why-us-items:nth-child(even) {
    flex-direction: row;
}

.why-us-content .why-us-items {
    margin-bottom: 56px;
}

.why-us-content .why-us-items:last-child {
    margin-bottom: 0px;
}

.why-us-divider {
    margin: 56px 0px;
}

.why-us-divider-line img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}


/* System */

.system {
    padding: 60px 0px;
    padding-bottom: 0px;
    background: var(--light-grey-color);
    border-bottom: 1px solid #f9f9f9;
}

.system .container {
    gap: 60px;
}

.system-img {
    max-width: 1120px;
    width: 100%;
    height: 100%;
}

.system-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 40px 40px 0px 0px;
    overflow: hidden;
}


/* Contact Us */

.contact {
    padding: 60px 0px;
}

.contact .container {
    gap: 80px;
}

.contact .contact-box {
    gap: 110px;
    align-items: stretch;
}

.contact-form {
    max-width: 625px;
    width: 625px;
}

.contact-form form {
    gap: 32px;
}

.contact-form .form-box {
    gap: 32px;
    align-items: flex-start;
}

.contact-form .form-group {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 32px;
    border: none;
    border-bottom: 1px solid #cacaca;
}

.contact-form textarea {
    min-height: 80px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: none;
}

.form-box,
.form-group {
    width: 100%;
}

.form-box button {
    padding: 12px 32px;
}

.contact-form label {
    font-size: 16px;
    font-weight: 600;
    color: var(--black-color);
    line-height: 24px;
}

.contact-img {
    height: 100%;
}

.contact-img img {
    width: 385px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    overflow: hidden;
}


/* Footer */

.footer {
    background: var(--third-color);
    padding-top: 48px;
    padding-bottom: 32px;
}

.footer-content {
    gap: 17px;
}

.footer-logo {
    gap: 24px;
}

.footer-logo img {
    width: 83px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.footer-logo span {
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
}

.footer-copyright p {
    line-height: 24px;
}


/* Worksheeet */

.new-worksheets-section {
    /* background: linear-gradient(135deg, #0a4a6e 0%, #1e7ba8 100%); */
    background: linear-gradient(180deg, #003452 0%, #0075b8 100%);
    /* min-height: 100vh; */
    padding: 80px 0px;
    position: relative;
    overflow: hidden;
}

.new-worksheets-section::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("../img/worksheets/bg-vector.png");
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    opacity: 0.7;
}


/* .new-worksheets-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M20 5l5 5-5 5'/%3E%3Crect x='35' y='15' width='10' height='10' rx='2'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
} */

.new-worksheets-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    gap: 80px;
}

.new-worksheets-header {
    text-align: center;
    margin-bottom: 60px;
}

.new-worksheets-button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.new-worksheets-btn {
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    /* width: 205px; */
}

.new-worksheets-btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.new-worksheets-btn-outline:hover {
    background: var(--main-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.new-worksheets-btn-solid {
    background: white;
    color: #0a4a6e;
    border-color: white;
}

.new-worksheets-btn-solid:hover {
    /* background: transparent; */
    background: var(--main-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* transform: translateY(-2px); */
    /* box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3); */
}


/* Desktop Card Stack - Straight Line */

.new-worksheets-cards-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    padding: 50px 0px;
    perspective: 1500px;
    position: relative;
    margin-top: 50px;
}

.new-worksheets-card {
    width: 242px;
    height: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
}

.new-worksheets-mobile-card {
    text-decoration: none;
}

.new-worksheets-card-content {
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%); */
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.new-worksheets-card-content .wc-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    /* background: #e5e4e4; */
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    overflow: hidden;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    padding: 0px;
    /* filter: grayscale(1); */
    margin-bottom: 15px;
}

.new-worksheets-card-content .stx {
    font-size: 12px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: normal;
}

.new-worksheets-card-content .htx-small {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    color: #000;
}


/* Straight horizontal line stacking - all at same vertical level */

.new-worksheets-card:nth-child(1) {
    /* transform: translateX(-280px) rotate(-10deg); */
    transform: translateX(-475px) rotate(7.85deg);
    z-index: 1;
}

.new-worksheets-card:nth-child(2) {
    /* transform: translateX(-170px) rotate(-6deg); */
    transform: translateX(-290px) rotate(7.09deg);
    z-index: 2;
}

.new-worksheets-card:nth-child(3) {
    /* transform: translateX(-60px) rotate(-3deg); */
    transform: translateX(-101px) rotate(-11.08deg);
    z-index: 3;
}

.new-worksheets-card:nth-child(4) {
    /* transform: translateX(50px) rotate(0deg); */
    transform: translateX(90px) rotate(9.44deg);
    z-index: 4;
}

.new-worksheets-card:nth-child(5) {
    /* transform: translateX(160px) rotate(3deg); */
    transform: translateX(286px) rotate(-12.1deg);
    z-index: 5;
}

.new-worksheets-card:nth-child(6) {
    /* transform: translateX(270px) rotate(6deg); */
    transform: translateX(480px) rotate(-11.59deg);
    z-index: 6;
}

.new-worksheets-card:hover {
    transform: translateX(var(--hover-x)) translateY(-30px) rotate(0deg) scale(1.05) !important;
    z-index: 10 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.new-worksheets-card:nth-child(1):hover {
    --hover-x: -475px;
}

.new-worksheets-card:nth-child(2):hover {
    --hover-x: -290px;
}

.new-worksheets-card:nth-child(3):hover {
    --hover-x: -101px;
}

.new-worksheets-card:nth-child(4):hover {
    --hover-x: 90px;
}

.new-worksheets-card:nth-child(5):hover {
    --hover-x: 286px;
}

.new-worksheets-card:nth-child(6):hover {
    --hover-x: 480px;
}


/* Mobile Swiper - Stack Effect */

.new-worksheets-cards-mobile {
    display: none;
    padding: 40px 20px;
}

.new-worksheets-mobile-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 420px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-worksheets-mobile-stack {
    position: relative;
    width: 280px;
    height: 380px;
}

.new-worksheets-mobile-card {
    width: 280px;
    height: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transition: all 0.3s ease;
    cursor: grab;
}

.new-worksheets-mobile-card:active {
    cursor: grabbing;
}


/* Stack cards behind the active one */

.new-worksheets-mobile-card:nth-child(1) {
    transform: translate(-50%, -50%) translateX(-30px) rotate(-4deg) scale(0.95);
    z-index: 1;
    opacity: 0.7;
}

.new-worksheets-mobile-card:nth-child(2) {
    transform: translate(-50%, -50%) translateX(-20px) rotate(-2deg) scale(0.97);
    z-index: 2;
    opacity: 0.85;
}

.new-worksheets-mobile-card:nth-child(3) {
    transform: translate(-50%, -50%) translateX(0) rotate(0deg) scale(1);
    z-index: 3;
    opacity: 1;
}

.new-worksheets-mobile-card:nth-child(4) {
    transform: translate(-50%, -50%) translateX(20px) rotate(2deg) scale(0.97);
    z-index: 2;
    opacity: 0.85;
}

.new-worksheets-mobile-card:nth-child(5) {
    transform: translate(-50%, -50%) translateX(30px) rotate(4deg) scale(0.95);
    z-index: 1;
    opacity: 0.7;
}

.new-worksheets-mobile-card:nth-child(6) {
    transform: translate(-50%, -50%) translateX(40px) rotate(6deg) scale(0.93);
    z-index: 0;
    opacity: 0.5;
}

.new-worksheets-mobile-card.active {
    transform: translate(-50%, -50%) translateX(0) rotate(0deg) scale(1) !important;
    z-index: 10 !important;
    opacity: 1 !important;
}

.new-worksheets-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.new-worksheets-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.new-worksheets-indicator.active {
    width: 24px;
    border-radius: 5px;
    background: white;
}

@media (max-width: 1024px) {
    .new-worksheets-card:nth-child(1) {
        transform: translateX(-220px) rotate(-10deg);
    }

    .new-worksheets-card:nth-child(2) {
        transform: translateX(-130px) rotate(-6deg);
    }

    .new-worksheets-card:nth-child(3) {
        transform: translateX(-40px) rotate(-3deg);
    }

    .new-worksheets-card:nth-child(4) {
        transform: translateX(50px) rotate(0deg);
    }

    .new-worksheets-card:nth-child(5) {
        transform: translateX(140px) rotate(3deg);
    }

    .new-worksheets-card:nth-child(6) {
        transform: translateX(230px) rotate(6deg);
    }
}

@media (max-width: 768px) {
    .new-worksheets-cards-desktop {
        display: none;
    }

    .new-worksheets-cards-mobile {
        display: block;
    }

    .new-worksheets-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .new-worksheets-section {
        padding: 40px 20px 80px;
    }
}

@media (max-width: 480px) {
    .new-worksheets-mobile-wrapper {
        max-width: 280px;
        height: 380px;
    }

    .new-worksheets-mobile-stack {
        width: 250px;
        height: 340px;
    }

    .new-worksheets-mobile-card {
        width: 250px;
        height: 340px;
    }
}


/* Testimonials */

.ywst-testimonial-section {
    /* max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px; */
    padding: 80px 0px;
}

.ywst-section-header {
    text-align: center;
    margin-bottom: 80px;
    gap: 16px;
    max-width: 1024px;
    width: 100%;
}

.ywst-section-header .htx {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.ywst-section-header .htx .ywst-highlight {
    color: #0066cc;
}

.ywst-section-header .dsx {
    color: #666;
    font-size: 16px;
    /* max-width: 800px; */
    margin: 0 auto;
}

.ywst-owl-carousel {
    position: relative;
    padding: 0px;
}

.ywst-testimonial-card {
    background: var(--light-grey-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    display: flex;
    flex-direction: column;
}

.ywst-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: var(--main-color);
    cursor: pointer;
}

.ywst-testimonial-card:hover .stx,
.ywst-testimonial-card:hover .dsx {
    color: #fff;
}

.ywst-card-image.imx {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ywst-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ywst-card-quote.dsx {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.ywst-card-author {
    margin-top: auto;
}

.ywst-author-name.stx {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.ywst-author-school.stx {
    font-size: 14px;
    color: #999;
}


/* Owl Carousel Container */

.ywst-owl-carousel.owl-carousel {
    position: relative;
}


/* Owl Carousel Navigation */

.ywst-owl-carousel .owl-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.ywst-owl-carousel .owl-nav button.owl-prev,
.ywst-owl-carousel .owl-nav button.owl-next {
    background: #fff !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    position: absolute !important;
    font-size: 0 !important;
    pointer-events: all;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    outline: none !important;
}

.ywst-owl-carousel .owl-nav button.owl-prev:before,
.ywst-owl-carousel .owl-nav button.owl-next:before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #0066cc;
    border-right: 3px solid #0066cc;
}

.ywst-owl-carousel .owl-nav button.owl-prev:before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.ywst-owl-carousel .owl-nav button.owl-next:before {
    transform: rotate(45deg);
    margin-right: 4px;
}

.ywst-owl-carousel .owl-nav button.owl-prev {
    left: -60px !important;
}

.ywst-owl-carousel .owl-nav button.owl-next {
    right: -60px !important;
}

.ywst-owl-carousel .owl-nav button.owl-prev:hover,
.ywst-owl-carousel .owl-nav button.owl-next:hover {
    background: #0066cc !important;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3) !important;
}

.ywst-owl-carousel .owl-nav button.owl-prev:hover:before,
.ywst-owl-carousel .owl-nav button.owl-next:hover:before {
    border-color: #fff;
}

.ywst-owl-carousel .owl-nav button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Owl Carousel Dots */

.ywst-owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.ywst-owl-carousel .owl-dot {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    background: #ccc !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
}

.ywst-owl-carousel .owl-dot span {
    display: none !important;
}

.ywst-owl-carousel .owl-dot.active {
    background: #0066cc !important;
    width: 30px !important;
    border-radius: 5px !important;
}

.ywst-owl-carousel .owl-dot:hover {
    background: #999 !important;
    cursor: pointer;
}

.ywst-owl-carousel .owl-dot.active:hover {
    background: #0066cc !important;
}

@media (max-width: 768px) {
    .ywst-section-header .htx {
        font-size: 32px;
    }

    .ywst-owl-carousel .owl-nav button.owl-prev,
    .ywst-owl-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
        line-height: 40px !important;
    }

    .ywst-owl-carousel .owl-nav button.owl-prev {
        left: -10px;
    }

    .ywst-owl-carousel .owl-nav button.owl-next {
        right: -10px;
    }

    .ywst-card-image.imx {
        height: 240px;
    }

    .ywst-card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {

    .ywst-owl-carousel .owl-nav button.owl-prev,
    .ywst-owl-carousel .owl-nav button.owl-next {
        display: none !important;
    }
}


/* Overall CSS */


/* Section Top-Bottom Spacings */

.abt,
.why-us,
.new-worksheets-section,
.ywst-testimonial-section,
.system,
.contact {
    padding: 75px 0px;
}

.system {
    padding-bottom: 0px;
}


/* Text Style */


/* All Titles */

.hero-title h1,
.new-headings h2,
.ywst-section-header .htx {
    color: var(--black-color);
    font-size: 48px;
    line-height: 64px;
    text-align: center;
    letter-spacing: normal;
    font-weight: 600;
    margin: 0;
    padding: 0;
}


/* All Buttons */


/* .hero-buttons a,
.why-us-details a,
.new-worksheets-btn,
.form-box button {
  min-width: 200px;
  font-size: 16px;
  padding: 12px 32px;
  line-height: 24px;
} */

.mb-sn {
    display: none;
}


/* Alignment Grid Lines */


/* .home {
  position: relative;
}

.home::after {
  width: 1320px;
  height: 100vh;
  position: fixed;
  content: "";
  background: transparent;
  border-left: 1px solid #555;
  border-right: 1px solid #555;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  pointer-events: none;
} */

.gx5 {
    gap: 5px;
}

/* Footer Bottom */
.footer-bottom {
    background: #000;
    padding: 0px 25px;
    margin: 0px;
}

.fb-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fb-box a {
    color: #fff;
}

.fb-box a:hover {
    color: var(--third-color);
}

.fb-right .fbr-links ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.fb-box a {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    padding: 10px 0px;
}

.fbl-email a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fbl-email a i {
    font-size: 20px;
}




.error-msg {
    color: #e63946;
    font-size: 13px;
    display: block;
}

.form-success {
    margin-top: 42px;
    padding: 12px;
    background: #e8f7ee;
    color: #1b7a46;
    border-radius: 6px;
    font-size: 14px;
}
