:root {
  --primary-color: #05254b;
  --secondary-color: #6C63FF;
  --btn-purple:#70459b;
  --dark-blue: #582cb4;
  --ultramarine-blue: #2c3cb4; 
  --dark-purple: #231f41;
  --old-lavender: #6f6b80; 
  --white-2: #f5f5f5; 
  --white-10: #ffffff1a; 
  --white: #fff;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;
  --section-padding: 80px; 
  --radius-4: 4px;
  --radius-6: 6px;
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease; 
  --course-blue: #0056D2;
  --course-dark-blue: #00419E;
  --course-light-blue: #E5F0FF;
  --course-text-dark: #1F1F1F;
  --course-text-medium: #6E6E6E;
  --course-border-light: #DEDFE0;
  --course-bg-light: #F5F7F8;
  --course-bg-lighter: #F5F7FA;
}

 

.text-purple {
  color: var(--dark-blue)!important;
}

 

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.8rem 2.5rem;
  border-radius: 5px;
  font-weight: 600;
}

.bg-purple
{
background-color:  var(--primary-color);
}

.bg-dark-purple
{
background-color:  var(--btn-purple);
}

.hero-section .container {
  transition: all 1s ease;
}

.features {
  background: linear-gradient(45deg, #293db3, #8659cd);
  color: white;
  padding: 4rem 0;
}

.feature-content {
  padding: 2rem;
}

 

.border-start {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.steps-section {
  background-color: #f8f9fa;
}

.kubiki-section {
  overflow: hidden;
  background: linear-gradient(45deg, #4e54c8, #8f94fb);
}

.chat-bubble::after {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  animation: typing 3s steps(40, end);
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-section {
  background-color: #f8f9fa;
}

.pricing-section .card {
  transition: transform 0.3s ease;
  background-color: #00274f!important;
  border-radius: 20px;
}

.pricing-section .card:hover {
  transform: translateY(-10px);
}

.pricing-section .btn {
  border-radius: 15px;
}

.step-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.epftechfund-hero-img {
  max-width: 100%;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

.dropdown-menu {
  border: 1px solid var(--primary-color);
  border-radius: 15px;
  padding: 1rem;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  color: var(--primary-color);
}

@keyframes float {
0% { transform: translateY(0); }
0% { transform: translateY(0); }
100% { transform: translateY(0); }
}

@media (max-width: 768px) {
.hero-title {
    font-size: 2.5rem;
}

.hero-section {
    text-align: center;
}

.buttons-wrapper {
    justify-content: center;
}
}

footer
{
  background: linear-gradient(45deg, #4e54c8, #8f94fb);
}

@media screen and (width >= 697px) and (width <= 992px)
{
.epftechfund-hero-img
  {
   display: none;
  }
}

@media screen and (width<= 699px)
{
.epftechfund-hero-img{
height: 40vh;
}

.hero-title
{
font-size: 2.5rem;
}

.hero-section
{
background:#f8fcff;
}

.epftechfund-hero-img
{
  display: none;
}

}

@media screen and (width >= 702px) and (width <= 1180px)
{
.hero-section
{
  top:40px;
}
}

@media screen and (width: 700px - 720px)
{
.hero-section
{
  top:84px;
}
}

@media screen and (max-width: 700px) {
.navbar
{
padding: inherit;
}

.navbar-toggler { 
font-size: 10px;
}

.hero-subtitle
{
display: none;
}

.hero-section .btn, .navbar .btn
{
line-height: 0.5;
margin-top: 2px;
}

.dropdown-menu 
{
padding: inherit
} 

.epftechfund-hero-img
{
  display: inline-block;
}
}

@media (width <= 400px) {
  .epftechfund-hero-img{
  height: 40vh;
  }

  .hero-title
  {
  font-size: 1.5rem;
  }

}

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
} 

button { cursor: pointer; }
 
html { 
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--old-lavender);  
  line-height: 1.6;
  overflow-x: hidden;
}
 
.btn {
  font-weight: var(--fw-700); 
  align-items: center;
  gap: 10px;
  padding: 10px 30px;
  border-radius: var(--radius-6);
  transition: var(--transition-1); 
  text-align: center;
}

.grid-list {
  display: grid;
  gap: 30px;
}
 
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding-block: 20px;
  z-index: 4;
}

.header.active {
  background-color: var(--white);
  box-shadow: var(--shadow-2);
}


.hero { 
  padding-top: 69px; 
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero .container {
  display: grid;
}
 
.programme-card {
  --title-color: var(--dark-purple);
  --meta-color: var(--old-lavender);
  --icon-color: var(--ultramarine-blue);
  --icon-bg: var(--white);

  background-color: var(--white-2);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: var(--radius-6);
  transition: var(--transition-1);
  cursor: pointer;
}

.programme-card .card-icon {
  background-color: var(--primary-color);
  color: var(--white-2);
  font-size: 30px;
  height: 70px;
  min-width: 70px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-4);
  transition: var(--transition-1);
}

.modal-header .programme-card .card-icon
{
  height: 80px;
  min-width: 80px;
}

.programme-card .card-title { color: var(--title-color); }

.card-title a
{
  font-size: initial;
} 

.programme-card .card-meta {
  color: var(--meta-color);
  font-size: var(--fs-7);
  margin-block-start: 5px;
}

 
@media screen and  (width >= 575px) {
  .container {
    max-width: 540px;
    margin-inline: auto;
  }

  .header .container { max-width: unset; }

  .about-banner { position: relative; }
}

@media screen and  (width >= 768px) {
  .container { max-width: 740px; }

  .grid-list { grid-template-columns: 1fr 1fr; }

  .header .container { padding-inline: 30px; }

  .header-actions { gap: 15px; }

  .header-action-btn:not(.login-btn) { padding: 17px; }
 
}

@media screen and  (width >= 992px) {
  .container { max-width: 960px; }

  .hero { overflow: hidden; }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero .abs-img {
    display: block;
    position: absolute;
  }

  .hero-banner {
    position: relative;
    padding-inline-end: 50px;
    margin-block-start: 180px;
  }

  .hero .abs-img-1 {
    width: 250px;
    right: -100px;
    top: -60px;
  }

  .hero .abs-img-2 {
    top: -180px;
    right: 80px;
  }   
}

@media screen and  (width >= 1200px) {
  :root {
    --fs-1: 6.8rem;
  }

  .container { max-width: 1180px; }

  .header { padding-block: 20px;
    background-color: #fff; }

  .header.active { padding-block: 20px; }

  .header.header-anim { animation: slide-in 1s ease forwards; }
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000080; /* Semi-transparent black */
  z-index: 1000;
}

.modal-content {
  position: relative;
  background: #FFF; /* white */
  margin: 8% auto;
  padding: 20px;
  /* width: 80%;
  max-width: 500px; */
  border-radius: 10px;
  z-index: 1000;
}


.header-card-secondary {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: url('../solveforx/solveforx-landing-image.png');
  background-clip: border-box; 
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
}

@media (width <= 682px)
{
  .header-card-secondary
  {
    background-size: cover;
    height: 45vh;
  }
}

.modal-backdrop 
{
z-index: inherit!important;
}

.btn-primary {
background-color: var(--primary-color);
border-color: transparent;
color: white;
}

.card-title .btn-primary
{
font-size: x-small!important;
} 


 
 /* Navbar styles */
 .navbar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-color) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
  font-size: 15px;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.dropdown-toggle::after {
  vertical-align: middle;
}

.navbar .btn {
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 500;
  font-size: 14px;
}

.btn-login {
  color: #333;
  background: transparent;
}

.btn-sm {
  color: #000;
  border: 1px solid #ccc;
  margin-left: 10px;
}

  /* Hover state */
  .btn-sm:hover {
    background-color: var(--primary-color); /* Change to your preferred color */
    color: white;
    border-color: var(--primary-color); /* Same as background color */
  }
  

.btn-signup {
  background-color: var(--btn-purple);
  color: white;
  margin-left: 10px;
}

.btn-signup:hover {
  background-color: #00b4d1;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
  background-color: white;
}

.hero .small-text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
}

.hero .color-text {
  font-size: 1.2rem;
  font-weight: 200;
  margin-bottom: 0;
  color: var(--primary-orange);
}

.hero h1 {
  font-size: 2.0rem;
  font-weight: 500;
  color: var(--dark-blue);
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-image {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 30px auto 0;
}

.btn-signup-hero {
  background-color: #00c7e6;
  color: white;
  font-weight: 500;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}

.btn-signup-hero:hover {
  background-color: #00b4d1;
  color: white;
}

.btn-signup-hero i {
  margin-left: 8px;
}

.no-credit-text {
  font-size: 0.9rem;
  color: #999;
  margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero h1 {
      font-size: 2.2rem;
  }
  
  .navbar .btn {
      margin: 5px;
  }
}

@media (max-width: 767.98px) {
  .hero h1 {
      font-size: 2rem;
  }
  
  .hero .color-text {
      font-size: 2rem;
  }
}

 
.courses-section {
  background-color: var(--course-bg-lighter);
}

.explore-section {
  padding: 4rem 0;
}

.explore-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--course-text-dark);
}

.category-card {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--course-border-light);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--course-text-dark);
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.category-img {
  object-fit: cover;
  border-radius: 10px;
}

