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

iframe {
    width: 600px;
    height: 450px;
}

html,
body {
    font-family: 'Roboto', sans-serif;
    height: 100%;
}

h1, h2, .section-title {
  font-family: 'Poppins', sans-serif;
}

.button {
    cursor: pointer;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 60%;
    height: 4px;
    background: orange;
    margin: 10px auto 0;
    border-radius: 2px;
}



/* Navbar */
.line-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.line-container a {
    color: black;
}

.line-text {
    background: rgb(255, 240, 211);
    border-radius: 20px;
    padding: 8px 14px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
}

.navbar {
    padding: 1rem 0;
    background: orange;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    margin-right: 10px;
}


.navbar-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
}


.nav-item .nav-link {
    font-size: 1.1rem;
    font-weight: 400;
    color: #000000 !important;
    transition: color 0.3s ease;

}

.nav-item .nav-link:hover {
    color: rgb(59, 59, 59) !important;
}

.dashboard-button {
    height: 2.8em;
    width: 9em;
    padding-left: 0.7%;
    padding-top: 0.7%;
    background: transparent;
    border: 2px solid #262626;
    outline: none;
    text-decoration: none;
    color: #262626;
    cursor: pointer;
    font-size: 17px;
    transition: background 0.3s, color 0.3s;
}

.dashboard-button:hover {
    background: #262626;
    color: #ffffff;
    animation: squeeze3124 0.9s both;
}

@keyframes squeeze3124 {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }

    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }

    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }

    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }

    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.courses-section {
    background: #f9f9f9;
}

.course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    animation: fadeInUp 1s ease;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.course-card .card-img {
    overflow: hidden;
    height: 220px;
}

.course-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .card-img img {
    transform: scale(1.1);
}

.course-card .card-body {
    padding: 20px;
}

.course-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.btn-learn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 30px;
    border: 2px solid orange;
    color: orange;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-learn:hover {
    background: orange;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-logo {
  max-width: 160px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: orange;
}

.footer-bottom {
  font-size: 0.9rem;
}
