@font-face {
  font-family: 'Almarai';
  src: url('../fonts/Almarai-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* هنا يكمن الحل */
}
/* إجبار خطوط Font Awesome على الظهور فوراً */
@font-face {
    font-family: 'Font Awesome 6 Free'; /* ملاحظة: الإصدار 7 قد يستخدم أسماء مشابهة لـ 6 أو 7، تأكد من مطابقتها */
    font-display: swap;
    src: local('Font Awesome 7 Free');
}
html { scroll-behavior: smooth; }

:root {
    /* ألوان الجامعة الرئيسية */
    --uod-blue: #3a6bc9;
    --uod-dark-blue: #1e3c8c;
    --uod-gold: rgb(212, 175, 54);
    --uod-light-gold: #FFD700;
    --uod-white: #FFFFFF;
    --uod-off-white: #F5F5F5;
    --uod-light-blue: #e8f0fe;
    --uod-light-gray: #f8fafc;
    --text-dim: rgba(156, 163, 175, 1);
    
    /* ألوان إضافية */
    --primary: #0056A6;
    --secondary: #F2B705;
    --accent: #2E8B57;
    --light: #F8FAFC;
    --dark: #1E3A8A;
    --text: #334155;
    --border: #E2E8F0;
    --font-white: #FFFFFF;
    --after-border: linear-gradient(to left, var(--primary), var(--secondary));
    --after-border-ltr: linear-gradient(to right, var(--primary), var(--secondary));
    --tw-text: rgba(156, 163, 175, 1);
     --navy: #0a1628;
    --deep-blue: rgb(13, 32, 69);
    --gold: #c9a227;
    --gold-light: #e8c547;
    --white: #ffffff;
    --cream: #f5f0e8;

    --gold:       #b8922a;
    --gold-lt:    #d4a93a;
    --gold-dim:   rgba(184,146,42,0.10);
    --gold-line:  rgba(184,146,42,0.28);
    --white:      #ffffff;
    --off-white:  #f5f7fc;
    --muted:      #6b7fa3;
    --border-ser:     rgba(11,25,49,0.09);

    --navy:      #0b1931;
    --navy-2:    #0f2040;
    --navy-3:    #162b52;
    --gold:      #c9a227;
    --gold-lt:   #e4bc45;
    --gold-dim:  rgba(201,162,39,0.12);
    --gold-line: rgba(201,162,39,0.30);
    --white:     #ffffff;
    --bg:        #0b1931;
    --bg-2:      #0f2040;
    --bg-3:      #081428;
    --muted:     #7a90b8;
    --border2:    rgba(255,255,255,0.07);
    --text:      #e8edf7;
    --card:      #0f2040;

    /* Journal specialty colors */
    --med-primary:   #1a6fa0;
    --med-light:     rgba(26,111,160,0.08);
    --med-line:      rgba(26,111,160,0.25);

    --sci-primary:   #1a7a4a;
    --sci-light:     rgba(26,122,74,0.08);
    --sci-line:      rgba(26,122,74,0.25);

    --hum-primary:   #6b3fa0;
    --hum-light:     rgba(107,63,160,0.08);
    --hum-line:      rgba(107,63,160,0.25);
}
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }


/************************************************************************************************/

