.college-tabs-wrapper {
    display: flex;
    gap: 20px;
}

.college-main-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 300px;
      font-family: 'Tajawal';
    
}

.college-main-tabs li {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.college-main-tabs li.active {
    font-weight: bold;
    color: #0A3069;
}

.college-main-tabs li .main-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.college-main-tabs li i.fa-circle {
    margin-left: 10px;
    font-size: 10px;
    color: #000;
}

.college-main-tabs li .dropdown-icon {
    margin-right: auto;
    font-size: 12px;
    transition: transform 0.3s;
}

.college-main-tabs li.open .dropdown-icon {
    transform: rotate(180deg);
}

.sub-tabs {
    padding: 10px 0 0 0;
    list-style: none;
    margin: 0;
    display: none;
}

.college-main-tabs li.open .sub-tabs {
    display: block;
}

.sub-tabs li {
   padding: 8px 15px;
    border-radius: 8px;
    margin-top: 8px;
    transition: all 0.2s;
    background: #f9f9f9;
    font-family: 'Tajawal';
    font-size: 14px;
    font-weight: 500;
}

.sub-tabs li.active {
    font-weight: bold;
    color: #0A3069;
}

.college-tab-content-area {
    flex: 1;
    /*border: 1px solid #ccc;*/
    padding: 15px;
    min-height: 300px;
    border-radius: 10px;
}


svg.e-font-icon-svg.e-far-dot-circle {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.tab-inner {
    display: flex
;
    justify-content: space-between;
}


.college-subtitle {
    font-family: 'Tajawal';
    font-size: 12px;
    font-weight: 500;
}
.college-subtitle {
    color: #08326e;
}
.college-subtitle {
    display: flex
;
    align-items: center;
}


h2.college-title {
    color: #05326d;
    font-size: 18px;
    margin-bottom: 20px;
}

h2.college-title {
    padding-bottom: 15px;
    border-bottom: 2px solid #153d76;
}
.title-line {
    flex-grow: .05!important;
}

.college-section-heading{
    display:flex;
    align-items: center;
}

.college-section.college-goals {
    font-family: 'Tajawal';
}


/*تنسيق الارقام */
/* ✅ الرقم الكبير */
.college-counter {
    position: relative;
    display: inline-block;
    color: #08326E;
    font-weight: 900;
    font-size: 75px;
    line-height: 70px;
    margin-bottom: 15px;
    margin-top: 5px;
}

/* ✅ النقاط خلف الرقم */
.college-counter::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 110%;
    background: url('https://vertex.edu.km/wp-content/uploads/dotpix.svg');
    background-size: auto;
    opacity: 0.7;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
}

.college-main-tabs,
.college-main-tabs ul,
.college-main-tabs li {
    list-style: none; /* ✅ إزالة النقط */

}

ul.sub-child-tabs {
    margin: 0;
    padding: 0 !important;
}


/*تنسيق الكارت الخاص بالتخصص داخل البرامج الأكاديمية*/
/* ✅ ستايل القائمة العامة للكروت */

.programs-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* المسافة بين الكروت */
    padding: 0;
    list-style: none;
}

/* ✅ تنسيق الكارت */
.program-card {
    position: relative;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    border:1px solid #EEEEEE;
}

.program-card:hover {
    transform: translateY(-5px);
     border:1px solid #08326e;
}

li.program-card {
    height: 350px;
}

/* ✅ ضبط الصورة وإضافة الطبقة الشفافة */
.program-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.program-card-image img {
    width: 100%;
    height: 200px!important;
    object-fit: cover;
    display: block;
}

/* ✅ طبقة شفافة زرقاء فوق الصورة */
.program-card-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background: rgb(8 50 110 / 26%);
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.program-card:hover .overlay {
    opacity: 0;
}

/* ✅ محتوى الكارت */
.program-card-content {
    padding: 15px;
   
}

.program-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

/* ✅ زر "اكتشف المزيد" بتصميم عصري */
/*program-more {
    background: #ffff; color: #243D80;
    padding: 12px 24px;
    border-radius: 15px;
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
    border:1px solid #08326e;
    font-family: 'Tajawal';
}

.program-more:hover {
    background: #1A2D60;
    color:#ffff;
    
} */

.program-more-with-line {
    font-size: 13px !important; /* ✅ يجبر الحجم */
    font-weight: 500;
    color: #243D80;
    font-family: 'Tajawal', sans-serif;
    position: relative;
    display: inline-block;
    padding-right: 30px;
    margin-top: 15px;
    line-height: 1.6;
    position: absolute;
    bottom:5px;
}

.program-more-with-line .text {
    font-size: inherit !important; /* ✅ يلتزم بالحجم */
    display: inline-block;
}

.program-more-with-line .line {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
height: 1.5px;
background-color: #243D80;
}


