﻿/* Global Reset for New Page */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Source Serif 4", serif;
  background-color: #ffffff;
  overflow-x: hidden;
}
/* ============================================ */
/* NEW HERO & TOP BAR STYLES */
/* ============================================ */

/* 1. Black Top Bar */
.black-top-bar {
  background-color: #000000;
  height: 30px;
  width: 100%;
  position: fixed; /* Fixed at top */
  top: 0;
  left: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
}

.black-top-bar .container {
  height: 100%;
}

.black-top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  height: 100%;
  font-size: 13px;
}

.black-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 400;
}

.black-top-link i {
  font-size: 14px;
  color: #cd983f;
}

.black-top-link:hover {
  color: #ffffff;
}

.black-top-link:hover i {
  color: #ffcf7a;
}

/* 2. Full Screen Hero Section */
.hero-section {
  height: 100vh; /* Full view height */
  width: 100%; /* Full width */
  position: relative;
  /* BACKGROUND IMAGE SET HERE */
  background-image: url("sumspic.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 30px;
}

/* Content Container on Top of Overlay */
.hero-container {
  position: relative;
  z-index: 10;
  color: #ffffff;
  direction: ltr; /* English Left-to-Right */
  text-align: center;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: calc(100vh - 30px);
}

.hero-top-block,
.hero-bottom-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-bottom-block {
  margin-bottom: 80px;
}

/* A. University Logo */
.hero-university-logo img {
  /* max-width: 320px; */
  width: 100%;
  height: 90px;
}

/* B. Four Square Logos */
.hero-square-logos {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-logo-caption {
  margin-top: 15px;
  color: #e0e0e0;
  font-size: 14px;
  text-align: center;
}

.hero-logo-caption span {
  display: inline-block;
}

.square-icon-box {
  width: 80px;
  height: 80px;
  background-color: rgba(
    255,
    255,
    255,
    0.05
  ); /* Very light, semi-transparent */
  /* Golden border */
  border: 1px solid #d0a700;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.square-icon-box:hover {
  background-color: #cd993f31;
  border-color: #cd983f;
  transform: translateY(-5px);
}

.square-icon-box i {
  font-size: 30px;
  color: #ffffff;
}

.square-icon-box:hover i {
  color: #cd983f;
}

.square-icon-box img {
  max-width: 60px;
  width: 100%;
  height: auto;
  display: block;
}

/* C. President's Name with Gold Gradient */
.president-name-gradient {
  font-size: 36px;
  font-weight: 500;
  /* text-transform: uppercase; */
  /* GRADIENT COLOR FROM IMAGE */
  background: linear-gradient(
    to right,
    #ffcb73 1%,
    #e59308 13%,
    #e2bf83 22%,
    #cc9600 27%,
    #cd983f 34%,
    #936a00 40%,
    #d0a700 48%,
    #d38707 60%,
    #ffd58e 72%,
    #b8780c 84%,
    #cc8000 92%,
    #ffe299 98%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  background-size: 200% auto;
  opacity: 0;
  transform: translateY(20px);
  animation:
    heroNameFadeUp 1.1s ease-out forwards,
    heroNameGradient 10s linear infinite 1.1s;
}

@keyframes heroNameFadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
    letter-spacing: 6px;
  }
  60% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 3px;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 2px;
  }
}

@keyframes heroNameGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* D. Gold Decorative Line */
/* .gold-decorative-line {
  width: 150px;
  height: 2px;
  background-color: #bfa36a;
  margin: 0 auto;
} */

/* E. English Text Box */
.hero-text-box {
  max-width: 1800px;
  margin: 0 auto;
}

.university-desc-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: #e0e0e0;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
}
.hero-desc-word {
  opacity: 0;
  display: inline-block;
  transform: translateY(10px);
  animation: heroDescWordIn 0.45s ease-out forwards;
}

