/* Responsive: prevent horizontal scroll */
html {
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
    max-width: 100vw;
}
main {
    overflow-x: hidden;
    max-width: 100%;
}

/* Container padding on small screens */
.container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Section subtitles: smaller on mobile to avoid overflow */
.sub-title {
    padding-left: 0;
    padding-right: 0;
}
.sub-title p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100%;
    word-wrap: break-word;
}
@media (min-width: 640px) {
    .sub-title p {
        font-size: 1.25rem;
    }
}
@media (min-width: 768px) {
    .sub-title p {
        font-size: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .sub-title p {
        font-size: 1.875rem;
    }
}

/* Header notice: smaller on narrow screens */
.notice-bar p {
    font-size: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
@media (min-width: 480px) {
    .notice-bar p {
        font-size: 1.25rem;
    }
}
@media (min-width: 640px) {
    .notice-bar p {
        font-size: 1.5rem;
    }
}

.logo {
    width: 200px;
}
.nav {
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    position: relative;
}
.nav-item:hover .sub-menu-container {
  left: 50%;
  transform: translateX(-50%);
}
.sub-menu-container {
    position: absolute;
    top: 100%;
    left: -9999999px;
    border-radius: 10px;
    z-index: 1000;
    width: 500px;
}

.sub-menu {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
  padding: 10px;
  z-index: 1000;
  width: 500px;
  margin-top: 20px;
  border: 3px solid #000;
}
.sub-menu::before{
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  width: 10px;
  height: 10px;
  z-index: 1000;
  transform: rotate(45deg);
  background-color: #fd0000;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
  z-index: 1000;
 
}


.sub-menu-container li {
    list-style: none;
}
.sub-menu-container li a {
    color: #000 !important;
    padding: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.sub-menu-container li a:hover {
    color: #1800ee !important;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}



/* Our Teams section */
#our-teams.our-teams-section,
#our-teams {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.06);
}
.our-teams-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 0.5rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}
@media (min-width: 768px) {
    .our-teams-title {
        font-size: 2.5rem;
    }
}
.our-teams-subtitle {
    font-size: 1.125rem;
    line-height: 1.5;
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 42rem;
    color: #4b5563;
}
@media (min-width: 768px) {
    .our-teams-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
    }
}
#our-teams .title-division {
    margin: 0 0 2.5rem;
}
@media (min-width: 768px) {
    #our-teams .title-division {
        margin-bottom: 3rem;
    }
}
.our-teams-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .our-teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .our-teams-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}
@media (min-width: 1024px) {
    .our-teams-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}
@media (min-width: 1280px) {
    .our-teams-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
#our-teams .member-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#our-teams .member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
#our-teams .member-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f1f5f9;
}
#our-teams .member-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#our-teams .member-card-content {
    padding: 1.25rem 1rem;
    text-align: center;
}
#our-teams .member-card-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
#our-teams .member-card-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
}
.our-teams-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #6b7280;
    padding: 3rem 1rem;
    margin: 0;
}

#our-projects {
    padding: 50px 0;
    background-color: #f0f0f0;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}
.member-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    &:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
    }
}

.image-area {
    width: 100%;
    overflow: hidden;
}
.image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    
  
}

.content-area {
    padding: 10px;
    text-align: center;
    background-color: #f0f0f0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    &:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
    }
}
.content-area h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}
.content-area p {
    font-size: 1rem;
    color: #666;
}   
.title-division {
    width: 100%;
    height: 5px;
    background-color: #000000;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}
.box-wrap {
    position: relative;
    width: 45px;
    height: 45px;
    transform: rotate(45deg);
    background: rgb(255, 255, 255);
}
.box{
    width: 20px;
    height: 20px;
    background-color: #ccc;
    /* border-radius: 50%; */
    position: absolute;
}
.box1 {
    background-color: rgb(243, 9, 9);
    left: 0;
    top: 0;

}
.box2 {
    background-color: #0f0;
    top: 0;
    right: 0;
}
.box3 {
    background-color: rgb(255, 0, 0);
    bottom: 0;
    right: 0;
}
.box4 {
    background-color: rgb(102, 255, 0);
    left: 0;
    bottom: 0;
}
#our_clients {
    padding: 50px 0;
    background-color: #f0f0f0;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
    max-width: 100%;
}
#our_clients .our-clients-slider {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}
/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
  }
  .ribbon {
    --d: .8em; /* the depth */
    position: absolute;
    inset-inline: calc(-1*var(--d));
    border-bottom: var(--d) solid #0008;
    line-height: 1.8;
    clip-path: polygon(0 0,100% 0,100% calc(100% - var(--d)),calc(100% - var(--d)) 100%,calc(100% - var(--d)) calc(100% - var(--d)),var(--d) calc(100% - var(--d)),var(--d) 100%,0 calc(100% - var(--d)));
    background-color: #3FB8AF; /* the main color */
    text-align: center;
  }
  .boxx {
    width: calc(100% - 40px);
    height: 266px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}
