*{
    margin: 0;
    padding: 0;
    --primary: #333333;
    --yellowColor: #122619 ;
    --textTitle: #414141;
    --mainWidth: 1178px;
    font-family: 'PT Sans Narrow', sans-serif;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: #ff6c00;
}

@media only screen and (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}

@media only screen and (min-width: 769px) {
    .hide-on-desktop {
        display: none !important;
    }
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff6c00;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.language-picker {
    position: absolute;
    top: 79px;
    right: 10px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.language-picker label {
    margin-right: 10px;
}

.language-picker select {
    padding: 7px;
    font-size: 16px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #163020 ;
    color: white;
}

.flag-icon {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}
#swiperSubNav {
    display: none;
}
.subNavImg{
    width: 30px;
}
.subNavElement{
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-weight: 600;
}
.subNavContainer{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 45px;
    align-items: center;
}
#cpd{

}
.subInnerNav{
    display: flex;
    justify-content: space-between;
    width: 60%;
    align-items: center;
}
.subNavMobile{
    display: none;
}
.swiper-wrapper{
    align-items: center;
}
.swiper {
    height: 45px;
}
a{
    text-decoration: none;
    color: #0008ff;
}
.menuColor{
    text-decoration: none;
    color: white;
}
.cardContainer{
    display: flex
}
.cardElementBlog{
    width: 300px;
    border: 1px solid black;
}
.blogTitleCard{
    width: 90%;
}
.blogDescriptionCard{
    width: 90%;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    color: #333;
}

.pagination li.active {
    background-color: #333;
    color: #fff;
}
.pagination li a{
    text-decoration: none;
    color: black;
}
#frontNav {
    background: #0d1b2a;
    padding: 0 0px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mainLogo img{
    width: 156px;
}
.logoMainLink{
    padding: 5px 0px;
}

#navMenu{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
}
.navItem{
    padding: 10px;
    cursor: pointer;
}

a .navItem{
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}
#frontNav a, #frontNav a .navItem { /* removed custom color override per user request */ }
#loginMenu{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    padding-right: 14px;
}
#googleIcon img{
    width: 76px;
}

@media only screen and (max-width: 768px) {
    #cpdIcon {
        display: none !important;
    }
}


/* ============================================
   MOBILE HAMBURGER BUTTON (flex child of #frontNav)
   ============================================ */

#hamButton {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    color: rgba(255,255,255,0.9);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: background 0.15s ease;
}

#hamButton:active {
    background: rgba(255,255,255,0.08);
}

#hamButton.is-active {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ============================================
   PREMIUM MOBILE NAV OVERLAY
   ============================================ */

#responsiveNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    visibility: hidden;
    pointer-events: none;
}

#responsiveNav.is-open {
    visibility: visible;
    pointer-events: auto;
}

.mobileNav-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
}

#responsiveNav.is-open .mobileNav-backdrop {
    opacity: 1;
}


/* ============================================
   SLIDE-IN PANEL
   ============================================ */

.mobileNav-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 310px;
    max-width: 85vw;
    height: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    background: #0d1b2a;
    box-shadow: 6px 0 40px rgba(0, 0, 0, 0.5);
    -webkit-transform: translateX(-110%);
    transform: translateX(-110%);
    transition: -webkit-transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#responsiveNav.is-open .mobileNav-panel {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

/* Panel Header */
.mobileNav-header {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 22px 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobileNav-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.mobileNav-close {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobileNav-close:active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}


/* ============================================
   NAV LINKS
   ============================================ */

.mobileNav-links {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 24px 14px 12px;
}

.mobileNav-link {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    margin-bottom: 2px;
    border-radius: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease;
}

.mobileNav-link svg {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.45);
}

.mobileNav-link:active {
    background: rgba(255, 255, 255, 0.08);
}

.mobileNav-link--highlight {
    color: #ffe01b;
}

.mobileNav-link--highlight svg {
    color: rgba(255, 224, 27, 0.55);
}


/* ============================================
   DIVIDER
   ============================================ */

.mobileNav-divider {
    margin: 10px 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}


/* ============================================
   ACTION BUTTONS (Login / Register)
   ============================================ */

.mobileNav-actions {
    display: -webkit-flex;
    display: flex;
    gap: 10px;
    padding: 14px 20px 10px;
}

.mobileNav-btn {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 50px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    border: none;
}

.mobileNav-btn--login {
    -webkit-flex: 1;
    flex: 1;
    color: #0a0a0a;
    background: linear-gradient(135deg, #ffe01b 0%, #ffd000 100%);
    box-shadow: 0 3px 14px rgba(255, 224, 27, 0.3);
}

.mobileNav-btn--login:active {
    background: linear-gradient(135deg, #ffd000 0%, #f5c400 100%);
    box-shadow: 0 1px 6px rgba(255, 224, 27, 0.2);
}

.mobileNav-btn--register {
    -webkit-flex: 1;
    flex: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
}

.mobileNav-btn--register:active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.5) !important;
}


/* ============================================
   BUY COURSE CTA
   ============================================ */

.mobileNav-cta {
    padding: 8px 20px 20px;
}

.mobileNav-btn--buy {
    width: 100%;
    padding: 15px 24px;
    color: #fff;
    background: linear-gradient(135deg, #1a73e8 0%, #1565c0 100%);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(26, 115, 232, 0.35);
}

.mobileNav-btn--buy:active {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.25);
}


/* ============================================
   PANEL FOOTER
   ============================================ */

.mobileNav-footer {
    margin-top: auto;
    padding: 24px 20px 32px;
    text-align: center;
}

.mobileNav-footer p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
}


/* ============================================
   BODY SCROLL LOCK (no position:fixed)
   ============================================ */

body.nav-open {
    overflow: hidden !important;
    height: 100vh !important;
}


/* ============================================
   EXISTING STYLES
   ============================================ */

.infoWrap{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.infoText{
    width: 70%;
    margin-top: 50px;
    font-size: 20px;
}
#attentionItem{
    color: #ffe01b;
}

#attentionItem1{
    color: #fffb47;
}

#attentionItem:hover{
    color: white;
}

.navItem:hover{
    background: var(--hoverColor);
}


/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media only screen and (max-width: 1200px) {
    #navMenu {
        display: none;
    }
    #hamButton {
        display: flex;
    }
    #frontNav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        padding: 0 12px;
        height: 56px;
        gap: 10px;
        background: #0d1b2a;
        box-sizing: border-box;
    }
    body {
        padding-top: 56px;
    }
    #mainLogo img {
        width: 140px;
    }
    #loginMenu {
        padding-right: 0;
        column-gap: 8px;
    }
    .subNavContainer {
        display: none;
    }
    .subNavMobile {
        display: none;
    }
    #swiperSubNav {
        display: flex;
    }
    #cpd, #rospa {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    #frontNav {
        padding: 0 8px;
        height: 52px;
        gap: 8px;
    }
    body {
        padding-top: 52px;
    }
    #mainLogo img {
        width: 125px;
    }
}

@media only screen and (max-width: 360px) {
    #frontNav {
        padding: 0 6px;
        height: 48px;
        gap: 6px;
    }
    body {
        padding-top: 48px;
    }
    #mainLogo img {
        width: 110px;
    }
}