:dir(ltr) .program-more-with-line .line {
    left: 0;
    right: auto;
}

:dir(ltr) .program-more-with-line .text {
    padding-left: 30px;
}

.program-card:hover .program-card-image img {
    transform: scale(1.05);
}

.program-card:hover .program-more {
    background: #243D80;
    color:#ffff;
}

/* ✅ الموبايل */
@media (max-width: 600px) {
    .program-card-content {
        padding: 10px;
    }

    .program-title {
        font-size: 16px;
    }

    .program-degree {
        font-size: 13px;
    }

    .program-more {
        padding: 6px 10px;
        font-size: 13px;
    }
}



/*زر داخل نبذة  عن الكلية*/
.college-pdf-download {
    display: inline-block;
    background-color: #08326e; /* لون ذهبي */
    color: #ffffff; /* لون النص أبيض */
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 12px 24px;
    border-radius: 20px; /* حواف دائرية */
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    border: 2px solid transparent;
    font-family: 'Tajawal';
    cursor: pointer;
}

.college-pdf-download:hover {
   color:#ffff;
   
}


.college-section.college-about-pdf {
    display: flex
;
    /* align-content: flex-end; */
    flex-direction: row-reverse;
}



/*التنسيق الخاص بالكالندر*/

.academic-calendar-wrapper {
    margin-top: 20px;
    font-family: 'Tajawal', sans-serif;
   
}

.academic-calendar-wrapper h3 {
    color: #243D80;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-tabs {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    margin: 0;
}

.calendar-tabs li {
    background: #f2f5fa;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    border: 1px solid #d4d9e2;
    transition: all 0.3s ease;
}

.calendar-tabs li:hover {
    background: #e6edf7;
    border-color: #c0c8d6;
}

.calendar-tabs li.active {
    background: #243D80;
    color: #fff;
    border-color: #243D80;
}

.calendar-table {
    margin-top: 15px;
}

.calendar-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.calendar-table table th,
.calendar-table table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    font-size: 14px;
}

.calendar-table table th {
    background: #f9fbfd;
    font-weight: 600;
    color: #2a2a2a;
}

.calendar-table table td {
    background: #fff;
    color: #333;
}

.rules-box {
    font-family: 'Tajawal';
}

.rules-box h4 {
    font-family: 'Tajawal' !important;
    font-size: 16px!important;
    font-weight: 500!important;
    color: #05326d!important;
}

.rules-card {
    font-family: 'Tajawal';
}


.college-tab-content-area {
    font-family: 'Tajawal';
}


.rules-pdf-file-box h5 {
    font-family: 'Tajawal' !important;
    font-size: 16px;
}

.rules-card:hover {
    border-color: #243d80 !important;
    /* cursor: pointer; */
}


/*أعضاء هيئية التدريس*/
.college-faculty-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  margin-top:50px;
}

.faculty-card {
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  padding: 20px;
  width: calc(32% - 15px);
  text-align: center;
  margin-top: 50px;
 
  transition: 0.3s;
}

.faculty-card:hover {
border-color:#243D80 ;
}

.faculty-image {
    margin-top:-50px;
    overflow: hidden; /* مهم عشان ما تطلع الصورة برا */
  border-radius: 15px;
}
.faculty-image img {

  width: 100%!important;

  object-fit: cover;
    height: 200px !important;
  border-radius: 15px!important;
    transition: transform 0.4s ease; /* الزووم */

}

.faculty-card:hover .faculty-image img {
  transform: scale(1.08); /* الزوم */
}

.faculty-info {
  margin-top: 15px;
}

@media (max-width: 768px) {
  .faculty-card {
    width: 100%;
  }
}

/*تنسيق التاب الفرعي داخل عمادة الكلية*/
/* التبويبات الفرعية */
.college-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 20px;
  justify-content: flex-start;
 
}

.subtab-button {
  background-color: #f1f3f5;
  border: none;
  border-radius: 15px 15px 0 0;
  padding: 12px 24px;
  font-weight: 500;
  color: #243D80;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 14px!important;
}

.subtab-button svg {
  width: 12px;
  height: 12px;
  fill: #243D80;
  transition: fill 0.2s ease;
}

.subtab-button:hover {
  background-color: #05326d;
  color: #fff;
}

.subtab-button:hover svg {
  fill: #fff;
}

.subtab-button.active {
  background-color: #05326d;
  color: #fff;
}

.subtab-button.active svg {
  fill: #fff;
}

.subtab-content-area {
  margin-top: 20px;
}

.subtab-content {
  display: none;
}

