* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {
    --dark-color: #100f3e;
    --color-primary: #C6C4F3;
    /*background light violet*/
    --color-green: #6A1B9A;
    --color-yellow: #F8E71C;
    --color-orange: #f49000;
    --color-success: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-text: #333333;
    --color-blue: #2b70c9;

    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #F7F7F7;
    --color-bg1: #2e3267;
    --color-bg2: #424890;

    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;

}

body {
    font-family: "Nunito", Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}








.container {
    width: min(1180px, 92%);
    margin: 0 auto;

}

section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

p {
    margin-bottom: 10px;
    /* Adjust this value as needed */
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
}

h1 {
    font-size: 3.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

a {
    color: var(--color-text);
}

img {
    width: 100%;
    display: block;
   
}

.btn {
    display: inline-block;
    background: var(--color-green);
    color: var(--color-white);
    padding: 1rem 1rem;
    /* Increase padding for more prominence */
    border: 1px solid transparent;
    border-radius: 25px;
    font-weight: 700;
    /* Increase font weight */
    font-size: 1.2rem;
    /* Slightly increase font size */
    transition: var(--transition);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    /* Add subtle shadow to stand out */
    cursor: pointer;

}

.btn:hover {
    background: #8C3DCB;
    color: var(--color-white);
    border-color: #8C3DCB;
    transform: scale(1.08);
    /* Make hover effect slightly larger */
    box-shadow: 0 0 10px #8833FF;
}


/* Add an arrow icon or visual cue */



.btn-primary {
    background: var(--color-danger);
    color: var(--color-white);
}



/*===================NAVBAR================*/
nav {
    background: transparent;
    width: 100vw;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;
}

.nav__menu a {
    transition: var(--transition);
    font-weight: 600;
    /* Make text bolder */

    color: var(--color-text)
}

.nav__menu a:lang(ja) {
    font-weight: 400;
    font-size: .9rem;
}

.nav__menu a:lang(vi) {
    font-weight: 400;
    font-size: .9rem;
}

/*change navbar styles on scroll using javascript*/
.window-scroll {
    background: var(--color-green);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);

}

.window-scroll .nav__menu a {
    color: var(--color-bg);
    /* Color when scrolled */
}

.window-scroll .nav__menu a:hover {
    color: var(--color-primary);

    /* Color when scrolled */
}

.window-scroll .nav__menu a.active {
    color: var(--color-green);
    padding: 6px 6px;
    background: white;
    border-radius: 10px;
}

.nav__container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

nav button {
    display: none;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 4rem);
}

.nav__menu a {
    font-size: 1.1rem;
    transition: var(--transition);

}

.nav__menu a:hover {
    color: var(--color-green);
}

nav ul li a.active {
    color: var(--color-green);
    background: var(--color-bg);

}

.nav__menu li a {
    white-space: nowrap;
}


.nav-icon {

    transition: filter .3s ease;
}

.nav__menu a:hover .nav-icon {
    filter: brightness(0) saturate(100%) invert(39%) sepia(91%) saturate(1429%) hue-rotate(99deg) brightness(95%) contrast(98%);
}

.window-scroll .nav__menu a .nav-icon {
    filter: invert(1);
}

.nav-text {
    display: none;
    /* hidden by default */
    margin-left: .35rem;
    font-weight: 600;
}





/* ===================Hamburger==================*/

.hamburger {
    display: none;
    height: fit-content;
    cursor: pointer;

}

.hamburger:hover {
    background: #f6f4ff;
}

.hamburger div {
    width: 30px;
    height: 2px;
    margin: 6px 0;
    background: #212526;
}

/* ===================FLAGS==================*/
.dropdown select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
}

.nav__menu .dropdown {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

/*===================Header================*/
header:not(.hero) {
    background: var(--color-primary);
    position: relative;
    top: 5rem;
    overflow: hidden;
    height: auto;
    margin-bottom: 5rem;


}



.header__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 1rem;
    height: auto;
    /* Adjust height based on content */
    padding: 1rem;
}

.header__container_home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1rem;
    height: auto;
    /* Adjust height based on content */
    padding: 1rem;
}

.header__left h1 {
    margin: 1rem 0;
}

.header__left h2 {
    margin: 1rem 0;
}


