/* Custom button color */
.btn-success {
    background-color: #173D2C !important;  /* button background */
    border-color: #173D2C !important;      /* button border */
    color: #ffffff !important;             /* button text color */
}

/* Optional: hover effect */
.btn-success:hover {
    background-color: #145233 !important;  /* slightly darker on hover */
    border-color: #145233 !important;
    color: #ffffff !important;
}
.d-flex.gap-3 {
    gap: 15px !important;
}
/* =========================
   COURSES HORIZONTAL SCROLL
========================= */
..expert-slider{
    overflow: hidden;
    width: 100%;
}

.expert-track{
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollExperts 20s linear infinite;
}

.expert-item{
    min-width: 320px;
}

.expert-img{
    width: 320px;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

/* Seamless loop */
@keyframes scrollExperts{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}
/* Courses horizontal scroll */
.courses-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}
/*explore courses*/
/* ===== Career Paths Section ===== */
.section-title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    color: #173D2C;
}

/* Set row to right-to-left */
.career-row {
    direction: rtl; /* Makes flex items align from right to left */
    gap: 15px;
}

/* ===== Career / Course Cards Horizontal Layout ===== */

/* Container: keep flex horizontal and scrollable if overflow */
.career-row, .courses-scroll {
    display: flex;
    flex-wrap: nowrap;       /* stay in a single row */
    gap: 15px;
    overflow-x: auto;        /* allow horizontal scroll on small screens */
    padding-bottom: 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* smooth scrolling for mobile */
}
.custom-green {
    background-color: #173D2C;
}
/* footer */
#footer-part {
    background-color: #173D2C;
    color: #ffffff;
}
.footer-top {
    background-color: #173D2C;
}

.footer-copyright {
    background-color: #0f2a1f; /* slightly darker for contrast */
}

/* Individual cards */
.courses-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.courses-scroll::-webkit-scrollbar {
    height: 6px;
}

.courses-scroll::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.course-item {
    flex: 0 0 300px;
    animation: slideInUp 0.6s ease-out;
}

.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}

.course-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #173D2C;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

.course-card .content {
    padding: 18px;
}

.course-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.course-card p {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    font-weight: 500;
}

.course-card .btn {
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
}

.course-card .btn-success {
    background: #173D2C;
    border: none;
    color: white;
}

.course-card .btn-success:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Scrollbar style */
.courses-scroll::-webkit-scrollbar,
.career-row::-webkit-scrollbar {
    height: 6px;
}

.courses-scroll::-webkit-scrollbar-thumb,
.career-row::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

/* Mobile: keep horizontal scroll but reduce card width */
@media (max-width: 576px) {
    .career-col, .course-item {
        flex: 0 0 250px;   /* smaller cards on phones */
    }
}

/* Value button styling */
.value-btn {
    display: block;
    background: #f1f1f1;
    color: #333;
    padding: 18px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.value-btn:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    color: #000;
}

/* ===== Career Ready Plan Section - Horizontal Always ===== */
.career-row-wrapper {
    overflow-x: auto;              /* horizontal scroll if needed */
    overflow-y: hidden;            /* hide vertical scroll */
    width: 100%;
    padding: 20px 0;
    
    -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
}

.career-row {
    display: flex;
    flex-wrap: nowrap;             /* never wrap cards */
    gap: 15px;
    justify-content: flex-start;   /* align from left */
}

.career-col {
    flex: 0 0 200px;               /* fixed width for each card */
    direction: ltr;                /* keep text readable */
}

.career-card {
    background: #173D2C;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.career-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.career-card h6 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.career-card p {
    font-size: 13px;
    color: #fff;
    margin-bottom: 12px;
}

.btn-career {
    background: #fff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-career:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

/* Scrollbar styling */
.career-row-wrapper::-webkit-scrollbar {
    height: 6px;
}

.career-row-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
}