/* تأثيرات الظهور */
.fade-in {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/*****************************************************************************************************/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Almarai', sans-serif;
}
a{
    text-decoration: none;
    color: inherit;
}
li{
    list-style: none;
}
header{
    width: 100%;
    height: auto;
}
body{
    max-width: 100%;
    background: var(--uod-off-white);
    overflow-x: hidden;
}
.topbar{
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--uod-dark-blue) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.topbar .container{
    width: 95%;
    height: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.topbar .container .items{
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.topbar .container .items .item{
    color: var(--font-white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.topbar .container .items .item .fas.rtl{
    margin-left: 8px;
    color: var(--uod-gold);
}
.topbar .container .items .item .fas.ltr{
    margin-right: 8px;
    color: var(--uod-gold);
}
.topbar .container .items .item .lang-btn{
    padding: 6px 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 16px;
}
.topbar .container .items .item .lang-btn.active,
.topbar .container .items .item .lang-btn:hover{
    background: var(--uod-gold);
    color: var(--uod-dark-blue);
    border: 1px solid var(--uod-dark-blue);
    transition: all 0.3s ease;
}
.topbar .container .items .item .lang-btn.active .fas,
.topbar .container .items .item .lang-btn:hover .fas{
    color: var(--uod-dark-blue);
}
.topbar .container .items .item .lang-btn .fas{
    margin-right: 8px;
}
.topbar .container .items .item .language-switcher{
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 768px){
    .topbar .container{
        justify-content: center;
    }
    .topbar .container .items:first-child{
        display: none;
    }
}
@media screen and (max-width: 390px){
    .topbar .container .items .item:first-child{
        display: none;
    }
}
/********************************************************/

.fixedbar{
    width: 100%;
    height: 156px;
    background: var(--uod-white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.fixedbar.scrolled{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
.fixedbar.active{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 100px;
    transition: all 0.3s ease;
}
.fixedbar .container{
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fixedbar .container .logoside{
    width: 300px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fixedbar .container .logoside .logoimg{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}
.fixedbar.active .container .logoside .logoimg{
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;

}
.fixedbar .container .logoside .logoimg img{
    width: 100%;
    height: 100%;
}
.fixedbar .container .logoside .logotext.rtl{
    margin-right: 10px;
    width: calc(100% - 110px);
}
.fixedbar .container .logoside .logotext.ltr{
    margin-left: 10px;
    width: calc(100% - 110px);
}
.fixedbar .container .logoside .logotext h1{
    font-size: 24px;
    color: var(--uod-dark-blue);
    font-weight: 700;
}
.fixedbar .container .logoside .logotext h2{
    font-size: 16px;
    color: var(--uod-blue);
    font-weight: 600;
}
.fixedbar .container .serchandmenu{
    width: calc(100% - 300px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.fixedbar .container .serchandmenu .searchbar{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}
.fixedbar.active .container .serchandmenu .searchbar{
    height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.fixedbar .container .serchandmenu .searchbar.rtl::after{
    content: "";
    width: 100%;
    height: 3px;
    background: var(--after-border);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 99;
}
.fixedbar .container .serchandmenu .searchbar.ltr::after{
    content: "";
    width: 100%;
    height: 3px;
    background: var(--after-border-ltr);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 99;
}
.fixedbar .container .serchandmenu .searchbar form{
    width: auto;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fixedbar .container .serchandmenu .searchbar button{
    width: 40px;
    height: 36px;
    background: var(--uod-dark-blue);
    border: none;
    color: var(--font-white);
    font-size: 18px;
    cursor: pointer;
}
.fixedbar .container .serchandmenu .searchbar.rtl button{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.fixedbar .container .serchandmenu .searchbar.ltr button{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.fixedbar .container .serchandmenu .searchbar input{
    width: calc(100% - 40px);
    height: 36px;
    border: 1px solid var(--border);
    padding: 0 10px;
    font-size: 16px;
    outline: none;
}
.fixedbar .container .serchandmenu .searchbar.rtl input{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.fixedbar .container .serchandmenu .searchbar.ltr input{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.fixedbar .container .serchandmenu input[type="checkbox"]{
    display: none;
}
.fixedbar .container .serchandmenu label{
    font-size: 24px;
    color: var(--uod-dark-blue);
    cursor: pointer;
    display: none;
    position: relative;
    z-index: 101;
    transition: all 0.3s ease;
}
.fixedbar .container .serchandmenu label:hover{
    color: var(--uod-blue);
    transition: all 0.3s ease;
}
.fixedbar .container .serchandmenu nav{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fixedbar .container .serchandmenu nav .menu{
    width: 99%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.fixedbar .container .serchandmenu nav .menu .li,
.fixedbar .container .serchandmenu nav .menu .big-li{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.fixedbar .container .serchandmenu nav .menu .li a,
.fixedbar .container .serchandmenu nav .menu .big-li label{
    font-size: 16px;
    color: var(--uod-dark-blue);
    font-weight: 600;
    padding: 10px 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.fixedbar .container .serchandmenu nav .menu .li>a:hover,
.fixedbar .container .serchandmenu nav .menu .big-li>label:hover{
    color: var(--uod-white);
    background: var(--uod-dark-blue);
    transition: all 0.3s ease;
    margin-bottom: 5px;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu{
    width: auto;
    background: var(--uod-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 0;
    top: 100%;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu.ltr{
    left: 0;
    right: auto;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu.long{
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}
.fixedbar.active .container .serchandmenu nav .menu .big-li .sub-menu.long{
    max-height: calc(95vh - 100px);
    overflow-y: auto;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu>li{
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 150px;
    border-radius: 8px;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu>li>a{
    font-size: 16px;
    font-weight: 700;
    color: var(--uod-dark-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
    white-space: nowrap;
}
.fixedbar .container .serchandmenu nav .menu .big-li:hover>.sub-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    transition: all 0.3s ease;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu li:hover{
    background: var(--uod-dark-blue);
    transition: all 0.3s ease;
    margin-right: 5px;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu li:hover>a{
    color: var(--uod-white);
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu .sub-li{
    position: relative;
    width: auto;
    border-radius: 8px;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu .sub-li:hover{
    background: var(--uod-dark-blue);
    transition: all 0.3s ease;
    margin-right: 5px;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu .sub-li:hover>label{
    color: var(--uod-white);
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu .sub-li:hover .sub-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    transition: all 0.3s ease;
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu .sub-li .sub-menu{
    width: auto;
    background: var(--uod-white);
    position: absolute;
    top: 0;
    right: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.fixedbar .container .serchandmenu nav .menu .big-li .sub-menu .sub-li .sub-menu.ltr{
    left: 100%;
    right: auto;
}
.fixedbar .container .serchandmenu nav .menu .big-li label{
    display: flex;
}
@media screen and (max-width:1600px) {
    .fixedbar .container{
        width: 95%;
    }
    .fixedbar .container .serchandmenu nav .menu .li a,
    .fixedbar .container .serchandmenu nav .menu .big-li label{
        font-size: 14px;
    }
    .fixedbar .container .serchandmenu nav .menu{
        gap: 2px;
    }
}
@media screen and (max-width:1300px) {
    .fixedbar .container .logoside{
        width: 250px;
    }
    .fixedbar .container .logoside .logoimg{
        width: 80px;
        height: 80px;
    }
    .fixedbar .container .logoside .logotext.rtl{
        margin-right: 5px;
        width: calc(100% - 80px);
    }
    .fixedbar .container .logoside .logotext.ltr{
        margin-left: 5px;
        width: calc(100% - 80px);
    }
    .fixedbar .container .logoside .logotext h1{
        font-size: 18px;
    }
    .fixedbar .container .logoside .logotext h2{
        font-size: 14px;
    }
    .fixedbar .container .serchandmenu{
        width: calc(100% - 250px);
    } 
    .fixedbar .container .serchandmenu nav .menu .li a,
    .fixedbar .container .serchandmenu nav .menu .big-li label{
        font-size: 13px;
    }
}
@media screen and (max-width:1200px) {
    .fixedbar .container .logoside{
        width: 200px;
    }
    .fixedbar .container .logoside .logoimg{
        width: 70px;
        height: 70px;
    }
    .fixedbar .container .logoside .logotext.rtl{
        margin-right: 5px;
        width: calc(100% - 70px);
    }
    .fixedbar .container .logoside .logotext.ltr{
        margin-left: 5px;
        width: calc(100% - 70px);
    }
    .fixedbar .container .logoside .logotext h1{
        font-size: 16px;
    }
    .fixedbar .container .logoside .logotext h2{
        font-size: 12px;
    }
    .fixedbar .container .serchandmenu{
        width: calc(100% - 200px);
    } 
}
@media screen and (max-width:1140px) {
    .fixedbar.active{
        height: 65px;
    }
    .fixedbar .container{
        position: relative;
        width: 100%;
    }
    .fixedbar .container .logoside{
        position: absolute;
        top: 5%;
        right: 25px;
        height: 50%;
    }
    .fixedbar .container .logoside.ltr{
        right: auto;
        left: 25px;
    }
    .fixedbar.active .container .logoside{
        height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    .fixedbar .container .serchandmenu{
        width: 95%;
    }
    .fixedbar .container .serchandmenu .searchbar{
        height: 60%;
    }
    .fixedbar .container .serchandmenu nav{
        height: 40%;
    }
}
@media screen and (max-width:922px){
    .fixedbar{
        height: 100px;
    }
    .fixedbar .container .logoside .logoimg{
        width: 60px;
        height: 60px;
    }
    .fixedbar .container .logoside .logotext h1{
        font-size: 16px;
    }
    .fixedbar .container .logoside .logotext h2{
        font-size: 12px;
    }
    .fixedbar.active .container .logoside{
        height: 60px;
    }
    .fixedbar.active .container .logoside .logoimg{
        width: 60px;
        height: 60px;
    }
    .fixedbar .container .serchandmenu{
        width: calc(100% - 300px);
    }
    .fixedbar .container .serchandmenu .searchbar{
        display: none;
    }
    .fixedbar .container .logoside{
        position: relative;
        height: 100%;
        width: 300px;
        top: 0;
    }
    .fixedbar .container .serchandmenu label{
        display: block;
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
    }
    .fixedbar .container .serchandmenu.ltr label{
        left: auto;
        right: 20px;
    }
    .fixedbar .container .serchandmenu .navmenu{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--uod-white);
        overflow-x: hidden;
        transition: all 0.3s ease;
        z-index: 9999999;
        display: flex;
        transform: translateX(100%);
        height: calc(100vh - 144px);
    }
    .fixedbar .container .serchandmenu .navmenu.ltr{
        transform: translateX(-100%);
    }
    .fixedbar.active .container .serchandmenu .navmenu{
        height: calc(100vh - 65px);
    }
    .fixedbar .container .serchandmenu #menuo:checked ~ .navmenu{
        transition: all 0.5s ease;
        transform: translateX(0%);
    }
    .fixedbar .container .serchandmenu nav .menu{
        flex-direction: column;
        width: 90%;
        height: 90%;
        overflow-y: auto;
    }
    .fixedbar .container .serchandmenu nav .menu .li,
    .fixedbar .container .serchandmenu nav .menu .big-li{
        width: 100%;
        display: block;
        position: relative;
        height: auto;
    }
    .fixedbar .container .serchandmenu nav .menu .li a,
    .fixedbar .container .serchandmenu nav .menu .big-li label{
        transform: none;
        position: static;
        font-size: 14px;
    }
    .fixedbar .container .serchandmenu nav .menu .big-li .sub-menu>li>a{
        font-size: 14px;
        white-space: inherit;
    }
    .fixedbar .container .serchandmenu nav .menu .big-li .sub-menu,
    .fixedbar .container .serchandmenu nav .menu .big-li .sub-menu .sub-li .sub-menu{
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: translateY(0px);
        transition: all 0.3s ease;
        height: auto;
        max-height: 0px;
        overflow: hidden;
        width: 100%;
        box-shadow: none;
        display: block;
        border-right: 3px solid var(--uod-blue);
    }
    .fixedbar .container .serchandmenu nav .menu .big-li .sub-menu.ltr,
    .fixedbar .container .serchandmenu nav .menu .big-li .sub-menu .sub-li .sub-menu.ltr{
        border-left: 3px solid var(--uod-blue);
        border-right: none;
    }
    .fixedbar .container .serchandmenu nav .menu .big-li .sub-menu.long,
    .fixedbar.active .container .serchandmenu nav .menu .big-li .sub-menu.long{
        height: auto;
        max-height: 0px;
    }
    .fixedbar .container .serchandmenu nav .menu #about:checked ~ .sub-menu,
    .fixedbar .container .serchandmenu nav .menu #faculties:checked ~ .sub-menu,
    .fixedbar .container .serchandmenu nav .menu #Admissions:checked ~ .sub-menu,
    .fixedbar .container .serchandmenu nav .menu #graduate:checked ~ .sub-menu,
    .fixedbar .container .serchandmenu nav .menu #Departments_Offices:checked ~ .sub-menu,
    .fixedbar .container .serchandmenu nav .menu #Offices:checked ~ .sub-menu,
    .fixedbar .container .serchandmenu nav .menu #undergraduate:checked ~ .sub-menu,
    .fixedbar .container .serchandmenu nav .menu #Centers:checked ~ .sub-menu,
    .fixedbar .container .serchandmenu nav .menu #journals:checked ~ .sub-menu{
        opacity: 1;
        visibility: visible;
        transform: translateY(0px);
        max-height: 100vh;
    }
}
/* Footer Styles */
/*************************************************************************************************/
.main-footer{
    width: 100%;
    background: var(--navy);
    color: white;
    padding: 80px 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.main-footer .contenar{
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.main-footer .contenar .footer-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    width: 100%;
}
.main-footer .contenar .footer-grid .footer-column h3{
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}
.main-footer .contenar .footer-grid .footer-column h3::after{
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    margin-top: 10px;
}
.main-footer .contenar .footer-grid .footer-column p{
    text-align: justify;
    line-height: 30px;
    font-size: 15px;
    color: var(--tw-text);
    margin-bottom: 15px;
}
.main-footer .contenar .footer-grid .footer-column .social-icons{
    display: flex;
    gap: 15px;
}
.main-footer .contenar .footer-grid .footer-column .social-icons a{
    width: 40px;
    height: 40px;
    background: var(--uod-light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--tw-text);
    font-size: 18px;
    transition: all 0.3s ease;
}
.main-footer .contenar .footer-grid .footer-column .social-icons a:hover{
    background: var(--uod-blue);
    color: var(--secondary);
    transition: all 0.3s ease;
}
.main-footer .contenar .footer-grid .footer-column ul{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.main-footer .contenar .footer-grid .footer-column ul li{
    display: flex;
    align-items: center;
    gap: 5px;
}
.main-footer .contenar .footer-grid .footer-column ul li a,
.main-footer .contenar .footer-grid .footer-column ul li i{
    color: var(--border);
    transition: all 0.3s ease;
}
.main-footer .contenar .footer-grid .footer-column ul li i{
    font-size: 12px;
}
.main-footer .contenar .footer-grid .footer-column ul li:hover a,
.main-footer .contenar .footer-grid .footer-column ul li:hover i{
    color: var(--uod-light-gold);
    transition: all 0.3s ease;
    padding-right: 10px;
}
.main-footer .contenar .footer-grid .footer-column p i{
    margin-left: 8px;
}
.main-footer .contenar .footer-grid .footer-column p i,
.main-footer .contenar .footer-grid .footer-column p a,
.main-footer .contenar .footer-grid .footer-column p span{
    color: var(--font-white);
}
.main-footer .contenar .footer-grid .footer-column p:hover i,
.main-footer .contenar .footer-grid .footer-column p:hover a{
    color: var(--uod-gold);
}
.main-footer .contenar .map{
    width: 100%;
    height: auto;
    min-height: 350px;
}
.main-footer .contenar .map h4{
    font-size: 18px;
    margin-bottom: 15px;
}
/* Hero section */ 
/****************************************************************************************************************/
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 300px);
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
    overflow-y: hidden;
}
.hero .hero-bg{
    position: absolute;
    inset: 0;
    background-image: url('../img/background.webp');
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

/* Layered overlays */
.hero .hero-overlay-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        210deg,
        rgba(10,22,40,0.95) 0%,
        rgba(13,32,69,0.80) 45%,
        rgba(10,22,40,0.30) 100%
    );
}
.hero .hero-overlay-1.ltr {
    background: linear-gradient(
        105deg,
        rgba(10,22,40,0.95) 0%,
        rgba(13,32,69,0.80) 45%,
        rgba(10,22,40,0.30) 100%
    );
}

.hero .hero-overlay-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,22,40,1) 0%,
        rgba(10,22,40,0.5) 30%,
    transparent 70%
    );
}

  /* Decorative gold line */
.hero .hero-deco-line {
    position: absolute;
    top: 0; bottom: 0;
    right: 48%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(201,162,39,0.5) 30%, rgba(201,162,39,0.5) 70%, transparent);
    animation: fadeIn 2s 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

  /* Gold corner accent */
.hero .hero-corner {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 100px;
    height: 100px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    opacity: 0.3;
    animation: fadeIn 1.5s 1s both;
}
.hero .hero-corner.ltr {
    left: auto;
    right: 30px;
    border-right: 0px;
    border-left: 2px solid var(--gold);
}
.hero .hero-corner-2 {
    position: absolute;
    bottom: 80px;
    right: 30px;
    width: 80px;
    height: 80px;
    border-left: 2px solid var(--gold);
    border-top: 2px solid var(--gold);
    opacity: 0.3;
    animation: fadeIn 1.5s 1.2s both;
}
.hero .hero-corner-2.ltr{
    border-left: 0px;
    border-right: 2px solid var(--gold);
    right: auto;
    left: 30px;
}
  /* Floating dots pattern */
.hero .hero-dots {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    animation: fadeIn 2s 1.5s both;
}
.hero .hero-dots.ltr{
    right: auto;
    left: 15px;
}
.hero .hero-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(201,162,39,0.7);
    display: block;
}

  /* ─── HERO CONTENT ─── */
.hero .hero-content {
    position: relative;
    z-index: 10;
    padding: 0 60px;
    width: auto;
    max-width: 50%;
}
.hero .hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201,162,39,0.12);
    border: 1px solid rgba(201,162,39,0.8);
    border-radius: 30px;
    padding: 6px 18px;
    animation: slideUp1 0.8s 0.3s both;
    position: absolute;
    right: 60px;
    top: -36px;
}
.hero .hero-content .hero-badge.ltr{
    right: auto;
    left: 60px;
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0;  }
    to { transform: translateY(0); opacity: 1; }
}

.hero .hero-content .hero-badge .hero-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(201,162,39,0); }
}

.hero .hero-content .hero-badge span {
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero .hero-content .hero-title {
    font-size: clamp(52px, 6vw, 88px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 8px;
    animation: slideUp 0.8s 0.5s both;
}

.hero .hero-content .hero-title .highlight {
    color: var(--gold);
    display: block;
}

.hero .hero-content .hero-subtitle-en {
    font-family: 'Playfair Display', serif;
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(255,255,255,0.45);
    letter-spacing: 4px;
    margin-bottom: 8px;
    direction: ltr;
    animation: slideUp 0.8s 0.65s both;
}
.hero .hero-content .hero-subtitle-en.ltr {
    font-family: 'Almarai', serif;
    direction: rtl;
}
.hero .hero-content .hero-divider {
    width: 50%;
    height: 2px;
    background: linear-gradient(to left, transparent, var(--gold));
    margin-bottom: 8px;
    animation: slideUp 0.8s 0.7s both;
}
.hero .hero-content .hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    max-width: 480px;
    margin-bottom: 44px;
    animation: slideUp 0.8s 0.8s both;
    margin: 0 80px 0 0;
    text-align: justify;
}
.hero .hero-content .hero-desc.ltr {
    margin: 0 0 0 80px;
}
  /* ─── STATS BAR ─── */
.hero .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    background: rgba(13, 32, 69, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(201,162,39,0.2);
    animation: slideUp 0.8s 1.2s both;
}
.hero .hero-stats .stat-item {
    padding: 24px 40px;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s;
}

.hero .hero-stats .stat-item:last-child { border-left: none; }
.hero .hero-stats .stat-item:hover { background: rgba(201,162,39,0.05); }

.hero .hero-stats .stat-item .stat-number {
    font-size: 34px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    direction: ltr;
}
.hero .hero-stats .stat-item .stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    font-weight: 400;
}
  /* Scrolling indicator */
.hero .scroll-indicator {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: fadeIn 2s 2s both;
}
.hero .scroll-indicator span {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 2px;
    font-weight: 500;
    writing-mode: vertical-rl;
    direction: ltr;
}
.hero .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollAnim 2s infinite;
}
@keyframes scrollAnim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
@media screen and (max-width: 1100px) {
    .hero .hero-deco-line{
        display: none;
    }
    .hero .scroll-indicator{
        left: 20px;
    }
    .hero .scroll-indicator.ltr{
        left:auto;
        right: 20px;
        transform: translateX(50%);
    }
    .hero .hero-content{
        width:100%;
        max-width: 100%;
    }
}
@media screen and (max-width: 650px){
    .hero .hero-content{
        height: calc(100% - 150px);
        padding: 0 30px;
    }
    .hero .hero-stats{
        grid-template-columns: repeat(2, 1fr);
    }
    .hero .hero-stats .stat-item{
        padding: 20px;
        border: 1px solid rgba(255,255,255,0.06);
    }
    .hero .hero-content .hero-title{
        font-size: clamp(32px, 8vw, 48px);
    }
     .hero .hero-content .hero-subtitle-en{
        font-size: clamp(12px, 3vw, 18px);
    }
    .hero .hero-corner{
        width: 50px;
        height: 50px;
        left: 15px;
        top: 15px;
    }
    .hero .hero-corner.ltr{
        right: 15px;
        left: auto;
    }
    .hero .hero-corner-2{
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 15px;
    }
    .hero .hero-corner-2.ltr{
        right: auto;
        left: 15px;
    }
    .hero .hero-content .hero-desc{
        margin: 0;
    }
    .hero .hero-content .hero-desc.ltr{
        margin: 0;
    }
    .hero .hero-content .hero-badge {
        padding: 4px 12px;
        right: 30px;
    }
    .hero .hero-content .hero-badge.ltr{
        right: auto;
        left: 30px;
    }
    .hero .hero-content .hero-badge .hero-badge-dot{
        width: 8px;
        height: 8px;
    }
    .hero .hero-content .hero-badge span{
        font-size: 12px;
    }
    .hero .scroll-indicator{
        bottom: 210px;
    }
}
/*************************************************************************************************************************/
.herosectiontwo{
    width: 100%;
    height: auto;
    min-height: 400px;
    background: linear-gradient(rgba(13, 32, 69, 0.85), rgba(13, 32, 69, 0.85)), url(../img/herotwo.webp);
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    padding: 150px 0 100px;
}
.herosectiontwo .container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.herosectiontwo .container h1{
    font-size: 58px;
    color: var(--white);
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
}
.herosectiontwo .container p{
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    max-width: 800px;
    text-align: center;
}
@media screen and (max-width: 700px){
    .herosectiontwo .container h1{
        font-size: 32px;
    }
    .herosectiontwo .container p{
        font-size: 14px;
        max-width: 90%;
    }
}
/******************************************************************************************************************************/
.hestorysection{
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, var(--navy) 0%, var(--uod-dark-blue) 100%);
    padding: 100px 0;
}
.hestorysection .timelinetitle{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.hestorysection .timelinetitle::before{
    content: 'HISTORY';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 120px;
    font-weight: 700;
    color: rgba(255,255,255,0.02);
    letter-spacing: 20px;
    white-space: nowrap;
    text-align: center;
}
.hestorysection .timelinetitle .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.hestorysection .timelinetitle .section-kicker .kicker-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hestorysection .timelinetitle .section-kicker .kicker-text {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gold);
    font-weight: 500;
    direction: ltr;
}
.hestorysection .timelinetitle .timelinemaintitle{
    font-size: 58px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    text-align: center;
}
.hestorysection .timelinetitle .timelinemaintitle em{
    font-style: normal;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}
.hestorysection .timelinetitle .timelinesubtitle{
    font-size: 16px;
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}
.hestorysection .timeline{
    position: relative;
    width: 95%;
    margin: 50px auto 0;
    max-width: 1200px;
    box-sizing: border-box;
}
.hestorysection .timeline::after{
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    width: 5px;
    background: inherit;
    filter: blur(4px);
    opacity: 0.5;
    background: var(--uod-gold);
}
.hestorysection .timeline::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--gold) 8%,
    rgba(201,162,39,0.3) 50%,
    var(--gold) 92%,
    transparent 100%
  );
}
.hestorysection .timeline .timelineitem{
    width: 45%;
    height: auto;
    position: relative;
    margin-bottom: 50px;
}
.hestorysection .timeline .timelineitem:nth-child(odd){
    right: 0;
    padding: 0 0 0 40px;
}
.hestorysection .timeline .timelineitem:nth-child(even){
    right: 55%;
    padding: 0 40px 0 0;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(odd){
    left: 0;
    right: auto;
    padding: 0 40px 0 0;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(even){
    left: 55%;
    right: auto;
    padding: 0 0 0 40px;
}
.hestorysection .timeline .timelineitem .timelineyear{
    position: absolute;
    top: 10px;
    background: var(--gold);
    color: var(--navy);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
}
.hestorysection .timeline .timelineitem:nth-child(odd) .timelineyear{
    left: -120px;
    text-align: right;
}
.hestorysection .timeline .timelineitem:nth-child(odd) .timelineyear.tl-show{
    opacity: 0;
    min-width: 0;
    width: 0;
    transition: opacity 4.6s ease, min-width 1.7s ease, width 1.7s ease;
}
.hestorysection .timeline .timelineitem:nth-child(odd) .timelineyear.tl-show.visible{
    opacity: 1;
    width: auto;
    min-width: 120px;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(odd) .timelineyear{
    left: auto;
    right: -120px;
    text-align: left;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(odd) .timelineyear.tl-show{
    opacity: 0;
    min-width: 0;
    width: 0;
    transition: opacity 4.6s ease, min-width 1.7s ease, width 1.7s ease;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(odd) .timelineyear.tl-show.visible{
    opacity: 1;
    width: auto;
    min-width: 120px;
}
.hestorysection .timeline .timelineitem:nth-child(even) .timelineyear{
    right: -120px;
    text-align: left;
}
.hestorysection .timeline .timelineitem:nth-child(even) .timelineyear.tl-show{
    opacity: 0;
    min-width: 0;
    width: 0;
    transition: opacity 4.6s ease, min-width 1.7s ease, width 1.7s ease;
}
.hestorysection .timeline .timelineitem:nth-child(even) .timelineyear.tl-show.visible{
    opacity: 1;
    width: auto;
    min-width: 120px;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(even) .timelineyear{
    left: -120px;
    right: auto;
    text-align: right;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(even) .timelineyear.tl-show{
    opacity: 0;
    min-width: 0;
    width: 0;
    transition: opacity 4.6s ease, min-width 1.7s ease, width 1.7s ease;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(even) .timelineyear.tl-show.visible{
    opacity: 1;
    width: auto;
    min-width: 120px;
}
.hestorysection .timeline .timelineitem .timelineicon{
    position: absolute;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
    top: 10px;
    width: 35px;
    height: 35px;
    background: var(--gold);
    color: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid var(--navy);
    font-size: 14px;
    z-index: 2;
}
.hestorysection .timeline .timelineitem:nth-child(odd) .timelineicon{
    left: -135.5px;
}
.hestorysection .timeline .timelineitem:nth-child(odd) .timelineicon.tl-show{
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.7s ease, transform 1.7s ease;
}
.hestorysection .timeline .timelineitem:nth-child(odd) .timelineicon.tl-show.visible {
    opacity: 1;
    transform: translateX(0);
}
.hestorysection .timeline .timelineitem:nth-child(even) .timelineicon{
    right: -135.5px;
}
.hestorysection .timeline .timelineitem:nth-child(even) .timelineicon.tl-show{
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.7s ease, transform 1.7s ease;
}
.hestorysection .timeline .timelineitem:nth-child(even) .timelineicon.tl-show.visible{
    opacity: 1;
    transform: translateX(0);
}
.hestorysection .timeline .timelineitem.ltr:nth-child(odd) .timelineicon{
    right: -135.5px;
    left: auto;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(odd) .timelineicon.tl-show{
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.7s ease, transform 1.7s ease;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(odd) .timelineicon.tl-show.visible{
    opacity: 1;
    transform: translateX(0);
}
.hestorysection .timeline .timelineitem.ltr:nth-child(even) .timelineicon{
    left: -135.5px;
    right: auto;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(even) .timelineicon.tl-show{
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.7s ease, transform 1.7s ease;
}
.hestorysection .timeline .timelineitem.ltr:nth-child(even) .timelineicon.tl-show.visible{
    opacity: 1;
    transform: translateX(0);
}
.hestorysection .timeline .timelineitem .tl-item {
    display: grid;
    gap: 0;
    margin-bottom: 80px;
    position: relative;
}
.hestorysection .timeline .timelineitem .tl-item.tl-show{
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hestorysection .timeline .timelineitem .tl-item.tl-show.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Card */
.hestorysection .timeline .timelineitem .tl-item .tl-card {
    position: relative;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 2px;
    padding: 32px 36px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: default;
}

.hestorysection .timeline .timelineitem .tl-item .tl-card::before {
    content: '';
    position: absolute;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.5s ease;
}
    
.hestorysection .timeline .timelineitem .tl-item .tl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,162,39,0.2);
    border-color: rgba(201,162,39,0.2);
}

.hestorysection .timeline .timelineitem .tl-item .tl-card:hover::before { height: 100%; }

.hestorysection .timeline .timelineitem .tl-item .tl-card::before {
    right: 0;
}
.hestorysection .timeline .timelineitem.ltr .tl-item .tl-card::before {
    right: auto;
    left: 0;
}

/* Card inner glow */
.hestorysection .timeline .timelineitem .tl-item .tl-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201,162,39,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hestorysection .timeline .timelineitem .tl-item .tl-card .tl-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--text-dim);
    border: 1px solid rgba(201,162,39,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.hestorysection .timeline .timelineitem .tl-item .tl-card .tl-card-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    direction: ltr;
}

.hestorysection .timeline .timelineitem .tl-item .tl-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.3;
}

.hestorysection .timeline .timelineitem .tl-item .tl-card p {
    font-size: 14.5px;
    color: var(--text-dim);
    line-height: 1.85;
}

/* Highlight numbers in text */
.hestorysection .timeline .timelineitem .tl-item .tl-card p strong {
    color: var(--gold-light);
    font-weight: 700;
}

/* Stats row inside card */
.hestorysection .timeline .timelineitem .tl-item .tl-card .card-stats {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}

.hestorysection .timeline .timelineitem .tl-item .tl-card .card-stats .card-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hestorysection .timeline .timelineitem .tl-item .tl-card .card-stats .card-stat-item .card-stat-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
}

.hestorysection .timeline .timelineitem .tl-item .tl-card .card-stats .card-stat-item .card-stat-lbl {
    font-size: 11px;
    color: var(--text-dim);
}

/* Milestone tag */
.hestorysection .timeline .timelineitem .tl-item .tl-card .milestone-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(201,162,39,0.12);
    border: 1px solid rgba(201,162,39,0.3);
    color: var(--gold);
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: 1px;
    font-weight: 600;
}
.hestorysection .timeline .timelineitem.ltr .tl-item .tl-card .milestone-tag {
    left: auto;
    right: 20px;
}
.hestorysection .timeline .timelineitem .tl-item .tl-card .decree-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 4px;
    padding: 6px 12px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--gold);
    font-weight: 500;
}

/* ─── END CAP ─── */
.hestorysection .timeline .timeline-end {
    text-align: center;
    position: relative;
    z-index: 10;
    padding-top: 20px;
}

.hestorysection .timeline .timeline-end .end-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid rgba(201,162,39,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    box-shadow: 0 0 40px rgba(201,162,39,0.2);
    animation: endPulse 3s ease-in-out infinite;
    overflow: hidden;
}

@keyframes endPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(201,162,39,0.2); }
    50% { box-shadow: 0 0 70px rgba(201,162,39,0.4); }
}
.hestorysection .timeline .timeline-end .end-circle img{
    width: 100%;
    height: 100%;
}
.hestorysection .timeline .timeline-end .end-text {
    font-size: 16px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.hestorysection .timeline .timeline-end .end-subtext {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 6px;
}

/* ─── BACKGROUND DECORATIONS ─── */
.bg-glow-1 {
  position: fixed;
  top: 20%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.bg-glow-2 {
  position: fixed;
  bottom: 20%;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30,58,138,0.08) 0%, transparent 70%);
  pointer-events: none;
}
@media screen and (max-width: 1200px) {
    .hestorysection .timeline::before{
        left: auto;
        right: 0;
    }
    .hestorysection.ltr .timeline::before{
        left: 0;
        right: auto;
    }
    .hestorysection .timeline::after{
        left: auto;
        right: 0;
        transform: translateX(50%);
    }
    .hestorysection.ltr .timeline::after{
        left: 0;
        right: auto;
        transform: translateX(-50%);
    }
    .hestorysection .timeline .timelineitem{
        width: calc(100% - 80px);
    }
    .hestorysection .timeline .timelineitem:nth-child(odd),
    .hestorysection .timeline .timelineitem:nth-child(even){
        right: 0;
        padding: 80px  80px 0 0;
    }
    .hestorysection .timeline .timelineitem.ltr:nth-child(odd),
    .hestorysection .timeline .timelineitem.ltr:nth-child(even){
        left: 0;
        padding: 80px 0 0 80px;
    }
    .hestorysection .timeline .timelineitem:nth-child(odd) .timelineyear,
    .hestorysection .timeline .timelineitem:nth-child(even) .timelineyear{
        left: auto;
        right: -10px;
        text-align: left;
    }
    .hestorysection .timeline .timelineitem.ltr:nth-child(odd) .timelineyear,
    .hestorysection .timeline .timelineitem.ltr:nth-child(even) .timelineyear{
        right: auto;
        left: -10px;
        text-align: right;
    }
    .hestorysection .timeline .timelineitem:nth-child(odd) .timelineicon,
    .hestorysection .timeline .timelineitem:nth-child(even) .timelineicon{
        left: auto;
        right: -15px;
    }
    .hestorysection .timeline .timelineitem.ltr:nth-child(odd) .timelineicon,
    .hestorysection .timeline .timelineitem.ltr:nth-child(even) .timelineicon{
        right: auto;
        left: -15px;
    }
    .hestorysection .timeline .timelineitem:nth-child(odd) .timelineicon.tl-show,
    .hestorysection .timeline .timelineitem:nth-child(even) .timelineicon.tl-show,
    .hestorysection .timeline .timelineitem.ltr:nth-child(odd) .timelineicon.tl-show,
    .hestorysection .timeline .timelineitem.ltr:nth-child(even) .timelineicon.tl-show{
        transform: translateX(0px);
    }
}
@media screen and (max-width: 700px) {
    .hestorysection .timelinetitle::before{
        font-size: 100px;  
    }
    .hestorysection .timelinetitle .section-kicker{
        top: -30px;
    }
    .hestorysection .timeline{
        width: 100%;
        padding: 20px;
    }
    .hestorysection .timelinetitle .section-kicker {
        width: 100%;
        justify-content: center;
    }
    .hestorysection .timeline .timelineitem{
        width: calc(100% - 30px);
    }
    .hestorysection .timeline .timelineitem:nth-child(odd),
    .hestorysection .timeline .timelineitem:nth-child(even){
            padding: 80px 40px 0 0;
    }
    .hestorysection .timeline .timelineitem.ltr:nth-child(odd),
    .hestorysection .timeline .timelineitem.ltr:nth-child(even){
            padding: 80px 0 0 40px;
    }
    .hestorysection .timeline::before{
        left: auto;
        right: 20px;
    }
    .hestorysection.ltr .timeline::before{
        left: 20px;
        right: auto;
    }
    .hestorysection .timeline::after{
        left: auto;
        right: 20px;
        transform: translateX(50%);
    }
    .hestorysection.ltr .timeline::after{
        left: auto;
        left: 20px;
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 600px) {
    .hestorysection .timelinetitle::before{
        font-size: 75px;  
    }
    .hestorysection .timelinetitle .section-kicker{
        top: -20px;
    }
    .hestorysection .timelinetitle .section-kicker .kicker-text{
        font-size: 9px;
    }
    .hestorysection .timelinetitle .section-kicker .kicker-line{
        width: 20px;
    }
    .hestorysection .timelinetitle .timelinemaintitle{
        font-size: 42px;
    }
    .hestorysection .timelinetitle .timelinesubtitle{
        max-width: 90%;
        font-size: 14px;
    }
}
@media screen and (max-width: 500px) {
    .hestorysection .timeline .timelineitem{
        width: calc(100% - 10px);
    }
    .hestorysection .timelinetitle::before{
        font-size: 40px;  
    }
    .hestorysection .timelinetitle .section-kicker{
        top: -30px;
    }
    .hestorysection .timelinetitle .section-kicker .kicker-text{
        letter-spacing: 1px;
    }
    .hestorysection .timeline .timelineitem .tl-item .tl-card{
        padding: 15px;
    }
    .hestorysection .timeline .timelineitem:nth-child(odd), 
    .hestorysection .timeline .timelineitem:nth-child(even){
        padding: 55px 20px 0 0;
    }
    .hestorysection .timeline .timelineitem.ltr:nth-child(odd), 
    .hestorysection .timeline .timelineitem.ltr:nth-child(even){
        padding: 55px 0 0 20px;
    }
}
/*******************************************************************************************************************************/
.services {
    position: relative;
    background: var(--off-white);
    padding: 50px 60px 120px;
    overflow: hidden;
}
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
    linear-gradient(rgba(11,25,49,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,25,49,.04) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}
    /* ── large radial glow centre ── */
.services .glow-centre {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 900px; height: 600px;
    background: radial-gradient(ellipse at center,
    rgba(184,146,42,.07) 0%,
    transparent 70%);
    pointer-events: none;
}
/* ── dot clusters (hero style) ── */
.services .dots {
    position: absolute;
    width: 110px; height: 110px;
    background-image: radial-gradient(var(--gold) 1.4px, transparent 1.4px);
    background-size: 13px 13px;
    opacity: .22;
    pointer-events: none;
}
.services .dots-tr { 
    top: 60px; 
    left: 60px; 
}
.services .dots-bl { 
    bottom: 60px; 
    right: 60px; 
}

    /* ── corner bracket top-right ── */
.services .bracket {
    position: absolute;
    width: 55px; height: 55px;
    border-color: rgba(201,162,39,.5);
    border-style: solid;
    pointer-events: none;
}
.services .bracket-tr { 
    top: 28px; 
    left: 28px; 
    border-width: 2px 0 0 2px; 
}
.services .bracket-bl { 
    bottom: 28px; 
    right: 28px; 
    border-width: 0 2px 2px 0; 
}
/* ══════════════════════════════════════
    HEADER
══════════════════════════════════════ */
.services .header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.services .header .badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-line);
    border-radius: 30px;
    padding: 7px 22px;
    margin-bottom: 28px;
}
.services .header .badge .badge-dot {
    width: 7px; height: 7px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.4; transform:scale(1.5); }
}
.services .header .badge span {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--gold);
    text-transform: uppercase;
}

.services .header .title-block {
    margin-bottom: 28px;
}
.services .header .title-block .title-ar {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    display: block;
}
.services .header .title-block .title-ar .gold { 
    color: var(--gold); 
}
.services .header .title-block .title-en {
    display: block;
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: .35em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 10px;
}

.services .header .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 26px;
    width: fit-content;
}
.services .header .divider .div-line { 
    width: 64px; 
    height: 1px; 
    background: rgba(201,162,39,.35); 
}
.services .header .divider .div-icon { 
    color: var(--gold); 
    font-size: .75rem; 
    opacity: .7; 
}

.services .header .subtitle {
    font-size: .95rem;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 2;
}
/* ══════════════════════════════════════
    CARDS
══════════════════════════════════════ */
.services .cards-wrap {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto 0;
}

.services .cards-wrap .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services .cards-wrap .cards .card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 20px rgba(11,25,49,.06);
    transition: border-color .4s, transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s;
}
.services .cards-wrap .cards .card:hover {
    border-color: rgba(184,146,42,.5);
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(11,25,49,.14), 0 0 0 1px rgba(184,146,42,.18);
}

    /* animated gold top bar */
.services .cards-wrap .cards .card .card-topbar {
    height: 3px;
    background: linear-gradient(90deg, var(--off-white), var(--off-white));
    position: relative;
    overflow: hidden;
}
.services .cards-wrap .cards .card .card-topbar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    transform: translateX(101%);
    transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.services .cards-wrap .cards .card:hover .card-topbar::after { 
    transform: translateX(0); 
}

.services .cards-wrap .cards .card .card-body { 
    padding: 44px 36px 40px; 
}

.services .cards-wrap .cards .card .card-body .card-tag {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--gold);
    border: 1px solid var(--gold-line);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 30px;
}

    /* icon ring */
.services .cards-wrap .cards .card .card-body .card-icon-ring {
    width: 68px; height: 68px;
    border-radius: 50%;
    border: 1px solid rgba(11,25,49,.12);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px;
    position: relative;
    transition: border-color .4s;
}
.services .cards-wrap .cards .card:hover .card-body .card-icon-ring { 
    border-color: rgba(201,162,39,.5); 
}

    /* rotating orbit ring */
.services .cards-wrap .cards .card .card-body .card-icon-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(201,162,39,.2);
    animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.services .cards-wrap .cards .card .card-body .card-icon-ring svg {
    width: 28px; 
    height: 28px;
    stroke: var(--navy); 
    fill: none;
    stroke-width: 1.5; 
    stroke-linecap: round; 
    stroke-linejoin: round;
    transition: stroke .3s;
}
.services .cards-wrap .cards .card:hover .card-body .card-icon-ring svg { 
    stroke: var(--gold-lt); 
}

.services .cards-wrap .cards .card .card-body .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}
.services .cards-wrap .cards .card .card-body .card-desc {
    font-size: .86rem;
    color: var(--muted);
    line-height: 1.95;
    margin-bottom: 36px;
}

    /* link pill */
.services .cards-wrap .cards .card .card-body .card-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--gold);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--gold-line);
    border-radius: 2px;
    transition: background .3s, color .3s, gap .25s;
}
.services .cards-wrap .cards .card:hover .card-body .card-cta { 
    background: var(--gold); 
    color: var(--navy); 
}
.services .cards-wrap .cards .card .card-body .card-cta svg {
    width: 13px; height: 13px;
    stroke: currentColor; fill: none; stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
    transform: scaleX(-1); flex-shrink: 0;
}
@media screen and (max-width: 960px) {
    .services { 
        padding: 80px 32px 90px; 
    }
    .services .cards-wrap .cards { 
        grid-template-columns: 1fr 1fr; 
    }
    .services .cards-wrap .cards .card:last-child { 
        grid-column: 1/-1;
        max-width: 420px; 
        margin: 0 auto; 
        width: 100%; 
    }
}
@media screen and (max-width: 580px) {
    .services { 
        padding: 60px 20px 70px; 
    }
    .services .cards-wrap .cards { 
        grid-template-columns: 1fr; 
    }
    .services .cards-wrap .cards .card:last-child { 
        max-width: 420px; 
    }
    .services .cards-wrap .cards .card{
        max-width: 420px;
        margin: 0 auto; 
    }
}
@media screen and (max-width: 380px) {
    .services .header .badge span{
        font-size: 8px;
    }
    .services .header .title-block .title-ar {
        font-size: clamp(2rem, 3vw, 2rem);
    }
    .services .header .title-block .title-en {
        font-size: .6rem;
        letter-spacing: .15em;
    }
    .services .header .title-block {
        margin-bottom: 0px;
    }
    .services .header {
        margin-bottom: 40px;
    }
}
/***************************************************************************************************************************************/
/* ══════════════════════════
       SECTION
    ══════════════════════════ */
.president {
    position: relative;
    background: var(--off-white);
    padding: 100px 60px;
    overflow: hidden;
}

.president::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
    linear-gradient(rgba(11,25,49,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,25,49,.035) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}

.president .president-rule {
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg,
    transparent 0%, var(--gold) 30%,
    var(--gold-lt) 50%, var(--gold) 70%, transparent 100%);
}

.president .dots {
    position: absolute;
    width: 100px; height: 100px;
    background-image: radial-gradient(var(--gold) 1.4px, transparent 1.4px);
    background-size: 13px 13px;
    opacity: .15;
    pointer-events: none;
}
.president .dots-a { 
    top: 50px; 
    right: 70px; 
}
.president .dots-b { 
    bottom: 50px; 
    left: 70px; 
}

.president .bracket {
    position: absolute;
    width: 55px; height: 55px;
    border-color: rgba(184,146,42,.4);
    border-style: solid;
    pointer-events: none;
}
.president .bracket-tl { 
    top: 28px; 
    right: 28px; 
    border-width: 2px 2px 0 0; 
}
.president .bracket-br { 
    bottom: 28px; 
    left: 28px; 
    border-width: 0 0 2px 2px; 
}

/* ══════════════════════════
    CARD
══════════════════════════ */
.president .card {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 8px 48px rgba(11,25,49,.08);
    padding: 64px 72px;
    overflow: hidden;
}

/* left gold bar */
.president .card::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-lt) 50%, var(--gold) 100%);
}

/* large faint quote bg */
.president .card .card-quote-bg {
    position: absolute;
    top: 220px; 
    right: 40px;
    font-size: 18rem;
    line-height: 1;
    color: var(--navy);
    opacity: .025;
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
}

/* ── TOP ROW: badge + portrait ── */
.president .card .top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 32px;
}

.president .card .top-row .top-left { 
    flex: 1; 
}

    /* badge */
.president .card .top-row .top-left .badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-line);
    border-radius: 30px;
    padding: 6px 18px;
    margin-bottom: 20px;
}
.president .card .top-row .top-left .badge .badge-dot {
    width: 7px; height: 7px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.4; transform:scale(1.5); }
}
.president .card .top-row .top-left .badge span {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--gold);
    text-transform: uppercase;
}