.boxx img {
    width: 100%;
    object-fit: contain;
    border-radius: 0 0 30px 30px;
    position: absolute;
    top: 25px;
}
  /* HTML: <div class="ribbon">Your text content</div> */
.client_title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
  }
  .client_title {
    --s: 1.8em; /* the ribbon size */
    --d: .5em;  /* the depth */
    --c: .8em;  /* the cutout part */
    
    padding: var(--d) calc(var(--s) + var(--d) + .5em) 0;
    line-height: 1.8;
    background: 
      linear-gradient(90deg,#0004 var(--d),#0000 0 calc(100% - var(--d)),#0004 0) 
      50%/calc(100% - 2*var(--s)) 100% no-repeat;
    clip-path: polygon(0 0,var(--s) 0,calc(var(--s) + var(--d)) var(--d),calc(100% - var(--s) - var(--d)) var(--d),calc(100% - var(--s)) 0,100% 0,calc(100% - var(--c)) calc(50% - var(--d)/2),100% calc(100% - var(--d)),calc(100% - var(--s)) calc(100% - var(--d)),calc(100% - var(--s) - var(--d)) 100%,calc(var(--s) + var(--d)) 100%,var(--s) calc(100% - var(--d)),0 calc(100% - var(--d)),var(--c) calc(50% - var(--d)/2));
    background-color: #d81a14; /* the main color */
    width: fit-content;
  }

  #clientsSlider{
    overflow: hidden;
  }

 @property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

  .conic-gradient{
    position: relative;
    width: 100%;
    height: 336px;
    background: repeating-conic-gradient(from var(--a), #06af14 0%, #152020 5%, transparent 5%, #000000 10%, #04a555 20%);
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    animation: rotate 10s linear infinite;    
  }

  .conic-gradient::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: repeating-conic-gradient(from var(--a), #08ca20 0%, #68a111 5%, transparent 5%, #09e002 10%, #5ad93a 20%);
    border-radius: 10px;
    animation: rotate 10s linear infinite;
    animation-delay: -5s;
}



  @keyframes rotate{
    from{
      --a: 0deg;
    }
    to{
      --a: 360deg;
    }
  }

  .card-c{
    position: relative;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    inset: 10px;
  }

/* Mobile nav behavior */
@media (max-width: 767px) {
  .nav {
    flex-wrap: wrap;
  }
  /* Hide submenu by default on mobile; open via JS by toggling .open */
  .nav-item .sub-menu-container {
    display: none;
    position: static;
    left: auto;
    width: 100%;
  }
  .nav-item.open .sub-menu-container {
    display: block;
  }
  .sub-menu {
    width: 100%;
    margin-top: 10px;
  }
}

/* Mobile menu overlay */
@media (max-width: 767px) {
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 60;
    align-items: flex-start;
    justify-content: flex-end;
    top: 117px;
}
  .mobile-menu-content {
    width: 100%;
    background: #0b1b3a; /* close to bg-blue-950 */
    padding: 16px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  

  .mobile-menu .nav-item {
    position: relative;
    padding: 8px 0;
    font-weight: 600;
    font-size: 17px;
    box-shadow: 1px 1px 3px #fff;
}

}

.domain-price-box {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    &:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
    }
}
.domain-price-box-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
}

#contact-us-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    border: 3px solid #000;
}
#contact-us-form input, #contact-us-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#section-course-details {
    padding: 50px 0;
    background-color: #f0f0f0;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
}

