:root {
    --font-family-primary: "Poppins", sans-serif;
    --font-family-secondary: "Outfit", sans-serif;

    --bg-one: #06202B;
    --bg-two: #077A7D;
    --bg-three: #7AE2CF;
    --bg-four: #F5EEDD;
    --bg-five: #1cb098;
    --bg-six: #ff255c;
    --bg-seven: #1cb098;

    --text-one: #06202B;
    --text-two: #077A7D;
    --text-three: #7AE2CF;
    --text-four: #F5EEDD;
}

@media (max-width:997px) {
    .mobile-navbar {
        position: sticky !important;
        width: 100% !important;
        top: 0;
        backdrop-filter: blur(10px);
        background-color: white !important;
        z-index: 999;
    }

    .hero-content h1 {
        font-size: 30px !important;
    }

    .hero-section {
        padding-top: 10px !important;
    }

    .categories-card {
        margin: 20px 0px;
    }

    .hero-content {
        padding: 10px 20px !important;
    }

    .back-beg {

        overflow: hidden !important;

    }

    .beg-img {
        position: static !important;
        margin-top: 30px !important;

    }

    .green-card {
        border: none !important;
        ;
        margin-top: 20px;
    }

    .courses-card .card-body {
        height: auto !important;
    }

    .student-enroll i {
        font-size: 35px !important;
        margin-bottom: 10px;
        color: white;

    }

    .student-enroll h1 {
        font-size: 45px !important;
        font-family: var(--font-family-secondary);
        font-weight: 200;
    }

    .student-enroll p {
        font-family: var(--font-family-secondary);
        font-size: 20px !important;
    }

    .left-side-trusted h2 {
        font-size: 30px !important;
        font-family: var(--font-family-secondary);
        color: var(--bg-one);
        font-weight: 600;
        line-height: 40px !important;
    }

    .trusted-market {
        padding-top: 50px !important;


    }

    .btn-left button {
        border: none;
        background-color: var(--bg-five);
        padding: 10px 10px !important;
        font-size: 12px;
        font-family: var(--font-family-primary);
        color: white;
        font-weight: 400 !important;
        margin-top: 10px !important;
        border-radius: 5px;
    }

    .btn-left button:hover {
        background-color: var(--bg-one);
    }

    .upper-img {
        border-right: none;
        padding: 50px 10px !important;
        border-bottom: 1px solid rgb(242, 239, 239);
        width: 65%;
    }

    .lower-img {
        border-right: 1px solid rgb(242, 239, 239);
        padding: 50px 10px !important;
        width: 65%;
    }

    .right-side-trusted .col-6 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .tilt-card {
        margin-bottom: 30px;
        transform: rotateZ(0deg) !important;
    }

    .row-learning-top {
        padding-top: 10px !important;
    }

    .right-learning h2 {
        font-size: 40px !important;
        width: 100% !important;
    }

    h4.tilt-heading {
        text-align: center;
    }
      .get-subscription{
        margin: 20px  !important;
        height: auto !important;
        padding: 20px 10px !important;
      }
    .get-subscription h2 {
        width: 100% !important;
    }
    .subscription-call{
        padding-top: 10px !important;
    }

}


.hero-section {
    height: auto;
    padding-top: 100px;
    background-image: url(/assets/images/bg-hero.png);
}

.hero-content {
    padding: 60px 0px 0px 50px;
}

.hero-content h1 {
    font-family: var(--font-family-primary);
    color: var(--bg-one);
    font-weight: 600;
    font-size: 60px;
}

.hero-content h6 {
    margin: 40px 0px;
    font-family: var(--font-family-secondary);
    color: var(--bg-one);
    line-height: 35px;
}

.hero-span {
    color: var(--bg-five);
    font-weight: 700;
}

.hero-sub-para {
    margin: 40px 0px;
    padding: 5px 8px;
    background-color: var(--bg-one);
    backdrop-filter: blur(5px);
    color: white;
    width: fit-content;
    font-family: var(--font-family-secondary);

}

