:root {
    --primary-color: #3a75eb;
    --secondary-color: #15c8f0;
    --btn-purple:var(--primary-color);
    --dark-blue: #582cb4;
    --ultramarine-blue: #2c3cb4; 
    --dark-purple: #231f41;
    --old-lavender: #6f6b80; 
    --white-2: #f5f5f5; 
    --white-10: #ffffff1a; 
    --white: #fff;
  
    --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;
  }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.custom-navbar { 
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav-link {
    font-weight: 500;
    color: #333;
    margin: 0 12px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color:#063;
}

.nav-link.dropdown-toggle::after {
    display: none;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
 

.navbar-nav .nav-button {
    margin-left: 8px;
}

.navbar-toggler
{
    font-size: 13px;
    border: transparent;
}

.btn-outline-success {
    border-color:#063;
    color:#063;
}

.btn-outline-success:hover {
    background-color:#063;
    color: white;
}

.hero-section {
    background-image:url('../tekkbridge_image/tekkbridge_hero_image.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    position: relative; 
    overflow: hidden;
}

.logo-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.logo-text {
    color:#063;
    font-weight: 600;
}

.get-involved-btn {
  background-color:var(--primary-color);
    color: #1F1F1F;
    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);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4a4a4a;
    margin-bottom: 50px;
}

.category-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.bg-women
{
    background-image:url('../dwypd_image/dwypd_women.png');
    background-size: cover;
    background-position: center;
}

.bg-network
{
    background-image:url('../tekkbridge_image/network-1.png');
    background-size: cover;
    background-position: center;
}

.bg-network-2
{
    background-image:url('../tekkbridge_image/network-2.png');
    background-size: cover;
    background-position: center;
}
.category-card:hover {
    transform: translateY(-10px);
}

.category-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #333;
}

.analysis-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.card {
    height: 300px;
    border-radius: 15px;
    border: none;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.call-to-action .card {
    height: 50vh;
    border-radius: 15px;
    border: none;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}


/* Mobile-specific adjustments */
@media (width <= 1024px) {
  .call-to-action .card {
      min-height: 200px; /* Minimum height on mobile */
      background-color: rgba(0, 0, 0, 0.5);

  }
  
  .call-to-action .card .card-img {
      height: 100%;
      min-height: 200px; /* Ensure image has minimum height */
      object-fit: cover; /* This prevents stretching */
      object-position: left; /* Centers the image */
  }
  
  .call-to-action .card .card-img-overlay {
      padding: 1rem; /* Smaller padding on mobile */
  }
  
  .call-to-action .btn {
      width: auto; /* Ensure button isn't too wide */
      padding: 0.5rem 1rem; /* Adequate padding */
  }
}

.call-to-action .card .card-img-overlay { 
    overflow: hidden;
    background-color: #00000030;
}

.card-green {
    background-color: #2e7d32;
    color: white;
}

.card-dark {
    background-color: #212121;
    color: white;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
}

.circle-overlay {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    top: -50px;
    right: -50px;
}

.indicator-dot {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    bottom: 25px;
    right: 25px;
}

.dot-white {
    background-color: white;
}

.dot-orange {
    background-color: #ff9800;
}

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


/* Main grid layout */
.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

/* Program card styling */
.programme-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Card icon styling */
.card-icon {
    background-color:var(--primary-color); /* Navy blue similar to image */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.card-icon ion-icon, .card-icon i {
    font-size: 26px;
}

/* Card text content */
.card-title {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.card-title a {
    color: inherit;
    text-decoration: none;
}

.card-meta {
    color: #6c757d;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}


/* Modal styling */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    padding: 15px 20px;
}

.modal-body {
    padding: 0;
}

.modal-body p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.program-img-size {
    max-height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

/* Table styling in modal */
.modal-body table {
    margin-bottom: 0;
}

.modal-body th {
    font-weight: 600;
    color: #495057;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-list {
        grid-template-columns: 1fr;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    
    .programme-card {
        padding: 15px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-title {
        font-size: 16px;
    }
}

/* Navbar styles */
.navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
  }
  
  .navbar-brand img {
    height: 50px;
  }
  
  .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);
  }
  
  .explore-section .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);
    height: inherit;
  }
  
  .explore-section .category-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .explore-section .category-img {
    object-fit: cover;
    border-radius: 10px;
  }
  
  .explore-section .category-info {
    padding: 1rem;
  }
  
  .explore-section .category-info h3 {
    font-size: 12px;
    margin-bottom: 0.25rem;
  }
  
  .explore-section .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: black;
  }
  
  .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;
  }
  
  .rounded-20
  {
    border-radius: 20px
  }
  
  
  .hero
  {
    background: url('../images/hero-bg-texture4.png');
  background-clip: border-box; 
  background-repeat: no-repeat;
  background-size: cover;
  }
  
  
  .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);
}

  