body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #F8F9FA;
}

/* =========================
   ✅ NAVBAR (FIXED DESIGN)
========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff; /* ✅ white navbar */
    padding: 10px 25px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000
}

/* Logo */
.navbar img {
    height: 50px;
}

/* Menu */
.menu {
    display: flex;
    align-items: center;
    gap: 10px;              /* ✅ spacing between pills */
    flex-wrap: wrap;        /* ✅ prevents overflow on small screens */
    justify-content: flex-end;
}

/* Pill buttons */
.menu a {
    text-decoration: none;
    color: #333;
    background: #f1f3f5;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;   /* ✅ ensures proper sizing */
    white-space: nowrap;     /* ✅ prevents text breaking */
    transition: 0.3s;
}

/* Hover */
.menu a:hover {
    background: #0B5D4F;
    color: white;
}

/* =========================
   ✅ MARQUEE
========================= */
.marquee {
    background: #F4A300;
    color: #222;
    padding: 10px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 12s linear infinite;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* =========================
   ✅ HERO SECTION
========================= */
.hero {
    position: relative;
    height: 380px;
    background: url("https://via.placeholder.com/1200x400") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 93, 79, 0.75);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* =========================
   ✅ COMMON SECTIONS
========================= */
.section {
    padding: 50px 20px;
    text-align: center;
}

/* Grid for videos */
.grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================
   ✅ TABLET GRID (FIXED)
========================= */
.tablet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: auto;
}

.tablet {
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: 0.2s;
}

.tablet:hover {
    background: #0B5D4F;
    color: white;
}

/* =========================
   ✅ COURSE CARDS (STACKED)
========================= */
.course-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.course-item {
    width: 90%;
    max-width: 300px; /* ✅ smaller cards */
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
}

.course-item img {
    width: 100%;
    border-radius: 8px;
}

.course-item:hover {
    transform: translateY(-5px);
    background: #f0f7f5;
}

/* =========================
   ✅ VIDEO
========================= */
.video iframe {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/9;   /* ✅ keeps proper video ratio */
    border-radius: 10px;
}

/* =========================
   ✅ CONTACT
========================= */
.contact {
    background: #F8F9FA;
}

.social a {
    display: inline-block;
    margin: 10px;
    padding: 10px 15px;
    background: #0B5D4F;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.social a:hover {
    background: #084C40;
}

/* =========================
   ✅ FOOTER
========================= */
footer {
    background: #0B5D4F;
    color: white;
    padding: 20px;
    text-align: center;
}
