/* Root Colors */
:root {
  --heading-color: #010232;
  --sub-heading-color: #2c2e7a;
  --text-color: #333333;
  --bg-color: #f8f9fa;
  --border-color: #e54249;
  --link-color: #f5f5f5;
  --button-color: #666666;
  --hover-color: #a5181d;
}

body {
  font-family: "Poppins", sans-serif !important;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

/* Modal Background */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 2, 50, 0.6);
  display: none;
  z-index: 998;
}

/* Modal Forms */
.form-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 400px;
  background: #fff;
  padding: 30px 25px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: none;
  transition: transform 0.3s ease;
}

.form-modal h2 {
  margin-bottom: 20px;
  color: var(--heading-color);
  text-align: center;
}

.form-modal input {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-modal button {
  width: 100%;
  padding: 12px;
  background-color: var(--border-color);
  border: none;
  color: white;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-modal button:hover {
  background-color: var(--hover-color);
}

.topbar-wrapper {
  background-color: var(--sub-heading-color);
  color: var(--link-color);
  font-size: 18px;
  font-weight: 300;
}
.topbar-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.social-icons a {
  color: var(--link-color);
  font-weight: 500;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.social-icons a:hover {
  color: var(--hover-color);
  font-weight: 600;
  transform: scale(1.2);
}

.topbar-wrapper a {
  text-decoration: none;
  transition: color 0.3s ease, font-weight 0.3s ease;
}
.topbar-wrapper a:hover {
  color: var(--hover-color) !important;
  font-weight: 600;
}
.navbar {
  background-color: var(--bg-color);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.logo {
  height: 60px;
}
.navbar-nav {
  gap: 40px;
}
.navbar .nav-link {
  color: var(--heading-color);
  font-weight: 500;
  font-size: 20px;
  transition: color 0.3s ease-in-out;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--hover-color) !important;
}

.navbar .top-button {
 display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--border-color), var(--hover-color));
  color: #fff!important;
  border-radius: 6px;
  font-weight: 500!important;
  text-decoration: none;
  transition: 0.3s ease;
}

.navbar .btn-primary:hover {
 background: linear-gradient(90deg, var(--hover-color), var(--border-color));
}

.bg-dark {
  background-color: var(--sub-heading-color) !important;
}

.bg-dark a {
  color: var(--link-color);
}

.bg-dark a:hover {
  color: var(--hover-color);
}
/* slider css */
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  max-height: 800px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
  display: flex;
  align-items: center;
}
.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* Adjust opacity (0.3–0.6 works well) */
  z-index: 1;
  border-radius: inherit;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.content {
  max-width: 700px;
  width: 90%;
  color: #fff;
  margin-left: 5%;
  z-index: 2;
}

.content h1 {
  color: #fff;
  font-size: clamp(20px, 4vw, 60px);
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 106%;
  margin-bottom: 20px;
}

.content h4 {
  color: #fff;
  font-size: clamp(15px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 106%;
  margin-bottom: 20px;
}

.content p {
  color: #fff;
  font-size: clamp(12px, 1vw, 20px);
  letter-spacing: 0.3px;
  /* line-height: 106%; */
}

.btn-group {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
}

.slider-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px !important;
  color: #fff !important;
  padding: 20px 20px !important;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 22px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
}
.slider-btn span {
  letter-spacing: 0.3px;
  line-height: 106%;
  border-radius: 5px;
  white-space: nowrap;
  font-weight: 600;
}

.slider-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-radius: 28px;
  background: rgba(46, 72, 202, 0.611);
  width: 40px;
  height: 40px;
  padding: 20px 20px !important;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  z-index: 0;
}

.slider-btn span,
.slider-btn svg {
  position: relative;
  z-index: 1;
}

