:root {
    --primary-color: #b30018;
    --text-color: #2D3436;
    --light-bg: #F8F9FA;
}
@font-face {
    font-family: 'Poppins';
    src: url('../webfonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../webfonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
/* Top Header Styles */
.top-header {
    font-family: 'Poppins', sans-serif;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(45deg, #fff 30%, #b30018 100%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo Styles */
.top-header .site-logo {
    width: 180px;
    flex-shrink: 0;
}

.top-header .logo-img {
    width: 60%;
    height: auto;
    /* display: block; */
}

/* Social Icons Styles */
.top-header .social-icons-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 0 0 30px;
    position: relative;
}

.top-header .social-icons-center::before,
.top-header .social-icons-center::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1px;
    height: 30px;
    transform: translateY(-50%);
}

.top-header .social-icons-center::before {
    left: 0;
}

.top-header .social-icons-center::after {
    right: 0;
}

.top-header .social-icon {
    display: inline-flex;
    width: 35px;
    height: 35px;
    border-radius:50%;
    background: var(--primary-color);
    color: #fff;
    justify-content: center;
    align-items: center;
    transition:all 0.3s ease;
  text-decoration:none;
}

.top-header .social-icon:hover {
    background-color: rgb(245, 245, 249);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Contact Info Styles */
.top-header .contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
    justify-content: flex-end;
}

.top-header .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.top-header .contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    height: 30px;
    width: 1px;
    background: rgba(0,0,0,0.1);
    transform: translateY(-50%);
}

.top-header .contact-icon {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.top-header .contact-text {
    display: flex;
    flex-direction: column;
}

.top-header .contact-text small {
    color: #666;
    font-size: 12px;
    line-height: 1.2;
}

.top-header .contact-text strong {
    color: #333;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}
.mobile-top-header{
    display: none;
}


@media (max-width: 576px) {
    .top-header {
        padding: 15px 0;
        display: none;
    }
    .top-header .header-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .top-header .site-logo {
        width: 160px;
        margin: 0 auto;
    }
    .top-header .logo-img{
        margin-left: 33px;
    }
    .top-header .social-icons-center {
        width: 100%;
        padding: 15px 0 !important;
        margin: 10px 0;
        border-top: 1px solid rgba(0,0,0,0.1);
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .top-header .contact-info {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
        margin: 0;
    }
    .top-header .contact-item {
        width: auto;
        justify-content: center;
        text-align: center;
        padding: 0;
        margin: 0;
    }
    .top-header .contact-item:not(:last-child)::after {
        display: none;
    }
    .top-header .contact-text {
        align-items: center;
        text-align: center;
    }
    .top-header .contact-text small,
    .top-header .contact-text strong {
        text-align: center;
    }
    
}
/* Top Header Styles End */

/* Contact SLider Start */
.contact-slider-container {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 350px;
  background: #222;
  overflow: visible;
  margin-top: 74px;
}
.about-swiper, .about-swiper .swiper-wrapper, .about-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.swiper-wrapper{
    position: relative;
    width: 100%;
}
.swiper-slide {
  display: flex;
  align-items: center !important; /* vertical center */
  justify-content: flex-start;
  height: 90vh;
  min-height: 350px;
  position: relative;
}
.slide-bg-wrap {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  overflow: hidden;
}
.slide-bg-wrap .slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* .slide-bg-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(20, 20, 30, 0.20);
  z-index: 2;
  pointer-events: none;
} */
.swiper-slide .hero-content {
  margin: 25vh 0 0 7vw; /* only left gap */
  max-width: 900px;
  background:rgba(0,0,0,.4117647059);
  border-radius: 18px;
  padding: 40px 32px 32px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  color: #fff;
  position: relative;
  z-index: 2;
}
.swiper-slide .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-align: justify;
}
.swiper-slide .highlight {
  color: var(--primary-color);
}
.swiper-slide .cap-icon {
  width: 36px !important;
  height: 36px !important;
  vertical-align: middle;
  margin-left: 8px;
  display: inline-block !important;
  position: relative;
  top: -4px; /* adjust as needed for perfect alignment */
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% {
        transform: translateY(0) !important;
    }
    50% {
        transform: translateY(-10px) !important;
    }
}
.swiper-slide .hero-subtitle {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 16px;
  text-align: justify;
}
.swiper-slide .hero-text {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 18px;
  text-align: justify;
}
.swiper-slide .join-text {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 24px;
}
.swiper-slide .join-btn {
  display: inline-block;
  padding: 12px 36px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 6px 18px rgba(108, 92, 231, 0.18);
}
.swiper-slide .join-btn:hover {
  background: #5f4dd0;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .swiper-slide {
    height: auto;
    min-height: 350px;
    align-items: center !important;
    display: flex !important;
  }
  .swiper-slide .hero-content {
    max-width: 90vw;
    margin: 0 180px;
    padding: 24px 12px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .swiper-slide .hero-content {
    padding: 16px 4px;
    margin: 0 auto;
    text-align: center;
  }
  .swiper-slide .hero-title {
    font-size: 20px;
    margin-bottom:0px;
  }
  .swiper-slide .hero-subtitle {
    font-size: 1rem;
  }
  .swiper-slide .hero-text {
    font-size: 14px;
    color: #fff;
  }
  .swiper-slide .join-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}
@media all and (max-width: 768px) {
    .contact-slider-container {
      height: 50vh !important;
      min-height: 220px !important;
      text-align: center;
    }
}
@media all and (max-width: 500px) {
    /* .swiper-slide{
      padding-top: 10vh !important;
    } */
    .rg-navbar-logo img{
        height: 35px !important;
    }
    .margin-bottom-100{
        margin-bottom: -4.5rem !important;
    }
    /* .course-categories .course-card{
        margin-left: 15px;
    } */
     .courses-section .course-row{
        margin-top: 70px;
     }
  }
  .about-swiper, .about-swiper .swiper-wrapper, .about-swiper .swiper-slide {
    width: 100%;
    height: 100%;
  }
  .about-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
/* Contact SLider End */

/* --- Responsive Transparent Navbar & Mega Menu --- */
.rg-navbar {
    width: 100%;
    background: white;
    position: relative;
    top: 0;
    left: 0;
    z-index: 30;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.08); */
    /* backdrop-filter: blur(6px); */
  }
  .rg-navbar-container {
    max-width: 1466px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 70px;
  }
  .rg-navbar-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 1px;
  }
  .rg-navbar-logo img{
    height: 50px;
    width: auto;
  }
  .rg-navbar-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
  }
  .rg-navbar-hamburger {
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  .rg-navbar-hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s;
  }
  .rg-navbar-close {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .rg-navbar-toggle.menu-open .rg-navbar-hamburger {
    opacity: 0;
  }
  .rg-navbar-toggle.menu-open .rg-navbar-close {
    display: flex !important;
    opacity: 1;
  }
  
  .rg-navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .rg-navbar-menu li a {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 8px;
    transition: all 0.3s ease;
    position: relative;
  }
  .rg-navbar-menu li a:hover {
    color: var(--primary-color) !important;
  }
  .rg-dropdown-menu a:hover {
    color: var(--primary-color) !important;
    padding-left: 30px !important;
  }
  
  .rg-navbar-has-mega {
    position: relative;
  }
  .rg-mega-menu {
    display: none;
    position: absolute;
    left: 160%;
    top: 130%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border-radius: 0 0 12px 12px;
    padding: 32px 24px 24px 24px;
    min-width: 900px;
    min-height: 140px;
    z-index: 100;
    transition: 0.2s;
  }
  .rg-navbar-has-mega:hover .rg-mega-menu,
  .rg-navbar-has-mega:focus-within .rg-mega-menu {
    display: block;
  }
  /* .rg-mega-menu-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px 40px;
  } */
  .rg-mega-menu-content img {
    height: 90px;
    width: 100px;
    object-fit: contain;
    transition: transform 0.2s;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
  }
  .rg-mega-menu-content img:hover {
    transform: scale(1.08);
  }

  .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item.dropdown .dropdown-toggle::after {
    display: none;
  }
  
  .nav-item.dropdown .fa-chevron-down {
    margin-left: 6px;
    font-size: 13px;
    transition: transform 0.2s;
  }
  
  .nav-item.dropdown.show .fa-chevron-down,
  .nav-item.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
  }
  .nav-item.dropdown ul li a{
    color: var(--text-color) !important;
    font-size: 14px !important;
    padding: 12px 17px;
  }
  .nav-item.dropdown ul li a:hover{
    background-color: var(--primary-color) !important;
    color: white !important;
  }
  .nav-item.dropdown {
    position: relative;
  }
  
  .nav-item.dropdown .dropdown-menu {
    top: 100%;
    left: 0;
    margin-top: -2px !important;
    pointer-events: auto;
    min-width: 200px;
    position: absolute;
    z-index: 1000;
    padding-top: 0 !important;
  }
  .nav-auth {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .nav-item.signup-btn {
    list-style: none;
  }

  .nav-item.signup-btn .nav-link {
    border: 1px solid #5C50E3;
    border-radius: 5px;
    padding: 5px 22px;
    transition: all 0.3s;
    white-space: nowrap;
    background: #5C50E3;
    color: white !important;
    font-size: 14px;
  }

  .nav-item.signup-btn .nav-link:hover {
    background: white;
    border: 1px solid #5C50E3;
    color: #5C50E3;
  }
  /* Responsive Styles */
  @media (max-width: 900px) {
    .rg-navbar-container { padding: 0 10px; }
    .rg-mega-menu { min-width: 90vw; }
    .rg-mega-menu-content { gap: 16px; }
  }
  @media (max-width: 992px) {
    .rg-navbar-toggle {
      display: flex;
    }
    .rg-navbar-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      left: 0;
      width: 100vw;
      background: white;
      padding: 24px 0 0 0;
      z-index: 100;
      gap: 0;
    }
    .rg-navbar-menu.rg-navbar-menu-open { display: flex; }
    .rg-navbar-menu li { width: 100%; text-align: left; }
    .rg-navbar-menu li a { display: block; width: 100%; padding: 16px 24px; color: var(--text-color); }
    .rg-mega-menu {
      position: static;
      transform: none;
      min-width: 0;
      min-height: 0;
      border-radius: 0;
      box-shadow: none;
      padding: 18px 10px;
      background: rgba(255,255,255,0.98);
    }
    .rg-mega-menu-content {
      flex-wrap: wrap !important;
      gap: 10px !important;
      justify-content: flex-start !important;
    }
    .rg-mega-menu-content img { height: 60px; width: 130px; }
    .rg-dropdown-menu {
      position: static;
      min-width: 0;
      box-shadow: none;
      border-radius: 0;
      background: var(--text-color);
      padding: 0;
    }
    .rg-dropdown-menu a {
      color: var(--text-color-dark) !important;
      padding: 14px 24px;
      border-bottom: 1px solid #333;
    }
    .rg-dropdown-menu a:last-child {
      border-bottom: none;
    }
    .nav-auth{
        padding-left: 25px;
        padding-bottom:20px;
    }
    .dropdown-menu {
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1.5rem;
        margin-top: 0;
        position: relative !important;
        inset: auto !important;
        transform: none !important;
      }
  }
  
  /* Dropdown Chevron Icon */
  .rg-navbar-chevron {
    display: inline-block;
    /* margin-left: 6px; */
    font-size: 14px;
    transition: transform 0.3s;
    /* vertical-align: middle; */
  }
  .rg-navbar-has-mega.open > a .rg-navbar-chevron {
    transform: rotate(180deg);
  }
  
  /* Dropdown menu for Home */
  .rg-navbar-has-dropdown {
    position: relative;
  }
  .rg-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border-radius: 0 0 12px 12px;
    padding: 12px 0;
    z-index: 101;
    flex-direction: column;
    background: var(--text-color);
  }
  .rg-dropdown-menu a {
    display: block;
    padding: 10px 24px !important;
    color: var(--text-color-dark) !important;
    text-decoration: none;
    font-size: 13px !important;
    transition: background 0.2s, color 0.2s;
  }
  .rg-dropdown-menu a:hover {
    background: var(--text-color);
    color: var(--primary-color);
  }
  .rg-navbar-has-dropdown:hover .rg-dropdown-menu,
  .rg-navbar-has-dropdown.open .rg-dropdown-menu,
  .rg-navbar-has-dropdown:focus-within .rg-dropdown-menu {
    display: flex;
  }
  .rg-navbar-has-dropdown.open > a .rg-navbar-chevron {
    transform: rotate(180deg);
  }
  @media (max-width: 1920px) {
    .rg-navbar-container{
      max-width: 1377px !important;
    }
    .swiper-slide .hero-content{
        margin-right: 15vw !important;
    }
  }
  @media (max-width: 1600px) {
    .rg-navbar-container{
      max-width: 1371px !important;
    }
    .swiper-slide .hero-content {
        margin-right: 7vw !important;
    }
  }
  @media (max-width: 1400px) {
    .rg-navbar-container{
      max-width: 1267px !important;
    }
    .swiper-slide .hero-content {
        margin-right: 11vw !important;
    }
    .enrollment-discount-section .enrollment-image img{
        height: 335px !important;
    }
}
@media (max-width: 500px) {
    .swiper-slide .hero-content {
        margin: 0 auto 0 auto !important;
    }
    .testimonials-section .section-title{
        margin-bottom: 6rem !important;
    }
}
/* Navbar End */



