:root {
    --primary-color: #2fa4ff;
    --secondary-color: #1f911f;
    --light-secondary-color: #f2fffb;
    --dark-secondary-color: #115b11;
}
body {
    font-family: "Albert Sans", sans-serif;
    background-color: #fff;
}
a {
    color: initial;
}
.centralize {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Navbar */
.navbar {
    background: var(--light-secondary-color);
    border: solid 1px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    top: 0px;
    position: relative;
}
.navbar.active {
    position: fixed;
    top: 0px;
    z-index: 999;
    width: 100%;
}
.navbar-brand {
    font-weight: 900;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
    text-decoration-style: wavy !important;
    text-decoration: underline;
}

.navbar-nav .nav-link.active {
    text-decoration-style: wavy !important;
    text-decoration: underline;
    color: var(--primary-color) !important;
}
.logo {
    height: 30px;
}
.btn-signin {
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 14px;
    transition: all 0.3s ease;
}
.btn-signin:hover {
    background: #177117;
    color: #fff;
}
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-15px);
    }
}
.landing-txt {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero {
    background-color: var(--light-secondary-color);
    padding: 3rem 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.leaf-icon {
    position: absolute;
    top: 5%;
    left: -30px;
    height: 80px;
    width: 80px;
    transform: rotate(20deg);
}
.leaf-icon.two {
    top: -50px;
    left: 40%;
    height: 50px;
    width: 50px;
    transform: rotate(-60deg);
}
.leaf-icon.three {
    top: 85%;
    left: 40%;
    height: 100px;
    width: 100px;
    transform: rotate(-150deg);
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1rem;
    margin: 1rem 0;
    color: #000;
    font-weight: 400;
}

.search-bar {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.search-bar .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: none;
    background: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.066);
    height: 50px;
}

.search-bar .btn-search {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: var(--dark-secondary-color);
    border: none;
    padding: 5px 20px;
}

.word {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}

.avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.avatar-group .avatar:not(:first-child) {
    margin-left: -10px;
    border: 2px solid #fff;
}

.student-count {
    font-weight: 900;
    color: var(--primary-color);
}

.land-img {
    height: 400px;
    width: 100%;
    border-radius: 20px;
    position: relative;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    animation: floatAnimation 3.5s infinite ease-in-out alternate;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-image {
    height: 420px;
    width: 75%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.066);
}
.image-icons-desc {
    z-index: 10;
    background: var(--dark-secondary-color);
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    position: absolute;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-icons-desc.one {
    top: 40px;
    left: 25%;
    background: var(--secondary-color);
}
.image-icons-desc.two {
    bottom: 50px;
    right: 50px;
    background: var(--primary-color);
}
.image-icons-desc.three {
    left: 50px;
    bottom: 100px;
    background: #fff;
}

.titled-text {
    margin-bottom: 1rem;
    font-weight: 800;
    color: #717171;
    font-size: 20px;
}
.titled-text span {
    color: var(--primary-color);
}
.trusted-logos img {
    max-width: 80px;
    margin: 0 1rem;
    opacity: 0.7;
}

.trusted-logos img:hover {
    opacity: 1;
}

.popular-courses {
    padding: 2rem 0;
}

.popular-courses h2 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 2rem;
}

.course-card {
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    height: 100%;
    border: solid 0.3px #1f911f36;
}

.course-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: solid 1px transparent;
}

.course-card img {
    max-height: 180px;
    object-fit: cover;
}
.card-body h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-learn {
    background-color: #007bff;
    color: #fff;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    margin-top: 1rem;
}

.btn-learn:hover {
    background-color: #0056b3;
}