/* Arrow styling */
.slider-btn svg {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

/* Hover effects */
.slider-btn:hover::before {
  width: 100%;
  background: rgba(46, 72, 202, 0.845);
}

.slider-btn:hover svg {
  transform: translateX(5px);
}
/* manogetcss */
/* मनोगत Section */
.manogat-section {
  max-width: 1100px;
  width: 100%;
  margin: 30px auto;
  padding: 20px;
}

.manogat-heading {
  text-align: center;
  margin-bottom: 40px;
}

.manogat-heading h2 {
  display: inline-block;
  background: linear-gradient(135deg, #e60000, #b30000);
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px; 
  font-size: 32px;
  font-weight: bold;

  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manogat-heading h2:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.manogat-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.manogat-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  flex: 1 1 45%;
  max-width: 500px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manogat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

.manogat-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  margin-bottom: 15px;
}

.manogat-card h3 {
  margin: 8px 0;
  font-size: 20px;
  color: #222;
  font-weight: bold;
}

.manogat-card .role {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.manogat-card .text {
  text-align: justify;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.manogat-card.preview .text {
  max-height: 120px;
  overflow: hidden;
}

.manogat-card .readmore {
  display: inline-block;
  margin-top: 10px;
  color: #e60000;
  font-weight: bold;
  text-decoration: none;
}

.manogat-card .readmore:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .manogat-card {
    flex: 1 1 100%;
  }
}





/* ===== Feature Course Section ===== */
.our-feature-course-one {
  background: #f9f9f9;
}

.feature-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  align-items: center;
  padding: 20px;
  transition: all 0.3s ease;
  height: 300px;
}

.feature-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}

.icon {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.icon img {
  max-width: 80px;
}

.feature-block:hover .icon {
  left: 50%;
  transform: translateX(50%);
}

.feature-content h5 {
  text-align: center;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}
.feature-content h5 a {
  font-size: 25px;
  font-weight: 700;
  text-decoration: none;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.feature-block:hover .feature-content h5 a {
  color: var(--hover-color);
}
.feature-content p {
  text-align: center;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}
/* about css */
.about-section {
  padding: 80px 20px;
  overflow: hidden;
}

.abt-container{
    display: flex;
  flex-wrap: wrap;
  max-width: 1400px;
  width: 100%;
  margin: auto;
  align-items: center;
  justify-content: center;
  gap: 240px;
}
.abt-sec{
  max-width:500px;
  width: 100%;
}
.custom-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1400px;
  width: 100%;
  margin: auto;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.about-text h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  color: var(--heading-color);
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  position: relative;
}

.about-text h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 6px;
  background: var(--hover-color);
  margin-top: 8px;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.about-text a {
  text-decoration: none;
}

.btn-readmore {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--border-color), var(--hover-color));
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-readmore:hover {
  background: linear-gradient(90deg, var(--hover-color), var(--border-color));
}

.about-us {
  display: flex;
  justify-content: center;
}

.about-images {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.image-wrapper {
  border-radius: 12px;
  overflow: hidden;
}

.image-wrapper img {
  display: block;
  width: 500px;
  height: auto;
  object-fit: cover;
}

.top-img {
  z-index: 2;
}

.bottom-img {
  width: 500px;
  height: auto;
  position: relative;
  margin-top: -160px;
  margin-left: 120px;
  z-index: 3;
}

.dotted-img {
  width: 140px;
  height: auto;
  position: absolute;
  top: 150px;
  right: -63px;
  z-index: 1;
}
/* ===== Popular Category Section ===== */
.category-section {
  padding: 60px 20px;
  text-align: center;
}
.category-container {
  max-width: 1400px;
  width: 100%;
  margin: auto;
}

.section-subtitle {
  font-size: 18px;
  color: var(--hover-color);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 6px;
  position: relative;
}
.section-title::after {
  margin: auto;
  content: "";
  display: block;
  width: 80px;
  height: 6px;
  background: var(--hover-color);
  margin-top: 5px;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
}
.section-hr {
  width: 80px;
  height: 6px;
  background: var(--hover-color);
  border: none;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  margin: auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.category-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-card .icons {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icons img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.category-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--sub-heading-color);
  margin-bottom: 8px;
}

.course-count {
  font-size: 14px;
  font-weight: 500;
}

.course-count.green {
  color: green;
}
.course-count.blue {
  color: #007bff;
}
.course-count.orange {
  color: orange;
}
.course-count.pink {
  color: #cc33cc;
}
.course-count.red {
  color: red;
}

.btn-wrapper {
  margin-top: 40px;
}

/* Section Container */
.instructor-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 50px;

  color: #fff;
  overflow: hidden;
}
.instructor-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(61 63 154 / 51%);
  z-index: 1;
}
.area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.1);
  z-index: 0;
}

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.6);
  animation: animate 25s linear infinite;
  bottom: -150px;
}