.header__left p {
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.header__right-image{
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__right-image img{
  width: min(420px, 100%);   /* controls “how big” */
  height: auto;             /* keeps ratio */
  object-fit: contain;      /* prevents cropping from your global img rule */
}


/* =============== NOVACHINESE-STYLE HERO (for Verbara) =============== */
.hero{
  background: var(--color-primary);
  position: relative;
  top: 5rem;                 /* because navbar fixed */
  margin-bottom: 5rem;
  overflow: hidden;
  padding: 2.5rem 0;
}

.wide-container{
  width: min(1180px, 92%);
  margin: 0 auto;
}

.hero-flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text{
  flex: 1.1;
}

.hero-text h1{
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.hero-text h1 span{
  color: var(--color-green);
}

.hero-text p{
  font-size: 1.15rem;
  margin: 0 0 1.2rem 0;
  max-width: 52ch;
}

.hero-bullets{
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.hero-bullets li{
  font-size: 1.05rem;
  font-weight: 700;
}

.cta-group{
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  align-items: center;
}

/* NovaChinese-style button */
.btn-main{
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.btn-main:hover{
  background: #8C3DCB;
  transform: translateY(-1px);
  box-shadow: 0 0 10px #8833FF;
}

/* right side image block */
.hero-image{
  flex: .9;
  display: flex;
  justify-content: center;
}

.img-box{
  padding: 18px;
}

.hero-img{
  width: min(430px, 100%);
  height: auto;
  object-fit: contain; /* important because you have global img { object-fit: cover; } */
  display: block;
}

/* Mobile */



/*===========================Logo=================*/
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Remove underline if needed */
}

.logo-link img {
    margin-right: 10px;
    /* Add space between image and text */
}


/* =============== FEATURES (NovaChinese-style) =============== */

/* ================= FEATURES (Verbara Version) ================= */

.features {
    padding: 60px 0;
    background: var(--color-primary); /* soft violet tint instead of blue */
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-green); /* brand violet */
    font-size: 2.5rem;
    font-weight: 800;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.f-card {
    padding: 24px 22px;
    background: #ffffff;
    border: none;
    border-top: 4px solid var(--color-blue); /* orange alert line */
    border-radius: 10px;
    transition: 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.f-card:hover {
    border-top: 4px solid var(--color-green);
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.f-card h3 {
    margin: 18px 0 12px;
    color: var(--color-green);
    font-size: 1.4rem;
    font-weight: 700;
}

.f-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}



/*===================section3================*/
.section3 {
    background: var(--color-primary);
    padding: 1rem 0;
    text-align: center;
    /* Center the text */
}

/*=================== Teachers ================*/
.slide-container {
    max-width: 1120px;
    width: 100%;
    padding: 40px 0;
}

.slide-content {
    margin: 0 10px;
    overflow: hidden;
    border-radius: 25px;
}

.card {
    border-radius: 25px;
    background-color: #fff;
}

.image-content,
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
}

.image-content {
    position: relative;
    row-gap: 5px;
    padding: 10px 0;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #6A1B9A;
    border-radius: 25px 25px 0 25px;
}

.overlay::before,
.overlay::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 0;
    height: 20px;
    width: 15px;
    background-color: #6A1B9A;
}

.overlay::after {
    border-radius: 0 25px 0 0;
    background-color: #fff;
}

.card-image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;

}

.card-image .card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #6A1B9A;
}

.name {
    font-size: 18px;
    font-weight: 500;
    color: #333;

    margin: 0;
}

.cardtitle {
    font-size: 13px;
    font-weight: 500;
    color: #333;

    margin: 0;
}


.description {
    font-size: 14px;
    color: #707070;
    text-align: center;
}

.testimonial-navBtn {
    color: white;
    transition: color 0.3s ease;
}

.testimonial-navBtn:hover {
    color: #C6C4F3;
}

.testimonial-navBtn::before,
.testimonial-navBtn::after {
    font-size: 40px;
}

.testimonial-button-next {
    right: 0;
}

.testimonial-button-prev {
    left: 0;
}

.testimonial-pagination-bullet {
    background-color: #6A1B9A;
    opacity: 1;
}

.testimonial-pagination-bullet-active {
    background-color: #6A1B9A;
    opacity: 1;
}

/* Flag circle style */
.t-name{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;   /* slightly smaller */
  color: #6A1B9A;
  margin-top: 8px;
}

.flag-circle{
  width: 30px;        /* smaller = more elegant */
  height: 18px;
  border-radius: 20%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}








/*===================categories================*/
.categories {
    background: var(--color-bg);
    padding: 1rem 0;
    /* Add padding for spacing around the section */
    margin-top: 5rem;
    /* Ensure there's space between the section and the header */
}

.categories h2 {
    text-align: center;
    /* Center the heading */
    margin-bottom: 1rem;
    /* Space below the heading */
}

.categories p {
    text-align: center;
    /* Center the heading */
    margin-bottom: 1rem;
    /* Space below the heading */
}

.categories__container {
    display: flex;
    /* Use flexbox for centering */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically if needed */
    flex-direction: column;
    /* Stack items vertically */
}

.categories__right {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 4fr));
    /* Responsive grid */
    gap: 1.2rem;
    justify-content: center;
    /* Center grid items */
    max-width: 1200px;
    /* Optional: set a maximum width for better layout control */
    width: 100%;
}

