

/* ================================== */
/* HERO SECTION                     */
/* ================================== */
.hero-section {
    position: relative;
    background-image: url('/images/home/heroImage.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    padding: 6rem 0;
    margin-top: 2rem;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100%); */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    /* max-width: 50%; */
    max-width: 85%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: var(--accent-green);
}

.hero-content p {
    font-size: 1.1rem;
    color: #E5E7EB;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.btn-explore {
    background-color: var(--white);
    color: var(--primary-dark);
    padding: 0.6rem 1rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-explore i {
    background-color: var(--background-light);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ================================== */
/* WHY CHOOSE US SECTION            */
/* ================================== */
.why-choose-us {
    padding: 6rem 25px;
    text-align: left;
}

.why-choose-us h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #42519C;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.feature-item {
    padding: 2rem;
}

.feature-item .icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-item .icon-wrapper img {
    width: auto;
    height: auto;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================== */
/* RESPONSIVENESS                   */
/* ================================== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    /* Hide nav links on tablet */
    .btn-register {
        display: none;
    }

    /* Hide button on tablet */
    .mobile-nav-toggle {
        display: block;
    }

    /* Show hamburger icon */

    .hero-content {
        max-width: 70%;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .features-container {
        gap: 1rem;
    }

    .feature-item {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: left;
    }

    .hero-content p {
        /* margin-left: auto; */
        margin-right: auto;
    }

    .hero-content h1 {
        font-size: 2.0rem;
    }

    .why-choose-us {
        /* padding: 4rem 0; */
        padding: 4rem 5px;
        text-align: left;
    }

    .why-choose-us h2 {
        font-size: 2rem;
    }

    .features-container {
        grid-template-columns: 1fr;
        /* Stack features on mobile */
        text-align: center;
    }

    .feature-item .icon-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
}
/* ================================== */
/* INTERNSHIP PROGRAMS SECTION (V2)   */
/* ================================== */
.internship-programs {
    padding: 5rem 240px;
    background-color: #F9FAFB; /* A very light grey background for the whole section */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-dark);
}

.program-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem; /* Increased gap */
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
}

.program-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    background: none;
    border: none;
    padding-bottom: 1rem; /* Adjusted padding */
    cursor: pointer;
    position: relative;
    border-bottom: 3px solid transparent; /* Thicker transparent border */
    transform: translateY(1px); /* Aligns with the main border */
    transition: color 0.3s ease, border-color 0.3s ease;
}

.program-tab:hover {
    color: var(--primary-dark);
}

.program-tab.active {
    color: var(--accent-green);
    font-weight: 600;
    border-bottom-color: var(--accent-green);
}

.program-tab i {
    background-color: #F3F4F6;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.program-tab.active i {
    background-color: #DCFCE7; /* Light green background for the icon */
    color: #22C55E; /* Darker green for the icon itself */
}

.program-tab-placeholder {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9CA3AF;
    padding-bottom: 1rem;
}

.course-grid {
    display: none; /* Hidden by default */
    grid-template-columns: repeat(2, 2fr);
    gap: 2rem;
}

.course-grid.active {
    display: grid; /* Shown when active */
}

/* Reusing and perfecting the card styles from the sidebar */
.course-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(47, 46, 65, 0.08);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: -1px;
    background-color: #DBEAFE; /* A lighter blue for the badge */
    color: #3B82F6;
    padding: 0.25rem 0.75rem;
    border-radius: 99px 0 0 99px;
    font-size: 0.75rem;
    font-weight: 600; /* Bolder text */
}