/* Left Circles */
.circles li.left:nth-child(1) {
  left: 5%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}
.circles li.left:nth-child(2) {
  left: 10%;
  width: 40px;
  height: 40px;
  animation-delay: 2s;
  animation-duration: 18s;
}
.circles li.left:nth-child(3) {
  left: 15%;
  width: 60px;
  height: 60px;
  animation-delay: 4s;
}

/* Right Circles */
.circles li.right:nth-child(4) {
  right: 10%;
  width: 50px;
  height: 50px;
  animation-delay: 1s;
  animation-duration: 20s;
}
.circles li.right:nth-child(5) {
  right: 5%;
  width: 100px;
  height: 100px;
  animation-delay: 3s;
}

/* Animation Keyframes */
@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

.instructor-content {
  margin: 0 auto;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
}

.instructor-content h2 {
  font-size: clamp(28px, 4vw, 70px);
  font-weight: 700;
  margin-bottom: 15px;
}

.instructor-content p {
  font-size: 25px;
  margin-bottom: 20px;
  font-weight: 300;
}

.instructor-features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 50px;
  margin-bottom: 50px;
}

.instructor-features li {
  font-size: 20px;
  font-weight: 500;
}

/* coursessection */

.course-section {
  padding: 50px 20px;
}
.course-container {
  max-width: 1400px;
  margin: 0 auto;
}

.course-tabs {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.course-tabs li {
  cursor: pointer;
  padding: 8px 15px;
  font-weight: 500;
  color: var(--heading-color);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.course-tabs li.active {
  color: var(--border-color);
  border-bottom: 3px solid var(--border-color);
}

.course-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}

.course-card-wrapper {
  flex: 0 0 calc(33.333% - 20px);
}

.course-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}
.course-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-bottom: 5px solid var(--hover-color);
  transform: translateY(-5px);
}
.course-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.course-image img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--border-color);
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 4px;
}

.course-body {
  padding: 15px;
}

.course-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating {
  font-size: 14px;
  color: #ffc107;
  margin-bottom: 10px;
}

.rating span {
  font-size: 12px;
  color: #777;
}

.bookmark {
  color: #aaa;
}

.course-title a {
  text-decoration: none;
  color: var(--heading-color);
}

.course-meta {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #777;
}

.course-meta i {
  color: var(--border-color);
}

.course-body p {
  font-size: 14px;
  color: var(--text-color);
  margin: 10px 0;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 10px;
}

.author-meta img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.author-meta a {
  color: var(--border-color);
  text-decoration: none;
}

.course-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.price {
  font-size: 16px;
  font-weight: bold;
}

.price .old {
  text-decoration: line-through;
  font-size: 14px;
  color: #999;
  margin-left: 5px;
}

.btn-link {
  text-decoration: none;
  color: var(--border-color);
  font-size: 14px;
}

/* countercss */

.counter-section {
  position: relative;
  padding: 100px 20px;

  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  text-align: center;
}

.counter-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(127 133 175 / 50%);
  z-index: 1;
}

/* .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
} */

.counter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.counter-box {
  flex: 1 1 200px;
  max-width: 250px;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-10px);
}

.counter {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  font-family: var();
}

.counter-box p {
  font-size: 18px;
  color: var(--bg-color);
}

/* Responsive Design */

/* Scroll-to-top Progress Button */

.rbt-progress-parent {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  cursor: pointer;
  display: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
  display: flex;
  transition: opacity 0.3s ease;
}

.rbt-back-circle {
  position: absolute;
  top: 0;
  left: 0;
}

.rbt-back-circle circle {
  stroke: var(--heading-color);
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.2s linear;
}

.arrow-icon {
  position: relative;
  font-size: 25px;
  color: var(--hover-color);
  z-index: 2;
}

/* whatwilllearn */

.learning-section {
  background-color: var(--bg-color);
  padding: 80px 20px;
}
.custom-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.learning-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

/* === Left Intro Column === */
.learning-intro {
  flex: 1 1 30%;
  min-width: 350px;
  position: sticky;
  top: 100px; 
  align-self: flex-start;
}