/* padded section */
.section-padded {
    padding: 100px;
    position: relative;
    overflow: hidden;
}
.section-label-design {
    color: rgba(170, 199, 225, 0.201);
    font-size: 200px;
    transform: rotate(270deg);
    position: absolute;
    font-weight: 900;
    z-index: -1;
}
.section-label-design.right {
    right: -50px;
    top: 0px;
}
.section-label-design.left {
    left: -50px;
    top: 0px;
}
.bg-section-icons::before {
    content: "";
    position: absolute;
    top: 10%;
    right: 10%;
    height: 40px;
    width: 40px;
    background-image: url(../img/shape.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: rotasion 10s linear infinite;
    z-index: 1;
}
.bg-section-icons::after {
    content: "";
    position: absolute;
    bottom: 10%;
    left: 10%;
    height: 20px;
    width: 20px;
    background-image: url(../img/asterisk.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: rotasion 15s linear infinite;
    z-index: 1;
}

.bg-section-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
}
.bg-section-img.one {
    background-image: url(../img/backdrop.jpg);
    opacity: 0.4;
}
.bg-section-img.two {
    background-image: url(../img/backdrop2.jpg);
    opacity: 0.3;
}
.bg-section-img.three {
    background-image: url(../img/backdrop3.jpg);
    opacity: 0.1;
}
@keyframes rotasion {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.question-area {
    background: linear-gradient(
        0deg,
        rgb(255, 255, 255) 0%,
        rgb(244, 244, 244) 32%,
        rgb(242, 255, 251) 66%
    );
}
.discount-img {
    height: 150px;
    object-fit: cover;
    animation: floatBreath 3.5s infinite ease-in-out alternate;
}
@keyframes floatBreath {
    0% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}
.gaurantee-text {
    background: rgba(30, 194, 142, 0.1);
    width: 300px;
    text-align: center;
    border-radius: 10px;
    padding: 5px 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(30, 194, 142, 0.3);
}
.gaurantee-text i {
    margin-right: 10px;
    color: var(--secondary-color);
}
.qst-title {
    font-weight: 400;
    font-size: 18px;
}
.learn-more {
    font-weight: 900;
    text-transform: capitalize;
}
.btn-educate {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    border-radius: 0px;
    text-transform: capitalize;
    z-index: 0;
    border: none;
}

.btn-educate::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color) !important;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-educate::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    display: block;
    width: 20%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}

.btn-educate:hover {
    color: #fff !important;
}

.btn-educate:hover::before {
    left: 0;
}
.btn-educate:hover::after {
    left: 100%;
}

.btn-educate:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* course card section */
.course-offers .course-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 40px;
}

.course-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.course-description {
    font-size: 1rem;
    color: #000;
    margin-bottom: 15px;
}

.course-details {
    font-size: 0.95rem;
    color: #000;
}

