:root {
  --blue-color: #155bfb;
  --blue2-color: #1b9dfd;
  --main-color: #1b9dff;
  --white-color: #ffffff;
  --lightblue-color: #ddf0ff;
  --lightblue2-color: #87e2e6;
  --darkblue-color: #101767;
  --accent-blue: #1c9cff; 

  --dark-color: #000;
  --title-color: #495472;
  --paragraph-color: #8691b1;

  --orange-color: #ff9e66;
  --orange-light-color: #ffb37a;
  --orange-dark-color: #ff8c00;

  --foreground: #111827;

  --add-to-card-button-bg: #ffa500;
  --add-to-cart-hover: #e68a00;

  --global-border-radius: 10px;
  --accent-blue: #8abfff;

  /* Unified modern tokens */
  --primary: #1b9dff;
  --primary-soft: rgba(27, 157, 255, 0.08);
  --btn-gradient: linear-gradient(180deg, #ffdea6 0%, #ffbb78 100%);
  --btn-text: #4a2c1d;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);


  --btn-primary-text: #4a2c1d;
  --btn-primary-grad-start: #ffcf67;
  --btn-primary-grad-end: #ff9f43;

  --btn-primary-glow: rgba(255, 159, 67, 0.4);
  --btn-primary-glow-hover: rgba(255, 159, 67, 0.5);
  --btn-primary-glow-active: rgba(255, 159, 67, 0.3);



}

/*
=============== 
Global Styles
===============
*/
html { scroll-behavior: smooth; }

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body { font-family: 'Poppins', sans-serif; }

ul { list-style-type: none; padding-left: 0 !important; }

dl,
ol,
ul,
p { margin-bottom: 0 !important; }

a { text-decoration: none; }

img { display: block; max-width: 100%; }

/* Buttons focus */
button:focus,
.btn:focus {
  outline: 0;
  box-shadow: none;
}
/*------------------------*/
/*------- Buttons --------*/
/*------------------------*/
  /* btn-primary Theme only (colors + shadows). No sizing/shape/layout. */
.btn-primary{
  border: none;
  text-decoration: none;
  color: var(--btn-primary-text);
  background: linear-gradient(180deg, var(--btn-primary-grad-start) 0%, var(--btn-primary-grad-end) 100%);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.05),
    0 4px 10px var(--btn-primary-glow),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

.btn-primary:hover{
  box-shadow:
    0 4px 8px rgba(0,0,0,0.08),
    0 8px 15px var(--btn-primary-glow-hover),
    inset 0 1px 0 rgba(255,255,255,0.6);
  filter: brightness(1.05);
}

.btn-primary:active{
  box-shadow:
    0 1px 2px rgba(0,0,0,0.05),
    0 2px 5px var(--btn-primary-glow-active);
}
 /* btn-primary ends */





/* Add to Cart button (detail pages) */
.add-to-cart-details {
  width: 100%;
  background: var(--btn-gradient);
  color: var(--btn-text);
  border: none;
  padding: 18px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 15px rgba(255, 187, 120, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.add-to-cart-details:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 20px rgba(255, 187, 120, 0.4);
}

/* Text helpers */
.ce-highlight { color: var(--darkblue-color); font-weight: bold; }
.highlight { color: var(--orange-color); }
.bold-black { font-weight: bold; color: black; }

/* =========================================================
   HERO / BANNER (Landing page styles)
   ========================================================= */
.banner {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.banner .banner-container {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  column-gap: 0px;
  row-gap: 20px;
}

.banner .banner-container .banner-item { width: 40%; }

.banner .banner-container .banner-item.details-container {
  padding: 0 0 0 2rem;
  position: relative;
}

.banner .banner-container .banner-item.right-image { width: 60%; }

.banner .banner-container .center-logo {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.banner .banner-container .center-logo img { width: 200px; }

.banner .banner-container .hero-details { padding-top: 1rem; }

.banner .banner-container .hero-details p {
  color: var(--white-color);
  font-size: 28px;
  text-align: left;
}

.banner .banner-container .hero-details h1 {
  font-size: 47px;
  font-weight: 600;
  text-transform: capitalize;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.banner .banner-container .hero-details .hero-description p {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.banner .banner-container .hero-details .courses-description p {
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.banner .banner-container .hero-details .button-container {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  gap: 20px;
}

.banner .banner-container .hero-details .scroll-container {
  padding-top: 1rem;
  display: flex;
  align-items: center;
}

.banner .banner-container .hero-details .button-container a {
  font-size: 17px;
  font-weight: 500;
  display: block;
}

.banner .banner-container .hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-direction: column;
}

.banner .banner-container .hero-image img { max-width: 100%; }

/* Banner Responsive */
@media screen and (max-width: 1040px) {
  .banner .banner-container .bg-button { width: 150px; }
  .banner .banner-container .hero-details p { font-size: 35px; }
  .banner .banner-container .hero-details h1 { font-size: 32px; }
}

@media screen and (max-width: 899px) {
  .banner .banner-container .bg-button {
    width: 130px;
    position: relative;
    z-index: 9;
  }
  .banner .banner-container .hero-details p { font-size: 30px; }
}

@media screen and (max-width: 768px) {
  .banner .banner-container .hero-details h1 {
    font-size: 22px;
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .banner { padding-top: 0rem; }
  .banner .banner-container { flex-direction: column; }
  .banner .banner-container .bg-button { width: 180px; }
  .banner .banner-container .banner-item { width: 100%; }
  .banner .banner-container .banner-item.right-image { width: 100%; }
  .banner .banner-container .center-logo { display: flex; }
  .banner .banner-container .hero-details p { text-align: center; }
  .banner .banner-container .hero-details .button-container { justify-content: center; }
  .banner .banner-container .hero-details .scroll-container { justify-content: center; }
  .banner .banner-container .hero-image { padding-top: 2rem; }
  .banner .banner-container .banner-item.details-container { padding: 0 1rem; }
}

@media screen and (max-width: 468px) {
  .banner .banner-container .bg-button { width: 150px; }
}

@media screen and (max-width: 400px) {
  .banner .banner-container .hero-details p { font-size: 18px; }
  .banner .banner-container .hero-details .hero-description p { font-size: 18px; }
}

@media screen and (max-width: 335px) {
  .banner .banner-container .bg-button { width: 130px; }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.title { padding-bottom: 1rem; font-size: 30px; }

/* Comprehensive */
.comprehensive-container { margin-top: 6rem; }

.comprehensive-container .comprehensive-photo {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.comprehensive-container .comprehensive .photo img { max-width: 100%; }

.comprehensive .comprehensive-detail {
  font-weight: 300;
  padding-left: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.comprehensive .comprehensive-detail .comprehensive-info p {
  color: var(--paragraph-color);
  font-size: 18px;
}

@media screen and (max-width: 992px) {
  .comprehensive .comprehensive-detail { padding: 0 0; }
  .comprehensive .comprehensive-detail .comprehensive-info p { font-size: 16px; }
}

@media screen and (max-width: 767px) {
  .comprehensive-container { margin-top: 10rem; }
  .comprehensive .comprehensive-detail { margin-top: 1rem; min-height: auto; }
}

@media screen and (max-width: 357px) {
  .comprehensive-detail .comprehensive-title p { font-size: 20px !important; }
}

/* Info box */
.info_container {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  padding: 20px;
  max-width: 600px;
}

.info_container .content {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.info_container .text { flex: 1; padding-right: 20px; }

.info_container .text p { font-size: 16px; color: #666; margin: 0; }

.info_container .image img { max-width: 100%; height: auto; }

/* Experience */
.experience-container { margin-top: 6rem !important; }

.experience-container .experience-photo {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.experience-container .experience .photo img { max-width: 100%; }

.experience .experience-detail {
  font-weight: 300;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.experience .experience-detail .experience-info p {
  color: var(--paragraph-color);
  font-size: 18px;
}

@media screen and (max-width: 992px) {
  .experience .experience-detail { padding: 0 0; }
  .experience .experience-detail .experience-info p { font-size: 16px; }
}

@media screen and (max-width: 767px) {
  .experience .experience-detail { margin-top: 20px; min-height: auto; }
  .experience .order-item-2 { order: 2; }
  .experience .order-item-1 { order: 1; }
}

/* =========================
   FAQ Section
========================= */
.faq-section .faq-title,
.faq-section .faq-container{
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.faq-section .faq-title{
  position: relative;
  overflow: hidden;
 
  padding: 100px 16px 0px;
  min-height: 0px;
}

.faq-section .faq-title::before{
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  background: var(--lightblue-color);
  transform-origin: top right;
  transform: skewY(-3deg);
  backface-visibility: hidden;
}

.faq-section .faq-title > *{
  position: relative;
  z-index: 1;
}

.faq-section .faq-title h1{
  font-size: 35px;
  color: var(--dark-color);
  text-align: center;
  font-weight: 800;
  margin: 0;
}

.faq-section .faq-container{
  background: var(--lightblue-color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 20px 80px 20px;
}

.accordion{ max-width: 800px; margin: 0 auto; }

.faq-section .accordion-item{
  border-radius: 16px !important;
  border: 1px solid var(--border-color) !important;
  margin-bottom: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
}

.faq-section .accordion-button{
  font-weight: 600;
  padding: 20px;
  color: var(--text-main);
  box-shadow: none !important;
}

.faq-section .accordion-button:not(.collapsed){
  background-color: var(--primary-soft);
  color: var(--main-color);
}

@media screen and (max-width: 400px){
  .faq-section .faq-title{ padding: 48px 14px 0px; }
  .faq-section .faq-title h1{ font-size: 28px; }
}

/* prevent rare horizontal scrollbar */
html, body{ overflow-x: clip; }

/* Share icon */
.share-icon {
  display: inline-block;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  background-color: rgb(255, 255, 255);
  transition: all 0.3s ease;
}
.share-icon i { color: var(--main-color); font-size: 1.2em; }
.share-icon:hover { background-color: var(--main-color); transform: scale(1.1); }
.share-icon:hover i { color: #ffffff; }

/* ========================
   COURSE LIST / CARD STYLES
======================== */
.top-selection { padding-top: 0; padding-bottom: 0; }

.extra-style {
  background-color: #007bff;
  border: 1px solid #007bff;
  color: white;
  display: inline-block;
  width: auto;
  border-radius: var(--global-border-radius);
}

.container .btn-show-all {
  background-color: var(--add-to-card-button-bg);
  color: black;
  border-color: #d69515;
}

.active-btn {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.container .filter-button {
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.container .filter-button:hover {
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.container .button-container {
  justify-content: left;
  margin-top: 0;
}

@media (max-width: 800px) {
  .top-selection { padding-left: 5px; padding-right: 5px; }

  .button-container .btn {
    padding: 4px 8px;
    font-size: 0.95rem;
    line-height: 1.2;
    flex: 0 0 auto;
  }

  .button-container .extra-style { padding: 4px 8px; }

  #course-total { order: 5; margin-left: auto; }
  #search-input {
    order: 999;
    width: 100%;
    margin-top: .5rem;
    max-width: 100%;
  }
}

/* Typography inside cards */
.card h2 {
  font-size: 1.2em;
  font-weight: normal;
  margin-bottom: 5px;
  text-align: left;
  color: var(--main-color);
}

.card .label {
  font-size: 0.9em;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0px;
  display: block;
  font-family: 'Inter','Roboto','Arial',sans-serif;
  letter-spacing: 1px;
}

.card .paragraph {
  font-size: 1em;
  line-height: 1.6;
  color: var(--paragraph-color);
  margin-bottom: 10px;
  font-family: 'Inter','Roboto','Arial',sans-serif;
}

.spacer { flex-grow: 1; }

.card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-price {
  font-size: 2.2em;
  font-weight: normal;
  color: var(--main-color);
  display: flex;
  align-items: center;
}

/* Card footer buttons */
.card-footer {
  display: flex;
  gap: 10px;
  padding: 15px 10px;
  border-top: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
}

.card-footer form,
.card-footer a {
  flex: 1;
  display: flex;
}

.btn-add-to-cart,
.btn-details {
  background-color: var(--add-to-card-button-bg);
  border-radius: var(--global-border-radius);
  flex: 1;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 0px !important;
  margin: 0px !important;
}

.btn-details { background-color: #007bff; }

.card .btn-details:hover {
  background-color: #0056b3;
  color: white;
  transition: all 0.3s ease;
}

.card .btn-add-to-cart:hover {
  background-color: var(--add-to-cart-hover);
  color: white;
  transition: all 0.3s ease;
}

.card-title {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #1b9dff !important;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
  transition: color 0.2s ease;
}

.back-link:hover { color: var(--primary); }

.back-link i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.back-link:hover i { transform: translateX(-3px); }

/* ---------------------------------- */
/* Share style by Courses and Package */
/* ---------------------------------- */


/* Selcetion bar style */
/* --------------------*/

/* Container for the filter tools */
.selection-bar {
    margin-top: -4rem; /* Overlap with the blue header */
    position: relative;
    z-index: 20;
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border-top: 4px solid #FFD700;
}





/* Premium Gold Gradient Button */
.btn-election-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    color: #4a2c1d;
    background: linear-gradient(180deg, #FFD700 0%, #ffc107 100%);
    box-shadow:0 1px 3px rgba(0,0,0,0.04), 0 3px 8px rgba(255, 193, 7, 0.28), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-election-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
    color: #000;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .selection-bar {
        margin-top: -2rem;
        padding: 20px;
    }
    .course-total {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}




/* Modern Search Input */
#search-input {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 12px 20px;
    padding-right: 40px; /* Space for icon */
    font-weight: 500;
    height: 48px;
    transition: all 0.3s ease;
}

#search-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(28, 156, 255, 0.1);
    outline: none;
}



/* -------------------------*/
/* Selcetion bar style ends */

/* Allow tooltips to overflow (stop clipping)  ----IMPORTANT-----*/
.courses-section .container { overflow: visible !important; }
.course-card .offer-item { overflow: visible !important; } /* in case the card itself clips */


/* Library card style */
/* --------------------*/

 /* Fancy Frame Wrapper (30px specs) */
    .course-card-wrapper {
        background: var(--white-color, #ffffff);
        border-radius: 30px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
        border: 1px solid rgba(0, 0, 0, 0.04);
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: visible !important;
        height: 100%;
        width: 100%; /* Ensures constant width within the grid column */
        display: flex;
        flex-direction: column;
        padding: 0; /* Padding removed from wrapper to allow flush image */
        margin-bottom: 24px;
        box-sizing: border-box;
    }
    
    /* Decorative Blue Stroke - Higher z-index to frame the flush image */
    .course-card-wrapper::before { 
        content: ""; position: absolute; inset: 0; 
        border: 3px solid var(--accent-blue, #1c9cff); 
        border-radius: inherit; pointer-events: none; 
        z-index: 10; opacity: 0.5; transition: opacity 0.3s ease; 
    }
    
    .course-card-wrapper:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }
    .course-card-wrapper:hover::before { opacity: 0.8; }
    .course-card-wrapper > * { position: relative; z-index: 3; }





    .card-body-content { 
        padding: 30px; 
        flex-grow: 1; 
        display: flex; 
        flex-direction: column; 
    }

    

    /* Asymmetric Footer Buttons */
    .card-footer-buttons { 
        display: flex; 
        gap: 12px; 
        padding: 0 30px 30px 30px; 
        align-items: center; 
    }


 .btn-add {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        padding: 12px 18px; border-radius: 99px; font-size: 13px; font-weight: 800; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer;
        flex: 2.5; /* Longer button */
    }

      

    .btn-details-outline {
        display: inline-flex; align-items: center; justify-content: center;
        padding: 12px 18px; border-radius: 99px; font-size: 13px; font-weight: 800; text-transform: uppercase; text-decoration: none; border: 2px solid #1c9cff;
        color: #1c9cff; background: transparent;
        transition: all 0.2s ease;
        flex: 1; /* Standard width */
    }
    .btn-details-outline:hover { background: #1c9cff; color: #fff; }
/* --------------------*/
/* Library card style ends */



/* Detail right column cards */
.registration-detail, .package-board, .package-detail-board{
  background: var(--card-bg);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  overflow: hidden;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
}

.registration-detail::before, .package-board::before, .package-detail-board::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary);
  border-radius: inherit;
  opacity: 0.1;
  pointer-events: none;
}

.detail-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.registration-detail .price {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.registration-detail .hours {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 16px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


  /* Fancy Frame Card (30px radius) */
        .content-card-fancy {
            background: var(--white-color);
            border-radius: 30px !important;
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden; /* Changed to hidden to clip children */
            padding: 0; 
        }

  /* Decorative border on top of card */
        .content-card-fancy::before { 
            content: ""; position: absolute; inset: 0; 
            border: 2px solid var(--primary);
             border-radius: inherit;
             opacity: 0.1;
            pointer-events: none;   /* ✅ allow clicks through */
  z-index: 1;             /* ✅ keep border behind content */
        }
   /* CARD HEADER for Navigation */
        .card-custom-header {
            padding: 20px 30px;
            background: #fff;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            position: relative;
            z-index: 5;
             background: transparent;
        }

        /* Standard Back Link Style for White Background */
        .back-link-standard {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #64748b;
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        
        .back-link-standard i {
            background: #f1f5f9;
            color: var(--brand-blue);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .back-link-standard:hover {
            color: var(--brand-blue);
            transform: translateX(-5px);
        }
        
        .back-link-standard:hover i {
            background: var(--brand-blue);
            color: #fff;
        }