/* ==========================================================
   PROFIL YAYASAN — PREMIUM EMERALD DESIGN
   Yayasan Hujjatul Islam
   File: assets/css/profil.css
   ========================================================== */

:root {
    --pf-emerald-950: #012d20;
    --pf-emerald-900: #045c3d;
    --pf-emerald-800: #067b52;
    --pf-emerald-700: #08a66b;
    --pf-emerald-600: #0bc981;
    --pf-emerald-500: #20e69a;
    --pf-emerald-300: #8dffd0;
    --pf-emerald-100: #e5fff4;

    --pf-gold: #d7bb72;
    --pf-gold-soft: #f0dfad;

    --pf-ink: #102d25;
    --pf-text: #53665f;
    --pf-muted: #7a8b85;

    --pf-white: #fff;
    --pf-bg: #f7faf8;
    --pf-border: rgba(7, 93, 66, .11);

    --pf-shadow-sm: 0 8px 25px rgba(4, 54, 39, .07);
    --pf-shadow: 0 18px 55px rgba(4, 54, 39, .11);
    --pf-shadow-lg: 0 28px 80px rgba(3, 44, 32, .15);
}


/* ==========================================================
   EMERALD LUXURY GLOW — brighter / luminous emerald accents
   ========================================================== */

.profile-hero {
    box-shadow: inset 0 -1px 0 rgba(141,255,208,.45);
}

.profile-hero::before {
    background:
        radial-gradient(circle at 78% 28%, rgba(50,255,171,.30), transparent 22%),
        radial-gradient(circle at 20% 100%, rgba(215,187,114,.10), transparent 30%),
        radial-gradient(circle at 50% 45%, rgba(20,220,145,.08), transparent 40%);
}

.profile-hero .hero-badge {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        0 0 22px rgba(32,230,154,.12);
}

.profile-hero .hero-badge::before {
    background: #8dffd0;
    box-shadow:
        0 0 8px #8dffd0,
        0 0 18px rgba(32,230,154,.75);
}

.section-subtitle {
    text-shadow: 0 0 16px rgba(32,230,154,.16);
}

.section-title::after {
    box-shadow:
        0 0 7px rgba(32,230,154,.40),
        0 0 16px rgba(32,230,154,.16);
}

.vision-box,
.cta-box {
    border-color: rgba(141,255,208,.32);
    box-shadow:
        0 28px 80px rgba(3,44,32,.17),
        0 0 35px rgba(32,230,154,.08);
}

.vision-box::before {
    border-color: rgba(141,255,208,.17);
    box-shadow: 0 0 35px rgba(32,230,154,.06);
}

.mission-icon {
    box-shadow:
        0 12px 27px rgba(5,114,78,.20),
        0 0 24px rgba(32,230,154,.13);
}

.value-card > i,
.fact-card h2,
.unit-content > span {
    text-shadow: 0 0 16px rgba(32,230,154,.18);
}

.unit-content .btn {
    box-shadow:
        0 10px 23px rgba(4,105,73,.18),
        0 0 22px rgba(32,230,154,.12);
}

.unit-content .btn:hover {
    box-shadow:
        0 14px 30px rgba(4,105,73,.26),
        0 0 28px rgba(32,230,154,.22);
}

.chairman-photo {
    background: linear-gradient(145deg, #ffffff, #d8fff0);
    box-shadow:
        0 30px 70px rgba(3,65,47,.13),
        0 0 30px rgba(32,230,154,.07),
        inset 0 1px 0 #fff;
}

.timeline-year {
    box-shadow:
        0 10px 30px rgba(3,76,53,.22),
        0 0 0 1px rgba(32,230,154,.28),
        0 0 26px rgba(32,230,154,.14);
}

.cta-button .btn-warning {
    box-shadow:
        0 10px 28px rgba(0,0,0,.15),
        0 0 18px rgba(215,187,114,.10);
}

/* Garis dekoratif emerald yang lebih bercahaya */
.about-foundation::after,
.timeline-section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(180px, 35vw);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(32,230,154,.65),
        rgba(141,255,208,.9),
        rgba(32,230,154,.65),
        transparent
    );
    box-shadow: 0 0 12px rgba(32,230,154,.25);
    transform: translateX(-50%);
    pointer-events: none;
}