.category {
    background: var(--color-green);
    padding: 1rem;
    border-radius: 2rem;
    transition: var(--transition);
    text-align: center;
    /* Center text inside each category */
}

.category:hover {
    filter: drop-shadow(5px 10px 15px rgba(8, 9, 13, .4));
    z-index: 1;
}



.category__icon {
    max-width: 100%;
    /* Ensures the image doesn't exceed the container's width */
    height: 150px;
    /* Maintains the aspect ratio */
    object-fit: cover;
    filter: drop-shadow(5px 10px 15px rgba(8, 9, 13, .4));
    border-radius: 0.9rem;
    display: inline-block;
    /* Make icon inline-block for proper alignment */
    margin-bottom: 1rem;
    /* Space below the icon */
}

.category h5 {
    font-size: 1.1rem;
    color: var(--color-yellow);
    margin: 1rem 0;
}

.category p {
    font-size: .9rem;
    color: var(--color-bg);
}


/*===================adults english program================*/
.categories__adults {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    /* Responsive grid */
    gap: 1.2rem;
    justify-content: center;
    /* Center grid items */
    max-width: 1200px;
    /* Optional: set a maximum width for better layout control */
    width: 100%;
}


/*===================Risk Free================*/
.hori_categories {
    background: var(--color-bg);
    padding: 3rem 0;
    /* Add padding for spacing around the section */
    margin-top: 0;
    /* Ensure there's space between the section and the header */
}

.hori_categories h2 {
    text-align: center;
    /* Center the heading */
    margin-bottom: 1rem;
    color: var(--color-bg);
}

.hori_categories__container {
    display: flex;
    /* Use flexbox for centering */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically if needed */
    flex-direction: column;
    /* Stack items vertically */
}

.hori_categories__right {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
    /* Adjust as needed */
    gap: 1.2rem;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
}


.hori_category {
    background: #2b70c9;
    padding: 1rem;
    border-radius: 2rem;
    transition: var(--transition);
    text-align: center;
    /* Center text inside each category */
}

.hori_category:hover {
    filter: drop-shadow(5px 10px 15px rgba(8, 9, 13, .4));
    z-index: 1;
}



.hori_category__icon {
    max-width: 100%;
    /* Ensures the image doesn't exceed the container's width */
    height: auto;
    /* Maintains the aspect ratio */

    filter: drop-shadow(5px 10px 15px rgba(8, 9, 13, .4));
    border-radius: 0.9rem;
    display: inline-block;
    /* Make icon inline-block for proper alignment */
    margin-bottom: 1rem;
    /* Space below the icon */
}

.hori_category h5 {
    font-size: 1.1rem;
    color: var(--color-green);
    margin: 1rem 0;
}

.hori_category p {
    font-size: 1rem;
    color: var(--color-bg);
}




/* ================= PRODUCT MENU ================= */

.product-menu {
    padding: 70px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-green);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 60px;
    color: var(--color-text);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background: #f3f1fb;
    padding: 30px 25px;
    border-radius: 12px;
    border-top: 4px solid var(--color-blue);
    box-shadow: 0 6px 20px rgba(0,0,0,.05);
    transition: .3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-6px);
    border-top: 4px solid var(--color-green);
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.product-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-card h3 {
    margin: 15px 0 5px;
    color: var(--color-green);
    font-size: 1.4rem;
}

.audience {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-orange);
}

.program-points {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.program-points li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.btn-secondary {
    display: inline-block;
    padding: .8rem 1.2rem;
    background: var(--color-green);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #8C3DCB;
    transform: translateY(-2px);
}

/* Responsive */

/*===================FAQs================*/





.btn-schedule {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    /* Padding around the button */
    font-size: 1rem;
    /* Font size for button text */
    color: #fff;
    /* White text color */
    background-color: #f49000;
    /* Primary button color */
    border: none;
    /* Remove default border */
    border-radius: 0.5rem;
    /* Rounded corners */
    cursor: pointer;
    /* Pointer cursor on hover */
    text-decoration: none;
    /* Remove underline for link buttons */
    transition: background-color 0.3s ease;
    /* Smooth transition for hover effect */
}


/* ================= CTA STRIP ================= */

/* ================= WHITE CTA STRIP ================= */

.cta-strip{
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.cta-strip-flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-text h3{
  font-size: 1.8rem;
  margin-bottom: 6px;
  color: var(--color-green);
}

.cta-text p{
  color: var(--color-text);
  opacity: .9;
}

/* Make button slightly stronger here */
.cta-strip .btn-main{
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 800;
}





/*===================Footer================*/
footer {
    background: var(--color-green);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-bg);

}

.footer__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;


}