.learning-title {
  color: var(--heading-color);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.learning-description {
  color: var(--text-color);
  font-size: 18px;
  margin-bottom: 30px;
}

.learning-button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--border-color), var(--hover-color));
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.learning-button:hover {
  background: linear-gradient(90deg, var(--hover-color), var(--border-color));
}

.learning-grid {
  flex: 1 1 65%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.learning-card {
  background-color: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.learning-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 60px;
  margin-bottom: 15px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sub-heading-color);
  margin-bottom: 10px !important;
}

.card-text {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
}

.card-bg-link {
  background-color: #d1d6eb;
  color: var(--heading-color);
}

.card-bg-light {
  background-color: #ffd0d3;
  color: var(--border-color);
}

.card-bg-border {
  background-color: rgb(66 91 229 / 15%);
  color: var(--hover-color);
}

.card-bg-hover {
  background-color: rgb(255 4 4 / 37%);
  color: var(--heading-color);
}

.card-bg-muted {
  background-color: rgb(160 196 240 / 44%);
  color: var(--heading-color);
}
  .highlight-box {
  background: #fff7e6;
  border-left: 6px solid #f39c12;
  padding: 20px;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.highlight-box h3 {
  color: #c0392b;
  font-size: 20px;
  margin-bottom: 10px;
}

.highlight-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}
/* ========== Responsive ========== */

/* conatcfoms */

.contact-section {
  position: relative;

  padding: 80px 20px;
  overflow: hidden;
  color: var(--white);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgb(125 124 161 / 80%);
  z-index: 1;
}

.contact-content {
     display: flex;
    flex-wrap: wrap;
    gap: 50px;
    z-index: 3;
    justify-content: space-between;
    position: relative;
}

.contact-left,
.contact-right {
  flex: 1 1 45%;
}

.contact-left h2 {
  color: #fff;
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-left p {
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  max-width: 500px;
  width: 100%;
}

.sol-icons {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  gap: 25px;
  margin-top: 20px;
}

.sol-icons li a {
  display: inline-flex;
  border: 1px solid #fff;
  padding: 15px;
  border-radius: 50%;
  color: #fff;
  transition: background 0.3s;
}

.sol-icons li a:hover {
  background: var(--primary);
}

form {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  color: #000;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.contact-section input, .contact-section textarea {
  width: 100%;
  padding: 10px;
  padding-top: 20px;
  border: none;
  border-bottom: 1px solid #ffe1e2;
  border-radius: 4px;
  outline: none !important;
  background: transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(255, 225, 226, 0.4); /* bottom-only glow */
}

.contact-section label {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: text;
  pointer-events: none;
  transition: 0.2s;
}

input:focus + label,
textarea:focus + label,
input:valid + label,
textarea:valid + label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  color: #fff;
  background: var(--white);
  padding: 0 4px;
}

textarea {
  min-height: 100px;
}

/* testimonial css */
.ega-testimonial {
  max-width: 1920px;
  width: 100%;
  margin: auto;
  background: linear-gradient(to right, #fff, #fdf2f2);
  padding: 60px 20px;
}

.ega-title {
  font-size: 2rem;
  text-align: center;
  color: #dc2626;
  font-weight: bold;
  margin-bottom: 40px;
}
.ega-container{
  max-width: 1200px;
  width: 100%;
  margin: auto;
}
.ega-story-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;

}

.ega-story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
}

.ega-story-photo {
  border-radius: 50%;
  border: 6px solid #dc2626;
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ega-student-name {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  color: #dc2626;
  margin-bottom: 5px;
}

.ega-student-role {
  text-align: center;
  color: #555;
  font-size: 0.95rem;
}

.ega-story-right {
  position: relative;
  padding: 20px;
}

.ega-quote {
  font-size: 2rem;
  color: #dc2626;
  position: absolute;
  top: 0;
  left: -15px;
}
.ega-quote-right {
  right: -10px;
  bottom: -10px;
  left: auto;
  top: auto;
}

.ega-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}

.ega-institute {
  margin-top: 20px;
  text-align: left;
}

.ega-institute-img {
  width: 100px;
  border-radius: 8px;
  margin-bottom: 5px;
}

.ega-institute-name {
  font-weight: bold;
  font-size: 0.95rem;
  color: #444;
}