.subtab-content.visible {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/*بعض اعدادت اللوائح والانظمة*/
.rules-card {
    position: relative;
    display: flex
;
justify-content: space-between;
    flex-direction: column;
}

.rules-button{
   
    bottom:6px;
}



/*الاسئلة الشائعة في الكلية*/

/* أسئلة شائعة للكليات */
.vertex-college-faq-section {
 /* text-align: right;*/
}

.vertex-college-faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.vertex-college-faq-item {
  background: white;
  border-radius: 5px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.vertex-college-faq-question {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: bold;
  color: #08326E;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px;
  cursor: pointer;
  font-family: 'Tajawal';
  transition: background-color 0.3s ease;
  background-color: transparent;
}

.vertex-college-faq-question:hover,
.vertex-college-faq-item.active .vertex-college-faq-question {
  background-color: #08326E;
  color: #fff;
}

.vertex-college-faq-toggle {
  font-size: 24px;
  color: #C3973C;
  transition: transform 0.3s ease;
}

.vertex-college-faq-toggle.rotated {
  transform: rotate(45deg);
}

.vertex-college-faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 15px;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  font-size: 14px;
  color: #444;
  font-family: 'Tajawal';
  border-top: 1px solid #ddd;
}
.vertex-college-faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 15px;
  transition: all 0.4s ease;
}

.vertex-college-faq-answer.open {
  max-height: 500px; /* كافية لأي إجابة تقريبًا */
  opacity: 1;
  padding: 15px;
}


/*كلمة العميد علامة الاقتباس*/
.quote-icon {
  position: relative;
  width: 140px;
  height: 140px;
  background: url('https://vertex.edu.km/wp-content/uploads/2025/04/quot.svg') no-repeat center center;
  background-size: contain;
}

.quote-icon {
    position:absolute ; 
    z-index: 1;
    opacity: .9;
    top:10px;
    left:0
}

.quote-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background: url(https://vertex.edu.km/wp-content/uploads/dotpix.svg);
  background-size: 10%; /* ← هذا يقلل حجم الباترن */
  background-repeat: repeat;
  background-position: center;
  opacity: .6;
  z-index: 1;
}

:dir(ltr) .quote-icon {
  right: 0;
  left: auto;
  transform: scaleX(-1); /* تعكس الأيقونة أفقيًا */
}


.college-title-wrapper h2.college-title.quote {
  position: relative;
  padding-bottom: 15px;
}

.college-title-wrapper h2.college-title.quote::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 2px;
  width: 82%;
  background-color: #153d76;
}

:dir(ltr) .college-title-wrapper h2.college-title.quote::after {
  left: 0;
  right: auto;
}
h2.college-title.quote {
  border-bottom: none !important;
}


/*تنسيق toglle*/

/* زر التوجل */
.college-tabs-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: #0A3069;
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.college-tabs-toggle .icon {
  display: inline-block;
}

/* القائمة المنبثقة (تظهر فقط على الجوال) */
.college-tabs-sidebar {
  display: block; /* ← نخفيها تمامًا على الديسكتوب */
}

/* التعديل الكامل داخل الميديا */
@media (max-width: 768px) {
  .college-tabs-toggle {
    display: block;
  }

  /* إخفاء قائمة التابات العادية على الجوال */
  .college-main-tabs {
    display: block !important;
  }

  /* تفعيل القائمة الجانبية على الجوال */
  .college-tabs-sidebar {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 9998;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    padding: 60px 10px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .college-tabs-sidebar.active {
    right: 0;
  }
}


.college-tabs-toggle {
  display: none; /* افتراضيًا مخفي */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
.college-tabs-toggle {
  display: block!important; /* افتراضيًا مخفي */
 
}
}

.college-tabs-toggle.visible {
  display: none;
  opacity: 1;
  pointer-events: auto;
}



@media (max-width: 768px) {
.college-vision-section,.college-message-section{
    
    width:100%!important;
}
.vission-message-wrapper{
    flex-direction: column;
}


.college-content {
    margin-top: 80px;
}

 .programs-list {
        grid-template-columns: 1fr;
            padding-inline-start: 0;
            margin:0;
    }
}


.college-section.college-goals {
    text-align: justify;
}


.college-tab-content-area {
    text-align: justify;
}


.rules-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.rules-card {
  flex: 0 0 calc(33.333% - 20px); /* ✅ عرض ثابت بدون تمدد */
  max-width: calc(33.333% - 20px);
  min-width: 250px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



.rules-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.rules-icon img {
  width: 28px;
  height: 28px;
  margin-left: 8px;
}

.rules-pdf-file-box h5 {
  margin: 0;
  font-weight: bold;
}

.rules-pdf-file-box small {
  color: #777;
  font-size: 13px;
}

.rules-button {
  text-align: center;
  font-size: 14px;
  display: inline-block;
  padding: 8px 16px;
  background: #243D80;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

/* ✅ كرت واحد على الجوال */
@media (max-width: 767px) {
  .rules-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