/* --- Latest Courses Section Start--- */
.courses-section {
    position: relative;
    padding: 40px 0;
  }
  .courses-section .course-content a{
    text-decoration: none;
  }
  .courses-section::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 326px;
    background:
  linear-gradient(to right, rgba(252, 202, 93, 0.12), transparent);
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
    height: 247px;
    border-radius:
  50px;
  }
  .course-card, .card-image {
    position: relative; /* Ensure parent is relative */
  }
  
.ribbon{
    position: absolute;
      top: 0;
      left: -10px;
      background: #d72638;
      color: white;
      padding: 8px 20px;
      font-size: 14px;
      font-weight: bold;
      z-index: 2;
      border-top-left-radius: 8px;
}
.ribbon::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 0;
    border-top: 11px solid #a71d2a;
    border-left: 11px solid transparent;
  }
  .courses-section .card{
    height: 100% !important;
  }
  /* Add position relative to the swiper container */
.courses-section .courses-swiper {
      position: relative;
      padding: 0 30px; /* Add padding to make space for buttons inside */
  }
.courses-section .course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 15px;
    /* overflow: hidden; */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    border: 1px solid #E3E3E3;
}

.courses-section .course-card:hover {
    transform: translateY(-5px);
}

.courses-section .card-image {
    position: relative;
    /* overflow: hidden; */
}

