/*==================================
          HERO IMAGE
==================================*/

.hero{

    background-image:url("../assets/images/header.jpg");

    width:100%;

    height:100vh;

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-overlay{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.45);

}

.hero-content{

    position:relative;

    z-index:10;

    text-align:center;

    color:#fff;

}

.hero-content h1{

    font-size:55px;

    font-weight:bold;

}

.hero-content p{

    font-size:25px;

}

.logo{

    width:140px;

}

/* الخط الافتراضي للموقع */
body {
    font-family: 'Almarai', sans-serif;
    direction: rtl;
    text-align: right;
}

/* العناوين */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
}

/* الأزرار */
.btn {
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
}

/* شريط التنقل */
.navbar {
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
}

/*==========================
   Hover Effect for Cards
===========================*/

.card-hover{
    border-radius:15px;
    transition:all .35s ease-in-out;
    cursor:pointer;
}

.card-hover:hover{

    transform:translateY(-8px) scale(1.03);

    background:linear-gradient(135deg,#0d6efd,#0b5ed7);

    color:#fff;

    box-shadow:0 20px 40px rgba(13,110,253,.35);

}

.card-hover:hover h5,
.card-hover:hover p{

    color:#fff;

}

.card-hover:hover i{

    color:#ffc107 !important;

    transform:scale(1.2);

    transition:.3s;

}

/*===============================
        Faculty Cards
================================*/

.faculty-card{

    background:#ffffff;

    border-radius:20px;

    overflow:hidden;

    text-align:center;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.4s;

    border:1px solid #ececec;

}

.faculty-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.18);

    border-color:#0d6efd;

}

/* صورة الكلية */

.faculty-image{

    padding:20px;

    background:#f8f9fa;

}

.faculty-image img{

    width:170px;

    height:170px;

    object-fit:contain;

}

.faculty-card:hover .faculty-image img{

    transform:scale(1.35);

}

/* النص */

.faculty-content{

    padding:25px;

}

.faculty-content h5{

    font-family:'Almarai',sans-serif;

    font-weight:700;

    color:#003366;

    margin-bottom:10px;

}

.faculty-content p{

    color:#666;

    min-height:45px;

}

/* الزر */

.faculty-content .btn{

    border-radius:30px;

    padding:10px 25px;

    transition:.3s;

}

.faculty-card:hover .btn{

    background:#ffc107;

    border-color:#ffc107;

    color:#000;

}

/* فيديو بعرض الصفحة */

.video-banner{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:20px;
}

.logo-navbar{
    width:60px;
    height:60px;
    object-fit:contain;
    background:#fff;
    border-radius:50%;
    padding:4px;
    box-shadow:0 2px 8px rgba(0,0,0,.2);
}

/*=========================
      Section Title
=========================*/

