.m-3 {
  margin: 1rem !important;
}

.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}

.my-2 {
  margin-top: .5rem !important;
  margin-bottom: .5rem !important;
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.mt-2 {
  margin-top: .5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.me-2 {
  margin-right: .5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: .5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.ms-2 {
  margin-left: .5rem !important;
}

.p-1 {
  padding: .25rem !important;
}

.p-2 {
  padding: .5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.px-0 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.px-4 {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.py-2 {
  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-1 {
  padding-bottom: .25rem !important;
}

.pb-2 {
  padding-bottom: .5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

@media (min-width: 768px) {
  .ms-md-3 {
    margin-left: 1rem !important;
  }
}

@media (min-width: 768px) {
  .p-md-5 {
    padding: 3rem !important;
  }
}

@media (min-width: 768px) {
  .py-md-0 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
  }
}

@media (min-width: 768px) {
  .py-md-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (min-width: 768px) {
  .pt-md-0 {
    padding-top: 0rem !important;
  }
}

@media (min-width: 768px) {
  .pb-md-4 {
    padding-bottom: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .py-lg-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (min-width: 992px) {
  .pb-lg-1 {
    padding-bottom: 0.25rem !important;
  }
}

@media (min-width: 1200px) {
  .me-xl-0 {
    margin-right: 0rem !important;
  }
}

@media (min-width: 1200px) {
  .mb-xl-4 {
    margin-bottom: 1.5rem !important;
  }
}

@media (min-width: 1200px) {
  .p-xl-4 {
    padding: 1.5rem !important;
  }
}

@media (min-width: 1200px) {
  .py-xl-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (min-width: 1200px) {
  .pt-xl-5 {
    padding-top: 3rem !important;
  }
}


/*-------------------------------------------- CUSTOM ---------------------------------------*/

/*------------------------ Logo ---------------------*/

.logo-img {
    width: 150px;
    margin-left: 10px;
}

.logo-alt {
    width: 42px;
    margin-left: 10px;
}

.logo-alt-cover {
    display: none;
}

@media screen and (max-width: 235px) {
    .logo-cover {
        display: none;
    }
    .logo-alt-cover {
        display: block;
    }
}

/*------------------- Custom Navbar Hamburger ---------------*/

.navbar-toggler {
    width: 20px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon {
    outline: none;
    box-shadow: none;
    border: 0;
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #2a9d8f;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.middle-bar {
    margin-top: 0px;
}

/* when navigation is clicked */
.navbar-toggler .top-bar {
    margin-top: 0px;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    margin-top: 0px;
    transform: rotate(-135deg);
}

/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
    margin-top: -8px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}


.navbar-toggler.collapsed .bottom-bar {
    margin-top: 8px;
    transform: rotate(0deg);
}

/*------------------ Buttons --------------------------*/
.btn-core {
    border: 1px solid #2a9d8f!important;
    color: #ffffff!important;
    background: #2a9d8f!important;
    border-radius: 20px!important;
}

.btn-core:hover {
    border: 1px solid #2fcab8!important;
    color: #ffffff!important;
    background: #2fcab8!important;
}

.btn-core:focus {
    outline: none!important;
    box-shadow: none!important;
}


/*.btn-main {
    border: 1px solid #2a9d8f!important;
    color: #2a9d8f!important;
    border-radius: 20px!important;
}

.btn-main:hover {
    border: 1px solid #2a9d8f!important;
    color: #ffffff!important;
    background: #2a9d8f!important;
}

.btn-main:focus {
    outline: none!important;
    box-shadow: none!important;
}*/


.sticky-bottom-btn {
    position: fixed; 
    bottom: 40px; 
    right: 40px; 
    padding: 0px;
    background: #ffffff;
    border-radius: 12px;
    display: none;
    z-index: 10;
}

/*---------------- Alignments ---------------*/

.text-align-right {
    text-align: right!important;
}
.text-align-left {
    text-align: left!important;
}
.text-align-center {
    text-align: center!important;
}

.center-display {
    display: inline-block!important;
}

/*------------------------------------- Colours -------------------*/
.dark-color {
    color:#264653;
}

.core-color {
    color: #2a9d8f;
}

.yellow {
    color: #e9c46a;
}

.orange {
    color: #f4a261;
}

.grey {
    color: #666666;
}

.light-grey {
    color: #808080;
}

.info-blue {
    color: #0048ff;
}


.teacher-comment-color {
    color: #0e36ff;
}

/*------------------------------------------------------------ Links ---------------------------------------*/
a.cxv-link {
    color: #264653;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

a.cxv-link:hover {
    color: #2a9d8f;
    text-decoration: none;
}


a.cxv-link-normal {
    color: #264653;
    text-decoration: none;
    font-weight: 500;
}

a.cxv-link-normal:hover {
    color: #2a9d8f;
    text-decoration: none;
}

a.link {
    color: #264653;
}

a.link:hover {
    color: #2a9d8f;
}


a.link-500 {
    color: #264653;
    font-weight: 500;
    font-size: 18px;
}

a.link-500:hover {
    color: #2a9d8f;
}

a.normal-link {
    color: #264653;
    text-decoration: none;
}

a.normal-link:hover {
    color: #2a9d8f;
}

/*-----------------------------*/
.hide {
  display: none;
}


.card {
  transition: all 0.3s ease;
}
.card:hover {
  background-color: #f2fffd;
  transform: scale(1.025);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);  
}

/*------------ Border ------------*/
input.custom-input-border:focus, textarea.custom-input-border:focus {
    border: 1px solid #2a9d8f;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 255, 191, 0.354);
}


/*---------- Improved ---------*/
:root {
    --primary: #2a9d8f;
    --accent: #f4a261;
    --dark: #264653;
    --light-bg: #f8f9fa;
}

/* Button */
.btn-main {
    background: linear-gradient(135deg, var(--primary), #34c6b6);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 22px;
    transition: 0.3s;
}

.btn-main:hover {
    background: linear-gradient(135deg, #21867a, #2a9d8f);
    transform: translateY(-2px);
}

/* Card đẹp hơn */
.card-modern {
    border: none;
    border-radius: 16px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #2a9d8f, #264653);
    color: white;
    padding: 120px 0;
}

.hero h1 {
    font-weight: 700;
}

.highlight {
    color: #f4a261;
}

/* Section spacing */
.section {
    padding: 100px 0;
}

/* Stats */
.stat-box {
    text-align: center;
}

.stat-box h3 {
    color: var(--primary);
    font-weight: 700;
}


/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
    border-radius: 16px;
}

/* Title underline */
.underline {
    position: relative;
    display: inline-block;
}
.underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 60%;
    height: 6px;
    background: #facc15;
    border-radius: 10px;
}

/* Form */
.contact-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-control {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}
textarea.form-control {
    height: auto;
}

.form-control:focus {
    border-color: #2a9d8f;
    box-shadow: 0 0 0 3px rgba(56,189,248,0.2);
}

/* Support box */
.support-box {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 20px;
}