﻿

/*index page css*/
:root {
    --primary-dark: #0d3d5d;
    --highlight-orange: #f4a300;
    --bg-light: #f9fcff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #333;
}

.hero {
    text-align: center;
    position: relative;
    color: #ffffff;
    overflow: hidden;
    margin-top: -15px;
    height: 410px;
}

    .hero h1 {
        color: var(--primary-dark);
        font-size: 3rem;
        font-weight: 700;
    }

/* Course icon emoji near headline */
.course-icon {
    font-size: 3.6rem;
    vertical-align: middle;
    /*    margin-left: 0.5rem;*/
    color: var(--highlight-orange);
    user-select: none;
}

.hero-para {
    font-size: 1.6rem !important;
    margin-top: -0.4rem !important;
    color: #0b0d4eeb !important;
    margin-left:-50px;
}


.speech-para {
    font-size: 1.4rem;
    color: var(--primary-dark);
    line-height: 38px;
}

.btn-explore {
    background-color: var(--primary-dark);
    border: none;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #fff;
}

    .btn-explore:hover {
        background-color: #092c40;
        transform: scale(1.05);
        text-decoration: none;
        color: white;
    }

.btn-signup {
    display: inline-block !important;
    padding: 2px 25px ;
    background-color: #C66C10 !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.3s ease !important;
    margin-top:10px !important;
    font-size:20px !important;
}

    .btn-signup:hover {
        background-color: #092c40 !important;
        transform: translateY(-2px);
        color: white !important;
        text-decoration: none;
    }

.speech-bubble {
    background: linear-gradient(to right, #dff6fd, #ffffff);
    border: 2px solid var(--primary-dark);
    border-radius: 1.5rem;
    padding: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--primary-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);

}

    .speech-bubble:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }



    /* Left bubble pointing right */
    .speech-bubble.left::after {
        content: '';
        position: absolute;
        top: 50%;
        left: -15px;
        transform: translateY(-50%);
        border-width: 10px 15px 10px 0;
        border-style: solid;
        border-color: transparent #0d3d5d transparent transparent;
    }

    /* Right bubble pointing left */
    .speech-bubble.right::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -15px;
        transform: translateY(-50%);
        border-width: 10px 0 10px 15px;
        border-style: solid;
        border-color: transparent transparent transparent #0d3d5d;
    }

.highlight {
    background-color: #fff3cd;
    padding: 0.25rem 0.5rem;
    border-radius: 0.3rem;
    color: #d35400;
    font-weight: 700;
}

.em {
    font-style: italic;
    font-weight: 600;
}

#plan-section {
    margin-top: -100px;
}

.avatar-img {
    width:200px;
    height:200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    background-color: #ce8221;
    transition: transform 0.3s ease;
}

    .avatar-img:hover {
        transform: scale(1.05);
    }

.cta-section {
    padding-top: 20px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 1rem;
}

.cta-section-para {
    text-align:left;
    font-size: 1.3rem;
    line-height: 1.9;
}

.cta-section h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #0d3d5d;
    line-height: 47px;
    text-align: left;
}

@media (max-width: 768px) {
    .hero {
        height: 650px;
    }

        .hero h1 {
            font-size: 2.1rem;
        }
    #plan-section {
        margin-top: -175px;
    }
    .speech-bubble {
        font-size: 1rem;
        padding: 1rem;
    }

    .body-content {
/*        margin-top: 73px !important;*/
        height: auto !important;
        min-height: 469px !important;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-in-out forwards;
}

.animate-left {
    animation: fadeInLeft 0.8s ease-in-out forwards;
}

.animate-right {
    animation: fadeInRight 0.8s ease-in-out forwards;
}
.icon-animated {
    animation: bounce 2s infinite;
    font-size:40px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
.path-decor {
    position: absolute;
    bottom: 135px;
    left: 58%;
    transform: translateX(-50%);
    width: 235px;
    z-index: 0;
    pointer-events: none;
}
.image-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 30px;
}

/* Shared Styling */
.styled-img {
    width: 500px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

/* First Image - Static */
.img-1 {
    position: relative;
    z-index: 2;
}

/* Second Image - Rotated and Overlapped */
.img-2 {
    position: absolute;
    top: 20px;
    left: 80px;
    transform: rotate(6deg);
    z-index: 1;
    opacity: 0.95;
}

.styled-img:hover {
    transform: scale(1.05);
}

/* Animation base */
.animate-box {
    opacity: 0;
    transform: translateY(60px);
    animation: fadeInBottom 1s forwards;
}

/* Delay variations */
.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

/* Animation Keyframe */
@keyframes fadeInBottom {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.bounce-icon {
    animation: bounce 2s infinite ease-in-out;
    z-index: 1;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}
/* ✅ Scroll table only on tablet/mobile view */
@media (max-width: 992px) {
    .table-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

        .table-scroll-wrapper table {
            min-width: 900px; /* force scroll for small screens */
        }
}

.sub-info {
    font-size: 0.85rem;
    color: #6c757d;
}

.table a.table-text {
    text-decoration: none;
    color: #0d6efd;
}

    .table a.table-text:hover {
        text-decoration: underline;
    }