
.signup-body {
    position: relative;
    /* background-image: url('/images/banner.jpg'); */
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    z-index: 1; 
}

.signup-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 👈 darkness level */
    z-index: -1; 
}

.form-container{
    position: relative;
    z-index: 2; 
    width: 700px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;    
}

.gender-details {
    margin: 10px;
    padding: 4px;
}

.form-button {
    width: 300px;
    padding: 10px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn-create {
    background-color: #000000;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    margin: 10px 0;
    cursor: pointer; 
}

.container2 {
    position: relative;
    width: 100%;
    padding-left: 10px;
    text-align: right;
}

/* Add this in your global CSS file */
.spinner {
    display: none;
    width: 100%;
    text-align: center;
}

.spinner div {
    width: 40px;
    height: 40px;
    margin: auto;
    border: 4px solid #a9712f;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.pathway-nav {
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding: 10px 0;
    white-space: nowrap;
    scroll-behavior: smooth;
    border-bottom: 1px solid #ccc;
    scrollbar-width: thin;
}


.pathway-nav::-webkit-scrollbar {
    height: 6px;
}

.pathway-nav::-webkit-scrollbar-thumb {
    background-color: #a9712f;
    border-radius: 4px;
}

.pathway-nav button {
    flex: 0 0 auto;
    background-color: #f8f6f3;
    border: 1px solid #a9712f;
    color: #a9712f;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.pathway-nav button:hover {
    background-color: #a9712f;
    color: white;
}

.course-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    padding-bottom: 10px;
    margin-bottom: 1rem;
    scrollbar-width: thin;
    /* width: 100%; */
}

.scroll-card {
    flex: 0 0 300px;
    background-color: #fff;
    border-radius: 8px;
    padding: 6px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.scroll-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.pathway-group {
    width: 100%;
}

.course-level-section{
    width: 100%;
}

.course-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.course-scroll-container::-webkit-scrollbar-thumb {
    background-color: #a9712f;
    border-radius: 4px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    /* grid-template-columns: repeat(2, 450px); */
    gap: 20px;
    margin: 40px auto;
    max-width: 1100px;
}

.benefit-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    /* box-shadow: 0 4px 8px rgba(18, 95, 139, 0.05); */
    box-shadow: 0 4px 0px rgba(6, 141, 219, 0.669);
    /* box-shadow: 4px 0px 0px rgba(255, 210, 7, 0.38); */
    border: 1px solid #e1e1e1;
    transition: box-shadow 0.3s ease;
    transition: transform 0.2s ease-in-out;
}

.benefit-crud{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    padding: 10px 10px;
    margin-bottom: 10px;
}
.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-profile img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
}

.benefit-details h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.benefit-details p {
    margin-top: 4px;
    font-size: 14px;
    color: #444;
}

.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
    scroll-behavior: smooth;
}

/* .course-card {
    min-width: 250px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 6px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
} */

.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.course-card:hover {
    transform: translateY(-5px);
}

.btn-secondary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #0056b3;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    background-color: #f8f8f8;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #e0e0e0;
    border-color: #888;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    font-weight: bold;
}

.btn-show {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.btn-register {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    margin-top: 15px;
    font-weight: bold;
}

.btn-register:hover {
    background-color: #0056b3;
}

.event_section{
    width: 100%;
    /* background-color: #007BFF; */
    margin: auto;
    /* padding: 20px; */

}

.event_container{
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    /* gap: 20px; */
    margin-bottom: 20px;
    height: 620px;

}

.event_details {
    width: 100%;
    padding: 20px 10px;
    
}

.event_details img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-block {
    margin-bottom: 40px;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(4, 154, 241, 0.05);
}

.about-block h2 {
    color: #bfa046;
    margin-bottom: 10px;
}
/* 
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.gallery-item {
    background-color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
} */

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    width: 220px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
}

/* .article-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
} */

.img-modal {
    position: fixed;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.new-hero{
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 20px;
    padding: 20px 0px;
}



.hero-content{
    width: 100%;
    /* display: flex; */
}

.hero-details{
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .course-card {
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 6px 20;
    margin: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s; 
} */

.course-card:hover {
    transform: translateY(-5px);
}

.article-card-link {
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    cursor: pointer;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Style the tab content container */
.tab-content {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 25px;
  margin-top: 15px;
  border-radius: 5px;
  min-height: 200px;
  width: 90%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Style the tab list (horizontal menu) */
.tab-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  border-bottom: 2px solid #ccc;
  margin-top: 30px;
}

/* Each tab item */
.tab-list li {
  margin-right: 10px;
}

/* Tab links */
.tab-list li a {
  display: inline-block;
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  background-color: #f5f5f5;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Active tab */
.tab-list li.active a {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-bottom: none;
  color: #007bff;
}

/* Hover effect */
.tab-list li a:hover {
  background-color: #eaeaea;
  color: #007bff;
}


/* Responsive design */
@media (max-width: 768px) {
    .event-container {
        flex-direction: column;
        align-items: center;
        gap: 0px;
        /* display: flex; */
    }

    .event-section {
    padding: 30px;
    max-width: 100%;
    /* width: 100%; */
    margin: auto;
    margin-bottom: 20px;
}

    .event-image img {
        width: 100%;
        max-width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .event-details {
        padding: 20px;
    }

    .event-details h1 {
        font-size: 1.5em;
    }

    .event-details p {
        font-size: 1em;
    }

    .event-container {
        flex-direction: column;
        align-items: center;
        gap: 0px;
        /* display: flex; */
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    } }