/* ==========================================================================
   Life at Proultima - Dedicated Page Stylesheet (Fully Responsive)
   ========================================================================== */

/* ==========================================================================
   1. Hero Banner Section
   ========================================================================== */
.life-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/Life/Life Banner.png') center center / cover no-repeat;
    color: #ffffff;
    padding: 160px 20px 100px;
    overflow: hidden;
}

.life-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 18, 30, 0.45) 0%, rgba(15, 18, 30, 0.3) 50%, rgba(15, 18, 30, 0.6) 100%);
    z-index: 1;
}

.life-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.life-hero-subtitle {
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 12px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
    animation: lifeFadeInDown 1s ease-out forwards;
}

.life-hero-title {
    font-size: clamp(48px, 8.5vw, 96px);
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.05;
    margin: 0;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
    animation: lifeFadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lifeFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

@keyframes lifeFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   2. Intro Culture Quote Section
   ========================================================================== */
.life-intro-section {
    padding: 95px 20px 85px;
    background-color: #ffffff;
    text-align: center;
}

.life-intro-container {
    max-width: 820px;
    margin: 0 auto;
}

.life-intro-title {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 800;
    color: #181b31;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
    line-height: 1.2;
}

.life-intro-text {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.9;
    color: #55586b;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
}

/* ==========================================================================
   3. Perks and Benefits Section
   ========================================================================== */
.life-perks-section {
    padding: 60px 20px 110px;
    background-color: #ffffff;
}

.life-perks-header {
    text-align: center;
    margin-bottom: 60px;
}

.life-perks-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #3b3a6d;
    letter-spacing: -0.01em;
    margin: 0;
}

.life-perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.life-perk-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    transition: transform 0.35s ease;
}

.life-perk-card:hover {
    transform: translateY(-6px);
}

.life-perk-icon-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: #ebf5e9;
    color: #559146;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 26px;
    transition: all 0.35s ease;
    box-shadow: 0 4px 14px rgba(85, 145, 70, 0.12);
}

.life-perk-card:hover .life-perk-icon-wrap {
    background-color: #559146;
    color: #ffffff;
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 10px 25px rgba(85, 145, 70, 0.25);
}

.life-perk-name {
    font-size: 21px;
    font-weight: 700;
    color: #181b31;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.life-perk-desc {
    font-size: 15px;
    line-height: 1.75;
    color: #73778c;
    margin: 0;
    max-width: 320px;
}

/* ==========================================================================
   4. Meet Proultima Showcase Banner / Slider
   ========================================================================== */
.life-meet-section {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-color: #181b31;
    overflow: hidden;
}

.life-slider-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.life-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.life-slide.active {
    opacity: 1;
    visibility: visible;
}

.life-meet-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 16, 28, 0.85) 0%, rgba(12, 16, 28, 0.55) 50%, rgba(12, 16, 28, 0.25) 100%);
    z-index: 2;
}

.life-meet-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 24px;
}

.life-meet-box {
    max-width: 540px;
    color: #ffffff;
}

.life-meet-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.life-meet-subtitle {
    font-size: clamp(15px, 1.8vw, 19px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px;
}

/* Discover Proultima Button (Original Desktop Size) */
.btn-discover-proultima {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 32px 12px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-discover-proultima .play-circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    font-size: 13px;
    padding-left: 2px;
    transition: all 0.3s ease;
}

.btn-discover-proultima:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #181b31;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.btn-discover-proultima:hover .play-circle-icon {
    border-color: #181b31;
    background: #181b31;
    color: #ffffff;
    transform: scale(1.08);
}

/* Slider Controls / Indicators */
.life-slider-nav {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: #82bd59;
    width: 32px;
    border-radius: 6px;
}

/* ==========================================================================
   5. Join Us Section (Over opacity.png background)
   ========================================================================== */
.life-join-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: url('../images/Life/opacity.png') center right / cover no-repeat;
    background-color: #ffffff;
    padding: 90px 20px;
    overflow: hidden;
}