/* Mobile adjustments - auto + manual sliding for all career rows */
@media (max-width: 576px) {
    .career-row-wrapper,
    .section-padding .career-row {
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory; /* enable snapping */
        -webkit-overflow-scrolling: touch; /* smooth on iOS */
        width: 100%;
    }

    .career-row-wrapper .career-row,
    .section-padding .career-row {
        display: flex;
        width: max-content;
        gap: 10px; /* spacing between cards */
    }

    .career-col {
        flex: 0 0 180px; /* card width */
        scroll-snap-align: start; /* snap each card */
    }

    .career-icon {
        font-size: 24px;
    }

    .career-card h6 {
        font-size: 14px;
    }

    .career-card p {
        font-size: 12px;
    }

    .btn-career {
        font-size: 12px;
        padding: 5px 12px;
    }
}
.nav-search {
    max-width: 320px;
}

.nav-search input {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.nav-search .btn-search {
    border-radius: 0 20px 20px 0;
    background: #f1f1f1;
    border: 1px solid #ced4da;
    border-left: none;
    padding: 0 15px;
}

.nav-search .btn-search:hover {
    background: #e0e0e0;
}
/* BRAND TEXT DEFAULT (DESKTOP) */
.brand-title {
    font-size: 22px;
    font-weight: 800;
    color: #173D2C;
    letter-spacing: 1px;
    line-height: 1;
}

.brand-tagline {
    font-size: 12px;
    font-weight: 600;
    color: #173D2C;
    opacity: 0.8;
    line-height: 1;
}

/* 📱 MOBILE (BIG & RESPONSIVE) */
@media (max-width: 768px) {

    .brand-wrapper {
        max-width: 200px; /* gives room but protects toggler */
    }

    .brand-title {
        font-size: 10vw; /* 🔥 responsive scaling */
        font-weight: 1000;
        letter-spacing: 1px;
        line-height: 1;
    }

    .brand-tagline {
        font-size: 2.5vw;
    }

}
.auth-btns {
    display: flex;
    align-items: center;
}

.auth-btns a {
    margin-left: 55px;
    text-decoration: none;
}

.btn-register {
     background: #173D2C;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
}
.section-padding {
    padding: 35px 0;   /* instead of 60–80px */
}

.section {
    padding: 30px 0;
}
.nav-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 260px;
}

.nav-search input {
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 20px 0 0 20px;
    border: 1px solid #ced4da;
    border-right: none;
    min-width: 0; /* prevents shrinking too much */
}