.learning-btn {
    background-color: var(--bg-five);
    padding: 10px 30px;
    font-family: var(--font-family-primary);
    color: white;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 60px 40px -7px;
    border-bottom: 2px solid white;
    cursor: pointer;
    transition: 0.3s;

}

.learning-btn:hover {
  background-color: var(--bg-seven);
}

/* ---------- POPUP OVERLAY ---------- */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ---------- POPUP FORM BOX ---------- */
.popup-form {
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
  position: relative;
  text-align: left;
  animation: fadeIn 0.3s ease-in-out;
}

/* ---------- CLOSE BUTTON ---------- */
.close-btn {
  position: absolute;
  top: 12px; right: 15px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

/* ---------- FORM STYLING ---------- */
.popup-form h2 {
  margin-bottom: 8px;
  color: #222;
  font-family: var(--font-family-primary);
}
.popup-form p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #666;
  font-family: var(--font-family-secondary);
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #444;
  font-family: var(--font-family-primary);
}
.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-family-secondary);
}

/* ---------- SUBMIT BUTTON ---------- */
.submit-btn {
  width: 100%;
  background-color: var(--bg-five);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  font-family: var(--font-family-primary);
}
.submit-btn:hover {
  background-color: var(--bg-seven);
}

/* ---------- ANIMATION ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 480px) {
  .popup-form {
    padding: 20px;
  }
  .learning-btn {
    width: 90%;
    font-size: 16px;
  }
}

.subscription-call {
    padding-top: 30px;
}

.heading-2 {
    font-family: var(--font-family-secondary);
    font-weight: 600;
    font-size: 40px;
}

.border-heading-img {
    width: 150px;

}

.heading-content {
    margin-bottom: 20px;
}

.heading-content-center {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.categories-card h5 {
    margin: 0px;
    width: 70%;
    font-size: 20px;
    font-family: var(--font-family-secondary);
}

.categories-card {
    display: flex;
    gap: 20px;
    padding: 15px 25px 15px 25px;
    border-radius: 10px 10px 10px 10px;


}

.categories-icons {
    width: 70px;
    height: 70px;
    border: 1px dotted black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.categories-icons i {
    font-size: 25px;

}

.categories-card-1 {
    background-color: #f7efff;
}

.categories-card-1 .categories-icons i {
    color: #6D13D6;
}

.categories-card-1 .categories-icons {
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-style: dashed;
    border-width: 1px 1px 1px 1px;
    border-color: #6D13D6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.categories-card-1:hover h5 {
    color: #6D13D6;
    transition: 0.3s ease-out;
}

.categories-card-2 {
    background-color: #FFF6F3;

}

.categories-card-2 .categories-icons i {
    color: #FF255C;
}

.categories-card-2 .categories-icons {
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-style: dashed;
    border-width: 1px 1px 1px 1px;
    border-color: #FF255C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.categories-card-2:hover h5 {
    color: #FF255C;
}

.categories-card-3 {
    background-color: #EFFAFD;

}

.categories-card-3 .categories-icons i {
    color: #00C8FF;
}

.categories-card-3 .categories-icons {
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-style: dashed;
    border-width: 1px 1px 1px 1px;
    border-color: #00C8FF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.categories-card-3:hover h5 {
    color: #00C8FF;
}

.categories-card-4 {
    background-color: #FFF7EE;

}

.categories-card-4 .categories-icons i {
    color: #FEA441;
}

.categories-card-4 .categories-icons {
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-style: dashed;
    border-width: 1px 1px 1px 1px;
    border-color: #FEA441;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.categories-card-4:hover h5 {
    color: #FEA441;
}

.cateogories-two-section {
    padding-top: 40px;
}

.red-green-main {
    margin-top: 100px;
}

.red-section-card {
    background-color: var(--bg-six);
    padding: 40px 30px;
    border-radius: 20px;
}

.left-subtitle p {

    font-family: var(--font-family-primary);
    font-size: 15px;
    color: white;
}

.left-subtitle h6 {
    color: white;
    font-family: var(--font-family-primary);
}

.left-subtitle .beg-para {
    font-family: var(--font-family-primary);
    border: 1px solid white;
    width: fit-content;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 17px;
    color: white;
}

.left-subtitle h3 {
    color: white;
    font-family: var(--font-family-secondary);
    font-size: 31px;
    line-height: 40px;
    font-weight: 600;
}

.red-card {
    border: none !important;
    ;
}

.green-card {
    border: none !important;
    ;

}

.back-beg {
    margin-top: 30px;
    height: auto;
    max-width: 100%;
    position: relative;
}

.beg-img {
    border-radius: 50%;
    position: absolute;
    top: 90px;
    right: 30px;
}

.btn-beg {
    border: none;
    padding: 15px 30px;
    font-family: var(--font-family-secondary);
    font-size: 17px;
    font-weight: 700;
}

.btn-beg:hover {
    color: var(--bg-six);
}

.green-section-card {
    background-color: var(--bg-seven);
    padding: 40px 30px;
    border-radius: 20px;
}

.popular-courses {
    padding-top: 50px;
}

.courses-card {
    border: none !important;

    margin-bottom: 50px;


}

.courses-card .card-body {
    background-color: white;
    padding: 20px 15px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

}

.courses-card .card-body h5 {
    font-family: var(--font-family-primary);
    font-size: 15px;
    font-weight: 700;
}

.courses-card .card-body p {
    font-family: var(--font-family-secondary);
}

.courses-card .card-body a {
    font-family: var(--font-family-secondary);
    background-color: var(--bg-one);
    color: white;
    padding: 5px 20px;
    border-radius: 0px !important;
    width: fit-content;
}

/* <!-- students enroll section  --> */
.student-enroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;

}

