body {
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #213334;
}

:root {
  --primary-color: #05447d;
  --button-color: #ffd132;
  --text-color: #213334;
  --heading-color: #000;
  --secondary-color: #e6bc2d;
  --color-white: #fff;
  --color-black: #000;
  --spacing: .25rem;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.navbar {
  background-color: var(--color-white) !important;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color) !important;
  line-height: 2rem;
}

.navbar-nav .nav-link {
  color: var(--primary-color) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--button-color) !important;
}

nav.navbar.navbar-expand-lg.navbar-dark {
  border-bottom: 1px solid #ebe6e7;
}

.btn-primary {
  background-color: var(--button-color);
  border-color: var(--button-color);
  color: var(--text-color);
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 25px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #e6bc2d;
  border-color: #e6bc2d;
  color: var(--text-color);
  transform: translateY(-2px);
}

.hero-section {
  padding: 50px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--color-white);
}

.hero-section p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  color: var(--color-white);
}

.hero-content-box {
  width: 70%;
  text-align: center;
}
.hero-content-box .small-tag, .hero-content-boxs .small-tag {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2.5px;
}
a.hero-button.btn-primary{
    text-decoration: none;
}
.hero-line-button.btn-primary {
    background-color: transparent;
    color: var(--button-color);
    border-width: 2px;
    border-style: solid;
    text-decoration: none;
}
.hero-line-button.btn-primary svg path {
    stroke: var(--button-color);
}
.hero-slider-box {
  width: 52%;
}

.inset-0 {
  inset: calc(var(--spacing) * 0);
}

.opacity-15 {
  opacity: .15;
}

.hero-bg {
  background-color: var(--primary-color);
  border-radius: 30px;
}

.hero-box {
  padding: 60px 80px;
}

.hero-bg-img img {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.section-title {
  color: var(--heading-color);
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 30px;
  margin-top: 10px;
}

.section-para {
  font-size: 1rem;
  color: var(--heading-color);
  font-weight: 500;
}

.section {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}



.filter-section {
  background-color: #f8f9fa;
  padding: 40px 0;
}

.filter-btn {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5px;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
}

.stats-section {
  background: var(--primary-color);
  color: white;
  padding: 60px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--button-color);
}

.stat-label {
  font-size: 1rem;
  margin-top: 10px;
}

.footer {
  background: var(--primary-color);
  color: white;
  padding: 50px 0 20px;
}

.footer h5 {
  color: var(--button-color);
  margin-bottom: 20px;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--button-color);
}

.sec-light {
  background-color: #e3f3f9;
}

.page-navigation {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.nav-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 20px;
  margin: 5px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  font-weight: 500;
}

.nav-btn:hover {
  background: var(--button-color);
  color: var(--text-color);
  transform: translateY(-2px);
}

.logo-link i {
  font-size: 50px;
}

.logo-link span.learning-logo-txt {
  font-size: 20px;
  letter-spacing: 0px;
  line-height: 24px;
}

.logo-link span.learning-logo-txt span {
  letter-spacing: 2px;
  font-size: 25px;
}

.header-button {
  white-space: nowrap;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  border: 1.5px solid var(--primary-color);
  border-radius: 6px;
  color: var(--primary-color);
}

.navbar-toggler {
  color: var(--primary-color);
  background-color: var(--primary-color);
}