/* Scoped Splide controls */
.ega-testimonial .splide__arrow {
  background: #dc2626;
  opacity: 0.9;
}
.ega-testimonial .splide__arrow svg {
  fill: #fff;
}
.ega-testimonial .splide__pagination__page.is-active {
  background: #dc2626;
}

.ega-testimonial .splide__arrow--prev {
    left: -4em;
}
.ega-testimonial .splide__arrow--next {
    right: -4em;
}
/* blogcss */
.latest-articles {
  padding: 60px 20px;
  background-color: #fff;
}
.article-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease;
}

.article-link:hover {
  transform: translateY(-3px);
}

.articles-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.featured-article {
  flex: 1;
  min-width: 300px;
}

.featured-article img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.featured-article h3 {
  font-size: 20px;
  color: #1b2e4b;
  margin: 15px 0 10px;
}
.meta-content {
  flex-direction: column;
  display: flex;
  gap: 20px;
  max-width: 700px;
  width: 90%;
  justify-content: center;
  color: #fff;
}
.featured-article .meta {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.featured-article .meta i {
  color: #b11f38;
  margin-right: 6px;
}

.featured-article p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.other-articles {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 300px;
}

.article-item {
  display: flex;
  gap: 15px;
  background-color: #fff;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-item img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.article-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #1b2e4b;
}

.article-item .meta {
  font-size: 13px;
  color: #6c757d;
}

.article-item .meta i {
  color: #b11f38;
  margin-right: 4px;
}

/* Newsletter Section */
.newsletter-section {
  background: #e4e7fb8a;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsletter-container {
  /* box-shadow: 0 8px 20px rgb(0 0 0 / 0.15); */
  border-radius: 12px;
  /* background-color: #ffcccc61; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  max-width: 1400px;
  margin: auto;
  width: 100%;
  gap: 20px;
  /* flex-wrap: wrap; */
}

.newsletter-text h2 {
  font-size: 28px!important;
  font-weight: 700!important;
  color: #1a1a1a;
  margin-bottom: 10px!important;
}

.newsletter-subtext{
  font-size: 16px!important;
  color: #555!important;
  margin-bottom: 20px!important;
}

/* Right Form */
.newsletter-form {
  padding: 0px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row!important;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  border-color: #4e73df;
}

.newsletter-form button {
  display: flex;
  align-items: center;
  background: #4e73df;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px 40px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #2e59d9;
}

.newsletter-image img {
  max-width: 650px;
  width: 100%;
  margin-top: -80px;
  height: auto;
  object-fit: contain;
}
/* Responsive */

/* footer css */

#footer {
  background: #0b0c3a;; 
  color: #ccc;
  
  font-size: 14px;
  line-height: 1.6;
}

/* Footer Main */
.footer-main {
  padding: 50px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: auto;
}

.footer-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
}

/* Text + Links */
.footer-widget p {
  margin-bottom: 15px;
}

.footer-widget a {
  color: var(--hover-color);
  text-decoration: none;
  color: #fff;
}
.footer-widget a:hover {
  text-decoration: underline;
}

/* Button */
.btn {
  display: inline-block;
  background: var(--border-color)!important;
  color: #1e2a38!important;
  padding: 8px 14px!important;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold!important;
  text-transform: uppercase;
  transition: 0.3s;
}
.btn:hover {
  background: var(--heading-color);
}
.playstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 25px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  margin-top: 15px;
  transition: 0.3s;
  text-decoration: none;
}
.playstore-btn:hover {
  background: #f44b45;
  color: #fff;
}
.play-icon {
  
  display: flex;
  align-items: center;
}
.play-text {
  line-height: 1.1;
}
.play-text small {
  font-size: 10px;
  opacity: 0.7;
  text-transform: uppercase;
}

/* Courses */
.course1-list {
  list-style: none;
  padding: 0;
}
.course1-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.course1-list img {
  width: 50px;
  height: 50px;
  margin-right: 12px;
  border-radius: 4px;
}
.course1-meta .course1-title {
  font-weight: bold;
  color: #fff;
}
.course1-meta .course1-expert {
  font-size: 12px;
  color: #aaa;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #ccc;
}
.footer-links a:hover {
  color: #fff;
}

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
}
.contact-list li {
  margin-bottom: 8px;
}
.contact-list i {
  margin-right: 8px;
  color: var(--border-color);
}