@keyframes heroDescWordIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .president-name-gradient {
    font-size: 32px;
  }
  .hero-university-logo img {
    max-width: 100px;
  }
  .square-icon-box {
    width: 60px;
    height: 60px;
  }
  .square-icon-box i {
    font-size: 20px;
  }
  .university-desc-text {
    font-size: 15px;
  }
}

/* ============================================ */
/* PRESIDENT'S MESSAGE SECTION */
/* ============================================ */

.president-section {
  /* padding: 100px 0; */
  padding-top: 100px;
  padding-bottom: 0px;
  background-color: #ffffff;
  display: block;
  width: 100%;
}

/* ============================================ */
/* RESEARCH TEXT SLIDER (CARD ONLY)             */
/* ============================================ */

.research-text-section {
  background-color: #ffffff;
  width: 100%;
  display: block;
}

.research-text-slider-wrap {
  position: relative;
  max-width: 1290px;
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
}

.research-text-card {
  background-color: #f6eacf;
  border-radius: 4px;
  padding: 28px 32px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.research-text-content {
  margin: 0;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.9;
}

.research-text-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(205, 152, 63, 0.45);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cd983f;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.research-text-prev {
  left: 0;
}

.research-text-next {
  right: 0;
}

.research-text-nav i {
  font-size: 18px;
  color: inherit;
}

.research-text-nav:hover,
.research-text-nav:focus-visible {
  background: #cd983f;
  border-color: #cd983f;
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .research-text-slider-wrap {
    padding-left: 48px;
    padding-right: 48px;
  }

  .research-text-card {
    padding: 20px 18px;
  }
}

.president-card {
  background-color: #fdfcf9;
  padding: 60px 40px;
  border-radius: 4px;
  position: relative;
  text-align: center;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
  margin-top: 50px;
}
.portrait-container {
  width: 190px;
  height: 190px;
  margin: 0 auto;
  position: absolute;
  top: -95px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid #cd983f;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.president-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* أيقونة الكوت (Quote) */
.quote-icon {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #cd983f;
  opacity: 0.8;
}

/* اسم رئيس الجامعة */
.president-name {
  color: #cd983f;
  font-size: 32px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
}

/* محتوى الرسالة */
.message-content p {
  color: #cd983f;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  max-width: 1150px;
  margin: 0 auto;
}

.president-details {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.president-detail-item {
  background-color: #f6eacf25;
  border-radius: 2px;
  padding: 12px 16px;
  text-align: center;
  border: 1px solid rgba(205, 152, 63, 0.25);
}

.president-detail-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a6f28;
  margin-bottom: 4px;
}

.president-detail-value {
  font-size: 15px;
  color: #cd983f;
}

.president-email-link {
  text-decoration: none;
}

.president-email-link:hover,
.president-email-link:focus {
  text-decoration: underline;
}

/* للتجاوب مع الموبايل */
@media (max-width: 768px) {
  .president-card {
    padding: 60px 20px 30px;
  }
  .president-name {
    font-size: 24px;
  }
  .message-content p {
    font-size: 16px;
  }
  .quote-icon {
    font-size: 30px;
    top: 15px;
    right: 20px;
  }
}

/* ============================================ */
/* SECTION 3: QUALIFICATIONS CARDS */
/* ============================================ */

.qualifications-section {
  background-color: #ffffff;
  width: 100%;
  display: block;
  padding-bottom: 60px;
}

.qualifications-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 12px;
}

.qualifications-row > .col-lg-4 {
  padding: 10;
  margin-bottom: 0;
  flex: 1 1 calc(33.333% - 16px);
}

.qualifications-row > .col-lg-4:nth-child(-n + 2) {
  flex: 1 1 calc(50% - 16px);
}

@media (max-width: 991.98px) {
  .qualifications-row {
    display: block;
  }
  .qualifications-row > .col-lg-4 {
    flex: none;
    margin-bottom: 16px;
  }
}

.q-card {
  padding: 24px 20px;
  border-radius: 4px;
  text-align: center;
  transition: all 0.4s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.qualifications-row > .col-lg-4:nth-child(odd) .q-card {
  background-color: #fdfcf9;
}

.qualifications-row > .col-lg-4:nth-child(even) .q-card {
  background-color: #f6eacf;
}

/* عند الهوفر أو الضغط: يعكس اللون (الفاتح يصبح غامق والعكس) */
.qualifications-row > .col-lg-4:nth-child(odd) .q-card:hover,
.qualifications-row > .col-lg-4:nth-child(odd) .q-card:focus-visible,
.qualifications-row > .col-lg-4:nth-child(odd) .q-card:active {
  background-color: #f6eacf;
  transform: translateY(-8px);
}

.qualifications-row > .col-lg-4:nth-child(even) .q-card:hover,
.qualifications-row > .col-lg-4:nth-child(even) .q-card:focus-visible,
.qualifications-row > .col-lg-4:nth-child(even) .q-card:active {
  background-color: #fdfcf9;
  transform: translateY(-8px);
}

.q-icon-wrapper {
  margin-bottom: 20px;
}

.q-icon-wrapper img {
  width: 50px;
  height: auto;
}

/* Large icon size for sums-award font icon */
.q-icon-wrapper .sums-award {
  font-size: 48px;
  color: #cd983f;
  line-height: 1;
}

.q-text {
  color: #cd983f;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-family: "Almarai", sans-serif;
}

.q-title {
  font-size: 15px;
  font-weight: 700;
  color: #cd983f;
  margin: 0 0 12px;
  line-height: 1.4;
}

.q-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 1.5px;
  margin: 8px auto 0;
  background: #cd983f;
  border-radius: 999px;
}

/* .q-period {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background-color: #cd983f;
  border-radius: 20px;
  padding: 2px 12px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
} */

.gold-default .q-period {
  background-color: #9a6f28;
}

/* --- Reverse Hover Logic --- */

.light-default:hover {
  background-color: #f6eacf;
  transform: translateY(-8px);
}

.gold-default:hover,
.gold-default:focus-visible,
.gold-default:active {
  background-color: #fdfcf9;
  transform: translateY(-8px);
}

/* Responsive */
@media (max-width: 991px) {
  .q-card {
    padding: 30px 20px;
  }
}

/* ============================================ */
/* SECTION 4: FULL WIDTH VIDEO CARD */
/* ============================================ */

.video-section-full {
  width: 100%;
  background-color: #ffffff;
  padding-bottom: 150px;
}

.video-card-link {
  text-decoration: none !important;
  display: block;
}

.video-card-custom {
  position: relative;
  width: 100%;
  height: 390px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.video-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-custom:hover {
  transform: scale(1.01);
}

.video-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.video-card-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
}

/* زر التشغيل */
.play-circle {
  width: 58px;
  height: 58px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}
.play-circle:hover {
  background-color: #cd983f;
  transform: scale(1.1);
  width: 58px;
  height: 58px;
}

.play-circle i {
  color: #cd983f;
  font-size: 30px;
  margin-left: 5px;
}

.video-card-link:hover .play-circle {
  background-color: #cd983f;
  transform: scale(1.1);
}

.video-card-link:hover .play-circle i {
  color: #ffffff;
}

.v-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 15px;
  font-family: "Source Serif 4", serif;
}