.courses-section .card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    /* padding: 12px; */
    /* border-radius: 30px; */
    transition: transform 0.3s ease;
    
}
.courses-section .swiper-wrapper,
.course-categories .swiper-wrapper{
    display: flex;
    align-items: stretch;
  }
  .courses-section .swiper-slide,
  .course-categories .swiper-slide{
    display: flex;
    height: auto;
  }

/* .courses-section .course-card:hover .card-image img {
    transform: scale(1.05);
} */

.courses-section .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.courses-section .course-card:hover .image-overlay {
    opacity: 1;
}

.courses-section .overlay-btn {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.courses-section .course-card:hover .overlay-btn {
    transform: translateY(0);
    opacity: 1;
}

.courses-section .overlay-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.courses-section .overlay-btn:first-child {
    transition-delay: 0.1s;
}

.courses-section .overlay-btn:last-child {
    transition-delay: 0.2s;
}

.courses-section .course-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.courses-section .course-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px; /* or your preferred spacing */
  }
.courses-section .course-title {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    flex: 1 1 auto;
    line-height: 24px;
}

.courses-section .course-price {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ff8c00; /* Orange color for price */
    white-space: nowrap;
    line-height: 1.4; /* Align with title */
}

.courses-section .course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem; /* Slightly smaller meta text */
    color: #6c757d; /* Slightly muted color */
    margin-top: auto;
    clear: both; /* Clear the float from price */
}

