/* =========================
   GLOBAL STYLES
========================= */
body {
    font-family: 'Alata', sans-serif;
    margin: 0;
    padding: 90px 0 0;
    background-image: url('/wp-content/themes/your-theme-name/assets/images/idya_background.png');
    background-repeat: repeat;
    background-size: auto;
    background-attachment: scroll;
  }
  body.admin-bar .site-header {
    top: 32px;
  }
  @media screen and (max-width: 782px) {
    body.admin-bar .site-header {
      top: 46px;
    }
  }
  .button-global-container {
    display: flex;
    justify-content: center;
    align-items: center; /* optional: center vertically too */
  }

  
  /* =========================
   HEADER
========================= */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9999;
    padding: 15px 1%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  
  .site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-title {
    display: flex;
    align-items: center;
  }
  
  .site-title {
    margin-left: 10px;
    font-size: 1.8rem;
    color: #623dad;
  }
  
  .custom-logo {
    max-height: 50px;
    max-width: 50px;
  }
  
  .custom-logo-link {
    display: inline-block;
    margin-right: 20px;
  }
  
  /* =========================
     FOOTER
  ========================= */

  .site-footer {
    background-color: #f4f4f4;
    padding: 30px 2%;
    color: #333;
    border-top: 1px solid #ddd;
    font-size: 14px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1 1 300px;
    text-align: center;
    margin: 10px 0;
  }
  
  .social-icons {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    gap: 20px;
    text-align: center;
    justify-content: center;
  }
  
  .social-icons li a {
    color: #444;
    font-size: 25px;
    transition: color 0.3s ease;
  }
  
  .social-icons li a:hover {
    color: #a17fd6;
  }
  
  .ml-embedded {
    border-radius: 12px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  
  
  @media (min-width: 600px) {
    .footer-left,
    .footer-center,
    .footer-right {
      flex: 1 1 33.33%;
    }
  
    .footer-left {
      text-align: left;
    }
  
    .footer-center {
      text-align: center;
    }
  
    .footer-right {
      text-align: right;
    }
  }
  
  
  /* =========================
     NAVIGATION MENU
  ========================= */
  .main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  .main-menu ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-menu ul.sub-menu li {
    padding-left: 0; /* Optional: remove indentation */
  }
  
  
  .main-menu li {
    position: relative;
  }
  
  .main-menu li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  /* Submenu hidden by default */
  .main-menu li ul.sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 9999;
  }
  
  .main-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .main-menu li ul.sub-menu li a {
    padding: 10px 15px;
    display: block;
    color: #333;
  }
  
  /* Active menu item + ancestor */
  .main-menu .current-menu-item > a,
  .main-menu .current-menu-ancestor > a {
    color: #623dad;
    font-weight: bold;
  }
  
  /* Dropdown arrow indicator */
  .submenu-indicator {
    margin-left: 5px;
    font-size: 0.8em;
  }
  
  /* =========================
     MOBILE MENU
  ========================= */
  .menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    .main-navigation {
      position: relative;
    }
  
    .main-menu {
      flex-direction: column;
      display: none;
      background: #fff;
      width: 100%;
      margin-top: 10px;
    }
  
    .main-menu.show {
      display: flex;
    }
  
    .main-menu li ul.sub-menu {
      position: relative;
      opacity: 1;
      visibility: visible;
      transform: none;
      background-color: #f9f9f9;
      border-left: 2px solid #e0e0e0;
      box-shadow: none;
      padding-left: 20px;
    }
  
    .main-menu li:hover > ul.sub-menu {
      transform: none;
    }
  }
  

  /* =========================
     HERO SECTION (GLOBAL)
  ========================= */
  .hero-section {
    width: 100%;
    min-height: 250px; /* ensures it's never too short */
    padding: 60px 20px; /* vertical breathing room */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* keeps the inner container centered */
    text-align: left;
  }
  
  .hero-container {
    display: flex;
    width: 80%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .hero-text {
    flex: 2;
    min-width: 300px;
    text-align: left; /* <-- ensures text is aligned left */
  }
  
  .hero-side-image {
    flex: 1;
    min-width: 300px;
    text-align: right; /* <-- ensures img is aligned right */
    align-items: center;   /* vertical alignment */
    display: flex;
    align-items: center;   /* vertical alignment */
    justify-content: center; /* optional: horizontal centering */
  }
  
  .hero-side-image img {
    max-width: 100%;
    height: 100%;
    display: block;
  }

  
  .hero-section .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
  }
  .hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .hero-title {
    font-size:2.5rem;
    margin-bottom: 20px;
    color: #623dad; 
    text-shadow: 
    0 1px 2px #807e7e;
  }
  .hero-title-homepage {
    font-size:2.5rem;
    margin-bottom: 20px;
    color: #623dad; 
    text-shadow: 
    0 1px 2px #807e7e;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    color: black;
  }

  .hero-subtitle-dark {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 10px;
    color: black;
  }
  .hero-subtitle-category {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 10px;
    color: black;
  }
  .hero-subtitle-meta,
  .hero-subtitle-location {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: black;
  }
  .hero-cta-button {
    cursor: pointer;
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background-color: #ffb90b;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  .hero-cta-button:hover {
    background-color: #8e6cca;
    color: #fff;
  }
  .button-global {
    cursor: pointer;
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background-color: #a17fd6;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  .button-global:hover {
    background-color: #ffb90b;
    color: #000;
  }
  .hero-image-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    z-index: 3;
  }
  
  .hero-image-buttons .hero-btn img {
    width: 250px;
    height: auto;
    max-width: none;
    max-height: none;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
  }
  
  .hero-image-buttons .hero-btn img:hover {
    transform: scale(1.05);
  }
  
  .hero-image-buttons .hero-btn-thumbnail img {
    width: 400px;
    height: auto;
    max-width: none;
    max-height: none;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
  }
  
  .hero-image-buttons .hero-btn-thumbnail img:hover {
    transform: scale(1.05);
  }
  
  /* =========================
     BOOKS PAGE
  ========================= */
  .book-filter-container {
    text-align: center;
    margin: 30px;
    display: none;/* change to display:block; when the dropdown in the page is made visible.*/
  }
  .book-author {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
  }
  
  /* =========================
     EVENTS - HERO SECTION
  ========================= */
  
  
  .event-category {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 10px;
  }
  .event-meta,
  .event-location {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .event-cta-button {
    cursor: pointer;
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background-color: #f3df2d;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  .event-cta-button:hover {
    background-color: #ddd;
  }
  
  /* =========================
     EVENTS - TABLE
  ========================= */
  .past-events {
    padding: 60px 20px;
    background-color: #f9f9f9;
  }
  .past-events h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
  }
  .event-filter {
    margin-bottom: 30px;
  }
  .event-filter label {
    font-size: 1.1rem;
    margin-right: 10px;
    font-weight: 500;
  }
  #event-category {
    padding: 6px 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .event-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
  }
  .event-table thead {
    background-color: #ffdd12;
    color: #000;
  }
  .event-table th,
  .event-table td {
    padding: 16px;
    border-top: 1px solid #eee;
  }
  .event-table a {
    color: #7b4dd6;
    text-decoration: none;
    font-weight: 500;
  }
  .event-table a:hover {
    text-decoration: underline;
  }
  .event-date-cell {
    text-align: center;
    font-family: 'Alata', sans-serif;
  }
  .event-date-cell .date-month {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #7b4dd6;
  }
  .event-date-cell .date-day {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
  }
  .event-date-cell .date-year {
    font-size: 0.85rem;
    color: #888;
  }
  .event-table th:first-child,
  .event-table th:last-child,
  .event-table td:last-child {
    text-align: center;
  }
  .no-upcoming-events h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
  }
  
  /* =========================
     SINGLE EVENT DETAILS
  ========================= */
  .single-event-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 20px;
    text-align: center;
  }
  .single-event-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  .single-event-header {
    position: relative;
    z-index: 10;
  }
  .single-event-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  .single-event-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
  }
  .single-event-wrapper {
    padding: 80px 20px;
    background-color: #fdfdfd;
  }
  .event-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  .event-image,
  .event-details {
    flex: 1 1 45%;
  }
  .event-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
  .single-event-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #623dad;
    font-weight: bold;
  }
  .event-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
  }
  .event-meta-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
  }
  .event-meta-list li {
    margin-bottom: 10px;
  }
  .event-breadcrumb {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #444;
  }
  .event-breadcrumb a {
    color: #a17fd6;
    text-decoration: none;
  }
  .event-breadcrumb span {
    color: #000;
  }
  .register-button-container {
    text-align: center;
  }
  
  /* =========================
     SLICK SLIDER DOTS
  ========================= */
  .slick-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    position: relative;
    z-index: 2;
  }
  
  .slick-slide.slick-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 3; /* Optional: boost z-index to ensure it's clickable */
  }
  
  
  /* Dot wrapper: adds spacing between dots */
  .slick-dots li {
    margin: 0 6px; /* Adjust spacing */
  }
  
  /* Inactive dots */
  .slick-dots li button:before {
    font-size: 14px;                     /* Slightly smaller */
    color: #a17fd6 !important;
    background-color: #a17fd6;
    border: 1px solid transparent;
    border-radius: 50%;
    content: "•";
    opacity: 1;
    line-height: 1;
    display: inline-block;
  }
  
  /* Active dot */
  .slick-dots li.slick-active button:before {
    color: #fff !important;
    background-color: #fff;
    border: 1px solid #a17fd6;
    border-radius: 50%;
  }
  /* Arrows */
  .slick-prev {
    z-index: 10;
    pointer-events: auto;
  }
  
  
  
  
  .hero-section::after {
    z-index: 1;
  }
  
  .hero-container,
  .hero-text,
  .hero-side-image,
  .event-slide {
    position: relative;
    z-index: 2;
    color:#000;
  }
  
  /* =========================
     CONTACT PAGE
  ========================= */
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
  }
  .contact-box {
    background-color: #ffb90b;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  }
  .contact-left,
  .contact-right {
    flex: 1 1 450px;
  }
  .contact-left h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #623dad;
  }
  .contact-left p {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  .contact-left a {
    color: #472b79;
    text-decoration: underline;
  }
  .contact-right form {
    display: flex;
    flex-direction: column;
  }
  .contact-right label {
    margin-bottom: 6px;
    font-weight: bold;
  }
  .contact-right input,
  .contact-right textarea {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  .contact-icon {
    width: 20px;
    vertical-align: middle;
    margin-right: 10px;
  }
  .contact-success {
    background-color: #d4edda;
    color: #155724;
  }
  .contact-error {
    background-color: #f8d7da;
    color: #721c24;
  }
  .contact-success,
  .contact-error {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
  }
  .disabled-button {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed;
    border: 1px solid #999;
  }
  
  #message-field {
    display: block;
    margin-top: 1rem;
  }
  
  #message-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  #message-field textarea {
    width: 95%;
    padding: 0.75rem;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  
  
  /* =========================
     RESPONSIVE
  ========================= */
  @media (max-width: 768px) {
    .event-title {
      font-size: 2rem;
    }
    .event-category,
    .event-meta,
    .event-location {
      font-size: 1rem;
    }
    .event-cta-button {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
    .hero-cta-button{
      padding: 10px 20px;
      font-size: 0.9rem;
    }

    .event-content-wrapper {
      flex-direction: column;
    }
    .event-image,
    .event-details,
    .contact-container {
      flex: 1 1 100%;
      flex-direction: column;
    }
    .hero-section {
      height: 250px;
    }
  }

  /* =========================
     ABOUT US
  ========================= */
  .about-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
  }
  .button-global-container {
    display: inline-block;
    margin-right: 10px;
    display: flex;
    gap: 10px;
  }
  
  
  .about-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 60px 0;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .about-row.reverse {
    flex-direction: row-reverse;
  }
  
  .about-image {
    flex: 1 1 45%;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
  }
  
  .about-text {
    flex: 1 1 50%;
  }
  
  .about-text h2 {
    font-size: 2rem;
    color: #623dad;
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .about-founders {
    display: flex;
    justify-content: space-evenly;
    margin-top: 80px;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .founder {
    text-align: center;
    max-width: 250px;
  }
  
  .founder img {
    width: 180px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .founder h3 {
    margin-top: 15px;
    font-size: 1.4rem;
    color: #623dad;
  }
  
  .founder p {
    font-size: 1rem;
    color: #666;
  }
  
  @media (max-width: 768px) {
    .about-row {
      flex-direction: column;
    }
    .about-row.reverse {
      flex-direction: column;
    }
  }
  
  /* Split layout (for sections like about, awards, highlights) */
.split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
  }
  
  .split.reverse .about-left {
    order: 2;
  }
  
  /* About-left and right blocks */
  .about-left,
  .about-right {
    flex: 1 1 45%;
    max-width: 500px;
    padding: 20px;
  }
  
  .about-left img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }
  
  /* Highlights Section */
  .highlight-section {
    background-color: #f8f4fc;
    padding: 60px 20px;
  }
  
  /* Unified highlight list */
  .highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
  }
  
  .highlight-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 28px;
  }
  
  .highlight-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #a17fd6;
    font-weight: bold;
  }
  
  /* Scroll animation */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
  }
  
  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Gallery */
  .global-gallery-section {
    padding: 10px 40px;
    background: #ffb90b;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin: 10px;
  }
  
  .gallery-slider {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .gallery-slide img {
    width: 100%;
    border-radius: 10px;
    object-fit: contain;
    height: auto;
  }
  .odissi-slider-section {
    position: relative;
    overflow: hidden;
  }

    .gallery-wrapper {
      margin: auto;
      width:100%;
      max-width: 1000px;
    }

  
  .gallery-slider-multi .slick-slide {
    transition: transform 0.4s ease-in-out;
  }
  
  .gallery-item {
    text-align: center;
    border-radius: 10px;
    margin:10px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    height: 100%;
    width: 100%;
    background-color: #fff;
  }
  
  .gallery-item img {
    width: 100%;
    cursor: pointer;
    object-fit: contain;
  }
  
  .gallery-item .caption {
    margin-top: 8px;
    font-size: 16px;
    color: #555;
    font-style: italic;
  }
  .gallery-section.split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;     /* Top align */
    gap: 40px;
    padding: 40px 20px;
  }
  .gallery-section .about-left,
  .gallery-section .about-right {
    flex: 1 1 45%;
    padding: 20px;
    max-width: 500px;
  }
  
  .gallery-section .gallery-heading {
    display: flex;
    justify-content: center;  /* Horizontal center */
    align-items: flex-start;  /* Vertical top align */
  }
  .gallery-section .gallery-heading h2 {
    margin: 0 auto;  /* Extra centering safeguard */
  }
  
  
  
  /* Testimonials */
  .testimonial-section {
    max-width: 100%;
    margin: 10px auto;
    padding: 40px 20px;
    text-align: center;
    overflow: hidden; /* prevents scrollbars */
    background-color: #a17fd6;
    color: #fff;
  }
  .testimonial-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .testimonial-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 30px;
    border-radius: 0 50px 0 50px; /* TL, TR, BR, BL */
    background-color: #ffdd12;
    color: #000;
    overflow: hidden;
    flex-shrink: 0;
  }

  .testimonial-slide {
    display: none;
  }
    
  .testimonial-slide.active {
    display: block;
  }
  
  .testimonial-section blockquote {
    font-style: italic;
    margin: 20px auto;
    padding: 10px;
    position: relative;
  }
  
  .testimonial-section cite {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
  }

  /* Testimonial Arrows */
  .testimonial-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  .testimonial-nav.custom-arrows {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    max-width: 700px;
    margin-inline: auto;
  }
  
  .arrow-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  
  .arrow-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }
  .quote-icon {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 8px;
  }
  
  
  
  /* Call to Action */
  .cta-floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #ffb90b;
    color: #000;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    z-index: 999;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .cta-floating-button:hover {
    background-color: #8e6cca;
    color: #fff;
  }
  
  
  /* Mobile Responsive */
  @media (max-width: 768px) {
    .split {
      flex-direction: column;
      text-align: center;
    }
  
    .about-left,
    .about-right {
      max-width: 100%;
      padding: 20px;
    }
  }

  @media (max-width: 600px) {
    .cta-floating-button {
      right: 20px;
      bottom: 20px;
      padding: 12px 16px;
      font-size: 14px;
    }
  }
  
  
  /***********************
        BLOGS & VIDEOS
  ************************/
  .blogs-search-form {
    margin-bottom: 1rem;
  }
  
  .blogs-search-form input[type="text"] {
    padding: 0.5rem;
    width: 60%;
    max-width: 400px;
  }
  
  .blogs-search-form input[type="submit"] {
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
  }
  
  .blogs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem;
    justify-content: center;
  }
  
  .blog-card {
    flex: 1 1 300px;
    max-width: 400px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s;
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
  }