.president .card .top-row .top-left .heading {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 14px;
}

.president .card .top-row .top-left .name-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.president .card .top-row .top-left .name-row .name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}
.president .card .top-row .top-left .name-row .name-line { 
    flex: 1; 
    height: 1px; 
    background: var(--border); 
    max-width: 120px; 
}

    /* ── PORTRAIT ── */
.president .card .top-row .portrait-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.president .card .top-row .portrait-wrap .portrait-ring {
    position: relative;
    width: 150px;
    height: 150px;
}

    /* spinning dashed ring */
.president .card .top-row .portrait-wrap .portrait-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(184,146,42,.35);
    animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

    /* gold solid inner ring */
.president .card .top-row .portrait-wrap .portrait-ring::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 2px solid var(--gold-line);
}

.president .card .top-row .portrait-wrap .portrait-ring .portrait-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    background: linear-gradient(135deg, #0f2040, #1a3a6e);
}

    /* placeholder icon inside circle */
.president .card .top-row .portrait-wrap .portrait-ring .portrait-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f2040, #1a3a6e);
    display: flex;
    align-items: center;
    justify-content: center;
}
.president .card .top-row .portrait-wrap .portrait-ring .portrait-placeholder svg {
    width: 52px; height: 52px;
    stroke: rgba(184,146,42,.35); fill: none;
    stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
}