.courses-section .course-rating a{
    background:#FF5D06;
    padding:7px 12px;
    color: white;
    text-decoration:none;
    border-radius:10px;
    transition: all 0.3s ease;
}
.courses-section .course-rating a:hover{
    background:white;
    color: #FF5D06;
    border:1px solid #FF5D06;
}
.courses-section .course-rating,
.courses-section .course-lessons {
    display: flex;
    align-items: center;
}

.courses-section .course-rating i,
.courses-section .course-lessons i {
    margin-right: 5px;
}

.courses-section .course-rating i {
    color: #ffc107; /* Yellow for star */
}

.courses-section .course-lessons i {
    color: white;
    background-color: #FD878D;
    padding: 5px 7px;
    border-radius: 50%;
    font-size: 0.7em;
    display: inline-block;
    width: 21px;
    height: 20px;
    line-height: 1;
    text-align: center;
}

/* Swiper Navigation Buttons */
.courses-section .swiper-button-next,
.courses-section .swiper-button-prev {
    position: absolute;
    top: 50%;
    /* Correct vertical centering */
    transform: translateY(-50%); 
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    color: #555; /* Arrow color */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.courses-section .swiper-button-next:hover,
.courses-section .swiper-button-prev:hover {
    background-color: #eee;
    color: #000;
}

.courses-section .swiper-button-next::after,
.courses-section .swiper-button-prev::after {
    font-size: 16px; /* Adjust arrow size */
    font-weight: bold;
}

.courses-section .swiper-button-prev {
    /* Position inside the container padding */
    left: 0px; 
}

.courses-section .swiper-button-next {
    /* Position inside the container padding */
    right: 0px; 
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .courses-section .courses-swiper {
        padding: 0 15px; /* Adjust padding for smaller screens */
    }
    .top-header{
        display: none;
    }
    .mobile-top-header{
        display: block;
    }
    /* mobile top header  */
    .mobile-top-header{
        display: block;
        padding: 2px 0 2px 0;
        background:linear-gradient(45deg, #fff 30%, #CBD4FF 100%);
    }
    .mobile-top-header .col-lg-12{
        display: flex;
        justify-content: space-between;
    }
    .mobile-top-header img{
        width: 100px;
    }
    .mobile-top-header .social-icons-center{
        margin: 15px 5px;
    }
    .mobile-top-header .social-icons-center a{
        background: var(--primary-color);
        padding:3px 7px 5px 8px;
        border-radius:50px;
        color: white;
        margin:0 4px;
        height: 31px;
        width: 31px;
        display: inline-block;
        text-align: center;
    }
    .mobile-top-header .social-icons-center a:hover{
        background: rgb(245, 245, 249);
        color: var(--primary-color);
    }
}

@media (max-width: 768px) {
    .courses-section .swiper-button-next,
    .courses-section .swiper-button-prev {
        width: 35px;
        height: 35px;
        transform: translateY(-50%); /* Keep centered */
    }
     .courses-section .swiper-button-prev {
        left: 0px; /* Adjust if needed based on padding */
    }
    .courses-section .swiper-button-next {
        right: 0px; /* Adjust if needed based on padding */
    }
}

@media (max-width: 576px) {
    .courses-section .course-card {
        margin: 0 10px 20px 10px; /* Add side margin on small screens */
    }
    .courses-section .swiper-button-prev {
        left: 0px;
    }
    .courses-section .swiper-button-next {
        right: 0px;
    }
}
/* --- Latest Courses Section End--- */

/* Course Categories Section Start*/
.course-categories {
    background-color: white;
    padding: 80px 0 35px 0;
        position: relative;
    }
.course-categories::after{
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 326px;
    background:
    linear-gradient(to left, rgba(252, 202, 93, 0.12), transparent);
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
    height: 247px;
    border-radius: 50px;
}

.course-categories .section-header {
    margin-bottom: 50px;
}

.course-categories .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 1rem;
}

/* Category Filter Buttons */
.course-categories .category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
        gap: 15px;
    margin-bottom: 40px;
}

