body {
    margin: 0;
    background-color: #f7f2ea !important;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1f2933;
}

/* Navbar */
.glass-nav {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

a{
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: #0f172a;
}
.nav-underline {
    position: relative;
    font-weight: 500;
    color: #1f2933;
    padding-bottom: 6px;
}

/* Hidden line */
.nav-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff4d4d, #ff784d);
    border-radius: 2px;
    transition: all 0.35s ease;
    transform: translateX(-50%);
}

/* Hover animation */
.nav-underline:hover::after {
    width: 100%;
}

/* Active link */
.nav-underline.active::after {
    width: 100%;
}

/* Optional smooth color change */
.nav-underline:hover {
    color: #ff784d;
}

.logo-circle {
    background: linear-gradient(135deg, #ff4d4d, #ff784d);
    color: #fff;
    padding: 8px 12px;
    border-radius: 50%;
    font-weight: 700;
}

/* Hero */
.hero-section {
    padding: 140px 0 80px;
    text-align: center;
}

.hero-section h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.subtitle {
    max-width: 620px;
    margin: 12px auto 0;
    opacity: 0.8;
}

.pill {
    background: rgba(255, 78, 78, 0.1);
    color: #ff4e4e;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

/* Courses */
.courses-section {
    padding: 60px 0 100px;
}

.course-card {
    border-radius: 24px;
    overflow: hidden;
    background: #1f273b;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.course-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-body h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.card-body p {
    font-size: 14px;
    opacity: 0.8;
    color: #fff;
}

.btn-main {
    background: linear-gradient(135deg, #ff4d4d, #ff784d);
    border: none;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
}

/* Footer */
.footer-section {
    background: linear-gradient(180deg, #0f172a, #020617);
    color: #e5e7eb;
    padding: 80px 0 30px;
    margin-top: 80px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-text {
    opacity: 0.85;
    margin-top: 14px;
    max-width: 320px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5f5;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ff784d;
    padding-left: 6px;
}

.footer-form {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 6px;
    margin-top: 12px;
}

.footer-form input {
    flex: 1;
    border: none;
    background: transparent;
    color: white;
    padding: 10px 16px;
}

.footer-form button {
    border: none;
    background: linear-gradient(135deg, #ff4d4d, #ff784d);
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 40px 0 20px;
}

.footer-bottom {
    font-size: 14px;
    opacity: 0.7;
    text-align: center;
}