.life-join-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.life-join-content {
    max-width: 480px;
}

.life-join-title {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 800;
    color: #181b31;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.life-join-text {
    font-size: clamp(15px, 1.8vw, 19px);
    line-height: 1.75;
    color: #486937;
    font-weight: 500;
    margin: 0 0 32px;
}

.btn-apply-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 38px;
    background-color: #486937;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 18px rgba(72, 105, 55, 0.28);
    border: 2px solid #486937;
}

.btn-apply-now:hover {
    background-color: #38532a;
    border-color: #38532a;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(72, 105, 55, 0.42);
}

/* ==========================================================================
   6. Pre-Footer CTA Bar
   ========================================================================== */
.pro-pre-footer-cta {
    background-color: #2b303d;
    padding: 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pro-cta-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.pro-cta-heading {
    font-size: clamp(24px, 3.2vw, 42px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.2;
}

.btn-start-project {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #f5634b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 20px rgba(245, 99, 75, 0.35);
}

.btn-start-project i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.btn-start-project:hover {
    background-color: #e04e36;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(245, 99, 75, 0.5);
}

.btn-start-project:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   7. Main Footer
   ========================================================================== */
.pro-main-footer {
    background-color: #2b303d;
    padding: 80px 20px 0;
    color: #a1a6b4;
}

.pro-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1.5fr;
    gap: 50px;
    padding-bottom: 70px;
}

.pro-footer-brand-logo {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    display: inline-block;
    text-decoration: none;
}

.brand-part-pro {
    color: #3b8b32;
}

.brand-part-ultima {
    color: #55b340;
}

.pro-footer-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.pro-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pro-footer-links a {
    color: #a1a6b4;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.25s ease;
}

.pro-footer-links a:hover,
.pro-footer-links a.active {
    color: #f5634b;
}

.pro-footer-social-link {
    color: #a1a6b4;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.25s ease;
}

.pro-footer-social-link:hover {
    color: #f5634b;
}

.pro-footer-contact-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 20px;
    line-height: 1.1;
}

.pro-footer-address {
    font-size: 15px;
    line-height: 1.7;
    color: #a1a6b4;
    margin: 0 0 20px;
}

.pro-footer-divider {
    width: 60px;
    height: 2px;
    background-color: #f5634b;
    margin: 20px 0;
}

.pro-footer-phone,
.pro-footer-email {
    font-size: 15px;
    line-height: 1.8;
    color: #a1a6b4;
    margin: 0;
}

.pro-footer-phone a,
.pro-footer-email a {
    color: #a1a6b4;
    text-decoration: none;
    transition: color 0.25s ease;
}

.pro-footer-phone a:hover,
.pro-footer-email a:hover {
    color: #f5634b;
}

/* Sub-Footer Copyright Bar */
.pro-sub-footer {
    background-color: #0b0e14;
    padding: 22px 20px;
    text-align: center;
}

.pro-sub-footer-text {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7b8192;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Video Lightbox Modal (Popup)
   ========================================================================== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 24px;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 980px;
    background: #000000;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-modal.active .video-modal-dialog {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, color 0.25s ease;
    z-index: 10000;
}

.video-modal-close:hover {
    transform: scale(1.15) rotate(90deg);
    color: #f5634b;
}

.video-responsive-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
}

.video-responsive-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Media Queries
   ========================================================================== */