/* ========== Course details – Pro-level ========== */
.course-details-page #section-course-details {
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.course-details-page .section2 {
    padding: 2.5rem 0 3rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #fff 100%);
    box-shadow: none;
}
.dark .course-details-page .section2 {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 30%, #1e1b4b 100%);
}
.course-details-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 48%, #4c1d95 100%);
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 3rem;
}
.course-details-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(129, 140, 248, 0.22), transparent 50%);
    pointer-events: none;
}
.course-details-hero .container { position: relative; z-index: 1; }
.course-details-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.course-details-back:hover {
    color: #fff;
    transform: translateX(-2px);
}
.course-details-hero-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.course-details-hero-subtitle {
    color: rgba(226, 232, 240, 0.88);
}
.course-details-page .slt-box {
    background: #fff;
    padding: 1.125rem 1.25rem;
    border-radius: 0.875rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(79, 70, 229, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.course-details-page .slt-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4f46e5, #7c3aed);
    border-radius: 3px 0 0 3px;
}
.course-details-page .slt-box h3 {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}
.course-details-page .slt-box p {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
}
.dark .course-details-page .slt-box {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.dark .course-details-page .slt-box::before {
    background: linear-gradient(180deg, #818cf8, #a78bfa);
}
.dark .course-details-page .slt-box h3 { color: #94a3b8; }
.dark .course-details-page .slt-box p { color: #f1f5f9; }
.course-details-page .join-b-box {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.35);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
}
.course-details-page .join-b-box h3 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0;
}
.course-details-hero-image-area {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 40%, #c7d2fe 100%);
}
.dark .course-details-hero-image-area {
    background: linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
}
.course-details-hero-image-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(129, 140, 248, 0.25), transparent 50%),
                radial-gradient(ellipse 60% 50% at 20% 80%, rgba(167, 139, 250, 0.2), transparent 45%);
    pointer-events: none;
    z-index: 1;
}
.course-details-page .course-details-hero-image-wrap {
    position: relative;
    z-index: 2;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.course-details-page .course-details-hero-image-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
    pointer-events: none;
}
.dark .course-details-page .course-details-hero-image-wrap {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.dark .course-details-page .course-details-hero-image-wrap::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}
.course-details-page .section2 h2 {
    color: #1e293b;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.dark .course-details-page .section2 h2 {
    color: #f1f5f9;
}
.course-details-page .section2 .text-gray-700,
.course-details-page .section2 p {
    color: #475569;
}
.dark .course-details-page .section2 .text-gray-700,
.dark .course-details-page .section2 p {
    color: #cbd5e1;
}
.course-details-page .section2 ul {
    color: #475569;
}
.dark .course-details-page .section2 ul {
    color: #cbd5e1;
}
.course-details-page .success-story-container {
    background: #fff;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(79, 70, 229, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.dark .course-details-page .success-story-container {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(99, 102, 241, 0.2);
}
.course-details-page .success-story-container h2 {
    margin-bottom: 0.75rem;
}
.course-details-page [data-story-dot].bg-blue-300 {
    background: #6366f1 !important;
}
.course-details-page .course-enroll-container {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(79, 70, 229, 0.12);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.dark .course-details-page .course-enroll-container {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(99, 102, 241, 0.2);
}
.course-details-page .admission-box {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.25);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.course-details-page .admission-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.course-details-page .admission-box p {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}
.course-details-page .admission-box a,
.course-details-page .admission-box .btn-primary {
    background: #fff;
    color: #4f46e5;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-block;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.course-details-page .admission-box a:hover,
.course-details-page .admission-box .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #3730a3;
    transform: translateY(-1px);
}

/* Course details – layout & content improvements */
.course-details-content-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(79, 70, 229, 0.06);
    padding: 1.75rem 1.5rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}
@media (min-width: 768px) {
    .course-details-content-card {
        padding: 2rem 2rem;
        margin-top: -2.5rem;
    }
}
.dark .course-details-content-card {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.12);
}
.course-details-page .section2 .course-details-content-inner {
    max-width: 48rem;
}
.course-details-page .section2 h2 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}
.course-details-page .section2 h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.5rem;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 2px;
}
.course-details-page .section2 .course-details-list {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 1.5rem;
}
.course-details-page .section2 .course-details-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.course-details-page .section2 .course-details-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.5rem;
    height: 0.5rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 50%;
}
.dark .course-details-page .section2 .course-details-list li::before {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
}
.course-details-page .section2 .course-details-overview-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.course-details-page .section2 .course-details-section {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(79, 70, 229, 0.12);
}
.dark .course-details-page .section2 .course-details-section {
    border-top-color: rgba(99, 102, 241, 0.2);
}
.course-details-page .section2 .course-details-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.course-details-sidebar {
    position: relative;
}
@media (min-width: 768px) {
    .course-details-sidebar {
        position: sticky;
        top: 6rem;
        align-self: start;
    }
}
.course-details-page .success-story-container .success-story-box img {
    border-radius: 0.75rem;
}
.course-details-page #prev-story,
.course-details-page #next-story {
    background: rgba(99, 102, 241, 0.9) !important;
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background 0.2s ease, transform 0.2s ease;
}
.course-details-page #prev-story:hover,
.course-details-page #next-story:hover {
    background: #4f46e5 !important;
    transform: scale(1.05);
}
.course-details-page .section2 .course-details-banner-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.08);
    margin-bottom: 2rem;
}
.course-details-page .slt-box {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.course-details-page .slt-box:hover {
    box-shadow: 0 8px 16px -4px rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.2);
}
.course-details-long-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #475569;
}
.dark .course-details-long-desc {
    color: #cbd5e1;
}