.course-categories .filter-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    background: white;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
}

.course-categories .filter-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.course-categories .filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Course Cards in Categories */
.course-categories .category-swiper {
    padding: 20px 5px;
    margin-bottom: 20px;
    position: relative;
}

.course-categories .course-card {
    background:white;
    border-radius: 15px;
    /* overflow: hidden; */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid #E3E3E3;
    height: 100%;
    display: flex;
            flex-direction: column;
            height: 100%;
}

.course-categories .course-card:hover {
    transform: translateY(-5px);
}

.course-categories .card-image {
    position: relative;
    /* overflow: hidden; */
}

.course-categories .card-image img {
    width: 100%;
    height: 220px;
    transition: transform 0.3s ease;
}

.course-categories .course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 0;
}

.course-categories .course-level {
    background: #F0EEFF;
    color: #6C5CE7;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.course-categories .wishlist-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: #FFF0F0;
    color: #FF6B6B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-categories .wishlist-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.course-categories .wishlist-btn:hover {
    background: #FF6B6B;
    color: white;
}

.course-categories .wishlist-btn:hover i {
    transform: scale(1.1);
}

.course-categories .card-content {
    padding: 15px 20px 20px;
    flex-grow: 1;
            display: flex;
            flex-direction: column;
}

.course-categories .card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #2D3436;
}

.course-categories .course-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.course-categories .course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-categories .course-meta i {
    color: var(--primary-color);
}

.course-categories .price-free {
    color: rgba(255, 126, 0, 1);
    font-weight: 600;
    font-size: 1.1rem;
}
.course-categories .course-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
  }
  
  .course-categories .price-free {
    color: #ff8c00;
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  .course-categories .enroll-btn {
    background: linear-gradient(90deg, #6C5CE7 0%, #5f27cd 100%);
    color: #fff;
    font-weight: 600;
    padding: 7px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(108,92,231,0.08);
    transition: background 0.2s, transform 0.2s;
    border: none;
    outline: none;
    display: inline-block;
  }
  
  .course-categories .enroll-btn:hover {
    background: linear-gradient(90deg, #5f27cd 0%, #6C5CE7 100%);
    transform: translateY(-2px) scale(1.04);
    color: #fff;
  }

/* Swiper Navigation Customization */
.course-categories .swiper-button-next,
.course-categories .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.course-categories .swiper-button-next:after,
.course-categories .swiper-button-prev:after {
    font-size: 18px;
    color: #666;
}

.course-categories .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 30px;
}

.course-categories .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #CBD4FF;
    opacity: 1;
    margin: 0 5px !important;
}

.course-categories .swiper-pagination-bullet-active {
    background: #6C5CE7;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .course-categories .section-title {
        font-size: 2rem;
    }
    
    .course-categories .filter-btn {
        padding: 8px 20px;
    }
}

@media (max-width: 768px) {
    .course-categories .category-filters {
        gap: 10px;
    }
    
    .course-categories .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .course-categories .card-image img {
        /* height: 300px; */
    }
}

