/* language-program.css */

.lp-hero-wrapper {
    padding: 80px 0;
    overflow: hidden;
}

.lp-title {
    font-size: 32px;
    font-weight: 900;
    color: #111;
    margin-bottom: 20px;
}

.lp-desc {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.8;
}

.lp-subdesc {
    font-size: 13.5px;
    color: #6b7280;
    margin-top: 25px;
    line-height: 1.6;
    font-weight: 600;
}

.lp-hero-img-wrapper {
    position: relative;
    padding-left: 20px; /* Adjust based on RTL side */
}

/* LTR tweaks */
html[dir="ltr"] .lp-hero-img-wrapper {
    text-align: left;
    padding-left: 0;
    padding-right: 20px;
}

/* Section Layouts replacing inline styles */
.lp-container-fluid {
    padding: 0 50px;
}

/* For RTL: Image is physically on the right, Text is physically on the left */
html[dir="rtl"] .lp-hero-img-wrapper {
    text-align: right;
}

/* Float animation for the image */
.lp-hero-img {
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1;
    border-radius: 36px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Text alignment and shift towards the image */
.lp-hero-text-block {
    text-align: right;
    max-width: 580px;
}

html[dir="ltr"] .lp-hero-text-block {
    text-align: left;
}

/* Languages Section Container */
.lp-languages-container {
    background-color: #fcfcfd;
    border-radius: 30px;
    padding: 60px 40px;
    margin: 20px auto 80px;
    max-width: 100%;
}

.lp-languages-title {
    font-size: 20px;
    font-weight: 900;
    color: #111;
    margin-bottom: 50px;
}

/* Overriding index.html language card */
.lp-languages-container .language-card {
    background-color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lp-languages-container .language-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px) scale(1.02);
}

/* Animations added for Image */
@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.float-animation {
    animation: floatY 4s ease-in-out infinite;
}

