/**
/* Responsive adjust */
@media (max-width: 768px) {
  .module-info { min-width: 150px; }
}
#hero3 {
  width: 100%;
  height: 90vh;
  /* background: url("../img/hero-bg.jpg") top left; */
  background: url("../img/spencg.png") top left;
  background-size: cover;
  position: relative;
}
/* ✅ Mobile view (up to 767px wide) */
@media (max-width: 767px) {
  #hero3 {
    background: url("../img/Spokenmb.png") top left no-repeat;
    background-size: cover;
  }

  .icon img {
    width: 293px !important;
    height: auto;
  }
}


/* Add this to the end of your style.css */
#key-skills .icon-box {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  
  border: 1px solid #ebeef3;

  height: 100%; /* Ensures all cards are the same height */
}




.module-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px; /* Reduced from 30px to save space */
  height: 100%;
  border-top: 4px solid #106eea; /* Moved accent to top for a cleaner look */
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-5px);
  border-top-color: #3b8af2;
}

.module-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.m-count {
  font-size: 12px;
  font-weight: 700;
  background: #f1f6fe;
  color: #106eea;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.module-header h4 {
  margin: 0;
  font-size: 16px; /* Slightly smaller for 4-column layout */
  font-weight: 700;
  color: #222;
}

.module-body p {
  font-size: 16px; /* Compact text */
  margin-bottom: 8px;
  line-height: 1.4;
  color: #555;
}

.module-footer {
  margin-top: auto; /* Pushes footer to bottom */
  padding-top: 12px;
  border-top: 1px solid #f8f9fa;
  font-weight: 700;
  color: #106eea;
  font-size: 12px;
  text-transform: uppercase;
}
  /* Custom Styling for the Modules Table */
  .custom-module-card {
    border-radius: 15px;
    overflow: hidden; /* Ensures the inner table doesn't break the rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: none;
    margin-top: 20px;
  }

  .custom-table {
    margin-bottom: 0;
  }

  .custom-table thead th {
    background-color: #223F92; /* Modern primary blue */
    color: white;
    border: none;
    padding: 18px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .custom-table tbody td {
    padding: 20px;
    vertical-align: middle;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
  }

  /* Hover effect for rows */
  .custom-table tbody tr:hover td {
    background-color: #f8f9ff;
    color: #000;
  }

  /* Making the Module column stand out */
  .module-name {
    color: #4154f1;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
  }

  /* Adding a subtle pill-style look to the "What You Will Gain" column */
  .gain-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #eef0ff;
    color: #4154f1;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
  }
    /* Spacing adjustments to match CareerX exactly */
    section { padding: 80px 0; }
    .section-bg { background-color: #f6f9fe !important; }
    
   
 
    
    .skill-badge {
      background: #e7f1ff;
      color: #106eea;
      padding: 8px 18px;
      border-radius: 50px;
      display: inline-block;
      margin: 5px;
      font-weight: 600;
      font-size: 16px;
    }

    .registration-step {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      border-left: 5px solid #106eea;
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
      margin-bottom: 20px;
    }
	@media (min-width: 1024px) {
  .section-title p {
    width: 80% !important; /* Increases width from 50% to 80% */
    max-width: 1100px;      /* Prevents text from becoming too long on ultra-wide monitors */
    margin: 15px auto 0 auto;
  }
}

  .btn-register {
      background-color: #106eea;
      color: #fff !important;
      padding: 14px 32px;
      font-size: 1.1rem;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
.btn-register:hover {
  background-color: #106eea; /* Changes background to white */
  color: #4154f1;            /* Changes text to blue so it's visible */
  border: 2px solid #4154f1; /* Keeps the border so it doesn't "shrink" */
  text-decoration: none;
}
/* Target the class or ID of that white box */
.registration-box {
    max-width: 600px; /* Adjust this number until it looks right */
    margin: 0 auto;   /* This keeps the box centered */
    width: 100%;      /* Ensures it stays responsive on mobile */
}

















/* Custom Styling for Key Skills (No Boxes) */
#key-skills .skill-item {
  width: 100%;
  text-align: center;
  padding: 20px;
  background: transparent; /* Removes white background */
  border: none;            /* Removes borders */
  transition: transform 0.3s ease;
}

#key-skills .skill-item:hover {
  transform: translateY(-5px); /* Subtle lift effect on hover */
}

#key-skills .skill-icon {
  margin: 0 auto 15px auto;
  width: 80px;  /* Adjust size as needed */
  height: 80px; /* Adjust size as needed */
  display: flex;
  align-items: center;
  justify-content: center;
}

#key-skills .skill-icon img {
  max-width: 100%;
  height: auto;
  display: block;
}

#key-skills .skill-item h4 {
  font-weight: 700;
  font-size: 20px;
  color: #222222;
  margin-top: 10px;
}

/* Override existing icon-box styles if classes are still applied */
#key-skills .icon-box {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Ensure container width matches Index exactly */
.container {
    max-width: 1320px; /* Standard for Bootstrap 5.3.2 used in Index */
}

/* Ensure the logo margin matches index.html exactly */
#header .logo {
  margin-left: -95px; /* Matches the style.css used by index */
}

@media (max-width: 768px) {
  #header .logo {
    margin-left: 0; 
  }
}

/* Fix the Navbar active state */
.navbar .active, .navbar .active:focus {
  color: #106eea;
}

/* Remove the white box background for the Key Skills as requested earlier */
#key-skills .skill-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* Force the header container to match the width/spacing of the Index page */
#header .container {
    max-width: 1140px; /* This is the Bootstrap 4 container width used on Index */
    padding-left: 15px;
    padding-right: 15px;
}

/* Match the logo shift from index.html */
#header .logo {
    margin-left: -95px; 
}

/* Ensure the nav links have the same padding as the index page */
.navbar a, .navbar a:focus {
    padding: 10px 0 10px 30px;
}

/* Correct for mobile: Reset margins so it looks good on phones */
@media (max-width: 1200px) {
    #header .logo {
        margin-left: 0;
    }
    #header .container {
        max-width: 100%;
    }
}







/* --- Course Learning Modules Table Styling --- */

.module-table-container {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-top: 20px;
}

.custom-module-table {
  margin-bottom: 0;
  vertical-align: middle;
}

.custom-module-table thead th {
  background-color: #106eea;
  color: #fff;
  border: none;
  padding: 18px 15px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.custom-module-table tbody td {
  padding: 20px 15px;
  color: #444;
  line-height: 1.6;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
}

.col-module {
  min-width: 220px;
}

.module-badge {
  display: inline-block;
  background: #eef5ff;
  color: #106eea;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.module-title {
  display: block;
  font-weight: 700;
  color: #222;
  font-size: 16px;
}

.gain-text {
  font-weight: 600;
  color: #106eea;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .custom-module-table thead {
    display: none; /* Hide headers on very small screens to use a card-like flow */
  }
  
  .custom-module-table tbody td {
    display: block;
    width: 100%;
    padding: 10px 20px;
	text-align: center;
    border: none;
  }

  .custom-module-table tbody tr {
    display: block;
    margin-bottom: 20px;
    border-bottom: 2px solid #ebeef3;
    padding-bottom: 10px;
  }

  /* Add labels for mobile view so users know what each column is */
  .custom-module-table td::before {
    content: attr(data-label);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    color: #999;
    margin-bottom: 5px;
  }
}