@media (max-width: 576px) {
    .course-categories .section-title {
        font-size: 1.8rem;
    }
    
    .course-categories .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        margin: 0 -15px 30px;
        padding: 0 15px 10px;
    }
    
    .course-categories .filter-btn {
        flex: 0 0 auto;
    }
}
/* Course Categories Section End*/

/* How it Works Section Start */
.how-it-works {
    padding: 80px 0;
    background: white;
    position: relative;
}
.how-it-works::after{
    content: '';
    position: absolute;
    right: 8rem;
    top: 0;
    bottom: 0;
    width: 60px;
    background:
    linear-gradient(to right, rgba(39, 38, 38, 0.35), transparent);
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
    height: 60px;
    border-radius: 50px;
}
.how-it-works .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 3rem;
}

.how-it-works .process-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    height: 100%;
    transition: transform 0.3s ease;
}

.how-it-works .register-card {
    background: rgba(255, 236, 236, 0.5);
}

.how-it-works .course-card {
    background: rgba(245, 236, 255, 0.5);
}

.how-it-works .success-card {
    background: rgba(236, 253, 255, 0.5);
}

.how-it-works .process-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
        align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
}

.how-it-works .register-card .icon-box {
    background: #FF8080;
    color: white;
}

.how-it-works .course-card .icon-box {
    background: #B27CFF;
    color: white;
}

.how-it-works .success-card .icon-box {
    background: #00C1C1;
    color: white;
}

.how-it-works .process-card .icon-box i {
    font-size: 24px;
}

.how-it-works .process-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 15px;
}

.how-it-works .process-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.how-it-works .process-card:hover {
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .how-it-works .section-title {
        font-size: 2rem;
    }
}




/* How it Works Section End */

/* Testimonials Section Start */
.testimonials-section {
    padding: 40px 0 0px 0;
    background-color: rgba(245, 245, 249, 1);
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 30, 0.65); /* dark overlay */
    z-index: 1;
}
.testimonials-section > * {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    /* margin-bottom: 2rem; */
}

.testimonials-section .trustpilot-info {
    display: flex;
        align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonials-section .trustpilot-logo {
    height: 30px;
    object-fit: contain;
}

.testimonials-section .rating {
    color: #00B67A;
    font-size: 1.2rem;
}
.testimonials-section .rating i{
    background:#008349;
    padding:5px;
    color: white;
    font-size: 12px;
}

.testimonials-section .review-count {
    font-size: 1rem;
    color: #2D3436;
        margin: 0;
    }

.testimonials-section .review-count span {
    font-weight: 600;
}

/* Testimonial Cards */
.testimonials-section .testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonials-section .testimonial-card .rating {
    margin-bottom: 1.5rem;
}

.testimonials-section .testimonial-card .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2D3436;
    margin-bottom: 2rem;
    min-height: 80px;
    text-align: justify;
}

.testimonials-section .testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonials-section .testimonial-card .author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials-section .testimonial-card .author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D3436;
    margin: 0;
}

.testimonials-section .testimonial-card .author-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Slider Navigation */
.testimonials-section .testimonial-swiper {
    margin-bottom: 30px;
}

.testimonials-section .testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.testimonials-section .control-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonials-section .testimonial-prev,
.testimonials-section .testimonial-next {
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    background: #f5f5f5 !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonials-section .testimonial-prev:after,
.testimonials-section .testimonial-next:after {
    display: none;
}

.testimonials-section .testimonial-prev i,
.testimonials-section .testimonial-next i {
    font-size: 14px;
    color: #666;
}

.testimonials-section .testimonial-prev:hover,
.testimonials-section .testimonial-next:hover {
    background: #6C5CE7 !important;
}

.testimonials-section .testimonial-prev:hover i,
.testimonials-section .testimonial-next:hover i {
    color: white;
}

.testimonials-section .testimonial-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1rem !important;
}

.testimonials-section .testimonial-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #e0e0e0;
    opacity: 1;
    margin: 0 2px !important;
    transition: all 0.3s ease;
}

.testimonials-section .testimonial-pagination .swiper-pagination-bullet-active {
    background: #6C5CE7;
    transform: scale(1);
}

/* Make all testimonial cards equal height inside Swiper */
.testimonials-section .testimonial-swiper .swiper-wrapper{
  align-items: stretch;           /* stretch all slides to tallest */
}
.testimonials-section .testimonial-swiper .swiper-slide{
  height: auto;                   /* let slide auto-height */
  display: flex;                  /* so child can use height:100% */
}
.testimonials-section .testimonial-card{
  display: flex;
  flex-direction: column;
  height: 100%;                   /* fill the whole slide height */
}

