/* ===== HERO SECTION FOR SERVICES ===== */
.online-training-section {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 80px 15px;
    background: linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
    border-radius: 20px;
}

.online-training-section .section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #1a2b3c;
    position: relative;
    letter-spacing: -0.5px;
    animation: fadeInDown 0.8s ease forwards;
}

.online-training-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff9f4a);
    margin: 15px auto 0;
    border-radius: 4px;
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Row Animation & Box Styling */
.online-training-section .row {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    margin-bottom: 50px !important;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpRow 0.8s ease forwards;
    animation-delay: 0.2s;
}

.online-training-section .row:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 43, 60, 0.08);
}

@keyframes fadeUpRow {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Image Animations - Continuous Floating */
@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.online-training-section img {
    border-radius: 18px !important;
    width: 100%;
    animation: floatImage 4s ease-in-out infinite;
    box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important;
}

.online-training-section .row:hover img {
    animation-play-state: paused;
}

/* Text & Typography */
.online-training-section h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.online-training-section h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ff6b35;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.online-training-section .row:hover h3::after {
    width: 100%;
}

.online-training-section p {
    font-size: 16px !important;
    line-height: 1.6;
    color: rgb(0, 0, 0) !important;
    margin-bottom: 25px;
    animation: textFadeIn 0.8s ease forwards;
}

/* ===== ATTRACTIVE ENQUIRY BUTTON ===== */
.placement-enquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a2a4f, #e67e22);
    color: #ffffff !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.placement-enquiry:hover {
    background: linear-gradient(135deg, #2a3f6e, #f39c12);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.placement-enquiry:active {
    transform: translateY(1px);
}

.placement-enquiry i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.placement-enquiry:hover i {
    transform: translateX(-4px);
}
/* Responsive */
@media (max-width: 991px) {
    .online-training-section .section-title { font-size: 36px; }
    .online-training-section h3 { font-size: 28px; }
    .online-training-section p { font-size: 17px !important; }
}

@media (max-width: 768px) {
    .online-training-section { padding: 60px 15px; }
    .online-training-section .row { padding: 30px 20px; text-align: center; }
    .online-training-section h3::after { left: 50%; transform: translateX(-50%); }
    .online-training-section .row:hover h3::after { width: 60%; }
    .online-training-section .mt-4 { justify-content: center; }
}
/* ===== Why Choose Us – Balanced Premium Design ===== */

/* Section Title */
.text-center.mb-5 {
    font-size: 42px;
    font-weight: 700;
    color: rgb(0, 0, 0);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.text-center.mb-5 span {
    background: linear-gradient(135deg, #1a2b3c, #2d4f7c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 5px;
}

.text-center.mb-5::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #c9a23c, #1a2b3c);
    margin: 15px auto 0;
    border-radius: 4px;
}

/* Why Card */
.why-card {
    border: none;
    border-radius: 24px;
    padding: 35px 20px 30px;
    background: #ffffff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px -10px rgba(26, 43, 60, 0.12);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(230, 126, 34, 0.15);
}

/* Subtle pattern overlay */
.why-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Top accent bar */
.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #1a2b3c, #e67e22);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.why-card:hover::after {
    transform: scaleX(1);
}

/* Card hover */
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px -12px rgba(26, 43, 60, 0.25);
}