.footer__container>div h4 {
    margin: 0;
    color: var(--color-bg);


}



.footer__1 p {
    margin: 0 0 0rem;
    color: var(--color-bg);


}

footer ul li {
    margin-bottom: 0.5rem;
    color: #ffffff;

}

footer ul li a {
    margin-bottom: 0.5rem;
    color: #ffffff;

}

footer ul li a:hover {
    text-decoration: underline;

}

.footer__socials {
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
    margin-top: 2rem;
    color: var(--color-bg);

}

.footer__copyright {
    text-align: center;
    margin-top: 4rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--color-bg2);
}

.footer__logo {
    display: flex;
    align-items: center;
    /* Aligns logo and text vertically */
    gap: 0.5rem;
    /* Adjusts space between logo and text */
    margin-bottom: 1.2rem;
}

.footer__logo img {
    height: 40px;
    /* Ensure the logo height is as desired */
    max-height: 100%;
    /* Prevents the image from overflowing its container */
    width: auto;
    /* Maintains the aspect ratio */
}

/*===================testimonials================*/


.students-pagination {
    position: relative !important;
    margin-top: 20px;
    bottom: 0 !important;
    text-align: center;
}

.students-pagination .swiper-pagination-bullet {
    background: #6A1B9A;
    opacity: 0.4;
}

.students-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* testimonial card style (you already had similar) */
.testimonial {
    /* card width */

    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    font-size: 0.95rem;
    text-align: left;
    box-sizing: border-box;
    width: 100%;
    padding: 16px 18px;
}

.testimonial p {
    margin: 0 0 0.5rem;
}


/*===================Cards================*/


.section2 .section-title {
    color: #6A1B9A;
    font-size: 2rem;
}

/* Trusted By Section */
.trusted__by {
    background: #f9f9f9;
    /* Light grey to separate from header */
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.trusted__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.trusted__by p {
    
    color: var(--color-green);
   font-size: large;
    letter-spacing: 1px;
    font-weight: 800;
    text-align: center;
}

.logo__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    /* Space between logos */
}

.logo__grid img {
    height: 35px;
    /* Adjust height based on your logos */
    width: auto;
    filter: grayscale(100%);
    /* Makes all logos match your brand */
    opacity: 0.6;
    transition: all 0.3s ease;
}


/* Hover effect: bring back color when user hovers */
.logo__grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}


 

/* Mobile Responsive */




/*===================For Tablets================*/
@media screen and (max-width:1024px) {
    .container {
        width: var(--container-width-md);
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    /*===================NAVBAR================*/
    /* Open menu when checkbox is checked */
    #nav_check:checked~.nav__menu {
        right: 5%;
        visibility: visible;
        opacity: 1;
    }

    nav button {
        display: inline-block;
        background: transparent;
        font-size: 1.8rem;
        color: var(--color-white);
        cursor: pointer;

    }

    .hamburger {
        display: block;
        z-index: 1000;
    }


    .nav__menu {
        position: fixed;
        top: 5rem;
        right: -100%;
        height: fit-content;
        width: 15rem;
        flex-direction: column;
        gap: 0;
        background: var(--color-green);
        box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
        padding: 1rem;
        transition: right 0.3s ease-in-out;
        visibility: hidden;
        opacity: 0;
    }


    .nav__menu li {
        width: 100%;
        height: 4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        /* Light separator */
    }

    /* Remove the last border to avoid extra line */
    .nav__menu li:last-child {
        border-bottom: none;
    }


    .nav__menu li a {
        background: var(--color-green);
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
        color: var(--color-bg);

    }

    .nav__menu li a:hover {
        background: #8E24AA;
        color: var(--color-white);
    }

    #nav_check:checked~.nav__menu {
        display: flex;
    }

    .nav-icon {
        display: none;
    }

    .nav-text {
        display: inline;
        font-size: 1rem;
        color: var(--color-bg);
    }

    /*Flag*/
    .dropdown select {
        width: 100%;
        font-size: 1rem;
    }



    .free_trial__container {
        display: grid;
        grid-template-columns: 1fr;
        /* Single column layout */
        gap: 2rem;
        /* Adjust gap for tablets */
        text-align: center;
        /* Center-align text */
    }

    .free_trial__left {
        padding: 1rem;
        /* Add padding for better spacing */
    }

    .free_trial__left h2 {
        font-size: 1.8rem;
        /* Adjust font size for tablets */
        margin-bottom: 1.5rem;
        /* Adjust bottom margin */
    }

    .free_trial__list {
        list-style: none;
        padding: 0;
        font-size: 1.2rem;
        /* Adjust font size */
        margin-bottom: 1rem;
        /* Add margin below the list */
    }

    .free_trial__list li {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        /* Adjust margin bottom */
    }

    .free_trial__list i {
        color: #58cc02;
        /* Adjust color of the checkmark */
        margin-right: 0.5rem;
        /* Adjust spacing */
    }

    .btn-schedule {
        padding: 0.8rem 1.5rem;
        /* Adjust padding for the button */
        font-size: 1rem;
        /* Adjust font size */
        border-radius: 0.5rem;
        /* Adjust border radius */
    }

    .header__right {
        display: flex;
        justify-content: center;
        /* Center the image */
        align-items: center;
    }

    .header__right-image img {
        max-width: 100%;
        /* Ensure image scales properly */
        height: auto;
        /* Maintain aspect ratio */
    }

}

