/* ===== Life at RTFL Page Styles ===== */

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up:nth-child(1) {
    animation-delay: 0.1s;
    opacity: 0;
}

.animate-slide-up:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-slide-up:nth-child(3) {
    animation-delay: 0.3s;
    opacity: 0;
}

.animate-slide-up:nth-child(4) {
    animation-delay: 0.4s;
    opacity: 0;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

/* ===== HERO SECTION ===== */
.life-hero {
    position: relative;
    background: linear-gradient(135deg, #0d214f 0%, #0067da 100%);
    padding: 150px 0 100px;
    overflow: hidden;
    text-align: center;
    min-height: auto;
}

.life-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/comapany/ABOUT US.png') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.life-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.life-bg-shape.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.life-bg-shape.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.life-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: block;
    /* Overwrite grid */
}

/* Badge matches Company Profile style */
.life-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.life-hero-title {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #fff;

    line-height: 1.15;
    margin: 3px 0 25px;
}

.life-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 400;
}

/* Remove or hide stats/right column related styles if they exist to prevent conflicts, 
   though simply not using them in HTML is enough. We can keep buttons. */

.life-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* Center buttons */
    flex-wrap: wrap;
}

.life-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.life-btn-primary {
    background: #fff;
    color: #0d214f;
}

.life-btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.life-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.life-btn-outline:hover {
    background: #fff;
    color: #0d214f;
    transform: translateY(-3px);
}


/* Responsive */
@media (max-width: 968px) {
    .life-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .life-hero-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .life-hero {
        padding: 100px 0 60px;
    }

    .life-hero-title {
        font-size: 32px;
    }

    .life-hero-badge {
        font-size: 10px;
        padding: 6px 16px;
    }

    .life-shape.shape-1 {
        width: 300px;
        height: 300px;
        top: -80px;
        right: -50px;
    }

    .life-shape.shape-2 {
        width: 250px;
        height: 250px;
        bottom: -60px;
        left: -40px;
    }
}

/* Overview Section */
.life-overview {
    padding: 80px 0;
    background: white;
}

.overview-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.overview-header {
    text-align: center;
    margin-bottom: 50px;
}

.mini-tag {
    display: inline-block;
    background: linear-gradient(135deg, #29b9ed, #2563eb);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 40px;
}

.overview-text-content {
    padding-right: 20px;
}

.overview-text {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.overview-text strong {
    color: #2563eb;
    font-weight: 600;
}

.overview-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-box {
    background: linear-gradient(135deg, #f9fbff 0%, #eef3ff 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.highlight-box:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.highlight-box i {
    font-size: 2rem;
    color: #2563eb;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    flex-shrink: 0;
}

.highlight-box h4 {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 5px 0;
}

.highlight-box p {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.overview-footer {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #29b9ed 0%, #2563eb 100%);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
}

.footer-text {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: white;
    margin: 0;
}

.footer-text strong {
    font-weight: 700;
}

/* Benefits Section */
.life-benefits {
    padding: 10px 0 !important;
    background: white;
}

.life-benefits .section-title {
    text-align: center;
    display: block;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #29b9ed 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-title {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 15px;
}

.benefit-description {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
}

/* RISE Framework Section */
.life-rise {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fbff 0%, #eef3ff 100%);
}

.life-rise .section-title {
    text-align: center;
    display: block;
    margin-bottom: 10px;
}

.rise-intro {
    text-align: center;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.2rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 50px;
}

.rise-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.rise-image {
    text-align: center;
}

.rise-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.rise-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rise-item {
    display: flex;
    gap: 20px;
    align-items: start;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.rise-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.rise-letter {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #29b9ed 0%, #2563eb 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.rise-letter i {
    font-size: 1.8rem;
}


.rise-text h3 {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.rise-text p {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* RISE Benefit Cards */
.rise-benefit-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.rise-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
}

.benefit-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #29b9ed 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    transition: all 0.3s ease;
}

.rise-benefit-card:hover .benefit-icon-large {
    transform: scale(1.15) rotate(10deg);
}

.rise-benefit-card h3 {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 15px;
}

.rise-benefit-card p {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .overview-text-content {
        padding-right: 0;
    }

    .rise-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rise-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .life-hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .life-overview,
    .life-benefits,
    .life-rise {
        padding: 60px 0;
    }

    .overview-grid {
        gap: 30px;
    }

    .highlight-box {
        padding: 20px;
    }

    .footer-text {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rise-item {
        flex-direction: column;
        text-align: center;
    }

    .rise-letter {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .mini-tag {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .overview-text {
        font-size: 17px;
    }

    .highlight-box {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .highlight-box i {
        margin: 0 auto 10px;
    }

    .footer-text {
        font-size: 1rem;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .overview-header {
        text-align: center;
        margin-bottom: 20px;
    }
}