/* =========================
   GLOBAL PROFILE PAGE
   ========================= */

.profile-hero,
.about-foundation,
.chairman-section,
.timeline-section,
.vision-section,
.mission-section,
.values-section,
.unit-section,
.facts-section,
.profile-cta {
    position: relative;
    isolation: isolate;
}

.about-foundation,
.timeline-section,
.mission-section,
.unit-section {
    background: var(--pf-white);
}

.chairman-section,
.values-section {
    background:
        radial-gradient(circle at 8% 20%, rgba(24,183,127,.08), transparent 28%),
        linear-gradient(180deg, #f9fcfa 0%, #f2f8f5 100%);
}

.container {
    position: relative;
    z-index: 2;
}

/* =========================
   SECTION TYPOGRAPHY
   ========================= */

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--pf-emerald-700) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2em !important;
    line-height: 1.3;
    text-transform: uppercase;
}

.section-subtitle::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--pf-emerald-500), var(--pf-gold));
    box-shadow: 0 0 10px rgba(24,183,127,.25);
}

.section-title {
    margin-top: 12px !important;
    color: var(--pf-ink) !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: clamp(30px, 4vw, 46px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -.025em;
}

.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--pf-emerald-500), var(--pf-gold));
}

/* =========================
   HERO
   ========================= */

.profile-hero {
    min-height: 410px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(3,44,32,.95) 0%, rgba(4,70,50,.88) 48%, rgba(5,89,63,.60) 100%),
        url("../images/profile-hero.jpg") center/cover no-repeat;
}

.profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 80% 30%, rgba(124,228,189,.22), transparent 22%),
        radial-gradient(circle at 20% 100%, rgba(215,187,114,.08), transparent 30%);
}

.profile-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    top: -180px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(164,240,212,.15);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(164,240,212,.025),
        0 0 0 70px rgba(164,240,212,.018);
}

.profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2,39,28,.25), transparent 65%);
    z-index: -1;
}

.profile-hero-content {
    max-width: 780px;
    padding: 72px 0 68px;
    animation: pfHeroIn .75s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    color: #d9ffed !important;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
    border: 1px solid rgba(174,244,216,.30);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7cf0bd;
    box-shadow: 0 0 12px #7cf0bd;
}

.profile-hero h1 {
    margin: 19px 0 13px;
    color: #fff !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: clamp(42px, 6vw, 72px) !important;
    line-height: .98 !important;
    letter-spacing: -.035em;
    font-weight: 700 !important;
    text-shadow: 0 12px 35px rgba(0,0,0,.2);
}

.profile-hero p {
    max-width: 670px;
    margin: 0;
    color: rgba(255,255,255,.78) !important;
    font-size: 15px;
    line-height: 1.85;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 27px;
    font-size: 11px;
}

.breadcrumb-custom a {
    color: #9fecc9 !important;
    text-decoration: none !important;
    transition: color .25s ease;
}

.breadcrumb-custom a:hover {
    color: #fff !important;
}

.breadcrumb-custom span {
    color: rgba(255,255,255,.38);
}

/* =========================
   ABOUT
   ========================= */

.about-foundation {
    padding: 105px 0;
}