/*  
  
  .blog-card img {
    width: 100%;
    height: auto;
  }
  
  .blog-card h3 {
    padding: 1rem;
    font-size: 1.1rem;
    color: #e2e6eb;
  }
  */
  @media (max-width: 1024px) {
    .blog-card {
      width: calc(33.33% - 1rem);
    }
  }
  
  @media (max-width: 768px) {
    .blog-card {
      width: calc(50% - 1rem);
    }
  }
  
  @media (max-width: 480px) {
    .blog-card {
      width: 100%;
    }
  }
  
  .blog-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
  }
  
  .blog-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }
  
  .blog-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    color: #fff;
    text-align: left;
  }
  
  .blog-title-overlay h3 {
    margin: 0;
    font-size: 1.1rem;
  }

/**********************
 COURSES
 *********************/
   
  

 .course-tab-section {
  background: #f9f6ff;
  padding: 60px 20px;
}

.course-tab-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 30px;
  position: relative;
}
  
  .course-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
    /* width: 100%; */
  }
  /* 
  .tab-button {
    flex: 1; Makes both buttons equal width
    background: #eee;
    border: none;
    padding: 15px 0;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
  } 

  .tab-button.active {
    background: #ffdd12;
    color: #000;
  }*/

  .tab-button {
    background: #e1d6f8;
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .tab-button.active {
    background: #a17fd6;
    color: #fff;
    box-shadow: 0 -3px 6px rgba(0,0,0,0.05);
  }
  
  .tab-content {
    display: none;
  }

  .tab-content.active {
    display: block;
  }
  
  .tab-description {
    text-align: left;
    max-width: 90%;
    margin: 0 auto 30px;
    font-size: 16px;
    color: #444;
  }
  
  
  .course-section-heading {
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    color: #623dad;
    text-align: center;
  }
  
  .course-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 2rem;
    justify-content: center;
  }
  
  
  
  
  

  .blog-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .blog-title-row h3 {
    margin: 0;
    font-size: 1.1rem;
  }

  .course-type-icon {
    font-size: 1.3rem;
    margin-left: 10px;
  }

  @media (max-width: 1024px) {
    .course-grid {
      justify-content: center;
    }
    .course-card {
      width: 45%;
    }
  }
  
  @media (max-width: 768px) {
    .course-card {
      width: 100%;
    }
  
    .tab-button {
      font-size: 1rem;
      padding: 12px;
    }
  }

  
  /***************************
     Single Post
  ***********************/