/* Icon box */
.why-card .icon-box {
    width: 85px;
    height: 85px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30% 70% 50% 50% / 40% 50% 50% 60%;
    background: linear-gradient(145deg, #1a2b3c, #2d4f7c);
    box-shadow: 0 12px 22px -8px #1a2b3c;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.why-card:hover .icon-box {
    border-radius: 50% 30% 70% 30% / 50% 40% 60% 50%;
    background: linear-gradient(145deg, #e67e22, #f39c12);
    transform: scale(1.03);
    box-shadow: 0 15px 25px -6px #e67e22;
}

.why-card i {
    font-size: 36px;
    color: #ffffff;
    transition: transform 0.3s ease;
    z-index: 3;
}

.why-card:hover i {
    transform: scale(1.05) rotate(-3deg);
    color: #1a2b3c;
}

/* Title */
.why-card h5 {
    font-weight: 700;
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: #1a2b3c;
    position: relative;
    z-index: 2;
    padding-bottom: 8px;
}

/* Description */
.why-card p {
    font-size: 0.96rem;
    color: #4a5b6b;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 992px) {
    .text-center.mb-5 {
        font-size: 38px;
    }
    .why-card {
        padding: 30px 15px 25px;
    }
    .why-card .icon-box {
        width: 75px;
        height: 75px;
    }
    .why-card i {
        font-size: 32px;
    }
    .why-card h5 {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .text-center.mb-5 {
        font-size: 34px;
    }
    .text-center.mb-5::after {
        width: 80px;
    }
    .why-card {
        padding: 25px 12px 20px;
    }
    .why-card .icon-box {
        width: 70px;
        height: 70px;
    }
    .why-card i {
        font-size: 30px;
    }
    .why-card h5 {
        font-size: 1.25rem;
    }
    .why-card p {
        font-size: 0.92rem;
    }
}

@media (max-width: 576px) {
    .text-center.mb-5 {
        font-size: 30px;
    }
    .text-center.mb-5::after {
        width: 70px;
        height: 3px;
    }
    .why-card {
        padding: 20px 10px;
    }
    .why-card .icon-box {
        width: 65px;
        height: 65px;
    }
    .why-card i {
        font-size: 28px;
    }
    .why-card h5 {
        font-size: 1.2rem;
    }
    .why-card p {
        font-size: 0.88rem;
    }
}
/* CARD */
.placed-card{
  background:white;
  border-radius:15px;
  overflow:hidden;
  text-align:center;
  box-shadow:0 6px 20px rgba(0,0,0,0.1);
  transition:0.3s;
  position:relative;
}

.placed-card:hover{
  transform:translateY(-6px);
}


.placed-top{
	background: linear-gradient(45deg,#ffb347,#ff7e00);
	   padding: 30px 0;
	   position: relative;
}

.placed-img{
	width: 90px;
	    height: 90px;
	    border-radius: 50%;
	    border: 5px solid white;
	    object-fit: cover;
	    background: white;
}


.placed-card {
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: 0.3s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
}

.placed-top {
    background: linear-gradient(45deg, #ffb347, #ff7e00);
    height: 80px;       
    position: relative;
}

.placed-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    position: absolute;  
    top: 40px;           
    left: 50%;
    transform: translateX(-50%);
    background: white;
    z-index: 2;
}

.placed-body {
    padding: 60px 20px 20px;  
}

.placed-body h5 {
    font-weight: 600;
    margin-bottom: 6px;
}


.role {
    color: #666;
    font-size: 14px;
    margin-bottom: 6px;
}


.package {
    font-weight: 700;
    color: #ff7a00;
    margin-bottom: 6px;
}


.company {
    font-size: 14px;
    color: #555;
}


.placed-card:hover {
    transform: translateY(-5px);
}

@media(max-width:768px) {
    .placed-top {
        height: 60px;
    }

    .placed-img {
        width: 70px;
        height: 70px;
        top: 30px;
    }

    .placed-body {
        padding-top: 50px;
    }
}


.placement-hero{
    padding: 80px 0;
    background: linear-gradient(135deg,#f8fbff,#eef5ff);
}

.placement-hero-img{
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.placement-hero-title{
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
}

.placement-hero-text{
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.placement-enquiry{
    background: rgb(0, 0, 64);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    transition: 0.3s;
}

.placement-enquiry:hover{
    background: #0b5ed7;
    color: white;
}


@media(max-width:768px){

    .placement-hero{
        padding: 50px 15px;
        text-align: center;
    }

    .placement-hero-title{
        font-size: 28px;
    }

    .placement-hero-img{
        max-width: 280px;
        margin-bottom: 30px;
    }

    .placement-hero .d-flex{
        justify-content: center;
    }
}
@media (max-width:576px){

    .placement-enquiry{
        width:100%;
        text-align:center;
    }

}
/* ===== How Online Training Section – Professional Design ===== */

/* Section Container */
.how-online-training {
    padding: 70px 0;
    background: #fffdf9;
    overflow: hidden;
}

/* Section Title */
.section-title h2 {
    font-size: 42px;
    color: rgb(0, 0, 0);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.title-divider {
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, rgb(255, 128, 0));
    margin: 0 auto 30px;
    border-radius: 4px;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Design */
.online-step-card {
    background: #ffffff;
    padding: 30px 20px 25px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -8px rgba(230, 126, 34, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 280px; 
    border: 1px solid rgba(230, 126, 34, 0.1);
}

/* Gradient Top Bar - lighter */
.online-step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #ffcc80, #f5a623);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.online-step-card:hover::before {
    transform: scaleX(1);
}

/* Hover Effect - lighter shadow */
.online-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(230, 126, 34, 0.15);
}

/* Icon Circle - lighter orange */
.step-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
    border-radius: 30% 70% 50% 50% / 40% 50% 50% 60%;
    background: linear-gradient(145deg, #f5a623, #ffb84d);
    box-shadow: 0 8px 18px -6px rgba(230, 126, 34, 0.3);
    transition: all 0.3s ease;
}

.online-step-card:hover .step-icon {
    border-radius: 50% 30% 70% 30% / 50% 40% 60% 50%;
    background: linear-gradient(145deg, #ffb84d, #ffcc80);
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 12px 22px -6px rgba(230, 126, 34, 0.4);
}

/* Title - lighter orange */
.online-step-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: rgb(0, 0, 0);
}

.online-step-card p {
    font-size: 0.95rem;
    color: rgb(44, 44, 44);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .how-online-training {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 38px;
    }
    .online-step-card {
        height: 260px;
        padding: 25px 15px;
    }
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .online-step-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .how-online-training {
        padding: 50px 0;
    }
    .section-title h2 {
        font-size: 34px;
    }
    .online-step-card {
        height: auto;
        min-height: 260px;
        padding: 25px 18px;
    }
    .step-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }
    .online-step-card h4 {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 30px;
    }
    .title-divider {
        width: 70px;
    }
    .online-step-card {
        padding: 20px 15px;
        min-height: 240px;
    }
    .step-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-bottom: 15px;
    }
    .online-step-card h4 {
        font-size: 1.1rem;
    }
    .online-step-card p {
        font-size: 0.9rem;
    }
}