/*===================For Mobile================*/
@media screen and (max-width: 600px) {
    .container {
        width: var(--container-width-sm);
    }

    .desktop-only {
        display: none;
    }

    .slide-content {
        margin: 0 10px;
    }

    .swiper-navBtn {
        display: none;
    }


    /*===================NAVBAR Mobile================*/
    .nav__menu {
        right: 3%;
    }

    /*===================Header================*/
    header {
        height: auto;



    }

    .header__container {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 0;

    }

    .header__container_home {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 1rem;

    }


    .header__left h1 {

        line-height: 1.25;
        margin-bottom: 2rem;
    }

    .header__left h2 {
        font-size: 1.82rem;
        line-height: 1.4;
        margin: 0 0 0.75rem;
        /* adds a bit more space between lines */
    }

    .header__left .btn {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
 /*===================hero================*/
      .hero{
    padding: 1.8rem 0;
  }
  .hero-flex{
    flex-direction: column;
    text-align: center;
  }
  .hero-text p{
    margin-left: auto;
    margin-right: auto;
  }
  .cta-group{
    justify-content: center;
  }

    /*===================categories================*/
    .categories__right {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category {
        padding: 1rem;
        border-radius: 1rem;
    }

    .category h5 {
        font-size: 1.5rem;
        margin: 0.4rem 0 0.3rem;



    }

    .category p {
        font-size: 1.2rem;
        /* was 0.9rem — increase for readability */


    }


    .category__icon {
        object-fit: cover;
        object-position: top center;
        /* focus on top of image */
        height: auto;
        /* let height expand naturally */
        max-height: 250px;
    }


    /*===================risk free================*/
    .hori_categories__right {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .hori_category {
        padding: 1rem;
        border-radius: 1rem;
    }


    .hori_category__icon {
        margin-top: 4px;
        display: inline-block;
    }

    /*===================free trial================*/
    .free_trial__container {
        grid-template-columns: 1fr;
        /* Single column layout */
    }

    /*===================courses================*/
    .courses__container {
        grid-template-columns: 1fr;
    }

    /*===================footer================*/
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer__1 p {
        margin: 1rem auto;
    }

    .footer__socials {
        justify-content: center;
    }

    /*===============FLAGS MOBILE*/
    .language-flags img {
        width: 30px;
        /* Smaller flag size for mobile */
    }

    .language-flags {
        max-width: calc(4 * 30px + 20px);
        /* Adjust max width for smaller flags */
        gap: 5px;
        /* Reduce spacing */
    }

    #free_trial .header__right {
        display: none;
    }




    .testimonial {
        width: 85vw;
    }


    .section2 .section-title {
        font-size: 1.4rem !important;
    }

    .logo__grid {
        gap: 1.5rem;
    }

   .logo__grid img {
    height: 30px; /* Slightly smaller for mobile */
    width: auto;
    filter: grayscale(0%); /* Full color on mobile */
    opacity: 1;
    transition: all 0.3s ease;
}


}


@media (max-width: 900px){
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .features h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

        .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

      .cta-strip-flex{
    flex-direction: column;
    text-align: center;
  }
}