/* Footer Bottom */
.footer-bottom {
  background: var(--heading-color);
  padding: 15px 20px;
}
.footer-bottom-flex {
  max-width: 1200px;

  align-items: center;
}

.footer-copy {
  color: #aaa;
  font-size: 13px;
}
.footer-bottom a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .footer-bottom a:hover {
    color: #fff;
  }

  .design-credit {
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 15px;
  letter-spacing: 0.6px;
    color: #fff !important;
    margin-left: 5px;
  }

  .design-credit:hover {
   
    color: #e62001!important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  }
/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* Responsive */

/* ===== Media Queries ===== */
@media (max-width: 1400px) {
  .navbar-nav {
    gap: 20px;
    font-size: 16px;
    font-weight: 300;
  }
  .navbar .top-button {
    margin-left: 20px;
    padding: 5px 20px;
  }
}

@media (max-width: 1200px) {
  .navbar-nav {
    gap: 10px;
    font-size: 16px;
    font-weight: 300;
  }
}

@media (max-width: 1024px) {
  .newsletter-image img {
    max-width: 350px;
  }
}

@media (max-width: 1000px) {
  .navbar-nav {
    gap: 5px;
    font-size: 16px;
    font-weight: 300;
  }
}

@media (max-width: 991px) {
  .course-card-wrapper {
    flex: 0 0 calc(50% - 20px);
  }
  .learning-row {
    flex-direction: column;
  }
  

  .learning-intro,
  .learning-grid {
      position: relative;
       max-width: 100%;
    flex: 1 1 100%;
  }

  .learning-title {
    font-size: 28px;
  }
  .abt-container{
    flex-direction: column;
    gap: 20px;
    
}
  .feature-block{
    height: fit-content;
  }
  .icon-wrapper {
    width: 100px;
    height: 100px;
  }
  .icon img {
    max-width: 60px;
}
.feature-content h5 {
    font-size:1rem;
}
.feature-content p {
    font-size: 12px;
}
}

@media (max-width: 768px) {
  .course-tabs {
    gap: 10px;
    border-bottom: none;
  }

  .course-tabs li {
    flex: 1 1 auto;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 4px;
  }

  .course-tabs li.active {
    border-bottom: none;
    border-color: var(--border-color);
    background-color: rgba(229, 66, 73, 0.1);
  }
  .counter-grid {
    flex-direction: column;
    align-items: center;
  }
  .newsletter-container {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
  }
  .newsletter-image {
    order: -1; /* Image on top in mobile */
  }
  .newsletter-image img {
    max-width: 300px;
    margin-bottom: 20px;
  }
  .footer-row {
    flex-direction: column;
  }
  .contact-content {
    flex-direction: column;
  }
  .instructor-section {
    padding: 30px 20px;
    min-height: 400px;
  }

  .instructor-content {
    max-width: 100%;
  }

  .instructor-features {
    grid-template-columns: 1fr;
  }
  .about-images {
    align-items: center;
  }

  .bottom-img {
    margin-top: -40px;
    margin-left: 20px;
  }

  .dotted-img {
    top: 20px;
    left: 0;
    width: 100px;
  }
  .about-container {
    flex-direction: column;
  }

  .about-images {
    order: -1;
  }

  .top-img,
  .bottom-img {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    margin: 10px 0;
  }
  .topbar-wrapper {
    font-size: 13px;
    font-weight: 300;
  }
  .topbar-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }

  .logo {
    height: 40px;
  }
  .slider {
    height: 70vh;
  }
  .btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5px;
  }
  .ega-card {
    width: 350px !important;
  }
  .feature-block{
    height: fit-content;
  }
  .icon-wrapper {
    width: 80px;
    height: 80px;
  }
  .icon img {
    max-width: 40px;
}
.feature-content h5 {
    font-size: 0.8rem;
}
.feature-content p {
    font-size: 9px;
}
}

@media (max-width: 600px) {
  .course-card-wrapper {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .course-tabs {
    flex-direction: column;
    gap: 8px;
  }

  .course-tabs li {
    width: 100%;
  }
  .slider {
    height: 60vh;
  }
}