a.left-link {
  color: var(--primary-color) !important;
  font-weight: 500;
  transition: color 0.3s;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .search-box {
    margin: 0 20px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .logo-link span.learning-logo-txt span {
    letter-spacing: 2px;
    font-size: 22px;
  }

  .logo-link span.learning-logo-txt {
    font-size: 18px;
  }

  .logo-link i {
    font-size: 40px;
  }
}

/* learner */

.card.learner-card {
  background-image: url("../img/dots.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.place-content-center {
  place-content: center;
}

.workshop-imgBox {
  height: 180px;
}

.workshop-content h2 {
  font-size: 1.5rem;
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--color-black);
}

.workshop-content .timing {
  font-size: .875rem;
  color: #000;
  font-weight: 500;
}

.workshop-price {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #000;
  font-weight: 500;
}

.footer-item,
.footer-item-count {
  width: 40px;
  height: 40px;
  overflow: hidden;
  position: relative;
  border-radius: 100%;
  border: 1px solid #000;
}

.footer-item img {
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0px;
  color: transparent;
  object-fit: cover;
}

.footer-item-count {
  color: #fff;
  background-color: var(--primary-color);
  text-align: center;
  place-content: center;
  border-color: var(--primary-color);
  margin-left: calc(var(--spacing) * -4);
}

.workshop-footer p {
  color: #000;
  margin-bottom: 0;
}

.workshop-card-body {
  border: 1px solid #000;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swiper_card {
  position: relative;
  height: 600px;
  object-fit: cover;
  border-radius: 16px;
}

.swiper_card:after {
  content: "";
  height: 100%;
  width: 100%;
  background-image: linear-gradient(rgb(5 68 125) 0%, rgba(255, 255, 255, 0) 50%, rgb(5 68 125) 100%);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 16px;
}

.swiper_card img {
  height: 100%;
  border-radius: 20px;
}

.swiper_card_content p {
  font-size: 14px;
  color: #fff;
}

.swiper_card_content {
  position: absolute;
  top: 10px;
  padding: 22px;
  z-index: 1;
}

.swiper_card_content h3 {
  font-size: 1rem;
  color: #fff;
}

/* story-card */
.story-card .img-box {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}

.story-card .img-box img {
  border-radius: 6px;
}

.story-card h3.name {
  font-size: 1.125rem;
  font-weight: 500;
}

.designation-box {
  background-color: #f8f8f8;
  font-size: .875rem;
  font-weight: 500;
  line-height: 18px;
}

.story-card {
  border: 1px solid #000;
  border-radius: 16px;
  min-height: 360px;
}

.top-brand-box {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  row-gap: calc(.25rem * 12);
  column-gap: calc(.25rem * 6);
}

.brands-img-box {
  width: 85px;
  height: auto;
}

.brands-img-box img {
  height: 100%;
  width: 100%;
  inset: 0px;
  color: transparent;
}

.our-community .nav-pills .nav-link {
  padding: 8px 16px;
  border: 1px solid #d1d5dc;
  background-color: var(--color-white);
  color: var(--color-black);
  margin-right: 14px;
}

.our-community .nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: var(--color-white);
}

.our-community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
}

.our-community-items:nth-child(1) {
  grid-row: span 2 / span 2;
}

.our-community-items:nth-child(2) {
  grid-column-start: 1;
  grid-row-start: 3;
}

.our-community-items:nth-child(3) {
  grid-column-start: 2;
  grid-row-start: 1;
}

.our-community-items:nth-child(4) {
  grid-row: span 2 / span 2;
  grid-column-start: 2;
  grid-row-start: 2;
}

.our-community-items:nth-child(5) {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
  grid-column-start: 3;
  grid-row-start: 1;
}

.our-community-items:nth-child(6) {
  grid-column: span 2 / span 2;
  grid-column-start: 3;
  grid-row-start: 3;
}

/* 🎨 Optional styling */
.our-community-items {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 6px;
  transition: transform 0.3s ease;
}



.our-community-items:nth-child(1),
.our-community-items:nth-child(4),
.our-community-items:nth-child(5) {
  height: 408px;
}

.our-community-items:nth-child(2),
.our-community-items:nth-child(3),
.our-community-items:nth-child(6) {
  height: 200px;
}

.our-community-items:nth-child(2) .items-img-box {
  background-color: #05447d;
}

h1.items-heading {
  font-size: 70px;
  color: #fff;
}

.items-img-box {
  border-radius: 16px;
  position: relative;
  width: 100%;
  height: 100%;
}

.items-img-box img {
  border-radius: 16px;
}