.course-price {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.course-price .original-price {
    font-size: 1rem;
}

.course-countdown {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}
.course-image {
    padding: 15px 0px;
}

.course-image img {
    min-height: 400px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* enroll */
/* Who Should Enroll Cards Section */

.enroll-card {
    background-color: #fff;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.enroll-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.enroll-card h6 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--primary-color);
    text-align: center;
    margin-top: 20px;
}

/* Image icon styling */
.enroll-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* trusted section */
.trusted-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.trusted-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.trusted-logos img {
    width: 150px;
    height: auto;
    padding: 10px;
    object-fit: contain;
    filter: grayscale(100%);
}
/* popular courses */
.padded-section-title {
    padding: 20px 20px;
}

.padded-section-title .main-txt-title {
    font-weight: 900;
    font-size: 20px;
    border-bottom: solid 0.5px #e1e1e1;
    padding-bottom: 10px;
    text-transform: uppercase;
    position: relative;
    padding-left: 20px;
    color: var(--secondary-color);
}

.padded-section-title .main-txt-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 20px;
    height: 8px;
    width: 8px;
    background: var(--secondary-color);
    animation: floatRotate 3.5s infinite ease-in-out alternate;
}

@keyframes floatRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.explain-title {
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0px;
    text-align: left;
    color: var(--primary-color);
    text-transform: capitalize;
}
.why-card {
    border-radius: 10px;
    padding: 10px 20px;
    background: rgba(136, 136, 136, 0.1);
    transition: all 0.3s ease;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: rgb(98, 98, 98);
}
.why-card.green {
    background: rgba(75, 225, 177, 0.1);
}
.why-card.green:hover {
    background: #63c69b;
}
.why-card.blue {
    background: rgba(30, 126, 194, 0.1);
}
.why-card.blue:hover {
    background: #74b5e3;
}
@keyframes glowFade {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}
.why-card i {
    font-size: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    animation: glowFade 3s infinite alternate;
    color: #717171;
}
.why-card h6 {
    text-transform: capitalize;
    font-weight: 600;
    font-size: 20px;
}
.why-card:hover h6 {
    color: #fff;
}
.why-card p {
    font-size: 15px;
}
.why-card:hover p {
    color: #fff;
}
.why-card.green i {
    color: var(--secondary-color);
}
.why-card:hover i {
    color: #fff;
}
.why-card.green:hover i {
    color: #fff;
}
.why-card.blue:hover i {
    color: #fff;
}
.why-card.blue i {
    color: var(--primary-color);
}
/* Instructor Card Enhancements */
.instructor-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}
.enroll-image-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.contact-form {
    background: #fff;
    margin: 0px;
    height: 100%;
    padding: 25px 20px;
}
.form-group label {
    color: var(--primary-color);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 800;
}
.form-group input {
    border-radius: 0px;
    border: none;
    border-bottom: solid 1px var(--primary-color);
    box-shadow: none !important;
    font-size: 15px;
}
/* contact section */
.pad-no {
    padding: 0px !important;
}
.box-shadow {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.05);
}
.contact-info {
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
    padding: 40px;
    height: 100%;
}
.contact-info h4 {
    font-weight: bold;
}
.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}
.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    background: rgba(14, 75, 96, 0.1);
    border: 1px solid rgba(30, 194, 142, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
}
.contact-info .info-item i {
    font-size: 1.2rem;
    margin-right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
}
.social-form-icons {
    position: absolute;
    bottom: 20px;
    width: 80%;
}
.social-form-icons a {
    text-decoration: none !important;
    padding-right: 20px;
}
.circle1,
.circle2 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    background-color: #ffffff;
}
.circle1 {
    width: 80px;
    height: 80px;
    top: 20px;
    right: 20px;
}
.circle2 {
    width: 120px;
    height: 120px;
    bottom: -40px;
    left: -50px;
}
.place-right {
    display: flex;
    justify-content: right;
    width: 100%;
}
/* faq section */
.faq-card {
    border: none;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-card .card-header {
    background-color: #fff;
    border-bottom: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.faq-toggle {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000;
    text-decoration: none !important;
    display: block;
    width: 100%;
    text-align: left;
    transition: color 0.3s ease;
    box-shadow: none !important;
    padding: 0px;
}

.faq-toggle:hover {
    color: #007bff;
}

.faq-card .card-body {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000;
}

/* footer section */
.footer {
    background-color: #f3ffff;
    color: var(--secondary-color);
    border-top: solid 1px rgba(0, 0, 0, 0.1);
}

.footer h5 {
    font-weight: 900;
    font-size: 15px;
    color: var(--primary-color);
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer .social-links a {
    font-size: 14px;
    transition: color 0.3s ease;
    color: var(--secondary-color) !important;
}

.footer .social-links a:hover {
    color: var(--primary-color);
}

.footer-underline {
    background: #007bff42;
}
.dropdown-menu {
    color: #212529;
    background-color: #fff;
    border: none;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    padding: 0px;
    margin-bottom: 20px;
}
.navbar-toggler {
    border: none;
}
.navbar-toggler span {
    color: var(--secondary-color);
}
.dropdown-item {
    padding: 10px 15px;
    color: var(--dark-secondary-color);
    transition: all 0.3s ease;
}
.dropdown-item:hover {
    background: var(--dark-secondary-color);
    color: var(--light-secondary-color);
}
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.countdown-timer .time-box {
    background-color: #fff;
    border-radius: 10px;
    margin: 0 10px;
    padding: 20px 10px;
    width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.countdown-timer .time-box:hover {
    transform: scale(1.05);
}
.countdown-timer .time-number {
    display: block;
    font-size: 60px;
    font-weight: 900;
    color: #b81a1a;
    line-height: 1;
    text-align: center;
}
.countdown-timer .time-label {
    display: block;
    font-size: 13px;
    margin-top: 10px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}
.limited-offer{
    text-align: center;
}
.offer-time{
    text-align: center;
    font-weight: 900;
    color: var(--primary-color);
}
.countdown-desc{
    text-align: center;
    margin-top: 30px;
    color: var(--secondary-color);
}