.category-info {
  padding: 1rem;
}

.category-info h3 {
  font-size: 12px;
  margin-bottom: 0.25rem;
}

.category-info p {
  font-size: 0.875rem;
  color: var(--course-text-medium);
  margin-bottom: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section {
      text-align: center;
      padding: 3rem 0;
  }
  
  .hero-content {
      margin: 0 auto 2rem;
  }
  
  .hero-title {
      font-size: 2rem;
  }
}

.footer {
  background-color: white;
}

.footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #000;
  color: white;
  transition: opacity 0.2s;
}

.footer .social-icon svg {
  width: 16px;
  height: 16px;
}

.footer .social-icon:hover {
  opacity: 0.8;
}

.copyright {
  color: var(--course-text-medium);
  font-size: 0.875rem;
}

.rounded-20
{
  border-radius: 20px;
}

.rounded-25
{
  border-radius: 25px;
}




.hero
{
  background: url('../images/hero-bg-texture4.png');
background-clip: border-box; 
background-repeat: no-repeat;
background-size: cover;
}

.get-involved-btn {
  background-color:var(--primary-color);
  color: #fff;
  font-weight: 500;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s;
}


.get-involved-btn:hover {
  background-color:var(--secondary-color);
  transform: translateY(-2px);
}


.course-image-container {
  height: 200px; /* Fixed height for all course image containers */
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

 .course-image {
    width: 100%;
    height: 200px; /* set a fixed height */
    object-fit: contain;
    background: #f8f9fa;
    display: block;
}



  .card-bg {
    position: relative;
    background-color: #fff;
    min-height: 400px; /* Adjust as needed */
    overflow: hidden;
  }
  
  /* Diagonal background container */
  .diagonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensures clicks pass through to content */
    overflow: hidden;
    border-radius: 20px; /* Match your rounded-20 class */
  }
  
  /* Primary diagonal (darker purple) */
  .diagonal-primary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 88%;
    height: 80%;
    background-color:var(--primary-color);
    clip-path: polygon(100% 30%, 50% 100%, 100% 100%);
  }
  
  /* Secondary diagonal (lighter purple) */
  .diagonal-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background-color:var(--secondary-color);
    clip-path: polygon(100% 0, 30% 100%, 100% 100%);
  }
  
  .btn-add-cart{
    background-color:var(--secondary-color);
    border: none;
      padding: 10px 24px;
      border-radius: 30px;
      font-weight: 500;
      transition: all 0.3s;
  
  }
  
  .btn-add-cart:hover {
    background-color:var(--primary-color);
    transform: translateY(-2px);
  }
  