.student-enroll .student-bg-ion {
    background-color: #00000014;
    height: 70px;
    width: 70px;
    border-radius: 50% 50% 50% 50%;
    position: relative;
}

.student-enroll img {
    width: 60px;
    height: 60px;
    position: absolute;
    right: -20px;
    top: -5px;


}

.student-enroll h1 {
    font-size: 50px;
    font-family: var(--font-family-secondary);
    font-weight: 500;
}

.student-enroll p {
    font-family: var(--font-family-secondary);
    font-size: 18px;
}

.green-container-main {
    background-color: var(--bg-five);
    padding: 130px 0px;
}

/* trusted market section */
.left-side-trusted h2 {
    font-size: 45px;
    font-family: var(--font-family-secondary);
    color: var(--bg-one);
    font-weight: 600;
    line-height: 60px;
}

.trusted-market {
    padding: 130px 0px;
    display: flex;
    gap: 50px;

}

.btn-left button {
    border: none;
    background-color: var(--bg-five);
    padding: 15px 45px;
    font-family: var(--font-family-primary);
    color: white;
    font-weight: 600;
    margin-top: 30px;
    border-radius: 5px;
    transition: background-color 2s ease-in-out;
}

.btn-left button:hover {
    background-color: var(--bg-one);
}

.upper-img {
    border-right: 1px solid rgb(242, 239, 239);
    padding: 50px 70px;
    border-bottom: 1px solid rgb(242, 239, 239);
}

.lower-img {
    border-right: 1px solid rgb(242, 239, 239);
    padding: 50px 70px;
}


.green-container-main {
    background: var(--bg-five);
    color: #fff;
    padding: 80px 0;
    /* enough padding */
    text-align: center;
    position: relative;
    z-index: 1;
}

.custom-shape-divider-top-1757654645 {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 50px;
    line-height: 0;
    background: none !important;

}