.slt-box {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    padding: 10px 10px;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
}
.join-b-box {
 
    background-color: #e40a0a;
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.section2 {
    padding: 30px 0;
    background-color: #f0f0f0;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
}
.success-story-container {
    width: 100%;
 
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
}
.success-story-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.success-story-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.course-enroll-container {
    width: 100%;
    margin-top: 20px;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
}
.admission-box {
    width: 100%;
    background-color: #e21212;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 10px;
    text-align: left;
}
.admission-box h3 {
    font-size: 45px;
    font-weight: 600;
    color: #ffffff;
}
.admission-box p {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 20px;
}
.admission-box a {
    background-color: #000;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

#prev-story{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

#next-story{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

#success-story {
    padding: 80px 0;
    background-color: #f0f0f0;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
}
.slt-success-story-box {
    width: 100%;
    height: 100%;
    border: 3px solid #04bfc5;
    border-radius: 20px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
}
.slt-success-story-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Hero slider: fully contained on all viewports */
#slider_section {
    background: linear-gradient(to bottom, #f1f5f9, #fff);
    width: 100%;
    max-width: 100%;
}
#slider_section .hero-slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-left: auto;
    margin-right: auto;
}
#slider_section .hero-slider .slider-wrapper {
    min-width: 0;
}
#slider_section .hero-slider .slider-item {
    min-width: 0;
    flex: 0 0 100%;
    width: 100%;
}
#slider_section .hero-slider .slider-item img {
    max-width: 100%;
    object-fit: cover;
}
@media (max-width: 480px) {
    #slider_section .hero-slider {
        min-height: 200px;
        aspect-ratio: 16/9;
    }
}
#slider_section .hero-slider .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease, background 0.3s ease;
}
#slider_section .hero-slider .slider-dot:hover {
    background: #fff;
}
#slider_section .hero-slider .slider-dot.active {
    width: 28px;
    background: #fff;
}

/* ========== Home page – Pro-level design & coloring ========== */
.home-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #312e81 100%);
    position: relative;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.28), transparent 50%),
                radial-gradient(ellipse 60% 50% at 100% 60%, rgba(167, 139, 250, 0.15), transparent 50%);
    pointer-events: none;
}
.home-hero .container {
    position: relative;
    z-index: 1;
}
.home-gradient-text {
    background: linear-gradient(90deg, #a5b4fc, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.home-btn-primary {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.home-btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -5px rgba(79, 70, 229, 0.45);
}
.home-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.home-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}
.home-section-label,
.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.home-icon-box {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.35);
}
.home-stats .w-12.h-12 {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
}
.home-stats .w-12.h-12:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .home-stats {
        gap: 1.5rem;
    }
}

/* Home – feature & product cards */
.home-feature-card {
    border: 1px solid rgba(79, 70, 229, 0.08);
    transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}
.home-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 24px -6px rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.18);
}
.home-feature-card {
    position: relative;
    overflow: hidden;
}
.home-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 0.75rem 0.75rem 0 0;
}
.home-product-card {
    border: 1px solid rgba(79, 70, 229, 0.08);
    transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}
.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.2);
}
.home-product-card .aspect-4\/3 {
    position: relative;
    overflow: hidden;
}
.home-product-card .aspect-4\/3::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.home-product-card:hover .aspect-4\/3::after {
    opacity: 1;
}