/* All inner card elements, ensuring they are identical to the sidebar card */
.course-card .card-header { display: flex; align-items: center; gap: 1rem; margin-top: 40px; }
.course-card .logo { width: 48px; height: 48px; }
.course-card .course-title { text-align: left; }
.course-card .course-title h4 { font-size: 1.1rem; font-weight: 600; }
.course-card .course-title span { font-size: 0.875rem; color: var(--text-light); }
.course-card .rating { margin-left: auto; color: var(--star-color); font-size: 0.8rem; }
.course-card .members { display: flex; align-items: center; margin-top: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.course-card .member-avatars { display: flex; }
.course-card .member-avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--white); margin-left: -10px; }
.course-card .member-avatars img:first-child { margin-left: 0; }
.course-card .members span { margin-left: 0.75rem; font-size: 0.875rem; font-weight: 500; }
.course-card .plan-tabs { display: flex; background-color: #F3F4F6; border-radius: 8px; padding: 0.25rem; margin-top: 1rem; }
.course-card .tab-btn { flex: 1; padding: 0.5rem; border: none; background-color: transparent; border-radius: 6px; cursor: pointer; font-family: var(--font-main); font-weight: 500; transition: all 0.3s ease; }
.course-card .tab-btn.active { background-color: var(--white); color: var(--primary-dark); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.course-card .tab-btn .fa-bolt { color: #F59E0B; }
.course-card .program-features { list-style: none; margin-top: 1.5rem; text-align: left; flex-grow: 1; }
.course-card .program-features li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; padding: 0.5rem; border-radius: 8px; }
.course-card .program-features li.highlighted { background-color: var(--pink-highlight-bg); }
.course-card .program-features .icon-success { color: var(--green-check); }
.course-card .program-features .icon-highlight { color: var(--pink-highlight-icon); }
.course-card .pricing { margin-top: 1.5rem; }
.course-card .current-price { font-size: 2.25rem; font-weight: 700; color: var(--primary-dark); }
.course-card .original-price { font-size: 1.5rem; color: var(--text-light); text-decoration: line-through; margin-left: 0.5rem; }
.course-card .btn-enroll { width: 100%; padding: 0.875rem; margin-top: 1rem; border: none; background-color: var(--primary-dark); color: var(--white); font-size: 1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease; }
.course-card .btn-enroll:hover { background-color: #1F2937; }
.course-card .more-details { display: block; margin-top: 1rem; color: var(--text-light); text-decoration: none; font-weight: 500; }
.course-card .more-details:hover { text-decoration: underline; }

/* Responsive adjustments for this section */
@media (max-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .internship-programs {
        padding: 4rem 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .program-tabs {
        justify-content: flex-start;
        gap: 1.5rem;
        border-bottom: none;
    }
    .course-grid {
        grid-template-columns: 1fr;
    }
}





/* ================================== */
/* TRANSFORM JOURNEY SECTION          */
/* ================================== */
.transform-journey {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.transform-journey .section-title {
    color: var(--primary-dark);
}

.journey-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.journey-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.journey-card img {
    width: 10%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.journey-slider {
    padding-bottom: 2.5rem !important; /* Important to override swiper styles */
}

.journey-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #D1D5DB;
    opacity: 1;
}

.journey-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-dark);
}

/* ================================== */
/* FEATURES & COMMUNITY SECTION       */
/* ================================== */
.features-community {
    padding: 5rem 0;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.feature-card {
    background-color: #F9FAFB;
    border-radius: 16px;
    padding: 2rem;
}

.certification-card h3, .community-card h3, .testimonials-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.certification-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.certification-card ul li {
    background-color: #E0F2F1;
    color: #00796B;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.certification-card ul li i {
    color: #00A991;
}

.certificate-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.community-testimonials-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.community-card {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.community-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.community-content ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.community-content ul li i {
    color: var(--accent-green);
}

.btn-community {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 500;
}

.community-image img {
    max-width: 150px;
}

.testimonials-card {
    background-color: #F9FAFB;
    overflow: hidden;
}

.testimonial-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-details strong {
    display: block;
    font-weight: 600;
}

.author-details span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.testimonials-slider {
    /* padding-bottom: 2.5rem !important; */
    min-width: 0;
    padding-bottom: 0 !important;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border: 1px solid var(--primary-dark);
    background: transparent;
    opacity: 1;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--primary-dark);
}
.testimonials-pagination {
    position: relative;
    margin-top: 1.5rem;
    bottom: auto !important;
}

/* Responsive adjustments for these sections */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .transform-journey, .features-community {
        padding: 3rem 0;
    }
    .community-card {
        flex-direction: column;
        text-align: center;
    }
}


/* ================================== */
/* CTA SECTION STYLES                 */
/* ================================== */
.cta-section-wrapper {
    padding: 2rem 0; /* Adds space above and below the section */
}

.cta-section {
    position: relative;
    background-image: url('/images/home/catchyImg.jpg'); /* Your background image */
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    padding: 5rem 4rem;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.8) 40%, rgba(17, 24, 39, 0.2) 100%); */
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.cta-content h2 span {
    color: var(--accent-green);
}

.btn-enroll-cta {
    background-color: var(--white);
    color: var(--primary-dark);
    padding: 0.8rem 1.8rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-enroll-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-enroll-cta i {
    background-color: rgba(0, 0, 0, 0.05);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Responsive adjustments for CTA section */
@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 2rem;
        text-align: center;
    }
    .cta-content {
        max-width: 100%;
    }
    .cta-content h2 {
        font-size: 2.2rem;
        text-align: left;
    }
}