/* Text takes remaining space; author sits at bottom */
.testimonials-section .testimonial-card .testimonial-text{
  min-height: 0;
  flex: 1 1 auto;                 /* grow to fill */
  margin-bottom: 1.25rem;
}
.testimonials-section .testimonial-card .testimonial-author{
  margin-top: auto;               /* push author row to bottom */
}


/* Testimonials Section End */



/* Enrollment Discount Section Start */
.enrollment-discount-section {
    margin-top: 100px !important;
    background: linear-gradient(88.81deg, rgba(255, 230, 142, 0) -0.15%, #F3F8FF 33.24%, #FFFFFF 64.13%, #F4F9FF 78.87%, #F8F3E7 109.42%);
    position: relative;
    overflow: visible;
}

.enrollment-discount-section .container {
    position: relative;
    z-index: 1;
}

.enrollment-discount-section .enrollment-image {
    position: absolute;
    bottom: 0;
    left: 0; 
    width: 45%; 
    max-width: 450px; 
    z-index: 1;
}

.enrollment-discount-section .enrollment-image img {
    width: 100%;
    height: 390px;
    display: block;
}

.enrollment-discount-section .enrollment-content {
    padding-top: 2rem; /* Add some top padding */
    padding-bottom: 6rem; /* Add some bottom padding */
}

.enrollment-discount-section .enrollment-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2D3436;
    line-height: 1.3;
    margin-bottom: 2rem;
    width: 81%;
}