/* Home – section backgrounds */
.home-section-alt {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #fff 100%);
}
.dark .home-section-alt {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}
.home-section-white {
    background: #fff;
}
.dark .home-section-white {
    background: #0f172a;
}

/* Home – pricing */
.home-pricing-card {
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-pricing-card:hover {
    box-shadow: 0 12px 24px -8px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
}
.home-pricing-featured {
    background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 30%, #fff 100%);
    border: 2px solid rgba(79, 70, 229, 0.35) !important;
    box-shadow: 0 20px 40px -12px rgba(79, 70, 229, 0.2);
}
.dark .home-pricing-featured {
    background: linear-gradient(180deg, #312e81 0%, #1e1b4b 50%, #1e293b 100%);
    border-color: rgba(99, 102, 241, 0.5) !important;
}
.home-pricing-featured .absolute {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
}

/* Home – testimonials & cards */
.home-testimonial-card {
    border: 1px solid rgba(79, 70, 229, 0.08);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-testimonial-card:hover {
    box-shadow: 0 12px 24px -6px rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.15);
}
.home-blog-card {
    border: 1px solid rgba(79, 70, 229, 0.08);
    transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}
.home-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 24px -6px rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.18);
}
.home-blog-card .aspect-video {
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
}
.dark .home-blog-card .aspect-video {
    background: linear-gradient(135deg, #312e81, #4c1d95);
}

/* Home – newsletter CTA */
.home-newsletter {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    position: relative;
    overflow: hidden;
}
.home-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(129, 140, 248, 0.2), transparent 50%);
    pointer-events: none;
}
.home-newsletter .container {
    position: relative;
    z-index: 1;
}
.home-newsletter input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

/* ========== Custom Order – Pro-level coloring ========== */
.custom-order-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4c1d95 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0 3.5rem;
}
.custom-order-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(129, 140, 248, 0.22), transparent 45%),
                radial-gradient(ellipse 50% 40% at 100% 50%, rgba(167, 139, 250, 0.12), transparent 50%);
    pointer-events: none;
}
.custom-order-hero .container { position: relative; z-index: 1; }
.custom-order-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #a5b4fc, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.custom-order-hero-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.custom-order-hero-subtitle {
    color: rgba(226, 232, 240, 0.9);
}
.custom-order-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(79, 70, 229, 0.1);
    overflow: hidden;
}
.custom-order-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #a855f7);
}
.dark .custom-order-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}
.custom-order-card-title {
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.dark .custom-order-card-title {
    color: #f1f5f9;
}
.custom-order-package-item {
    border-radius: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: border-color 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.custom-order-package-item:hover {
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.12);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.04) 0%, rgba(124, 58, 237, 0.04) 100%);
}
.dark .custom-order-package-item {
    border-color: rgba(71, 85, 105, 0.6);
}
.dark .custom-order-package-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
}
.custom-order-package-icon {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border-radius: 0.75rem;
}
.custom-order-btn-submit {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    transition: opacity 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
.custom-order-btn-submit:hover {
    opacity: 0.95;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}
.custom-order-btn-outline {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid #4f46e5;
    color: #4f46e5;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.custom-order-btn-outline:hover {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 16px -4px rgba(79, 70, 229, 0.35);
}
.dark .custom-order-btn-outline {
    border-color: #6366f1;
    color: #a5b4fc;
}
.dark .custom-order-btn-outline:hover {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
}
.custom-order-input-focus:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.dark .custom-order-input-focus:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}
.custom-order-section-bg {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #fff 100%);
}
.dark .custom-order-section-bg {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 30%, #1e1b4b 100%);
}