.president .card .top-row .portrait-wrap .portrait-label {
    text-align: center;
}
.president .card .top-row .portrait-wrap .portrait-label .portrait-name {
    font-size: .8rem;
    font-weight: 700;
    color: var(--navy);
    display: block;
}
.president .card .top-row .portrait-wrap .portrait-label .portrait-title {
    font-size: .72rem;
    color: var(--muted);
}

    /* ── DIVIDER ── */
.president .card .divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}
.president .card .divider .div-line { 
    flex: 1; 
    height: 1px; 
    background: var(--border); 
}
.president .card .divider .div-diamond {
    width: 8px; height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

    /* ── BODY TEXT ── */
.president .card .body-text {
    font-size: .94rem;
    color: #3a4a65;
    line-height: 2.1;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    text-align: justify;
}

    /* ── CTA ── */
.president .card .cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--navy);
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
    transition: color .25s, gap .25s;
}
.president .card .cta:hover { 
    color: var(--gold); 
    gap: 16px; 
}
.president .card .cta svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    transform: scaleX(-1);
}

    /* ══════════════════════════
       RESPONSIVE
    ══════════════════════════ */
@media (max-width: 768px) {
    .president { 
        padding: 70px 24px; 
    }
    .president .card { 
        padding: 44px 32px; 
    }
    .president .card .top-row { 
        flex-direction: column-reverse; 
        align-items: center; 
    }
}
@media (max-width: 500px) {
    .president .card { 
        padding: 44px 15px; 
    }
    .president .card .top-row .top-left .badge span {
        font-size: .5rem;
    }
    .president .card .top-row .top-left .heading {
        font-size: clamp(1.5rem, 1.5vw, 1.4rem);
        font-weight: 900;
        color: var(--navy);
        line-height: 1.1;
        margin-bottom: 14px;
    }
}
/*******************************************************************************************************************************************/

.layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    padding: 32px 100px 60px;
    gap: 28px;
    align-items: flex-start;
    background: var(--bg-3);
    background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 72px 72px;
    position: relative;
}
.layout::after{
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-lt), var(--gold), transparent);
}
/* video iframe wrapper */
.layout .video-wrap {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(11,25,49,.18);
}
.layout .video-wrap::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}
.layout .video-wrap #player {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* gold top accent on player */
.layout .video-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt), var(--gold));
    z-index: 2;
}

/* loading skeleton */
.layout .video-wrap .player-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px;
    z-index: 1;
    transition: opacity .4s;
}
.layout .video-wrap .player-skeleton.hidden { 
    opacity: 0; 
    pointer-events: none; 
}
.layout .video-wrap .player-skeleton .skeleton-icon { 
    width: 64px; 
    height: 64px; 
    opacity: .2; 
}
.layout .video-wrap .player-skeleton .skeleton-icon svg { 
    width: 100%; 
    height: 100%; 
    fill: var(--gold); 
}
.layout .video-wrap .player-skeleton .skeleton-pulse {
    width: 48px; 
    height: 48px; 
    border-radius: 50%;
    border: 2px solid rgba(184,146,42,.3);
    animation: skPulse 1.5s ease-in-out infinite;
}
@keyframes skPulse {
    0%,100% { transform: scale(1); opacity: .5; }
    50%      { transform: scale(1.2); opacity: 1; }
}

    /* video meta */