.post-meta {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.post-meta span {
    margin-right: 10px;
}

.related-posts {
    list-style: none;
    padding: 0;
}

.related-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.related-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}
  
  .single-post-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    flex-wrap: wrap;
  }
  
  .main-content {
    flex: 2 1 65%;
  }
  
  .sidebar {
    flex: 1 1 30%;
  }
  
  .post-title {
    font-size: 2rem;
    color: #623dad;
    margin-bottom: 20px;
  }
  
  .video-wrapper {
    margin-bottom: 30px;
  }
  
  .post-content {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .lessons-sidebar {
    list-style: none;
    padding: 0;
  }
  
  .related-item {
    margin-bottom: 15px;
    border-left: 4px solid transparent;
    padding-left: 12px;
    transition: border-color 0.3s, background 0.3s;
  }
  
  .related-item a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  .related-item:hover {
    background: #f3ecff;
    border-color: #a17fd6;
  }
  
  .related-item.active-lesson {
    background: #f8f4fc;
    border-color: #623dad;
  }
  
  .related-item span {
    display: inline-block;
    padding: 8px 0;
  }
  .single-course-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
  }
  
  .single-course-main {
    flex: 2 1 65%;
  }
  
  .single-course-sidebar {
    flex: 1 1 30%;
  }
  
  .single-course-title {
    font-size: 2rem;
    color: #623dad;
    margin-bottom: 20px;
  }
  
  .single-course-video {
    margin-bottom: 30px;
  }
  
  .single-course-description {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .single-course-lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .single-course-lesson {
    margin-bottom: 15px;
    border-left: 4px solid transparent;
    padding-left: 12px;
    transition: border-color 0.3s, background 0.3s;
  }
  
  .single-course-lesson a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  .single-course-lesson:hover {
    background: #f3ecff;
    border-color: #a17fd6;
  }
  
  .single-course-lesson.active {
    background: #f8f4fc;
    border-color: #623dad;
  }
  
  .single-course-lesson span {
    display: inline-block;
    padding: 8px 0;
  }
  
  .latest-card {
    width: 100%;
    max-width: 300px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    border-radius: 8px;
    text-align: left;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  .latest-card a {
    text-decoration: none;
  }
  
  .latest-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .latest-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .latest-card-content {
    padding: 16px;
  }
  
  .latest-card-content h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    color: #623dad;
  }
  
  .latest-card-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
  }
  
  .latest-card-content a {
    font-weight: bold;
    color: #623dad;
    text-decoration: none;
  }
  
  .latest-card-content a:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    .latest-grid {
      flex-direction: column;
      align-items: center;
    }
  
    .latest-card {
      width: 90%;
      max-width: 100%;
    }
  }
  
  .event-slider {
    width: 100%;
  }
  
  .event-slide {
    width: 100%;
    height: 500px; /* Set fixed height */
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .slide-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    width: 80%;
    max-width: 1200px;
    margin: auto;
  }
  
  .event-slide .hero-text {
    flex: 2;
    min-width: 300px;
    color: white;
  }
  
  .event-slide .hero-side-image {
    flex: 1;
    min-width: 250px;
    text-align: right;
  }
  
  .event-slide .hero-side-image > img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
  }

  @media (max-width: 768px) {
    .event-slide {
      height: auto;
      padding: 40px 20px;
    }
  
    .slide-inner {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }
  
    .event-slide .hero-text,
    .event-slide .hero-side-image {
      flex: 1 1 100%;
      text-align: center;
    }
  
    .latest-card {
      margin-bottom: 30px;
    }
  }
    .overlay-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      pointer-events: none;
      border: 2px solid rgba(0, 0, 0, 0.6); /* dark border */
      border-radius: 8px;
      box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5), 6px 6px 20px rgba(0, 0, 0, 0.3); /* extra bottom-right shadow */
    }

  
    @media (max-width: 768px) {
      .hero-section {
        margin-bottom: 40px;
        padding-top: 100px; /* make room if header is fixed */
        padding-bottom: 40px;
        text-align: center;
      }
    
      .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .hero-text {
        order: 1;
        width: 100%;
        text-align: center;
      }
    
      .hero-side-image {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
      }
    
      .hero-side-image img {
        max-width: 40%;
        height: auto;
      }
    
      .hero-title {
        font-size: 1.8rem;
        text-align: center;
      }
    
      .hero-subtitle {
        font-size: 1.2rem;
      }
    
      .hero-cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
      }
    }
    
    @media (max-width: 768px) {
      .hero-image-buttons .hero-btn img {
        width: 150px;
        max-width: 100%;
      }
    
      .hero-image-buttons .hero-btn-thumbnail img {
        width: 300px;
        max-width: 100%;
      }
      .hero-image-buttons {
        width:100%;
        justify-content: center;
      }
    }