.about-foundation::before {
    content: "1994";
    position: absolute;
    right: 3%;
    top: 40px;
    color: rgba(7,93,66,.035);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(100px, 15vw, 220px);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.foundation-logo {
    width: min(280px, 78%);
    aspect-ratio: 1;
    object-fit: contain;
    padding: 25px;
    border: 1px solid rgba(7,93,66,.12);
    border-radius: 35px;
    background: linear-gradient(145deg, #fff, #f0faf6);
    box-shadow:
        0 30px 70px rgba(3,65,47,.13),
        inset 0 1px 0 #fff;
    transition: transform .4s ease, box-shadow .4s ease;
}

.foundation-logo:hover {
    transform: translateY(-7px) rotate(1deg);
    box-shadow: 0 38px 85px rgba(3,65,47,.17);
}

.about-foundation .col-lg-8 > p {
    max-width: 850px;
    margin: 0 0 16px;
    color: var(--pf-text);
    font-size: 14px;
    line-height: 1.95;
}

.about-foundation .col-lg-8 > p strong {
    color: var(--pf-emerald-700);
    font-weight: 800;
}

/* =========================
   CHAIRMAN
   ========================= */

.chairman-section {
    padding: 105px 0;
    overflow: hidden;
}

.chairman-section::after {
    content: "";
    position: absolute;
    left: -170px;
    bottom: -240px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 1px solid rgba(7,122,85,.08);
    box-shadow:
        0 0 0 40px rgba(7,122,85,.025),
        0 0 0 80px rgba(7,122,85,.018);
}

.chairman-photo {
    position: relative;
    display: inline-block;
    padding: 10px;
    border-radius: 32px;
    background: linear-gradient(145deg, #fff, #dff8ec);
    box-shadow: var(--pf-shadow-lg);
}

.chairman-photo::before {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(24,183,127,.24);
    border-radius: 38px;
    pointer-events: none;
}

.chairman-photo::after {
    content: "";
    position: absolute;
    right: -16px;
    bottom: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--pf-emerald-500), var(--pf-emerald-800));
    box-shadow: 0 10px 28px rgba(4,100,69,.25);
}

.chairman-photo img {
    display: block;
    width: min(330px, 100%);
    height: 420px;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px;
}

.chairman-section .section-title {
    font-size: clamp(25px, 3vw, 38px) !important;
}

.chairman-quote {
    position: relative;
    margin: 25px 0;
    padding: 23px 27px 23px 58px;
    border-left: 3px solid var(--pf-emerald-500);
    border-radius: 0 18px 18px 0;
    background: linear-gradient(100deg, rgba(24,183,127,.09), rgba(255,255,255,.55));
}

.chairman-quote i {
    position: absolute;
    left: 18px;
    top: 19px;
    color: var(--pf-emerald-500);
    font-size: 27px;
}

.chairman-quote p {
    margin: 0 !important;
    color: var(--pf-emerald-900) !important;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 19px !important;
    font-style: italic;
    line-height: 1.6 !important;
}

.chairman-section .col-lg-8 > p {
    color: var(--pf-text);
    font-size: 14px;
    line-height: 1.95;
}

.chairman-sign {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    padding-top: 15px;
}

.chairman-sign::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, var(--pf-emerald-500), var(--pf-gold));
}

.chairman-sign h4 {
    margin: 0 0 4px;
    color: var(--pf-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
}

.chairman-sign span {
    color: var(--pf-emerald-700);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

/* =========================
   TIMELINE
   ========================= */

.timeline-section {
    padding: 105px 0;
}

.timeline {
    position: relative;
    max-width: 920px;
    margin: 55px auto 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(24,183,127,.45) 10%,
        rgba(24,183,127,.45) 90%,
        transparent
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
    min-height: 170px;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    grid-row: 1;
}

.timeline-year {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    border: 5px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--pf-emerald-500), var(--pf-emerald-900));
    box-shadow:
        0 10px 30px rgba(3,76,53,.22),
        0 0 0 1px rgba(24,183,127,.18);
    transform: translate(-50%, -50%);
}

.timeline-content {
    padding: 26px 30px;
    border: 1px solid var(--pf-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--pf-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(24,183,127,.28);
    box-shadow: var(--pf-shadow);
}

.timeline-content h4 {
    margin: 0 0 8px;
    color: var(--pf-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
}

.timeline-content p {
    margin: 0;
    color: var(--pf-text);
    font-size: 12px;
    line-height: 1.8;
}

/* =========================
   VISION
   ========================= */

.vision-section {
    padding: 90px 0;
    background: #fff;
}

.vision-box {
    position: relative;
    overflow: hidden;
    padding: 70px clamp(28px, 7vw, 100px);
    text-align: center;
    border: 1px solid rgba(124,228,189,.25);
    border-radius: 35px;
    background:
        radial-gradient(circle at 50% 0%, rgba(124,228,189,.20), transparent 36%),
        linear-gradient(135deg, var(--pf-emerald-950), var(--pf-emerald-800));
    box-shadow: var(--pf-shadow-lg);
}

.vision-box::before,
.vision-box::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(205,255,235,.11);
    border-radius: 50%;
}

.vision-box::before {
    left: -60px;
    bottom: -75px;
}

.vision-box::after {
    right: -60px;
    top: -75px;
}

.vision-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;
    color: #d7ffec;
    border: 1px solid rgba(208,255,235,.25);
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    box-shadow: 0 0 25px rgba(124,228,189,.10);
}