.layout .video-meta {
    margin-top: 20px;
    padding: 24px 28px;
    background: var(--card);
    border: 1px solid var(--border2);
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
    position: relative;
    overflow: hidden;
}
.layout .video-meta::before {
    content: '';
    position: absolute; 
    top: 0; 
    right: 0;
    width: 4px; 
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--gold-lt), var(--gold));
}
.layout .video-meta .vm-top {
    display: flex; 
    align-items: flex-start;
    justify-content: space-between; 
    gap: 16px;
    margin-bottom: 14px;
}
.layout .video-meta .vm-top #h1 {
    font-size: 1.1rem; 
    font-weight: 900;
    color: var(--white); 
    line-height: 1.5; 
    flex: 1;
}
.layout .video-meta .vm-top .vm-date {
    display: flex; 
    align-items: center; 
    gap: 6px;
    flex-shrink: 0;
}
.layout .video-meta .vm-top .vm-date svg { 
    width: 14px; 
    height: 14px; 
    stroke: var(--muted); 
    fill: none; 
    stroke-width: 2; 
    stroke-linecap: round; 
}
.layout .video-meta .vm-top #time { 
    font-size: .75rem; 
    color: var(--muted); 
    font-weight: 600; 
}

.layout .video-meta .vm-divider {
    display: flex; 
    align-items: center; 
    gap: 10px;
    margin-bottom: 14px;
}
.layout .video-meta .vm-divider .vm-div-line { 
    flex: 1; 
    height: 1px; 
    background: var(--border2); 
}
.layout .video-meta .vm-divider .vm-div-dot  { 
    width: 6px; 
    height: 6px; 
    background: var(--gold); 
    transform: rotate(45deg); 
}

.layout .video-meta #pre {
    font-size: .87rem; 
    color: var(--muted);
    line-height: 1.9; 
    max-height: 80px;
    overflow: hidden; 
    text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}

    /* ══════════════════════════
       RIGHT: PLAYLIST
    ══════════════════════════ */
.layout .playlist-panel {
    background: var(--card);
    border: 1px solid var(--border2);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 50px);
}

.layout .playlist-panel .playlist-head {
    background: var(--navy);
    padding: 16px 20px;
    display: flex; 
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
}
.layout .playlist-panel .playlist-head::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0; 
    right: 0; 
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.layout .playlist-panel .playlist-head .ph-icon { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    background: var(--gold-dim); 
    border: 1px solid var(--gold-line); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.layout .playlist-panel .playlist-head .ph-icon svg { 
    width: 16px; 
    height: 16px; 
    fill: var(--gold-lt); 
}
.layout .playlist-panel .playlist-head .ph-title { 
    font-size: .9rem; 
    font-weight: 700; 
    color: var(--white); 
}
.layout .playlist-panel .playlist-head .ph-count { 
    font-size: .72rem; 
    color: rgba(255,255,255,.35); 
    margin-top: 1px; 
}

.layout .playlist-panel .playlist-search {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border2);
    flex-shrink: 0;
    background: var(--navy-2);
}
.layout .playlist-panel .playlist-search .search-box {
    display: flex; 
    align-items: center; 
    gap: 8px;
    background: rgba(255,255,255,.05); 
    border: 1px solid var(--border2);
    border-radius: 4px; 
    padding: 7px 12px;
}
.layout .playlist-panel .playlist-search .search-box svg { 
    width: 14px; 
    height: 14px; 
    stroke: var(--muted); 
    fill: none; 
    stroke-width: 2; 
    stroke-linecap: round; 
    flex-shrink: 0; 
}
.layout .playlist-panel .playlist-search .search-box input {
    background: none; 
    border: none; 
    outline: none;
    font-size: .82rem;
    color: var(--text); 
    flex: 1; 
    text-align: right;
}
.layout .playlist-panel .playlist-search .search-box input::placeholder { 
    color: var(--muted); 
}

    /* list */
.layout .playlist-panel #content {
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-line) transparent;
}
.layout .playlist-panel #content::-webkit-scrollbar { 
    width: 4px; 
}
.layout .playlist-panel #content::-webkit-scrollbar-thumb { 
    background: var(--gold-line); 
    border-radius: 2px; 
}

    /* loading state */
.layout .playlist-panel #content .loading-state {
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    padding: 48px 24px; 
    gap: 14px;
}
.layout .playlist-panel #content .loading-spinner {
    width: 36px; 
    height: 36px;
    border: 2px solid var(--border2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.layout .playlist-panel #content .loading-text { 
    font-size: .82rem; 
    color: var(--muted); 
    font-weight: 600; 
}

    /* ── VIDEO CARD ── */
.layout .playlist-panel #content .vido {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border2);
    cursor: pointer;
    transition: background .2s;
    position: relative;
}
.layout .playlist-panel #content .vido:hover { 
    background: rgba(255,255,255,.04); 
}
.layout .playlist-panel #content .vido.active {
    background: rgba(201,162,39,.10);
    border-right: 3px solid var(--gold);
}
.layout .playlist-panel #content .vido.active::before {
    content: '';
    position: absolute;
    inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(201,162,39,.07), transparent);
}

.layout .playlist-panel #content .imgvid {
    position: relative;
    flex-shrink: 0;
    width: 110px; height: 62px;
    border-radius: 3px;
    overflow: hidden;
}
.layout .playlist-panel #content .imgvid img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.layout .playlist-panel #content .vido:hover .imgvid img { 
    transform: scale(1.05); 
}

    /* overlay covers */
.layout .playlist-panel #content .imgcover, .imgcovert {
    position: absolute; 
    inset: 0;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: .65rem; 
    font-weight: 700;
    border-radius: 3px; 
    transition: opacity .2s;
}
.layout .playlist-panel #content .imgcover {
    background: rgba(201,162,39,.85);
    color: var(--white); opacity: 0;
}
.layout .playlist-panel #content .imgcovert {
    background: rgba(0,0,0,.35);
    color: var(--white); opacity: 0;
}
.layout .playlist-panel #content .vido.active .imgcover { opacity: 1; }
.layout .playlist-panel #content .vido:not(.active):hover .imgcovert { opacity: 1; }

    /* play icon on thumbnail */
.layout .playlist-panel #content .imgvid::after {
    content: '▶';
    position: absolute;
    bottom: 4px; left: 4px;
    font-size: .55rem;
    background: rgba(0,0,0,.6);
    color: var(--white);
    padding: 2px 5px;
    border-radius: 2px;
    opacity: .7;
}
.layout .playlist-panel #content .vido.active .imgvid::after { display: none; }

    /* video info */
.layout .playlist-panel #content .title {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
    justify-content: center; gap: 4px;
}
.layout .playlist-panel #content .title h3 {
    font-size: .82rem; font-weight: 700;
    color: var(--text); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.layout .playlist-panel #content .vido.active .title h3 { color: var(--gold); }
.layout .playlist-panel #content .title h4 {
    font-size: .72rem; font-weight: 400;
    color: var(--muted); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
    overflow: hidden;
}
.layout .playlist-panel #content .title h5 {
    font-size: .68rem; font-weight: 600;
    color: var(--gold); opacity: .7;
    display: flex; align-items: center; gap: 4px;
}
.layout .playlist-panel #content .title h5::before { content: '📅'; font-size: .6rem; }

    /* error state */
.layout .playlist-panel #content .error-state {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 48px 24px; gap: 14px;
}
.layout .playlist-panel #content .error-icon { 
    font-size: 2rem; 
}
.layout .playlist-panel #content .error-text { 
    font-size: .85rem; 
    color: var(--muted); 
    text-align: center; 
    line-height: 1.8; 
}
.layout .youtube-btn{
    width: 200px;
    height: 100px;
    background: var(--gold);
    margin: 8px auto;
    text-align: center;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.layout .youtube-btn svg{
    width: 14px; 
    height: 14px; 
    stroke: var(--navy); 
    margin: 0 8px;
}
.layout .youtube-btn a{
    font-size: 14px;
    color: var(--navy);
    padding: 8px 15px;
    display: flex;
    align-items: center;
}

    /* ══════════════════════════
       RESPONSIVE
    ══════════════════════════ */
@media (max-width: 900px) {
    .layout { 
        grid-template-columns: 1fr; 
        padding: 20px 16px 40px; 
    }
    .layout .playlist-panel {
        max-height: 480px; 
    }
    .layout .page-header { 
        padding: 16px 20px; 
    }
}
/*****************************************************************************************************************************************/

.news-section {
    position: relative;
    background: var(--off-white);
    padding: 90px 60px 100px;
    overflow: hidden;
}

    /* dot texture */
.news-section::before {
    content: "";
    position: absolute;
    background-image: linear-gradient(rgba(11, 25, 49, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 25, 49, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    inset: 0px;
}

/* gold top rule */
.news-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-lt), var(--gold), transparent);
}

    /* dot clusters */
.news-section .dots {
    position: absolute;
    width: 100px; 
    height: 100px;
    background-image: radial-gradient(var(--gold) 1.4px, transparent 1.4px);
    background-size: 13px 13px;
    opacity: .14;
    pointer-events: none;
}
.news-section .dots-a { 
    top: 48px; 
    left: 48px; 
}
.news-section .dots-b { 
    bottom: 48px; 
    right: 48px; 
}

    /* bracket corners */
.news-section .bracket {
    position: absolute;
    width: 48px; 
    height: 48px;
    border-color: rgba(184,146,42,.35);
    border-style: solid;
    pointer-events: none;
}
.news-section .bracket-tl { 
    top: 22px; 
    left: 22px; 
    border-width: 2px 0 0 2px; 
}
.news-section .bracket-br { 
    bottom: 22px; 
    right: 22px; 
    border-width: 0 2px 2px 0; 
}

/* ══════════════════════════
    HEADER
══════════════════════════ */
.news-section .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 52px;
    position: relative;
    z-index: 2;
}


.news-section .header-left .badge {
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    background: var(--gold-dim); 
    border: 1px solid var(--gold-line);
    border-radius: 30px; 
    padding: 6px 18px; 
    margin-bottom: 14px;
}
.news-section .header-left .badge .badge-dot {
    width: 7px; 
    height: 7px; 
    background: var(--gold);
    border-radius: 50%; 
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%,100%{ opacity:1; transform:scale(1); }
    50%     { opacity:.4; transform:scale(1.5); }
}
.news-section .header-left .badge span { 
    font-size: .7rem; 
    font-weight: 700; 
    letter-spacing: .18em; 
    color: var(--gold); 
    text-transform: uppercase; 
}

.news-section .header-left .section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 900; color: var(--navy); 
    line-height: 1.1;
}
.news-section .header-left .section-title em { 
    font-style: normal; 
    color: var(--gold); 
}

.news-section .header-left .title-rule {
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-top: 16px;
}
.news-section .header-left .title-rule .rule-line { 
    width: 48px; 
    height: 1px; 
    background: var(--border); 
}
.news-section .header-left .title-rule .rule-diamond { 
    width: 7px; 
    height: 7px; 
    background: var(--gold); 
    transform: rotate(45deg); 
}

    /* filter tabs */
