@font-face {
    font-family: 'Sen';
    src: url('../fonts/Sen.woff2') format('woff2');
}

@font-face {
    font-display: block;
    font-family: 'bootstrap-icons';
    src: url("../fonts/bootstrap-icons.woff2?dd67030699838ea613ee6dbda90effa6") format("woff2"), url("../fonts/bootstrap-icons.woff?dd67030699838ea613ee6dbda90effa6") format("woff")
}

* {
    box-sizing: border-box;
}

:root {
    --Primary-Color: #E44290;
    --Secondary-Color: #064272;
    --Highlight-Color: #EBD91E;
    --Accent-Color: #EBA81E;
    --Primary-Text-Color: #000000;
    --Secondary-Text-Color: #ffffff;
    --Anchor-Hover: #2d39d4;
    --Anchor-Visited: #1721b3;
}

li:has(> ul) {
    color: var(--Primary-Color);
    /* or any style you want */
    padding-bottom: 10px;
}

li:has(> ul)>ul {
    color: #000;
    /* reset nested ul text */
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5.5vw, 4rem);
}

.bg-light {
    background-color: #f3f3f3;
}

body,
button {
    margin: 0;
    font-family: "Sen", sans-serif;
}

form label span {
    color: crimson;
}

.banners span,
.banners h1,
.banners h2,
.banners h3 {
    user-select: none;
}

div,
body {
    box-sizing: border-box;
}

body,
p,
span,
a {
    color: var(--Primary-Text-Color);
    font-size: 1.2rem;
    font-weight: 500;
}

input {
    box-sizing: border-box;
    font-size: 1.2rem;
}

/* =========================
   NAVIGATION WRAPPER
   ========================= */

.navigation {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1000;
}

/* Logo */
.navigation .logo-main {
    max-width: 180px;
    height: auto;
    display: block;
}

/* DESKTOP NAV LAYOUT */
#main-navigation.ds-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Ensure spans don’t inherit weird margins */
#main-navigation span {
    margin: 0;
}

/* top-level nav items */
.ds-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* top-level nav links */
.ds-nav-item > a,
.ds-nav-item > a:link,
.ds-nav-item > a:visited {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--Secondary-Color);
    text-decoration: none;
    padding: 6px 2px;
    position: relative;
}

/* underline hover effect */
.ds-nav-item > a::after,
.dropdown-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ds-accent), var(--ds-primary));
    transition: width 0.2s ease;
}

.ds-nav-item > a:hover::after,
.dropdown-parent:hover .dropdown-label::after {
    width: 100%;
}

/* dropdown label (Courses) */
.dropdown-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--Secondary-Color);
    cursor: pointer;
    position: relative;
}

/* arrow animation */
.dropdown-arrow {
    transition: transform 0.2s ease;
}

.dropdown-parent:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* reset any old generic navigation styles */
.navigation p,
.navigation span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* =========================
   MEGA MENU TYPOGRAPHY
   ========================= */

/* category heading */
.submenu-heading {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin-bottom: 14px;

    /* KEY PART: reserve space for about 2 lines of heading */
    line-height: 1.2;
    min-height: 2.6em;  /* tweak 2.4–3em until alignment looks perfect */
}

.submenu-heading::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    border-radius: 999px;
    margin-top: 6px;
    background: linear-gradient(90deg, var(--ds-accent), var(--ds-primary));
}

/* course list items */
.navigation .submenu ul li {
    margin-bottom: 4px;
}

/* course link style */
.submenu-link {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
    padding: 4px 0;
    text-decoration: none;
    border-radius: 8px;
    position: relative;
    padding-left: 10px;
    transition:
        background-color 0.16s ease,
        color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

/* small decorative dot */
.submenu-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #cbd5f5;
    transform: translateY(-50%);
    transition: background-color 0.16s ease, transform 0.16s ease;
}

.submenu-link:hover {
    background-color: #f3f4ff;
    color: var(--ds-primary);
    transform: translateX(2px);
    box-shadow: 0 6px 18px rgba(148, 163, 184, 0.35);
}

.submenu-link:hover::before {
    background: var(--ds-accent);
    transform: translate(1px, -50%);
}

/* =========================
   MOBILE ICONS + HAMBURGER
   ========================= */

.icon {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#nav-icon1 {
    width: 26px;
    height: 18px;
    position: relative;
    cursor: pointer;
    margin-left: 12px;
}

#nav-icon1 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    left: 0;
    background: #1D0A5B;
    border-radius: 3px;
    transition: all 0.25s ease;
}

#nav-icon1 span:nth-child(1) { top: 0; }
#nav-icon1 span:nth-child(2) { top: 8px; }
#nav-icon1 span:nth-child(3) { top: 16px; }

/* optional "open" state if you toggle with JS */
#nav-icon1.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
#nav-icon1.open span:nth-child(2) {
    opacity: 0;
}
#nav-icon1.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   RESPONSIVE TWEAKS
   ========================= */