.custom-shape-divider-top-1757654645 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.custom-shape-divider-top-1757654645 .shape-fill {
    fill: var(--bg-five) !important;
    /* green color */
}

.graph-img {
    position: absolute;
    right: -200px;
    top: 10%;
    z-index: -1;
}

.graph-img {
    transition: transform 0.5s ease-in-out;
    /* apply transition globally */
}

.green-container-main:hover .graph-img {
    transform: translateY(40px);
}

.custom-shape {
    display: block;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    width: calc(100% + 1.3px);

    height: 70px;
    transform: translateX(-50%) rotateY(180deg);

}

svg:not(:root) {
    overflow: hidden;
}

.custom-shape path {
    fill: #eff5ff;
    /* background color */
}

.four-card-section {
    overflow: hidden;
}

.learning-focus {
    background-color: #eff5ff;
    padding-top: 50px;
    padding-bottom: 50px;
}

.right-learning h2 {
    font-family: var(--font-family-primary);
    margin-bottom: 50px;
    font-size: 50px;
    font-weight: 600;
    width: 80%;
}

.right-learning img {
    margin-bottom: 30px;
}

.tilt-card-one {
    transform: rotateZ(-3deg);
    background-color: #FFFFFF;
    padding: 35px 35px 35px 35px;
    border-style: dashed;
    border-width: 2px 2px 2px 2px;
    border-color: #FF255C;
    box-shadow: 13px 16px 0px 0px #CACFD6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tilt-card-two {
    transform: rotateZ(3deg);
    background-color: #FFFFFF;
    padding: 35px 35px 35px 35px;
    border-style: dashed;
    border-width: 2px 2px 2px 2px;
    border-color: #873EDF;
    box-shadow: 13px 16px 0px 0px #CACFD6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tilt-card-three {
    transform: rotateZ(-3deg);
    background-color: #FFFFFF;
    padding: 35px 35px 35px 35px;
    border-style: dashed;
    border-width: 2px 2px 2px 2px;
    border-color: var(--bg-seven);
    box-shadow: 13px 16px 0px 0px #CACFD6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tilt-card-four {
    transform: rotateZ(3deg);
    background-color: #FFFFFF;
    padding: 35px 35px 35px 35px;
    border-style: dashed;
    border-width: 2px 2px 2px 2px;
    border-color: var(--bg-six);
    box-shadow: 13px 16px 0px 0px #CACFD6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tilt-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.tilt-icon-1 {
    background-color: var(--bg-six);
}

.tilt-icon-2 {
    background-color: #873EDF;
}

.tilt-icon-3 {
    background-color: var(--bg-seven);
}

.tilt-icon-4 {
    background-color: var(--bg-six);
}

.tilt-icon i {
    color: white;
    font-size: 30px
}

.tilt-heading {
    font-family: var(--font-family-primary);
    color: black;
    font-weight: 700;
}

.tilt-para {
    text-align: center;
}

.row-learning-top {
    padding-top: 50px;
}

.get-subscription {
    margin-top: 50px;
    background-color: var(--bg-seven);
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    flex-direction: column;
    margin-bottom: 50px;
}

.get-subscription h2 {
    font-family: var(--font-family-primary);
    color: white;
    text-align: center;
    font-weight: 700;
    width: 50%;

}

.subscription-call .button {
    position: relative;
    overflow: hidden;
    height: 3rem;
    padding: 0 2rem;
    border-radius: 1.5rem;
    background: #f4f3f3;
    background-size: 400%;
    color: black;
    border: none;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    margin-top: 40px;
}

.subscription-call .button:hover::before {
    transform: scaleX(1);
}

.subscription-call .button-content {
    position: relative;
    z-index: 1;
}

.subscription-call .button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 100%;
    height: inherit;
    border-radius: inherit;
    background: linear-gradient(82.3deg,
            rgb(93, 233, 182) 10.8%,
            rgb(88, 238, 128) 94.3%);
    transition: all 0.475s;
}