.news-section .section-header .filter-tabs {
    display: flex; 
    gap: 8px; 
    align-items: center;
    flex-wrap: wrap; 
    justify-content: flex-end;
}
.news-section .section-header .filter-tabs .tab {
    padding: 7px 18px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: .78rem; font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all .25s;
}
.news-section .section-header .filter-tabs .tab:hover { 
    border-color: var(--gold); 
    color: var(--gold); 
}
.news-section .section-header .filter-tabs .tab.active { 
    background: var(--navy); 
    border-color: var(--navy); 
    color: var(--white); 
}

/* ══════════════════════════
    GRID
══════════════════════════ */
.news-section .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative; 
    z-index: 2;
    margin-bottom: 52px;
}

    /* ── CARD ── */
.news-section .news-grid .card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex; 
    flex-direction: column;
    box-shadow: 0 2px 16px rgba(11,25,49,.06);
    transition: transform .35s cubic-bezier(.22,.61,.36,1),
                box-shadow .35s, border-color .35s;
    position: relative;
}
.news-section .news-grid .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(11,25,49,.12);
    border-color: rgba(184,146,42,.35);
}

    /* sliding gold top bar */
.news-section .news-grid .card::before {
    content: '';
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    transform: scaleX(0); 
    transform-origin: right;
    transition: transform .4s ease;
    z-index: 2;
}
.news-section .news-grid .card:hover::before { 
    transform: scaleX(1); 
    transform-origin: left; 
}

    /* ── THUMBNAIL ── */
.news-section .news-grid .card .card-thumb {
    position: relative;
    width: 100%; height: 210px;
    overflow: hidden;
    background: var(--bg-2);
}
.news-section .news-grid .card .card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.news-section .news-grid .card:hover .card-thumb img { 
    transform: scale(1.06); 
}

    /* dark gradient over image */
.news-section .news-grid .card .card-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(11,25,49,.55) 100%);
}

    /* date badge on image */
.news-section .news-grid .card .card-thumb .card-date {
    position: absolute;
    bottom: 14px; left: 14px;
    z-index: 2;
    background: var(--white);
    border-radius: 4px;
    padding: 8px 12px;
    text-align: center;
    min-width: 52px;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
    line-height: 1;
}
.news-section .news-grid .card .card-thumb .card-date .card-date-num { 
    display: block; 
    font-size: 1.3rem; 
    font-weight: 900; 
    color: var(--navy); 
}
.news-section .news-grid .card .card-thumb .card-date .card-date-mon { 
    display: block; 
    font-size: .68rem; 
    font-weight: 700; 
    color: var(--gold); 
    margin-top: 2px; 
}

    /* placeholder when no image */
.news-section .news-grid .card .card-thumb .card-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-2), #dde3f0);
}
.news-section .news-grid .card .card-thumb .card-thumb-placeholder svg {
    width: 52px; height: 52px;
    stroke: rgba(11,25,49,.12); fill: none;
    stroke-width: 1; stroke-linecap: round;
}

    /* ── BODY ── */
.news-section .news-grid .card .card-body {
    padding: 22px 24px 20px;
    flex: 1; display: flex; flex-direction: column; gap: 10px;
}

    /* category tag */
.news-section .news-grid .card .card-body .card-tag {
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
    font-size: .68rem; 
    font-weight: 700;
    padding: 4px 12px; 
    border-radius: 2px;
    width: fit-content;
}
.news-section .news-grid .card .card-body .card-tag::before { 
    content: '◆'; 
    font-size: .5rem; 
}
.news-section .news-grid .card .card-body .card-tag.news    { 
    background: rgba(26,111,160,.1); 
    color: var(--tag-news); 
}
.news-section .news-grid .card .card-body .card-tag.act     { 
    background: rgba(26,138,90,.1);  
    color: var(--tag-act); 
}
.news-section .news-grid .card .card-body .card-tag.dec     { 
    background: rgba(138,58,26,.1);  
    color: var(--tag-dec); 
}
.news-section .news-grid .card .card-body .card-tag.gen     { 
    background: var(--gold-dim);     
    color: var(--gold); 
}

.news-section .news-grid .card .card-body .card-title {
    font-size: .98rem; font-weight: 700;
    color: var(--navy); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s;
}
.news-section .news-grid .card:hover .card-title { 
    color: var(--gold); 
}

.news-section .news-grid .card .card-body .card-body .card-desc {
    font-size: .82rem; color: var(--muted);
    line-height: 1.85;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

    /* ── FOOTER ── */
.news-section .news-grid .card .card-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
    background: var(--off-white);
}

.news-section .news-grid .card .card-footer .card-views {
    display: flex; 
    align-items: center; 
    gap: 6px;
    font-size: .74rem; 
    color: var(--muted); 
    font-weight: 600;
}
.news-section .news-grid .card .card-footer .card-views svg {
    width: 14px; 
    height: 14px;
    stroke: var(--muted); 
    fill: none;
    stroke-width: 2; 
    stroke-linecap: round; 
    stroke-linejoin: round;
}

.news-section .news-grid .card .card-footer .card-link {
    display: inline-flex; 
    align-items: center; 
    gap: 7px;
    font-size: .78rem; 
    font-weight: 700;
    color: var(--navy); 
    text-decoration: none;
    letter-spacing: .05em;
    transition: color .25s, gap .25s;
}
.news-section .news-grid .card:hover .card-link { 
    color: var(--gold); 
    gap: 11px; 
}
.news-section .news-grid .card .card-footer .card-link svg {
    width: 13px; height: 13px;
    stroke: currentColor; fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    transform: scaleX(-1);
}

    /* ══════════════════════════
       VIEW ALL BUTTON
    ══════════════════════════ */
.news-section .view-all-wrap {
    display: flex; justify-content: center;
    position: relative; z-index: 2;
}
.news-section .view-all-wrap .view-all {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 36px;
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
    border-radius: 4px;
    font-family: 'Cairo', sans-serif;
    font-size: .85rem; font-weight: 700;
    text-decoration: none; letter-spacing: .06em;
    transition: background .3s, color .3s, gap .25s;
    position: relative; overflow: hidden;
}
.news-section .view-all-wrap .view-all::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--gold);
    transform: translateX(101%);
    transition: transform .4s cubic-bezier(.77,0,.175,1);
}
.news-section .view-all-wrap .view-all:hover::before { transform: translateX(0); }
.news-section .view-all-wrap .view-all:hover { border-color: var(--gold); }
.news-section .view-all-wrap .view-all span, .view-all svg { position: relative; z-index: 1; }
.news-section .view-all-wrap .view-all svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none; stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
    transform: scaleX(-1);
}

@keyframes fu { to { opacity:1; transform:translateY(0); } }
.d0 { animation-delay: .05s; }
.d1 { animation-delay: .15s; }
.d2 { animation-delay: .25s; }
.d3 { animation-delay: .35s; }
.d4 { animation-delay: .45s; }

    /* ══════════════════════════
       RESPONSIVE
    ══════════════════════════ */
@media (max-width: 1024px) { 
    .news-section .news-grid { 
        grid-template-columns: 1fr 1fr; 
    } 
}
@media (max-width: 640px) {
    .news-section { 
        padding: 60px 20px 70px; 
    }
    .news-section .news-grid { 
        grid-template-columns: 1fr; 
    }
    .news-section .section-header { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px; 
    }
    .news-section .section-header .filter-tabs { 
        justify-content: flex-start; 
    }
}
/****************************************************************************************************************************************/


/* ══════════════════════════
    SECTION
══════════════════════════ */
.journals {
    position: relative;
    background: var(--off-white);
    padding: 90px 60px 100px;
    overflow: hidden;
}

/* fine dot texture */
.journals::before {
    content: "";
    position: absolute;
    background-image: linear-gradient(rgba(11, 25, 49, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 25, 49, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    inset: 0px;
}

/* gold top rule */
.journals::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-lt), var(--gold), transparent);
}

    /* dot clusters */
.journals .dots {
    position: absolute;
    width: 100px; height: 100px;
    background-image: radial-gradient(var(--gold) 1.4px, transparent 1.4px);
    background-size: 13px 13px;
    opacity: .14; pointer-events: none;
}
.journals .dots-a { 
    top: 48px; 
    right: 48px; 
}
.journals .dots-b { 
    bottom: 48px; 
    left: 48px; 
}

.journals .bracket {
    position: absolute; 
    width: 48px; 
    height: 48px;
    border-color: rgba(184,146,42,.35); 
    border-style: solid; 
    pointer-events: none;
}
.journals .bracket-tl { 
    top: 22px; 
    right: 22px; 
    border-width: 2px 2px 0 0; 
}
.journals .bracket-br { 
    bottom: 22px; 
    left: 22px; 
    border-width: 0 0 2px 2px; 
}

    /* ══════════════════════════
       HEADER
    ══════════════════════════ */
.journals .header {
    text-align: center;
    margin-bottom: 70px;
    position: relative; z-index: 2;
}

.journals .header .badge {
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    background: var(--gold-dim); 
    border: 1px solid var(--gold-line);
    border-radius: 30px; 
    padding: 6px 18px; 
    margin-bottom: 20px;
}
.journals .header .badge .badge-dot {
    width: 7px; 
    height: 7px; 
    background: var(--gold);
    border-radius: 50%; 
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%,100%{ opacity:1; transform:scale(1); }
    50%{ opacity:.4; transform:scale(1.5); }
}
.journals .header .badge span { 
    font-size: .7rem; 
    font-weight: 700; 
    letter-spacing: .18em; 
    color: var(--gold); 
    text-transform: uppercase; 
}

.journals .header .title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900; 
    color: var(--navy); 
    line-height: 1.1; 
    margin-bottom: 6px;
}
.journals .header .title em { 
    font-style: normal; 
    color: var(--gold); 
}

.journals .header .divider {
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 12px; 
    margin: 20px auto 22px;
}
.journals .header .divider .div-line { 
    width: 56px; 
    height: 1px; 
    background: var(--border); 
}
.journals .header .divider .div-diamond { 
    width: 7px; 
    height: 7px; 
    background: var(--gold); 
    transform: rotate(45deg); 
}

.journals .header .subtitle {
    font-size: .95rem; 
    color: var(--muted);
    max-width: 480px; 
    margin: 0 auto; 
    line-height: 2;
}

    /* ══════════════════════════
       STATS ROW
    ══════════════════════════ */
.journals .stats-row {
    display: flex; 
    justify-content: center; 
    gap: 0;
    max-width: 640px; 
    margin: 0 auto 60px;
    border: 1px solid var(--border);
    background: var(--white);
    position: relative; z-index: 2;
}
.journals .stats-row .stat-item {
    flex: 1; text-align: center; 
    padding: 20px 16px;
    border-left: 1px solid var(--border);
}
.journals .stats-row .stat-item:last-child { 
    border-left: none; 
}
.journals .stats-row .stat-num { 
    display: block; 
    font-size: 1.8rem; 
    font-weight: 900; 
    color: var(--gold); 
    line-height: 1; 
}
.journals .stats-row .stat-label { 
    font-size: .72rem; 
    color: var(--muted); 
    margin-top: 4px; 
}

    /* ══════════════════════════
       CARDS GRID
    ══════════════════════════ */