.nav-search .btn-search {
    padding: 0 12px;
    border-radius: 0 20px 20px 0;
    background: #f1f1f1;
    border: 1px solid #ced4da;
    border-left: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Small screen adjustments */
@media (max-width: 576px) {
    .nav-search {
        max-width: 180px; /* container width */
        flex: 1;
    }

    .nav-search input {
        font-size: 13px;
        padding: 6px 10px;
    }

    .nav-search .btn-search {
        padding: 0 10px;
    }
}

/* =========================
   HERO
========================= */
.hero,
.hero-section {
    text-align: center;
}

/* FIRST HERO */
.hero {
    padding-top: 0; /* remove top padding to sit flush with header */
    padding-bottom: 40px; /* optional bottom padding */
    background: #fff; /* optional section background */
}

/* HERO CONTAINER WITH BACKGROUND */
.hero .container {
    background-color: #f1f1f1; /* your chosen color */
    padding: 20px; /* inner spacing for buttons */
    border-radius: 12px; /* optional rounding */
}

/* SECOND HERO / SECTION */
.hero-section {
    padding: 0 15px 80px; /* remove top gap */
    background: linear-gradient(to right, #d8dbda, #dde6e2);
}

/* HEADINGS */
.hero h3,
.hero-section h3 {
    font-size: clamp(20px, 4vw, 42px);
    font-weight: 800;
    margin: 0 0 5px; /* controlled spacing */
}

/* TEXT STYLES */
.hero strong {
    font-size: 18px;
    color: #2ecc71;
}

.hero span {
    font-size: 14px;
    color: #555;
}

.hero p,
.hero-section p {
    max-width: 700px;
    margin: 0 auto 25px; /* controlled spacing */
    color: #555;
}

/* FORM */
.hero form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    gap: 10px;
}

.hero input {
    flex: 1;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.hero button {
    background: #173D2C;
    border: none;
    padding: 0 25px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
}

/* =========================
   RESPONSIVE FOR HERO
========================= */
@media (max-width: 768px) {
    .hero form {
        flex-direction: column;
    }

    .hero .container {
        padding: 15px; /* slightly less padding on smaller devices */
    }
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

/* =========================
   VALUE BUTTON TEXT OVERFLOW ON SMALL DEVICES
========================= */
@media (max-width: 768px) {
    .value-btn strong,
    .value-btn span {
        white-space: nowrap;      /* prevent wrapping */
        overflow: hidden;         /* hide overflow */
        display: block;
        max-width: 100%;
    }
}
/* Background color for hero container only */
.hero .container {
    background-color: #f1f1f1; /* change to any color you want */
    border-radius: 12px; /* optional: rounded corners */
   
}
/* Background color for hero container only */
.hero1 .container {
    background-color: #f1f1f1; /* change to any color you want */
    border-radius: 12px; /* optional: rounded corners */
   
}
.hero1 .first-container {
    /*background-color: #f1f1f1; /* change to any color you want */
    border-radius: 12px; /* optional: rounded corners */
   
}
/* =========================
   FIX HEADER TOP AND MAIN
========================= */

/* Top header bar */
.header-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1040; /* above main header */
    background-color: #173D2C; /* adjust color */
    color: #fff;
    padding: 6px 0;
}

/* Main navbar below the top header */
.header-main {
    position: fixed;
    top: 36px; /* adjust based on header-top height */
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: #fff; /* navbar background */
    border-bottom: 1px solid #eee;
}

/* Adjust container inside header-top */
.header-top .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Adjust hero section so it's not hidden behind headers */
.hero1 {
    padding-top: 130px; /* sum of header-top + header-main heights */
}

/* Optional: make text inside header-top smaller for mobile */
@media (max-width: 768px) {
    .header-top {
        padding: 4px 0;
        font-size: 12px;
    }
    .header-main {
        top: 28px; /* adjust if header-top height changes on mobile */
    }
    .hero1 {
        padding-top: 130px; /* adjust accordingly */
    }
}
/* Platform Stats Section */
.stats-row {
    display: flex;
    flex-wrap: nowrap; /* keep inline */
    justify-content: center;
    gap: 15px;
    overflow-x: auto; /* horizontal scroll if too small */
    padding: 20px 0;
}

.stats-col {
    flex: 0 0 140px; /* slightly bigger cards */
}

.stats-card {
    background: #173D2C; /* Forest Green */
    padding: 18px;
    border-radius: 15px;
    color: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.stats-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

/* Numbers in white */
.stat-number {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 5px 0;
}

/* Text under numbers */
.stats-card p {
    font-size: 13px;
    color: #e6ffe6; /* light green-white for readability */
    margin: 0;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .stats-col {
        flex: 0 0 110px;
    }

    .stats-icon {
        font-size: 24px;
    }

    .stat-number {
        font-size: 18px;
    }

    .stats-card p {
        font-size: 12px;
    }
}
/* PERSONALITY ASSESSMENT & RESUMÉ */
.skill-card {
    background: #f1f1f1;
    color: #333;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.skill-card:hover {
    background: #2ecc71;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .skill-card {
        font-size: 14px;
        min-height: 60px;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .category-text h2 {
        font-size: 20px;
    }
    .category-card .icon img {
        width: 50px;
        height: 50px;
    }
    .category-card span {
        font-size: 14px;
    }
}
/* FIX: prevent fixed headers from covering modal */
.modal-dialog {
    margin-top: 140px; /* adjust to total header height */
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .modal-dialog {
        margin-top: 120px;
    }
}
h6{
    color:#fff;
}
.idea-card {
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
}

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

.idea-img {
    height: 180px;
    object-fit: cover;
}

.section-padding {
    padding: 60px 0;
}

.idea-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.navbar-toggler {
    border-color: #FFC107;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FFC107' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}