/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.course-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 50%, #fff5f0 100%);
    border-bottom: 1px solid #eee;
}

.rating {
    margin-bottom: 15px;
    color: #ffb400;
}

.rating strong {
    color: #000;
    margin-left: 5px;
}

.rating small {
    color: #888;
}

.hero-title {
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #000;
}

.lead-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
    text-align: justify;
    border-left: 3px solid #ef662f;
    padding: 10px;
    transition: 0.2s ease;
}

.lead-text p:hover {
    transform: translateY(-5px);
}

.hero-point {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
}

.hero-point i {
    color: #ef662f;
    margin-right: 8px;
    background: #fff0ea;
    padding: 5px;
    border-radius: 50%;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-softpro {
    background-color: #ef662f !important;
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(239, 102, 47, 0.2);
}

.btn-softpro:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(239, 102, 47, 0.3);
}

.btn-outline-softpro {
    border: 2px solid #ddd;
    color: #333 !important;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

/* Hero Image/Video Area */
.hero-media {
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
}

.hero-media img {
    width: 100%;
    transition: transform 0.5s;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ef662f;
    cursor: pointer;
    z-index: 5;
}

/* Contact Box Grouping */
.contact-flex-box {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.card-box-contact {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #eee;
    flex: 1;
}

.card-box-contact strong {
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.labelname {
    color: #ef662f;
    font-weight: 700;
    font-size: 13px;
}

/* --- CONTENT SECTIONS --- */
.section-padding {
    padding: 80px 0;
}

.bg-gray {
    background-color: #f9f9f9;
}

.content-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
    border-left: 5px solid #ef662f;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 25px;
}

.eligibility-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.eligibility-badge {
    background: #fff0ea;
    color: #ef662f;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #fde2d5;
}

/* --- TECH GRID --- */
.tech-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
    margin-bottom: 30px;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tech-card img {
    width: 100%;
    height: 200px;
    object-fit: center;
}

.tech-card-body {
    padding: 20px;
    text-align: center;
}

.tech-card-body h4 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

.tech-card-body p {
    color: #888;
    font-size: 13px;
}

.tech-link {
    display: inline-block;
    margin-top: 15px;
    color: #ef662f;
    font-weight: 700;
    text-decoration: none !important;
}

/* --- MEDIA QUERIES FOR RESPONSIVENESS --- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-media {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 28px;
        text-align: center;
    }

    .lead-text {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .contact-flex-box {
        flex-direction: column;
    }

    .content-card {
        padding: 25px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .btn-outline-softpro {
        margin-left: 0 !important;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    .btn-softpro {
        width: 100%;
        text-align: center;
    }
}

/* Hero Section Extra */
.hero-section {
    padding: 20px 10px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.5px;
}

.hero-title span {
    color: #ef662f;
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: #ef662f;
    border-radius: 2px;
}

.hero-media {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.hero-media iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width:768px) {
    .hero-title {
        font-size: 24px;
    }
}

/* --- Improved Overview Section --- */
#overview {
    padding: 20px 0;
    background: #fff;
}

.overview-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.overview-text-side {
    flex: 1;
}

.overview-image-side {
    flex: 1;
    position: relative;
}

.overview-image-side::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #fff0ea;
    border-radius: 50%;
    top: -20px;
    right: -20px;
    z-index: 0;
}

.overview-img-card {
    position: relative;
    z-index: 1;
    /* border-radius: 30px; */
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    margin-top: 90px;
}

.overview-img-card img {
    height: 400px;
    width: 100%;
    object-fit: center;
}

.training-feature-list {
    margin-top: 30px;
    padding-left: 0;
    list-style: none;
}

.training-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.training-feature-item .icon-circle {
    min-width: 45px;
    height: 45px;
    background: #ef662f;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(239, 102, 47, 0.3);
}

.training-feature-item h4 {
    margin: 0 0 5px 0;
    font-weight: 700;
    font-size: 20px;
    color: #111;
}

.training-feature-item p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

/* Eligibility Section Refined */
.eligibility-header {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.eligibility-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.elig-card-modern {
    background: #fdfdfd;
    border: 2px dashed #ef662f;
    padding: 15px;
    /* border-radius: 12px; */
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

.elig-card-modern:hover {
    background: #fff;
    border-color: #ef662f;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.elig-card-modern i {
    color: #ef662f;
    margin-bottom: 8px;
    display: block;
    font-size: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .overview-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .training-feature-item {
        text-align: left;
    }

    .eligibility-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Modern Why Softpro Section --- */
.why-softpro-section {
    padding: 47px 0;
    background-color: #0c0c0c;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.why-softpro-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-image: linear-gradient(rgba(239, 102, 47, 0.1), rgba(239, 102, 47, 0.1)), url("<?= base_url('public/assets/img/why.jpg') ?>");
    background-position: center;
    background-size: cover;
    filter: blur(100px);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.why-header h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.why-header p {
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 16px;
}

/* Icon Box Design */
.usp-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    margin-bottom: 30px;
}

.usp-card:hover {
    background: rgba(239, 102, 47, 0.08);
    border-color: #ef662f;
    transform: translateY(-10px);
}

.usp-icon {
    width: 70px;
    height: 70px;
    background: #ef662f;
    color: #fff;
    line-height: 70px;
    font-size: 30px;
    border-radius: 50%;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(239, 102, 47, 0.3);
}

.usp-card h4 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.usp-card p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

/* Trending Technologies */
.tech-universe {
    padding: 100px 0px 20px 0px;
    background: #fdfdfd;
    overflow: hidden;
}

.swiper-container {
    padding: 50px 15px !important;
}

.modern-course-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 12px;
    transition: all 0.5s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(239, 102, 47, 0.15);
    border-color: #ef662f;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 200px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: center;
    transition: transform 0.6s;
}

.cat-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    color: #ef662f;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.course-info-box {
    padding: 20px 10px;
    flex-grow: 1;
}

.course-info-box h4 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: #111;
    min-height: 50px;
}

.card-footer-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.btn-download-syllabus {
    background: #ef662f;
    color: #fff !important;
    /* width: 40px; */
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
    padding: 0px 15px;
}

.btn-download-syllabus:hover {
    background: #111;
    transform: scale(1.1);
}

.duration-pill {
    background: #fdf2ee;
    color: #ef662f;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ef662f !important;
    background: #fff;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
}

@media (max-width: 767px) {
    .tech-header h2 {
        font-size: 28px;
    }
}

.tech-section .card {
    background: #fff4ec;
    border: 2px dashed #ff8d41;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    transition: 0.3s ease;
}

.tech-section .card:hover {
    transform: translateY(-4px);
    background: #ffefe4;
}

.tech-section .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(201, 106, 43, 0.35);
    color: #ff965a;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    padding: 22px 22px 14px;
    min-height: 88px;
    display: flex;
    align-items: center;
}

.tech-section .card-body {
    padding: 18px 22px 24px;
    color: #4a372b;
    font-size: 15.5px;
    line-height: 1.9;
}

.tech-section .tech-stack {
    display: block;
    font-weight: 700;
    color: #ff9050;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .tech-section .col-lg-4 {
        margin-bottom: 20px;
    }

    .tech-section .card-header {
        min-height: auto;
        font-size: 18px;
        padding: 18px 18px 12px;
    }

    .tech-section .card-body {
        padding: 14px 18px 18px;
        font-size: 15px;
    }
}