.journals .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1160px;
    margin: 0 auto 60px;
    position: relative; z-index: 2;
}

    /* ── CARD ── */
.journals .cards .card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 20px rgba(11,25,49,.06);
    transition: transform .35s cubic-bezier(.22,.61,.36,1),
                box-shadow .35s, border-color .35s;
}
.journals .cards .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(11,25,49,.12);
}

    /* specialty top bar */
.journals .cards .card .card-topbar { 
    height: 4px; 
    width: 100%; 
}

    /* specialty bg pattern area */
.journals .cards .card .card-hero {
    position: relative;
    padding: 40px 32px 32px;
    display: flex; 
    flex-direction: column; 
    align-items: center;
    overflow: hidden;
}

    /* large background initial letter */
.journals .cards .card .card-hero .card-hero-letter {
    position: absolute;
    top: -10px; left: 16px;
    font-size: 9rem;
    font-weight: 900;
    opacity: .04;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

    /* decorative circuit/pattern lines */
.journals .cards .card .card-hero .card-pattern {
    position: absolute; 
    inset: 0;
    opacity: .04; 
    pointer-events: none;
}

    /* icon container */
.journals .cards .card .card-hero .card-icon {
    position: relative; 
    z-index: 1;
    width: 76px; 
    height: 76px;
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin-bottom: 8px;
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.journals .cards .card:hover .card-icon { transform: scale(1.08) translateY(-3px); }

    /* spinning orbit */
.journals .cards .card .card-hero .card-icon::before {
    content: '';
    position: absolute; inset: -8px;
    border-radius: 50%;
    border: 1px dashed currentColor;
    opacity: .2;
    animation: orbit 14s linear infinite;
}
@keyframes orbit { to { transform: rotate(360deg); } }

.journals .cards .card .card-hero .card-icon svg {
    width: 34px; height: 34px;
    stroke: var(--white); fill: none;
    stroke-width: 1.5; 
    stroke-linecap: round; 
    stroke-linejoin: round;
}

    /* specialty label chip */
.journals .cards .card .card-hero .specialty-chip {
    position: relative; z-index: 1;
    margin-top: 16px;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .65rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    padding: 4px 14px; border-radius: 20px;
    border: 1px solid currentColor;
}
.journals .cards .card .card-hero .specialty-chip::before { 
    content: '◆'; 
    font-size: .45rem; 
}

    /* ISSN badge */
.journals .cards .card .card-hero .issn-badge {
    position: absolute;
    top: 16px; left: 16px;
    font-size: .6rem; font-weight: 700;
    letter-spacing: .08em;
    background: rgba(255,255,255,.9);
    color: var(--navy);
    padding: 3px 8px; border-radius: 2px;
    opacity: .7;
}

    /* ── CARD BODY ── */
.journals .cards .card .card-body {
    padding: 24px 28px 20px;
    flex: 1; display: flex; flex-direction: column; gap: 10px;
    border-top: 1px solid var(--border);
}

.journals .cards .card .card-body .card-name {
    font-size: 1.1rem; font-weight: 900;
    color: var(--navy); line-height: 1.4;
    transition: color .25s;
}

.journals .cards .card .card-body .card-desc {
    font-size: .84rem; color: var(--muted);
    line-height: 1.85; flex: 1;
}

    /* keywords */
.journals .cards .card .card-body .card-keywords {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 4px;
}
.journals .cards .card .card-body .card-keywords .kw {
    font-size: .65rem; font-weight: 700;
    padding: 3px 10px; border-radius: 2px;
    letter-spacing: .05em;
}

    /* ── CARD FOOTER ── */
.journals .cards .card .card-footer {
    padding: 16px 28px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    background: #fafbfd;
}

.journals .cards .card .card-footer .card-meta {
    display: flex; flex-direction: column; gap: 2px;
}
.journals .cards .card .card-footer .card-meta .meta-row {
    display: flex; align-items: center; gap: 6px;
    font-size: .7rem; color: var(--muted);
}
.journals .cards .card .card-footer .card-meta .meta-row svg { 
    width: 12px; 
    height: 12px; 
    stroke: currentColor; 
    fill: none; 
    stroke-width: 2; 
    stroke-linecap: round; 
}

.journals .cards .card .card-footer .card-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700;
    text-decoration: none; padding: 9px 18px;
    border-radius: 3px; border: 1.5px solid currentColor;
    transition: background .25s, color .25s, gap .25s;
}
.journals .cards .card .card-footer .card-link svg {
    width: 13px; height: 13px;
    stroke: currentColor; fill: none; stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
    transform: scaleX(-1);
    transition: transform .25s;
}
.journals .cards .card:hover .card-footer .card-link { 
    color: var(--white) !important; 
    gap: 12px; 
}

    /* ══════════════════════════
       MEDICINE CARD  (blue)
    ══════════════════════════ */
.journals .cards .card-med .card-topbar { 
    background: linear-gradient(90deg, #1a5a8a, #1a6fa0, #2a9fd4); 
}
.journals .cards .card-med .card-hero { 
    background: linear-gradient(160deg, #f0f8ff, #e6f3fa); 
}
.journals .cards .card-med .card-hero-letter { 
    color: #1a6fa0; 
}
.journals .cards .card-med .card-icon{ 
    background: linear-gradient(135deg, #1a5a8a, #1a6fa0); color: #1a6fa0; 
}
.journals .cards .card-med .card-icon::before { 
    color: #1a6fa0; 
}
.journals .cards .card-med .specialty-chip { 
    color: #1a6fa0; background: rgba(26,111,160,.06); 
}
.journals .cards .card-med .kw{ 
    background: rgba(26,111,160,.08); color: #1a6fa0; 
}
.journals .cards .card-med .card-link { 
    color: #1a6fa0; 
}
.journals .cards .card-med:hover .card-link { 
    background: #1a6fa0; border-color: #1a6fa0; 
}
.journals .cards .card-med:hover{ 
    border-color: rgba(26,111,160,.35); 
}

    /* ══════════════════════════
       APPLIED SCIENCES CARD (green)
    ══════════════════════════ */
.journals .cards .card-sci .card-topbar { 
    background: linear-gradient(90deg, #145c35, #1a7a4a, #22a060); 
}
.journals .cards .card-sci .card-hero { 
    background: linear-gradient(160deg, #f0fff5, #e6faf0); 
}
.journals .cards .card-sci .card-hero-letter { 
    color: #1a7a4a; 
}
.journals .cards .card-sci .card-icon { 
    background: linear-gradient(135deg, #145c35, #1a7a4a); color: #1a7a4a; 
}
.journals .cards .card-sci .card-icon::before { 
    color: #1a7a4a; 
}
.journals .cards .card-sci .specialty-chip {
    color: #1a7a4a; background: rgba(26,122,74,.06); 
}
.journals .cards .card-sci .kw             { 
    background: rgba(26,122,74,.08); color: #1a7a4a; 
}
.journals .cards .card-sci .card-link { 
    color: #1a7a4a; 
}
.journals .cards .card-sci:hover .card-link { 
    background: #1a7a4a; border-color: #1a7a4a; 
}
.journals .cards .card-sci:hover { 
    border-color: rgba(26,122,74,.35); 
}

    /* ══════════════════════════
       HUMANITIES CARD (purple)
    ══════════════════════════ */
.journals .cards .card-hum .card-topbar { 
    background: linear-gradient(90deg, #4a2a80, #6b3fa0, #9060c8); 
}
.journals .cards .card-hum .card-hero { 
    background: linear-gradient(160deg, #f8f0ff, #f2e6fa); 
}
.journals .cards .card-hum .card-hero-letter { 
    color: #6b3fa0; 
}
.journals .cards .card-hum .card-icon { 
    background: linear-gradient(135deg, #4a2a80, #6b3fa0); 
    color: #6b3fa0; 
}
.journals .cards .card-hum .card-icon::before { 
    color: #6b3fa0; 
}
.journals .cards .card-hum .specialty-chip { 
    color: #6b3fa0; 
    background: rgba(107,63,160,.06); 
}
.journals .cards .card-hum .kw { 
    background: rgba(107,63,160,.08); 
    color: #6b3fa0; 
}
.journals .cards .card-hum .card-link { 
    color: #6b3fa0; 
}
.journals .cards .card-hum:hover .card-link { 
    background: #6b3fa0; 
    border-color: #6b3fa0; 
}
.journals .cards .card-hum:hover { 
    border-color: rgba(107,63,160,.35); 
}

    /* ══════════════════════════
       SUBMIT BANNER
    ══════════════════════════ */
.journals .submit-banner {
    max-width: 1160px; margin: 0 auto;
    position: relative; z-index: 2;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.07);
    padding: 40px 52px;
    display: flex; align-items: center;
    justify-content: space-between; gap: 32px;
    overflow: hidden;
}
.journals .submit-banner::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
}
.journals .submit-banner::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-lt), var(--gold), transparent);
}
.journals .submit-banner .banner-text { 
    position: relative; 
    z-index: 1; 
}
.journals .submit-banner .banner-text h3 { 
    font-size: 1.3rem; 
    font-weight: 900; 
    color: var(--white); 
    margin-bottom: 8px; 
}
.journals .submit-banner .banner-text p  { 
    font-size: .88rem; 
    color: rgba(255,255,255,.5); 
    line-height: 1.8; 
}
.journals .submit-banner .banner-cta {
    position: relative; 
    z-index: 1; 
    flex-shrink: 0;
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    padding: 13px 30px;
    background: var(--gold); 
    color: var(--white);
    border: none; 
    border-radius: 3px;
    font-size: .85rem; 
    font-weight: 700; 
    cursor: pointer;
    text-decoration: none;
    transition: background .25s, gap .25s;
}
.journals .submit-banner .banner-cta:hover { 
    background: var(--gold-lt); 
    gap: 14px; 
}
.journals .submit-banner .banner-cta svg { 
    width: 14px; 
    height: 14px; 
    stroke: currentColor; 
    fill: none; 
    stroke-width: 2.5; 
    stroke-linecap: round; 
    transform: scaleX(-1); 
}




    /* ══════════════════════════
       RESPONSIVE
    ══════════════════════════ */
@media (max-width: 960px) {
    .journals .cards { 
        grid-template-columns: 1fr 1fr; 
    }
    .journals .cards .card:last-child { 
        grid-column: 1/-1; 
        max-width: 420px; 
        margin: 0 auto; 
        width: 100%; 
    }
    .journals { 
        padding: 70px 28px 80px; 
    }
}
@media (max-width: 600px) {
    .journals .cards { 
        grid-template-columns: 1fr; 
    }
    .journals .cards .card:last-child { 
        grid-column: auto; 
        max-width: none; 
    }
    .journals .submit-banner { 
        flex-direction: column; 
        padding: 32px 28px; 
    }
    .journals .stats-row { 
        flex-direction: column; 
    }
    .journals .stat-item { 
        border-left: none; 
        border-bottom: 1px solid var(--border); 
    }
    .journals .stat-item:last-child { 
        border-bottom: none; 
    }
}