.section-title{

    background:linear-gradient(90deg,#0056d6,#0d6efd);

    color:#fff;

    padding:20px;

    border-radius:15px;

    text-align:center;

    margin-bottom:40px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.section-title h2{

    font-family:'Almarai',sans-serif;

    font-size:38px;

    font-weight:800;

    margin-bottom:8px;

}

.section-title p{

    margin:0;

    font-size:18px;

    opacity:.95;

}

/*=========================
      Section Title
=========================*/

.section-title{

    background:linear-gradient(90deg,#0056d6,#0d6efd);

    color:#fff;

    padding:20px;

    border-radius:15px;

    text-align:center;

    margin-bottom:40px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.section-title h2{

    font-family:'Almarai',sans-serif;

    font-size:36px;

    font-weight:800;

    margin-bottom:8px;

}

.section-title p{

    margin:0;

    font-size:18px;

    opacity:.95;

}
/*=========================
      Virtual Tours
=========================*/

.section-video{

    background:linear-gradient(90deg,#dc3545,#ff6b6b);

    color:#fff;

}
/***************************
        Important Sites
****************************/

.site-card{

    padding:35px;

    text-align:center;

    border-radius:18px;

    color:#fff;

    transition:.4s;

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.site-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.25);

}

.site-card i{

    font-size:60px;

    margin-bottom:20px;

}

.site-card h4{

    font-family:'Almarai',sans-serif;

    font-weight:700;

    min-height:70px;

    font-size:22px;

}

.site-card .btn{

    margin-top:20px;

    border-radius:30px;

    font-weight:bold;

    padding:10px 30px;

}

/* الألوان */

.card-green{
background:linear-gradient(135deg,#16a34a,#15803d);
}

.card-blue{
background:linear-gradient(135deg,#0d6efd,#0a58ca);
}

.card-orange{
background:linear-gradient(135deg,#fd7e14,#d35400);
}

.card-red{
background:linear-gradient(135deg,#dc3545,#b91c1c);
}

.card-purple{
background:linear-gradient(135deg,#6f42c1,#5a32a3);
}
/******************************
      Important Links Cards
******************************/

.link-card{

    border-radius:18px;

    color:#fff;

    text-align:center;

    padding:35px 20px;

    transition:.4s;

    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.link-card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(0,0,0,.25);

}

.link-card i{

    font-size:55px;

    margin-bottom:18px;

}

.link-card h5{

    font-family:'Almarai',sans-serif;

    font-weight:700;

    margin-bottom:20px;

    min-height:55px;

}

.blue{
    background:linear-gradient(135deg,#0d6efd,#0046b8);
}

.green{
    background:linear-gradient(135deg,#198754,#0f5f3d);
}

.orange{
    background:linear-gradient(135deg,#fd7e14,#d35400);
}

.red{
    background:linear-gradient(135deg,#dc3545,#b71c1c);
}

.link-card .btn{

    border-radius:30px;

    padding:10px 25px;

    font-weight:bold;

}
.faculty-video{
    width: 100%;
    height: 220px;      /* يمكنك جعلها 180 أو 200 */
    object-fit: cover;  /* يملأ الإطار ويقص الزائد */
    border-radius: 15px 15px 0 0;
    background: #000;
}



.video-card{
    border-radius:15px;
    overflow:hidden;
}

.faculty-video{
    width:100%;
    height:220px;      /* يمكنك جعلها 180px */
    object-fit:cover;
    display:block;
}

.video-card .card-body{
    padding:15px;
}

.video-card h5{
    font-size:22px;
    margin-bottom:8px;
}

.video-card p{
    margin-bottom:0;
}

/* قسم الزيارات الافتراضية */
.virtual-section{
    background:#f5f8fc;
    padding:70px 0;
}

/* البطاقة */
.virtual-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.10);
    transition:.4s;
    border:1px solid #e9eef5;
    height:100%;
}

.virtual-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(13,110,253,.20);
}

/* الفيديو */
.virtual-card video{
    width:100%;
    height:200px;
    object-fit:cover;
    display:block;
    background:#000;
}

/* محتوى البطاقة */
.virtual-card .card-body{
    padding:20px;
    background:#fcfdff;
}

.virtual-card h5{
    color:#0d6efd;
    font-weight:bold;
    margin-bottom:10px;
    font-size:22px;
}

.virtual-card p{
    color:#666;
    font-size:15px;
    margin-bottom:15px;
}

/* زر المشاهدة */
.virtual-btn{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:10px 25px;
    border-radius:30px;
    text-decoration:none;
    transition:.3s;
}

.virtual-btn:hover{
    background:#084298;
    color:#fff;
    transform:scale(1.05);
}
/*=========================
    University Videos
=========================*/

.virtual-section{

    background:linear-gradient(135deg,#f7faff,#eef5ff);

    padding:70px 0;

}

.virtual-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.12);

    transition:.4s;

    border:1px solid #e5ecf5;

    cursor:pointer;

}

.virtual-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(13,110,253,.25);

}

.virtual-card video{

    width:100%;

    height:240px;

    object-fit:cover;

    display:block;

    background:#000;

}

.virtual-card .card-body{

    padding:22px;

    background:#fbfcff;

}

.virtual-card h5{

    color:#0d6efd;

    font-family:'Almarai',sans-serif;

    font-weight:700;

}

.virtual-card p{

    color:#666;

    margin-bottom:0;

}

/* تأثير عند الضغط */

.virtual-card:active{

    transform:scale(.98);

    box-shadow:0 0 25px rgba(13,110,253,.50);

}
/*====================================================
        الزيارات الافتراضية للكليات
====================================================*/

.virtual-section{

    background:linear-gradient(135deg,#eef5ff,#f8fbff,#ffffff);

    padding:80px 0;

}

/* عنوان القسم */

.section-video{

    background:linear-gradient(90deg,#0d6efd,#198754);

    color:#fff;

    border-radius:18px;

    padding:25px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.section-video h2{

    font-family:'Almarai',sans-serif;

    font-weight:700;

    font-size:34px;

    margin-top:10px;

}

.section-video p{

    font-size:18px;

    margin-bottom:0;

    opacity:.95;

}

/****************************************
            بطاقة الفيديو
****************************************/

.faculty-video-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.12);

    transition:.4s;

    height:100%;

    border:1px solid #e9eef5;

    position:relative;

}

/* تأثير مرور الفأرة */

.faculty-video-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(13,110,253,.25);

}

/* إضاءة */

.faculty-video-card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:20px;

    box-shadow:0 0 30px rgba(13,110,253,.18);

    opacity:0;

    transition:.4s;

}

.faculty-video-card:hover::before{

    opacity:1;

}

/****************************************
            الفيديو
****************************************/

.faculty-video{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

    background:#000;

}

/****************************************
            المحتوى
****************************************/

.faculty-video-card .card-body{

    padding:20px;

    text-align:center;

    background:#fcfdff;

}

.faculty-video-card h5{

    color:#0d6efd;

    font-size:22px;

    font-weight:700;

    font-family:'Almarai',sans-serif;

    margin-bottom:10px;

}

.faculty-video-card p{

    color:#666;

    font-size:15px;

    line-height:1.8;

    min-height:55px;

}

/****************************************
            زر المشاهدة
****************************************/

.watch-btn{

    display:inline-block;

    background:linear-gradient(45deg,#0d6efd,#198754);

    color:#fff;

    text-decoration:none;

    padding:10px 28px;

    border-radius:35px;

    font-weight:bold;

    transition:.3s;

}

.watch-btn i{

    margin-left:8px;

}

.watch-btn:hover{

    color:#fff;

    transform:scale(1.08);

    box-shadow:0 8px 20px rgba(13,110,253,.35);

}

/****************************************
      عند الضغط على البطاقة
****************************************/

.faculty-video-card{
    position:relative;
    overflow:hidden;
}

.faculty-video-card::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;   /* مهم جداً */
    border-radius:20px;
    box-shadow:0 0 30px rgba(13,110,253,.18);
    opacity:0;
    transition:.4s;
}

/****************************************
          Responsive
****************************************/

@media(max-width:992px){

.faculty-video{

height:190px;

}

.section-video h2{

font-size:28px;

}

}

@media(max-width:768px){

.faculty-video{

height:180px;

}

.section-video{

padding:20px;

}

.section-video h2{

font-size:24px;

}

.section-video p{

font-size:16px;

}

}
/*====================================
      تهنئة الناجحين في البكالوريا
=====================================*/

.bac-congratulations{

    background:linear-gradient(135deg,#0d6efd,#198754);

    color:#fff;

}

.congrats-box{

    text-align:center;

    padding:45px 30px;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.20);

}

.congrats-box h2{

    font-family:'Almarai',sans-serif;

    font-size:38px;

    font-weight:700;

    margin-bottom:20px;

}

.congrats-box p{

    font-size:20px;

    line-height:2;

    max-width:900px;

    margin:auto;

}

.congrats-box .btn{

    border-radius:30px;

    padding:12px 35px;

    font-weight:bold;

    transition:.3s;

}

.congrats-box .btn:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(255,255,255,.35);

}

/*==================================================
        عنوان الأقسام الموحد
===================================================*/

.section-title{

    background: linear-gradient(135deg,#0d6efd,#198754);

    color:#fff;

    text-align:center;

    padding:40px 30px;

    border-radius:22px;

    margin-bottom:45px;

    box-shadow:0 12px 35px rgba(13,110,253,.25);

    transition:0.4s;

}

.section-title:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 45px rgba(13,110,253,.35);

}

.section-title i{

    font-size:50px;

    margin-bottom:15px;

    color:#fff;

}

.section-title h2{

    font-size:42px;

    font-weight:800;

    margin-bottom:10px;

}

.section-title p{

    font-size:20px;

    margin:0;

    opacity:.95;

}

.faculties-section{
    background:#f5f8fc;
}

.faculty-box{

    display:block;

    text-align:center;

    padding:40px 20px;

    border-radius:18px;

    color:#fff;

    min-height:200px;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    transition:.4s;

}

.faculty-box:hover{

    transform:translateY(-12px) scale(1.05);

    box-shadow:0 25px 45px rgba(0,0,0,.35);

    color:white;

}

.faculty-box i{

    font-size:55px;

    margin-bottom:25px;

}

.faculty-box h4{

    font-size:24px;

    font-weight:bold;

    line-height:1.7;

}

/* الألوان */

.color1{
background:linear-gradient(135deg,#8fd3f4,#84fab0);
}

.color2{
background:linear-gradient(135deg,#36d1dc,#5b86e5);
}

.color3{
background:linear-gradient(135deg,#4facfe,#00f2fe);
}

.color4{
background:linear-gradient(135deg,#d38312,#a83279);
}

.color5{
background:linear-gradient(135deg,#7f8c8d,#95a5a6);
}

.color6{
background:linear-gradient(135deg,#b2fefa,#0ed2f7);
}

.color7{
background:linear-gradient(135deg,#a8ff78,#78ffd6);
}

./* ===================== الكليات ====================== */

#facultes{
    background:#f7f9fc;
    padding:80px 0;
}

.faculty-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    transition:.4s;
    height:100%;
    border:1px solid #e8e8e8;
}

.faculty-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.25);
}

.faculty-image{
    overflow:hidden;
    height:220px;
}

.faculty-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.faculty-card:hover .faculty-image img{
    transform:scale(1.08);
}

.faculty-content{
    padding:25px;
    text-align:center;
}

.faculty-content h5{
    color:#0d3b8c;
    font-weight:bold;
    margin-bottom:12px;
    font-size:24px;
}

.faculty-content p{
    color:#666;
    font-size:15px;
    line-height:1.8;
    min-height:60px;
}

.faculty-content .btn{
    border-radius:30px;
    padding:10px 28px;
    font-weight:bold;
    transition:.4s;
    background:linear-gradient(135deg,#1565ff,#1aa260);
    border:none;
}

.faculty-content .btn:hover{
    background:linear-gradient(135deg,#1aa260,#1565ff);
    transform:scale(1.05);
}


/*==========================
التخصصات المفتوحة
==========================*/

.speciality-card{
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:20px;
    height:260px;
    box-shadow:0 12px 30px rgba(0,0,0,.20);
    transition:.4s;
    text-decoration:none;
}

.speciality-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.6s;
}

.speciality-card:hover img{
    transform:scale(1.1);
}

.speciality-card .overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,
    rgba(0,0,0,.75),
    rgba(0,0,0,.15));
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#fff;
    padding:20px;
    text-align:center;
}

.speciality-card .overlay i{
    font-size:40px;
    margin-bottom:15px;
}

.speciality-card .overlay h4{
    font-size:22px;
    font-weight:bold;
    line-height:1.5;
}

.speciality-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.30);
}
/*=========================
إعلان هام
=========================*/

.alert-card{

background:linear-gradient(135deg,#0d6efd,#198754);

color:#fff;

border-radius:20px;

padding:35px;

box-shadow:0 15px 35px rgba(0,0,0,.20);

transition:.4s;

}

.alert-card:hover{

transform:translateY(-6px);

box-shadow:0 20px 40px rgba(0,0,0,.30);

}

.alert-icon{

font-size:70px;

animation:pulse 2s infinite;

}

@keyframes pulse{

0%{transform:scale(1);}

50%{transform:scale(1.15);}

100%{transform:scale(1);}

}

.alert-card h3{

font-weight:bold;

font-size:30px;

}

.alert-card p{

font-size:18px;

}

.modal-content{

border-radius:20px;

overflow:hidden;

}

.modal-body{

background:#f8f9fa;

}

.modal-body img{

border-radius:15px;

box-shadow:0 10px 30px rgba(0,0,0,.25);

}
/*=========================
خلفية الإعلان
=========================*/

.english-announcement{

    background: linear-gradient(135deg,#0d6efd,#198754);

    border-radius:25px;

    padding:50px 40px;

    margin:50px 0;

    color:#fff;

    position:relative;

    overflow:hidden;

    box-shadow:0 20px 45px rgba(0,0,0,.25);

}

/* دوائر زخرفية */

.english-announcement::before{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    top:-80px;

    left:-80px;

}

.english-announcement::after{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    bottom:-60px;

    right:-60px;

}

.announcement-content{

    position:relative;

    z-index:2;

}

.announcement-icon{

    font-size:70px;

    animation:pulse 2s infinite;

}

@keyframes pulse{

0%{transform:scale(1);}

50%{transform:scale(1.15);}

100%{transform:scale(1);}

}

.announcement-title{

    font-size:38px;

    font-weight:bold;

    margin-bottom:15px;

}

.announcement-text{

    font-size:20px;

    line-height:1.8;

}

.announcement-btn{

    margin-top:25px;

    padding:14px 35px;

    border-radius:50px;

    font-size:18px;

    font-weight:bold;

}