.items-footer {
  position: absolute;
  bottom: 0px;
  z-index: 9;
  width: 100%;
  padding: 8px 16px;
  background-color: #05447dcc;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

@media (max-width: 1024px) {
  .our-community-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .our-community-items {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 768px) {
  .our-community-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .our-community-items {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 480px) {
  .our-community-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .hero-box {
    padding: 30px;
    display: block !important;
  }

  .hero-content-box,
  .hero-slider-box {
    width: 100%;
  }

  .top-brand-box {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: calc(.25rem * 5);
    column-gap: calc(.25rem * 2);
  }

  .brands-img-box img {
    height: 80%;
    width: 80%;
  }

  .section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .swiper_card {
    height: 460px;
  }
}

/* testimonail */

.testimonial-swiper .swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  bottom: 30px !important;
}

.testimonial-swiper .swiper-pagination-bullet {
  opacity: 0.5;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.3s;
  width: 40px;
  height: 40px;
}

.testimonial-swiper .swiper-pagination-bullet img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  border: 2px solid #007bff;
  /* highlight color */
  transform: scale(1.1);
}

.testimonial-swiper {
  background-color: #05447d;
  padding: 50px 40px;
  border-radius: 16px;
  color: #fff;
}

.testimonial-content h6 {
  font-size: 1.25rem;
  margin: 0px 0px 0px;
  padding-top: 5px;
  font-weight: 600;
}

.testimonial-content p {
  font-size: 1.25rem;
}

.testimonial-content span {
  color: #99a1af;
  font-size: .990rem;
}

.testimonial-img-box {
  background-color: #00315e;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.our-community ul.nav-pills {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}

@media (max-width: 768px) {
  .testimonial-swiper .swiper-pagination {
    position: unset;
  }
  .left-navbar {
    justify-content: space-between;
    width: 100%;
  }
  .navbar-nav .nav-link.header-button {
    margin-top: 20px;
  }
  .right-navbar {
        width: 100%;
    }
   .right-navbar .navbar-collapse.show {
        margin-top: 15px;
        padding-top: 6px;
        border-top: 1px solid #ccc;
        width: 100%;
    }
}


/*  */
.vertical-text-swiper {
  width: 320px;
  height: 360px;
  margin: auto;
  perspective: 1000px;
  overflow: hidden;
  position: relative;
}

.vertical-text-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  opacity: 0.3;
  transform: scale(0.7) rotateX(65deg);
  filter: blur(2px);
  z-index: 1;
}

.vertical-text-swiper .swiper-slide p {
  /* display: none; */
  color: #fff;
  background: rgba(2, 37, 69, 0.6);
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 18px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 255, 200, 0.15);
  border-top: 133px solid rgba(2, 37, 69, 0.6);
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
}

.vertical-text-swiper .swiper-slide.is-active {
  opacity: 1;
  transform: scale(1) rotateX(0deg);
  filter: none;
  z-index: 5;
}

.vertical-text-swiper .swiper-slide.is-active p {
  display: block;
  animation: flipIn 0.6s ease;
  border: 0;
}

@keyframes flipIn {
  0% {
    transform: rotateX(90deg);
    opacity: 0;
  }

  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}



.about-card {
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    overflow: hidden;
    margin-bottom: 30px;
    height: 100%;
    padding: 25px 45px;
    text-align: center;
    border: 1px solid #dce0e5;
    place-content: center;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.hero-gradient svg {
    stroke: #fff;
}

ul.course-list {
    list-style: none;
    padding: 0;
}

ul.course-list li.course-list-items {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px 10px;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.95rem;
}
span.tag-list-items {
    font-size: 0.75rem;
    line-height: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    background-color: #e8bc2c26;
    border-radius: 9999px;
}
.course-card .hero-gradient h3 {
    font-size: 1.3rem;
}
.hero-gradient{
    background-color: var(--primary-color) !important;
    color: #fff;
    padding: 1.5rem;
}

.about-card .svg-box{
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 9999px;
    background-color: var(--button-color);
    border-color: var(--button-color);
    margin: 0 auto;
}