.enrollment-discount-section .enrollment-content .cta-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.enrollment-discount-section .enrollment-content .enrollment-btn {
    background-color: #6C5CE7;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.enrollment-discount-section .enrollment-content .enrollment-btn:hover {
    background-color: #5a4bcf;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.enrollment-discount-section .enrollment-content .price-info {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Enrollment Discount Section End */



/* Responsive CSS Start */
@media (max-width: 576px) {
    .enrollment-discount-section .enrollment-image {
        width: 80%;
        max-width: 300px;
        left: 0;
    }
    .enrollment-discount-section .enrollment-content h2 {
        font-size: 1.8rem;
    }

    .enrollment-discount-section .enrollment-content .cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    /* testimonials section responsive */
    .testimonials-section .testimonial-controls {
        margin-top: 1rem;
    }

    .testimonials-section .control-wrapper {
        gap: 0.3rem;
        padding: 0.3rem;
    }

    .testimonials-section .testimonial-prev,
    .testimonials-section .testimonial-next {
        width: 30px !important;
        height: 30px !important;
    }

    .testimonials-section .testimonial-prev i,
    .testimonials-section .testimonial-next i {
        font-size: 12px;
    }
    /* how it works section responsive */
    .how-it-works {
        padding: 60px 0;
    }
    
    .how-it-works .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}
@media (max-width: 767px) {
    /* footer section responsive */
    .site-footer .footer-widget {
        text-align: center;
    }

    .site-footer .footer-social-icons {
        justify-content: center;
    }

    .site-footer .footer-social-icons a {
        margin: 0 5px;
    }

    .site-footer .widget-title {
        margin-top: 20px;
    }

    .site-footer .footer-bottom {
        margin-top: 30px;
        padding: 20px 0;
        text-align: center;
    }
    .site-footer .footer-description{
        width: 100%;
    }

    /* enrollment discount section responsive */
    .enrollment-discount-section .enrollment-image {
        width: 70%;
    }
    .enrollment-discount-section .enrollment-content h2 {
        font-size: 2rem;
    }

    .enrollment-discount-section .enrollment-content .enrollment-btn {
        padding: 0.8rem 2rem;
    }
    /* Testimonials section responsive */
    .testimonials-section .testimonial-controls {
        margin-top: 1.5rem;
    }

    .testimonials-section .control-wrapper {
        gap: 0.5rem;
        padding: 0.4rem;
    }

    .testimonials-section .testimonial-prev,
    .testimonials-section .testimonial-next {
        width: 35px !important;
        height: 35px !important;
    }

    .testimonials-section .testimonial-pagination {
        margin: 0 0.5rem !important;
    }
    /* how it works section responsive */
    .how-it-works .process-card {
        padding: 25px;
    }
    
    .how-it-works .process-card h3 {
        font-size: 1.1rem;
    }
    /* top header responsive */
    .top-header {
        position: relative;
    }
    .top-header .contact-info {
        gap: 15px;
    }
    .top-header .contact-info > div {
        padding: 0;
        margin-bottom: 0;
        display: none !important;
    }
    .top-header .contact-info {
        display: none !important;
    }
}

@media (max-width: 991px) {
    /* footer section responsive */
    .site-footer {
        padding-top: 60px;
    }
    /* enrollment discount section responsive */
    .enrollment-discount-section {
        padding: 60px 0;
    }

    .enrollment-discount-section .enrollment-image {
        position: relative; 
        width: 100%; 
        max-width: 400px;
        margin: 0 auto 2rem auto; 
        left: 1%;
        bottom: auto;
        /* display: none; */
    }
    .enrollment-discount-section .enrollment-image img{
        height: auto !important;
    }

    .enrollment-discount-section .enrollment-content {
        padding-left: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        text-align: center;
        width: 100%;
    }

    .enrollment-discount-section .enrollment-content h2 {
        font-size: 2.2rem;
        width: 100%;
    }

    .enrollment-discount-section .enrollment-content .cta-group {
        justify-content: center;
    }
    /* top header responsive */
    .top-header .header-content {
        flex-wrap: wrap;
    }
    .top-header .site-logo {
        width: 150px;
    }
    .top-header .social-icons-center {
        padding: 15px 30px;
    }
    .top-header .social-icons-center::before,
    .top-header .social-icons-center::after {
        display: none;
    }
    .top-header .contact-info {
        justify-content: flex-end;
        margin-top: 0;
        display: none;
    }
    .top-header .contact-item {
        flex: 0 0 auto;
    }
      /* testimonial responsive */
      .testimonials-section .section-title{
        font-size: 2rem !important;
      }
}
@media (max-width: 1200px) {
    .top-header .header-content {
        gap: 15px;
    }
    .top-header .social-icons-center {
        padding: 0 20px;
    }
    .top-header .contact-info {
        gap: 15px;
    }
    .top-header .contact-text strong {
        font-size: 13px;
    }
}
@media (max-width: 1400px) {
    /* enrollment discount section responsive */
    .enrollment-discount-section{
        margin-top: 0 !important;
    }
    /* top header section responsive */
    .top-header .contact-info {
        gap: 20px;
    }
    .top-header .contact-item:not(:last-child)::after {
        right: -10px;
    }
}
/* Responsive CSS End */

/*
------------------------------------
        Offcanvas Menu CSS Start
-------------------------------------
*/

.offcanvas {
  transition: transform 0.3s ease-in-out;
}

.offcanvas-header {
  border-bottom: 1px solid #dee2e6;
}

.offcanvas-title {
  color: var(--primary-color);
}

.offcanvas-body {
  padding: 1rem;
}

.offcanvas .navbar-nav .nav-link {
  color: #495057;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.offcanvas .navbar-nav .nav-link:hover,
.offcanvas .navbar-nav .nav-link.active {
  background-color: rgba(2, 155, 197, 0.1);
  color: var(--primary-color);
}

/* Offcanvas Dropdown Styles */
.offcanvas .dropdown-menu {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-top: 0;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

.offcanvas .dropdown-item {
  color: #495057;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.offcanvas .dropdown-item:hover {
  background-color: rgba(2, 155, 197, 0.15);
  color: var(--primary-color);
}

/* Style for the dropdown toggle arrow in offcanvas */
.offcanvas .nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: .255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.2s ease;
  border-top-color: currentColor;
  position: static;
  transform: none;
}

.offcanvas .nav-link.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Footer Image */
.offcanvas-footer {
  padding: 1rem;
  border-top: 1px solid #dee2e6;
  margin-top: auto;
}

/*
------------------------------------
        Offcanvas Menu CSS End
-------------------------------------
*/

/* Success Stories Section */
.success-stories {
    padding: 60px 0;
    background-color: rgba(245, 245, 249, 1);
}

.success-stories .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.success-stories .section-desc {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.success-story-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    background-color: #fff;
}

.success-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: background 0.3s ease;
}

.success-story-card:hover .video-thumbnail::before {
    background: rgba(0, 0, 0, 0.3);
}

.video-thumbnail img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
}

.success-story-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background-color: rgba(255, 93, 6, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 0 0 rgba(255, 93, 6, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 93, 6, 0.7);
    }
    
    70% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 15px rgba(255, 93, 6, 0);
    }
    
    100% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 93, 6, 0);
    }
}

.play-btn:hover {
    background-color: #FF5D06;
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 93, 6, 0.7);
}

.play-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 93, 6, 0.6);
    z-index: -1;
    animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.story-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    max-width: 40px;
    z-index: 2;
}

.story-info {
    padding: 20px;
}

.story-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.story-meta {
    font-size: 14px;
    color: #777;
    margin: 0;
}

@media (max-width: 991px) {
    .success-stories .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .success-stories {
        padding: 40px 0;
    }
    
    .success-stories .section-title {
        font-size: 30px;
    }
    
    .success-stories .section-desc {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .success-stories .section-title {
        font-size: 26px;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .story-info {
        padding: 15px;
    }
}