.v-desc {
  color: #e0e0e0;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .video-card-custom {
    height: 300px;
  }
  .v-title {
    font-size: 22px;
  }
  .v-desc {
    font-size: 14px;
  }
  .play-circle {
    width: 60px;
    height: 60px;
  }
}

/* ============================================ */
/* SECTION 5: GALLERY (BLACK CONTAINER 410px) */
/* ============================================ */

.gallery-section-fluid {
  background-color: #1a1a1a;
  height: 410px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.gallery-header {
  padding: 20px 0;
  z-index: 10;
}

.gallery-title {
  color: #cd983f;
  font-size: 28px;
  font-weight: 500;
  margin: 0;
}

.gallery-desc {
  color: #cd983f;
  font-size: 14px;
  opacity: 0.8;
  margin-top: 5px;
}

.gallerySwiper {
  width: 100%;
  height: 250px;
  margin-top: 10px;
}

.gallery-img-card {
  width: 100%;
  height: 100%;
  border: 2px solid #000000;
  box-sizing: border-box;
}

.gallery-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-img-card:hover img {
  transform: scale(1.1);
}
/* ============================================ */
/* SECTION 6: VIDEO GRID STYLES (THUMBNAILS) */
/* ============================================ */

.video-thumb-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
}

.video-thumb-card:hover {
  transform: translateY(-10px);
  border-color: #cd983f;
}