.vision-box .section-subtitle {
    color: #9cebc8 !important;
}

.vision-box .section-subtitle::before {
    background: linear-gradient(90deg, #7ce4bd, var(--pf-gold));
}

.vision-box h2 {
    max-width: 900px;
    margin: 18px auto 0;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 4.3vw, 49px);
    line-height: 1.25;
}

/* =========================
   MISSION
   ========================= */

.mission-section {
    padding: 105px 0;
}

.mission-card {
    position: relative;
    height: 100%;
    padding: 35px 30px;
    overflow: hidden;
    border: 1px solid var(--pf-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--pf-shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.mission-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(24,183,127,.055);
}

.mission-card:hover {
    transform: translateY(-8px);
    border-color: rgba(24,183,127,.25);
    box-shadow: var(--pf-shadow);
}

.mission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 23px;
    color: #d9ffed;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--pf-emerald-500), var(--pf-emerald-900));
    box-shadow: 0 12px 27px rgba(5,114,78,.20);
}

.mission-card h4 {
    margin: 0 0 10px;
    color: var(--pf-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
}

.mission-card p {
    margin: 0;
    color: var(--pf-text);
    font-size: 12px;
    line-height: 1.85;
}

/* =========================
   VALUES
   ========================= */

.values-section {
    padding: 105px 0;
}

.value-card {
    height: 100%;
    padding: 30px 16px;
    text-align: center;
    border: 1px solid rgba(7,93,66,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 10px 30px rgba(3,65,47,.045);
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.value-card:hover {
    transform: translateY(-7px);
    background: #fff;
    box-shadow: var(--pf-shadow);
}

.value-card > i {
    display: block;
    margin-bottom: 14px;
    color: var(--pf-emerald-600);
    font-size: 25px;
}

.value-card h5 {
    margin: 0;
    color: var(--pf-ink);
    font-size: 12px;
    font-weight: 800;
}

/* =========================
   UNIT EDUCATION
   ========================= */

.unit-section {
    padding: 105px 0;
}

.unit-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(7,93,66,.10);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--pf-shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
}

.unit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--pf-shadow);
}

.unit-card > img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform .6s ease;
}

.unit-card:hover > img {
    transform: scale(1.045);
}

.unit-content {
    padding: 28px 29px 30px;
}

.unit-content > span {
    color: var(--pf-emerald-600);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .17em;
}

.unit-content h3 {
    margin: 8px 0 10px;
    color: var(--pf-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 27px;
}

.unit-content p {
    min-height: 75px;
    margin: 0 0 22px;
    color: var(--pf-text);
    font-size: 12px;
    line-height: 1.8;
}

.unit-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 17px;
    border: 0 !important;
    border-radius: 11px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--pf-emerald-600), var(--pf-emerald-900)) !important;
    box-shadow: 0 10px 23px rgba(4,105,73,.18);
    font-size: 11px;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease;
}

.unit-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(4,105,73,.26);
}

/* =========================
   FACTS
   ========================= */

.facts-section {
    padding: 0 0 105px;
    background: #fff;
}

.fact-card {
    position: relative;
    height: 100%;
    padding: 30px 15px;
    border-top: 2px solid rgba(24,183,127,.22);
}

.fact-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--pf-gold);
    transform: translateX(-50%);
}

.fact-card h2 {
    margin: 0 0 5px;
    color: var(--pf-emerald-700);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 37px;
}

.fact-card p {
    margin: 0;
    color: var(--pf-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

/* =========================
   CTA
   ========================= */

.profile-cta {
    padding: 0 0 105px;
    background: #fff;
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 70px clamp(25px, 7vw, 90px);
    text-align: center;
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 0%, rgba(124,228,189,.18), transparent 35%),
        linear-gradient(135deg, var(--pf-emerald-950), var(--pf-emerald-800));
    box-shadow: var(--pf-shadow-lg);
}

.cta-box::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(211,255,237,.10);
    border-radius: 25px;
    pointer-events: none;
}