/* Medium Devices (Tablets / Small Desktops: <= 991px) */
@media (max-width: 991px) {
    .life-hero-section {
        min-height: 70vh;
        padding: 140px 20px 80px;
    }

    .life-intro-section {
        padding: 70px 20px 60px;
    }

    .life-perks-section {
        padding: 50px 20px 80px;
    }

    .life-perks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .life-perk-card:last-child {
        grid-column: span 2;
        max-width: 420px;
        margin: 0 auto;
    }

    .life-meet-section {
        min-height: 460px;
    }

    .life-join-section {
        min-height: 450px;
        padding: 70px 20px;
        background-position: 75% center;
    }

    .pro-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Small Devices (Landscape Phones / Tablets: <= 767px) */
@media (max-width: 767px) {
    .life-hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 120px 20px 60px;
        background-position: center center;
        background-size: cover;
    }

    .life-hero-subtitle {
        letter-spacing: 0.22em;
        margin-bottom: 8px;
    }

    .life-hero-title {
        font-size: clamp(42px, 11vw, 68px);
    }

    .life-intro-section {
        padding: 55px 16px 45px;
    }

    .life-intro-title {
        margin-bottom: 18px;
    }

    .life-perks-section {
        padding: 40px 16px 65px;
    }

    .life-perks-header {
        margin-bottom: 40px;
    }

    .life-perks-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .life-perk-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .life-perk-icon-wrap {
        width: 82px;
        height: 82px;
        font-size: 32px;
        margin-bottom: 18px;
    }

    .life-perk-name {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .life-meet-section {
        min-height: 400px;
    }

    .life-meet-content {
        padding: 45px 20px;
    }

    .btn-discover-proultima {
        width: auto;
        display: inline-flex;
        align-items: center;
        padding: 8px 20px 8px 12px;
        font-size: 11.5px;
        letter-spacing: 0.08em;
        gap: 9px;
        border-radius: 35px;
    }

    .btn-discover-proultima .play-circle-icon {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .life-meet-overlay {
        background: linear-gradient(180deg, rgba(12, 16, 28, 0.88) 0%, rgba(12, 16, 28, 0.72) 100%);
    }

    .life-slider-nav {
        bottom: 20px;
        right: 20px;
    }

    .life-join-section {
        min-height: auto;
        padding: 45px 16px;
        background-position: 80% center;
    }

    .life-join-container {
        padding: 0;
    }

    .life-join-content {
        max-width: 100%;
        background: rgba(255, 255, 255, 0.607);
        padding: 30px 22px;
        border-radius: 16px;
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .life-join-title {
        margin-bottom: 14px;
    }

    .life-join-text {
        margin-bottom: 24px;
    }

    .btn-apply-now {
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 26px;
        font-size: 13.5px;
        border-radius: 40px;
    }

    .pro-pre-footer-cta {
        padding: 35px 20px;
    }

    .pro-cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .btn-start-project {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 28px;
    }

    .pro-main-footer {
        padding: 55px 20px 45px;
    }

    .pro-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .pro-footer-brand-logo {
        font-size: 38px;
    }

    .pro-footer-contact-title {
        font-size: 28px;
    }

    .video-modal {
        padding: 14px;
    }

    .video-modal-close {
        top: -40px;
        right: 0;
        font-size: 26px;
    }
}

/* Extra Small Devices (Smartphones: <= 480px) */
@media (max-width: 480px) {
    .life-hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 110px 16px 50px;
        background-position: center center;
        background-size: cover;
    }

    .life-hero-subtitle {
        font-size: 14px;
        letter-spacing: 0.18em;
    }

    .life-hero-title {
        font-size: clamp(36px, 11vw, 48px);
    }

    .life-intro-section {
        padding: 45px 14px 35px;
    }

    .life-intro-title {
        font-size: 26px;
    }

    .life-intro-text {
        font-size: 15px;
        line-height: 1.75;
    }

    .life-perks-section {
        padding: 30px 14px 50px;
    }

    .life-perks-title {
        font-size: 26px;
    }

    .btn-discover-proultima {
        width: auto;
        display: inline-flex;
        align-items: center;
        padding: 7px 18px 7px 10px;
        font-size: 11px;
        letter-spacing: 0.08em;
        gap: 8px;
        border-radius: 30px;
    }

    .btn-discover-proultima .play-circle-icon {
        width: 22px;
        height: 22px;
        font-size: 9.5px;
    }

    .btn-apply-now {
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 22px;
        font-size: 13px;
        border-radius: 40px;
    }

    .pro-cta-heading {
        font-size: 22px;
    }

    .pro-sub-footer-text {
        font-size: 11px;
        letter-spacing: 0.08em;
    }
}