/* ========== Courses – Pro-level design ========== */
.course-page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 42%, #312e81 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0 3.5rem;
}
.course-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 55% at 50% -15%, rgba(99, 102, 241, 0.28), transparent 50%),
                radial-gradient(ellipse 55% 45% at 90% 80%, rgba(167, 139, 250, 0.15), transparent 50%);
    pointer-events: none;
}
.course-page-hero .container { position: relative; z-index: 1; }
.course-page-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #a5b4fc, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.course-page-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.course-page-subtitle {
    color: rgba(226, 232, 240, 0.88);
}
.course-page-section-bg {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 40%, #fff 100%);
}
.dark .course-page-section-bg {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 25%, #1e1b4b 100%);
}
/* Course cards – pro styling */
.course-card-pro {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(79, 70, 229, 0.08);
    transition: transform 0.25s ease, box-shadow 0.35s ease, border-color 0.25s ease;
}
.course-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.12), 0 8px 10px -6px rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.2);
}
.dark .course-card-pro {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}
.dark .course-card-pro:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.2);
}
.course-card-pro .course-card-accent {
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #a855f7);
    opacity: 0.9;
}
.course-card-pro .course-card-image-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
}
.dark .course-card-pro .course-card-image-wrap {
    background: linear-gradient(135deg, #312e81 0%, #4c1d95 100%);
}
.course-card-pro .course-card-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.course-card-pro:hover .course-card-image-wrap::after {
    opacity: 1;
}
.course-card-pro .course-card-title {
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}
.dark .course-card-pro .course-card-title {
    color: #f1f5f9;
}
.course-card-pro:hover .course-card-title {
    color: #4f46e5;
}
.dark .course-card-pro:hover .course-card-title {
    color: #a5b4fc;
}
.course-card-pro .course-card-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-weight: 700;
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}
.dark .course-card-pro .course-card-badge {
    background: linear-gradient(135deg, #78350f, #92400e);
    color: #fef3c7;
}
.course-card-pro .course-card-level {
    background: rgba(79, 70, 229, 0.12);
    color: #4f46e5;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
}
.dark .course-card-pro .course-card-level {
    background: rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
}
.course-card-pro .course-card-meta {
    color: #64748b;
    font-size: 0.8125rem;
}
.dark .course-card-pro .course-card-meta {
    color: #94a3b8;
}
.course-card-pro .course-card-rating {
    color: #d97706;
    font-weight: 600;
}
.course-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 2px solid rgba(79, 70, 229, 0.4);
    color: #4f46e5;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.course-cta-btn:hover {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.3);
}
.dark .course-cta-btn {
    border-color: rgba(99, 102, 241, 0.5);
    color: #a5b4fc;
}
.dark .course-cta-btn:hover {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
}
.course-empty-card {
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid rgba(79, 70, 229, 0.12);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.dark .course-empty-card {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(99, 102, 241, 0.2);
}
.course-empty-icon {
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    color: #6366f1;
}
.dark .course-empty-icon {
    background: linear-gradient(135deg, #312e81, #4c1d95);
    color: #a5b4fc;
}

/* ========== Blog – Pro-level design ========== */
.blog-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 100%);
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.25), transparent),
                radial-gradient(ellipse 60% 40% at 100% 0%, rgba(139, 92, 246, 0.15), transparent),
                radial-gradient(ellipse 50% 30% at 0% 50%, rgba(79, 70, 229, 0.1), transparent);
    pointer-events: none;
}
.blog-hero .container {
    position: relative;
    z-index: 1;
}
.blog-section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #a5b4fc, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.blog-title {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}
.dark .blog-title {
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.blog-subtitle {
    color: rgba(226, 232, 240, 0.85);
}
.dark .blog-subtitle {
    color: rgba(203, 213, 225, 0.8);
}

/* Blog cards */
.blog-card-pro {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(79, 70, 229, 0.08);
    transition: transform 0.25s ease, box-shadow 0.35s ease, border-color 0.25s ease;
}
.dark .blog-card-pro {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.15);
}
.blog-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.12), 0 8px 10px -6px rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.2);
}
.dark .blog-card-pro:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.2);
}
.blog-card-pro .blog-card-accent {
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #a855f7);
    opacity: 0.9;
}
.blog-card-pro .blog-card-image-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
}
.dark .blog-card-pro .blog-card-image-wrap {
    background: linear-gradient(135deg, #312e81 0%, #4c1d95 100%);
}
.blog-card-pro .blog-card-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.blog-card-pro:hover .blog-card-image-wrap::after {
    opacity: 1;
}
.blog-card-pro .blog-card-title {
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}
.dark .blog-card-pro .blog-card-title {
    color: #f1f5f9;
}
.blog-card-pro:hover .blog-card-title {
    color: #4f46e5;
}
.dark .blog-card-pro:hover .blog-card-title {
    color: #a5b4fc;
}
.blog-card-pro .blog-card-meta {
    color: #64748b;
    font-size: 0.8125rem;
}
.dark .blog-card-pro .blog-card-meta {
    color: #94a3b8;
}

/* Blog single post – attractive details page */
.blog-article-wrap {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 30%, #f8fafc 100%);
    min-height: 100vh;
}
.dark .blog-article-wrap {
    background: linear-gradient(180deg, #020617 0%, #0f172a 25%, #1e1b4b 50%, #0f172a 100%);
}
.blog-detail-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 3.5rem;
}
.blog-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 30% 0%, rgba(129, 140, 248, 0.2), transparent 50%),
                radial-gradient(ellipse 50% 50% at 80% 100%, rgba(167, 139, 250, 0.15), transparent 50%);
    pointer-events: none;
}
.blog-detail-hero .container {
    position: relative;
    z-index: 1;
}
.blog-back-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.blog-back-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateX(-2px);
}
.blog-detail-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.blog-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1.25rem;
}
.blog-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}
.blog-detail-meta-item svg {
    flex-shrink: 0;
    opacity: 0.9;
}
.blog-detail-content-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 2.5rem 1.5rem 2.5rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}
@media (min-width: 768px) {
    .blog-detail-content-card {
        padding: 3rem 2.5rem 3rem;
        margin-top: -2.5rem;
    }
}
.dark .blog-detail-content-card {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.15);
}
.blog-detail-image-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.1), 0 8px 10px -6px rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.1);
}
.dark .blog-detail-image-wrap {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}
.blog-detail-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
    padding-left: 1.25rem;
    border-left: 4px solid #4f46e5;
    margin: 2rem 0;
}
.dark .blog-detail-lead {
    color: #94a3b8;
    border-left-color: #6366f1;
}
.blog-prose {
    color: #334155;
    line-height: 1.8;
    font-size: 1.0625rem;
}
.dark .blog-prose {
    color: #cbd5e1;
}
.blog-prose a {
    color: #4f46e5;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(79, 70, 229, 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.blog-prose a:hover {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}
.dark .blog-prose a {
    color: #a5b4fc;
    border-bottom-color: rgba(165, 180, 252, 0.4);
}
.dark .blog-prose a:hover {
    color: #c4b5fd;
    border-bottom-color: #c4b5fd;
}
.blog-detail-footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
}
.dark .blog-detail-footer-cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.25);
}
.blog-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #4f46e5;
    transition: color 0.2s ease, gap 0.2s ease;
}
.blog-cta-link:hover {
    color: #7c3aed;
    gap: 0.75rem;
}
.dark .blog-cta-link {
    color: #a5b4fc;
}
.dark .blog-cta-link:hover {
    color: #c4b5fd;
}
.blog-article-footer {
    border: none;
    padding: 0;
    margin-top: 2.5rem;
}
.blog-post-title { color: #1e293b; font-weight: 800; }
.dark .blog-post-title { color: #f8fafc; }
.blog-post-meta { color: #64748b; }
.dark .blog-post-meta { color: #94a3b8; }

/* ========== Header mega menu (dropdown) ========== */
.nav-item-dropdown {
    position: relative;
}
.mega-menu {
    pointer-events: none;
    z-index: 100;
}
.nav-item-dropdown:hover .mega-menu,
.mega-menu.mega-menu-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}
.mega-menu-panel {
    /* max-height: min(80vh, 420px); */
    overflow-y: auto;
    width: 940px;
    background: #ffffff;
    color: #000;
}
@media (max-width: 1023px) {
    .mega-menu-panel {
        min-width: 0;
        width: calc(100vw - 2rem);
        max-width: 400px;
    }
    .mega-menu .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    .mega-menu-col {
        border-right: none !important;
        border-bottom: 1px solid rgba(51, 65, 85, 0.5);
        padding: 1rem 1.25rem !important;
    }
    .mega-menu-col:last-of-type {
        border-bottom: none;
    }
}
.mega-menu-link:hover .mega-menu-icon {
    background: rgb(0 0 0);
}

/* Mobile accordion (Products dropdown) */
.mobile-dropdown-panel {
    max-height: 0;
    transition: max-height 0.25s ease-out;
}
.mobile-dropdown-panel.max-h-\[480px\] {
    transition: max-height 0.3s ease-in;
}
.mobile-dropdown-chevron {
    transition: transform 0.2s ease;
}
.mobile-mega-link {
    transition: background 0.15s ease, color 0.15s ease;
}