.video-thumb-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.video-thumb-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-thumb-card:hover .video-thumb-img-box img {
  transform: scale(1.1);
}

.video-thumb-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #cd983f;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  line-height: 1;
  z-index: 10;
}

.video-thumb-badge .day {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.video-thumb-badge .month {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.video-thumb-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-thumb-play {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-thumb-play i {
  color: #cd983f;
  font-size: 30px;
  margin-left: 4px;
}

.video-thumb-card:hover .video-thumb-play {
  background-color: #cd983f;
  transform: scale(1.08);
}

.video-thumb-card:hover .video-thumb-play i {
  color: #ffffff;
}

.video-thumb-title {
  margin-top: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
}

.video-thumb-card:hover .video-thumb-title {
  opacity: 1;
  transform: translateY(0);
}
/* ============================================ */
/* SCIENTIFIC PUBLICATIONS STYLES (DARK) */
/* ============================================ */
/* 
.publications-section {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 100px 0;
}

@media (min-width: 1200px) {
    .col-custom-5 {
        flex: 0 0 auto;
        width: 20%; 
    }
}

.publications-main-title {
    color: #cd983f;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin: 0 15px;
}

.pub-item {
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.pub-item:hover {
    transform: translateY(-10px);
}

.pub-icon {
    margin-bottom: 20px;
}

.pub-icon i {
    font-size: 40px;
    color: #cd983f;
}

.journal-name {
    color: #cd983f;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: "Source Serif 4", serif;
    min-height: 50px; /* لتوحيد ارتفاع العناوين 
}

.pub-title {
    color: #e0e0e0;
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 240px;
}

.section-header-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.ornament-side {
    width: 50px;
} */

/* ============================================ */
/* SCIENTIFIC PUBLICATIONS LIST VIEW STYLES */
/* ============================================ */

.publications-list-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.pub-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pub-row-item {
  display: flex;
  align-items: center;
  background-color: #fdfcf9;
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
}

.pub-row-item:nth-child(even) {
  background-color: #f6eacf;
}

.pub-row-item:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(205, 152, 63, 0.1);
}

.pub-row-icon {
  background-color: transparent;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  border-right: 1px solid rgba(205, 152, 63, 0.15);
}

.pub-row-icon i {
  color: #cd983f;
  font-size: 24px;
}

/* اسم المجلة */
.pub-row-journal {
  padding: 15px 25px;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 15px;
  min-width: 250px;
  border-right: 1px solid rgba(205, 152, 63, 0.1);
  font-family: "Source Serif 4", serif;
}

/* عنوان البحث */
.pub-row-title {
  padding: 15px 30px;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 991px) {
  .pub-row-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .pub-row-journal {
    border-right: none;
    border-bottom: 1px solid rgba(205, 152, 63, 0.1);
    width: 100%;
    padding: 10px;
  }
  .pub-row-icon {
    width: 100%;
    background: transparent;
  }
}
/* ============================================ */
/* SCIENTIFIC PUBLICATIONS LIST VIEW STYLES */
/* ============================================ */

.publications-list-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.pub-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pub-row-item {
  display: flex;
  align-items: center;
  background-color: #fdfcf9;
  transition: all 0.3s ease;
  border-radius: 2px;
  overflow: hidden;
}

.pub-row-item:nth-child(even) {
  background-color: #f6eacf;
}

.pub-row-item:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(205, 152, 63, 0.1);
}

.pub-row-icon {
  background-color: rgba(205, 153, 63, 0);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
}

.pub-row-icon i {
  color: #cd983f;
  font-size: 24px;
}

.pub-row-journal {
  padding: 15px 25px;
  color: #8a6b3a;
  font-weight: 600;
  font-size: 15px;
  min-width: 380px;
  border-right: 1px solid rgba(205, 152, 63, 0.1);
  font-family: "Source Serif 4", serif;
}

.pub-row-title {
  padding: 15px 30px;
  color: #cd983f;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

@media (max-width: 991px) {
  .pub-row-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .pub-row-journal {
    border-right: none;
    border-bottom: 1px solid rgba(205, 152, 63, 0.1);
    width: 100%;
    padding: 10px;
  }
  .pub-row-icon {
    width: 100%;
    background: transparent;
  }
}
/* ============================================ */
/* RESEARCH SLIDER STYLES */
/* ============================================ */

.research-slider-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.section-header-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.research-main-title {
  color: #cd983f;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 2px;
}

/* Card Styling */
.research-card-item {
  background-color: #fdfcf9;
  padding: 40px 25px;
  text-align: center;
  border-radius: 4px;
  height: 185px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 185px;
}

.researchSwiper .swiper-slide:nth-child(odd) .research-card-item {
  background-color: #f6eacf;
}

.researchSwiper .swiper-slide:nth-child(even) .research-card-item {
  background-color: #fdfcf9;
}

.research-card-item.active-card,
.research-card-item:hover {
  transform: translateY(-5px);
}

.degree-type {
  color: #cd983f;
  font-size: 18px;
  font-weight: 500;
  font-family: "Source Serif 4", serif;
  margin: 0 auto 10px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.degree-type::before,
.degree-type::after {
  content: "";
  display: inline-block;
  width: 50px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.degree-type::before {
  background-image: url("patleft.svg");
}

.degree-type::after {
  background-image: url("patright.svg");
}

.research-text {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 15px;
}

.card-ornament img {
  width: 40px;
  opacity: 0.8;
}

.swiper-pagination-bullet-active {
  background: #cd983f !important;
}

/* ============================================ */
/* TEACHING & ACADEMIC EXPERIENCE SECTION */
/* ============================================ */

.teaching-experience-section {
  position: relative;
  padding: 80px 0;
  background-image: url("teaching.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.teaching-experience-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* أوفرلاي أسود فوق الصورة */
}

.teaching-experience-section .container {
  position: relative;
  z-index: 1;
}

.teachingSwiper .swiper-wrapper {
  padding-bottom: 32px;
}

.teaching-card-item {
  background-color: rgba(253, 252, 249, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 32px 26px;
  min-height: 205px;
  max-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s ease;
}

.teaching-card-item:hover {
  transform: translateY(-6px);
  background-color: rgba(253, 252, 249, 0.16);
}

.teaching-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #f9f7f1;
}

.teaching-icon-wrapper {
  margin-bottom: 14px;
}

.teaching-icon-wrapper .sums-pen {
  font-size: 20px;
  color: #ffffff;
}

/* Conference section variant: warm light background and high-contrast cards */
.conference-section {
  background: rgb(246 234 207 / 29%);
  background-image: none;
  color: #2a1d08;
}

.conference-section::before {
  display: none;
}

.conference-section .container-fluid {
  position: relative;
  z-index: 1;
  padding-left: 2rem;
  padding-right: 2rem;
}

.conference-section .section-gold-title {
  color: ##cd983f;
}

.conference-section .gold-line-center {
  background: linear-gradient(90deg, #c79236, #7d5415);
}

.conferenceSwiper .swiper-wrapper {
  padding-bottom: 32px;
}

.conference-section .teaching-card-item {
  background: #f6eacf;
}

.conference-section .teaching-text {
  color: #1d1d1c;
}

.conference-year {
  margin: 0 0 10px;
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #424141;
  padding: 4px 10px;
}

.conference-section .swiper-pagination-bullet {
  background: #c8a165;
  opacity: 0.55;
}

.conference-section .swiper-pagination-bullet-active {
  background: #8f6120 !important;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .teaching-card-item {
    padding: 24px 18px;
  }
  .teaching-text {
    font-size: 15px;
  }

  .conference-section .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================ */
/* Accordenate */
/* ============================================ */

.activities-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.activities-title {
  color: #cd983f;
  font-size: 28px;
}

.activities-wrapper {
  display: flex;
  gap: 20px;
  height: 450px;
  align-items: stretch;
}

.activity-card {
  position: relative;
  flex: 1;
  background-color: #fdfcf9;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* top accent bar for non-active cards */
.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 15px;
  background-color: #f6eacf;
  z-index: 1;
}

.activity-card.active::before {
  opacity: 0;
}

.activity-card.active {
  background-color: #fffbf1;
  transform: scale(1.03);
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.activity-card.active .card-bg {
  opacity: 1;
}

.card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.card-head-decor {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.card-head-decor img {
  max-width: 80px;
  height: auto;
}

/* حالة النص فقط (قبل الهوفر) */
.text-view {
  color: #cd983f;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
}

.activity-card.active .text-view {
  display: none;
}

/* حالة الصورة والعنوان (عند الهوفر) */
.image-view {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  margin-top: auto;
  text-align: center;
}

.activity-card.active .image-view {
  opacity: 1;
  transform: translateY(0);
}

.gold-subtitle {
  color: #cd983f;
  font-weight: 500;
  font-size: 16px !important;
  /* margin-bottom: 10px; */
}

.activity-card.active .card-content {
  justify-content: flex-end;
  height: 40%;
  bottom: 0;
}

@media (max-width: 991.98px) {
  .activities-wrapper {
    flex-direction: column;
    height: auto;
  }

  .activities-wrapper .activity-card {
    flex: 1 1 auto;
    min-height: 360px;
  }

  .activities-wrapper .activity-card + .activity-card {
    margin-top: 20px;
  }

  .activities-wrapper .activity-card,
  .activities-wrapper .activity-card.active {
    transform: none;
  }

  .activities-wrapper .card-inner {
    position: static;
    height: auto;
  }

  .activities-wrapper .card-bg {
    position: relative;
    width: 100%;
    height: 220px;
    opacity: 1;
  }

  .activities-wrapper .card-content {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .activities-wrapper .image-view {
    opacity: 1;
    transform: none;
    margin-top: 10px;
    order: 1; /* العنوان أولاً */
  }

  .activities-wrapper .text-view {
    display: block;
    order: 2; /* النص بعد العنوان */
  }

  .activities-wrapper .activity-card.active .card-content {
    justify-content: flex-start;
    height: auto;
    bottom: auto;
  }

  .activities-wrapper .activity-card.active .text-view {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .activities-section {
    padding: 50px 0;
  }

  .card-content {
    padding: 20px;
  }

  .text-view {
    font-size: 13px;
  }
}
/* ============================================ */
/* NEWS SECTION STYLES */
/* ============================================ */

.news-section {
  background-color: #ffffff;
}

.section-gold-title {
  color: #cd983f;
  font-size: 28px;
  font-family: "Source Serif 4", serif;
}

.news-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  /* box-shadow: 0 15px 35px rgba(205, 152, 63, 0.15); */
  /* border-color: #cd983f; */
}

.news-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
  transform: scale(1.1);
}

.news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  margin-bottom: 15px;
  font-size: 14px;
}

.news-date {
  color: #777;
  margin-right: 15px;
}

.news-tag {
  color: #cd983f;
  font-weight: 600;
}

.news-meta i {
  color: #cd983f;
  margin-right: 5px;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.news-card:hover .news-title {
  color: #cd983f;
}

.news-excerpt {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.read-more-btn {
  margin-top: auto;
  color: #cd983f;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
}

.read-more-btn i {
  margin-left: 8px;
  font-size: 14px;
}

.read-more-btn:hover {
  color: #2d2d2c;
  gap: 12px; /* حركة سهم بسيطة عند الهوفر */
}

.video-section-full .video-read-more {
  color: #cd983f;
}

.video-section-full .video-read-more:hover {
  color: #cd983f;
}
/* ============================================ */
/* NEW FOOTER STYLES (DARK THEME) */
/* ============================================ */

.university-footer {
  background-color: #1a1a1a; /* Background from image */
  color: #ffffff;
  padding-top: 60px;
  direction: ltr; /* English Left-to-Right */
  text-align: left;
}

/* Gold Heading Style */
.f-heading {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
}

.f-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 65%;
  height: 2px;
  background-color: #bfa36a; /* Gold underline */
}

/* Links and Contact Lists */
.f-links li,
.f-contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.f-links a,
.f-contact-info a,
.f-contact-info span {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.f-links a:hover {
  color: #bfa36a;
}

/* Related Links with Dots */
.dot-style li::before {
  content: ".";
  color: #ffffff;
  font-weight: bold;
  font-size: 24px;
  line-height: 0;
  margin-right: 12px;
  margin-top: -10px;
}

/* Contact info: English, left-to-right, icon then text */
.f-contact-info {
  direction: ltr;
}

.f-contact-info li {
  justify-content: flex-start;
  text-align: left;
}

.f-contact-info i {
  margin-right: 10px;
  margin-left: 0;
  color: #ffffff;
  font-size: 18px;
  width: 20px;
}

/* Social Icons Box */
.f-social-box {
  display: flex;
  gap: 12px;
}

.f-social-box a {
  width: 38px;
  height: 38px;
  background-color: #555555; /* Grey icon background */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 18px;
  transition: 0.3s;
  text-decoration: none;
}

.f-social-box a:hover {
  background-color: #cd983f;
  color: #1a1a1a;
}

/* Circle Logo with Gold Border */
.f-logo-circle {
  width: 100px;
  height: 100px;
  border: 2px solid #bfa36a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.f-logo-circle img {
  max-width: 65%;
  height: auto;
}

/* Bottom Bar */
.f-copyright-bar {
  background-color: #111111;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.f-copyright-bar p {
  font-size: 14px;
  color: #aaaaaa;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .university-footer {
    text-align: center;
  }
  .f-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .f-links li,
  .f-social-box {
    justify-content: center;
  }
  .f-contact-info li {
    justify-content: flex-start;
    text-align: left;
  }
  .f-contact-info i {
    order: 0;
    margin-right: 10px;
    margin-left: 0;
  }
  .f-logo-circle {
    margin: 15px auto;
  }
}

/* ============================================ */
/* SECTION TITLES DECORATIVE SVG PATTERNS      */
/* ============================================ */

.section-title-decor {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.section-title-decor::before,
.section-title-decor::after {
  content: "";
  display: inline-block;
  width: 80px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.section-title-decor::before {
  background-image: url("patleft.svg");
}

.section-title-decor::after {
  background-image: url("patright.svg");
}

@media (max-width: 768px) {
  .section-title-decor {
    gap: 10px;
  }
  .section-title-decor::before,
  .section-title-decor::after {
    width: 60px;
    height: 16px;
  }
}