@media (max-width: 767.98px) {
    .navigation {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .navigation .logo-main {
        max-width: 150px;
    }
}

a,
a:link {
    color: var(--Secondary-Color);
}

a:visited {
    color: var(--Anchor-Visited);
}

a:hover {
    color: var(--Anchor-Hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--Primary-Color);
    font-weight: 500;
}

h3,
.h3 {
    font-size: 1.8rem;
}

.top-bar {
    background-color: #000;
    color: var(--Secondary-Text-Color);
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
}

.logo-main {
    width: 100%;
    max-width: 130px;
    height: auto;
}

.top-bar a:link,
.top-bar a:visited,
.top-bar a {
    color: var(--Secondary-Text-Color);
}

.icon {
    margin-left: 4px;
    margin-right: 4px;
}

span.h1,
span.h2,
span.h3 {
    display: block;
    text-transform: uppercase;
}

span.h1 {
    font-size: 2.3rem;
    font-weight: 500;
}

span.h2 {
    font-size: 1.8rem;
    font-weight: 500;
}

span.h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.btn {
    display: block;
    padding: 12px 18px;
}

.btn.btn-rounded {
    border-radius: 2rem;
}

a.btn,
a:visited.btn,
a:link.btn {
    text-decoration: none;
}

nav a,
nav a:link,
nav a:visited {
    text-decoration: none;
    cursor: pointer;
    color: var(--Primary-Text-Color) !important;
    font-size: 0.8rem;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
}

.btn.btn-primary {
    background-color: var(--Primary-Color);
    transition: 0.3s ease;
    color: #fff;
    border: var(--Primary-Color);
}

.btn.btn-primary:hover {
    background-color: #b3256a;
    color: #fff;
}

.btn.btn-more {
    padding: 10px 14px;
    background-color: #cf4286;
    color: #fff;
    width: fit-content;
    border-radius: 25px;
    font-size: 0.8rem;
    transition: all 0.3s linear;
}

.btn.btn-more:hover {
    background-color: #be3276;
    color: #fff;
}

.text-center {
    text-align: center;
}

/* =========================
   Global footer shell
   ========================= */
.footer {
    background: #073b63;
    color: #fff;
    font-family: 'Sen', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================
   Top CTA band
   ========================= */
.footer-cta {
    background: linear-gradient(90deg, #052743, #0b5ca5);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-cta-text h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
}

.footer-cta-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
    margin-bottom: 4px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: #ffce33;
    color: #111 !important;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    transition: 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-cta-btn:hover {
    background: #ffc107;
    transform: translateY(-1px);
}

/* =========================
   Main footer
   ========================= */
.footer-main {
    padding: 50px 0 30px;
}

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

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.25rem;
}

.footer-block {
    margin-bottom: 1.6rem;
}

.footer-title {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.55rem;
    position: relative;
    text-transform: none;
    letter-spacing: 0.08em;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
}

/* Lists & links */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li+li {
    margin-top: 0.35rem;
}

.footer-list li span {
    font-weight: 500;
    margin-right: 4px;
}

.footer a,
.footer a:link,
.footer a:visited,
.footer p,
.footer span {
    color: #ffffff;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer a:hover {
    color: #ffce33;
}

/* Bullet style for highlights */
.footer-bullets li {
    position: relative;
    padding-left: 14px;
    font-size: 0.9rem;
}

.footer-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffce33;
}

/* Social icons */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0.4rem;
}

.footer-icon {
    width: 22px;
    height: 22px;
    filter: invert(1);
    opacity: 0.9;
    transition: 0.2s ease;
}

.footer-icon:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* =========================
   Bottom bar
   ========================= */
.footer-bottom {
    background: #000000;
    padding: 12px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom a {
    font-weight: 500;
}

.footer-sep {
    margin: 0 8px;
    opacity: 0.65;
}

/* =========================
   Responsive tweaks
   ========================= */
@media (max-width: 767.98px) {
    .footer-cta {
        text-align: center;
    }

    .footer-cta-text h2 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .footer-main {
        padding-top: 35px;
    }

    .footer-brand {
        margin-bottom: 2rem;
    }

    .footer-title::after {
        width: 90px;
    }
}

/* .bottom-bar{
    background-color: #000;
    display: flex;
    justify-content: center;
}
.bottom-bar a,.bottom-bar a:link,.bottom-bar a:visited{
    color: #fff;
}
.bottom-bar a:hover{
    color: var(--Highlight-Color);
}
.bottom-bar p{
    color: #fff;
} */
#overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 10;
    display: none;
}

#scroll-to-top {
    position: fixed;
    bottom: 0px;
    left: 15px;
    z-index: 1;
}

.contact-icons a,
.contact-icons a:link,
.contact-icons a:visited {
    display: inline-block;
}

.whatsapp,
.phone,
.email {
    text-decoration: none;
    display: inline-block;
    font-size: 1.6rem;
}

.whatsapp::before {
    content: '\F618';
    font-family: 'bootstrap-icons';
    color: #fff;
}

.phone::before {
    content: '\F5B4';
    font-family: 'bootstrap-icons';
    color: #fff;
}

.email::before {
    content: '\F32C';
    font-family: 'bootstrap-icons';
    color: #fff;
}

ul.nostyle {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.nostyle a,
ul.nostyle a:link,
ul.nostyle a:visited {
    text-decoration: none;
}

form.default .row {
    margin-top: 25px;
}

form.default fieldset .row {
    margin-top: 10px;
}

form.default fieldset {
    border-bottom: none;
    border-left: none;
    border-right: none;
}

form.default fieldset legend {
    padding-inline-start: 7px;
    padding-inline-end: 7px;
}

form.default fieldset legend.required {
    color: crimson;
}

form.default fieldset legend.required::after {
    content: "*";
    padding-left: 6px;
}

form.default input,
form.default select {
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 3px solid var(--Secondary-Color);
    transition: border 0.2s ease;
    padding: 12px 8px;
    font-size: 0.9rem;
}

form.default input[type=radio],
form.default input[type=checkbox] {
    width: fit-content;
}

form.default input:focus {
    outline: none;
    border-bottom: 3px solid var(--Accent-Color);
}

.w-100 {
    width: 100%;
    ;
}