.cta-box > span {
    color: #9decc9;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
}

.cta-box h2 {
    position: relative;
    margin: 15px auto 12px;
    max-width: 800px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(29px, 4.5vw, 51px);
    line-height: 1.18;
}

.cta-box p {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255,255,255,.69);
    font-size: 12px;
    line-height: 1.85;
}

.cta-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

.cta-button .btn {
    min-width: 145px;
    padding: 11px 19px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.cta-button .btn-warning {
    color: #15392c !important;
    border: 1px solid #f2dfad !important;
    background: linear-gradient(135deg, #f4e4b6, #d5b96f) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.15);
}

.cta-button .btn-outline-light {
    border-color: rgba(255,255,255,.45) !important;
    color: #fff !important;
    background: rgba(255,255,255,.06);
}

.cta-button .btn:hover {
    transform: translateY(-3px);
}

/* =========================
   ANIMATION
   ========================= */

@keyframes pfHeroIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 991.98px) {

    .profile-hero {
        min-height: 370px;
    }

    .profile-hero-content {
        padding: 58px 0;
    }

    .about-foundation,
    .chairman-section,
    .timeline-section,
    .mission-section,
    .values-section,
    .unit-section {
        padding: 78px 0;
    }

    .chairman-photo img {
        width: min(290px, 100%);
        height: 370px;
    }

    .timeline {
        max-width: 760px;
    }

    .unit-card > img {
        height: 240px;
    }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767.98px) {

    .profile-hero {
        min-height: 430px;
        background-position: 62% center;
    }

    .profile-hero-content {
        padding: 55px 0;
    }

    .profile-hero h1 {
        font-size: 43px !important;
        line-height: 1.02 !important;
    }

    .profile-hero p {
        font-size: 12px;
    }

    .breadcrumb-custom {
        margin-top: 21px;
    }

    .about-foundation,
    .chairman-section,
    .timeline-section,
    .mission-section,
    .values-section,
    .unit-section {
        padding: 65px 0;
    }

    .section-title {
        font-size: 31px !important;
    }

    .foundation-logo {
        width: 210px;
        border-radius: 26px;
    }

    .chairman-photo img {
        width: 245px;
        height: 310px;
    }

    .chairman-photo::after {
        width: 50px;
        height: 50px;
        right: -10px;
    }

    .chairman-quote {
        padding: 20px 19px 20px 49px;
    }

    .chairman-quote p {
        font-size: 16px !important;
    }

    .timeline {
        margin-top: 35px;
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
        transform: none;
    }

    .timeline-item {
        display: block;
        min-height: 0;
        margin-bottom: 30px;
        padding-left: 25px;
    }

    .timeline-year {
        left: -22px;
        top: 23px;
        width: 54px;
        height: 54px;
        font-size: 11px;
        border-width: 4px;
        transform: translate(-50%, 0);
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: auto;
        grid-row: auto;
        text-align: left;
    }

    .timeline-content {
        padding: 22px 20px;
    }

    .timeline-content h4 {
        font-size: 18px;
    }

    .vision-section {
        padding: 55px 12px;
    }

    .vision-box {
        padding: 50px 22px;
        border-radius: 25px;
    }

    .vision-box h2 {
        font-size: 28px;
    }

    .mission-card {
        padding: 28px 24px;
    }

    .unit-card > img {
        height: 220px;
    }

    .unit-content {
        padding: 24px;
    }

    .unit-content p {
        min-height: auto;
    }

    .facts-section {
        padding-bottom: 70px;
    }

    .fact-card {
        padding: 25px 10px;
    }

    .fact-card h2 {
        font-size: 30px;
    }

    .profile-cta {
        padding: 0 12px 70px;
    }

    .cta-box {
        padding: 52px 20px;
        border-radius: 25px;
    }

    .cta-box::before {
        inset: 10px;
        border-radius: 19px;
    }

    .cta-box h2 {
        font-size: 29px;
    }

    .cta-button {
        flex-direction: column;
    }

    .cta-button .btn {
        width: min(100%, 260px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}