@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

:root {
 --main-text: #14573a;
 --main-bg: #1b8354;
 --second-text: #222a26;
 --paragraoh-text: #313842;
 --container-width: 1100px;
 --bg-box: #f2fcf8;
}

* {
 padding: 0;
 margin: 0;
 text-decoration: none;
 border: none;
 box-sizing: border-box;
}

body {
 background-color: #fff !important;
 background: url(../img/patternBackground.png) top center no-repeat;
 font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.container {
 width: 100%;
 max-width: var(--container-width);
 background: url('../img/main_border.png') top center no-repeat;
 margin: 4rem auto;
 padding: 2rem 2rem;
 position: relative;
}

h2.main-title {
 display: block;
 width: 250px;
 background-color: #1b8354;
 position: absolute;
 top: -25px;
 right: 0;
 left: 0;
 margin: 0 auto;
 filter: drop-shadow(4px 0px 24px #1b835463);
 color: #fff;
 padding: 0.7rem 1rem;
 font-weight: 500;
 font-size: 1.1rem;
 border-radius: 8px;
 text-align: center;
}

.conatiner-flex {
 display: flex;
 padding: 5rem 4rem 0rem;
 column-gap: 2rem;
 max-width: var(--container-width);
}
.right {
 flex: 1 1 45%;
}
.vedio {
 flex: 1 1 55%;
}

.vision,
.message,
.values,
.properties {
 margin-bottom: 2rem;
}

.vision h2,
.message h2,
.values h2,
.properties h2 {
 color: #005c20;
 font-size: 1.2rem;
}

.vision h2,
.message ul,
.values ul,
.properties ul {
 padding: 0;
 margin: 0;
}
.vision ul li,
.message ul li,
.values ul li,
.properties ul li {
 list-style-position: inside;
}

.vedio {
 display: flex;
 justify-content: center;
 align-items: center;
}

.player {
 h2 {
  color: var(--main-bg);
  text-align: center;
 }
 p {
  color: var(--second-text);
  text-align: center;
  line-height: 1.6;
 }

 iframe {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid #dff6ec;
  filter: drop-shadow(4px 4px 8px #1b835436);
 }
}

.firstStep {
 width: var(--container-width);
 background: none var(--bg-box);

 border-radius: 2rem;
 margin: 0 auto;

 position: relative;
 overflow: hidden;
 padding-bottom: 2rem;
 .container {
  background: none;
  margin: 2rem auto;
  h3 {
   color: var(--main-bg);
   font-size: 1.3rem;
   margin-bottom: 1rem;
  }
  p {
   color: var(--paragraoh-text);
   line-height: 1.7;
  }
  img {
   float: left;
  }
 }
}
.firstStep::before {
 width: 100%;
 height: 80px;
 content: '';
 display: block;
 background: url(../img/circle.png) top center no-repeat;
 position: absolute;
 top: -79px;

 right: 0;
 left: 0;
 margin: 0 auto;
 z-index: 55;
 display: none;
}

.textContent {
 max-width: var(--container-width);
 margin: 0 auto;
 padding: 1rem 0;
 display: flex;
 column-gap: 1rem;
 justify-self: center;
 align-items: center;

 img {
  width: 100%;
 }

 div.content {
  h2 {
   color: var(--main-bg);
   border-bottom: 1px solid #cfe6d8;
   margin-bottom: 0.5rem;
   padding-bottom: 0.5rem;
  }

  p {
   columns: var(--paragraoh-text);
   line-height: 1.6;
  }
 }
}
.reverse {
 flex-direction: row-reverse;
}

.tabs-container {
 max-width: var(--container-width);
 margin: 2rem auto 3rem;
 overflow: hidden;
 display: flex;
 gap: 1rem;
}

/* Tab Navigation List */
.tabs-nav {
 display: flex;
 justify-content: flex-start; /* Aligns tabs to the right in RTL */
 list-style: none;
 flex-direction: column;
 padding: 0;
 flex: 1 1 30%;
 margin: 0;
 border: 1px solid #e9e9e9;
 border-radius: 8px;
 position: relative;
  padding: 0;
 margin: 0;
}

.tabs-nav::before {
 content: '';
 display: block;
 width: 100%;
 height: 100%;
 background: linear-gradient(145deg, #1b83541d, #fff);
 position: absolute;
 top: 0;
 right: 0;
 z-index: -1;
 opacity: 0.5;
}

/* Individual Tab Item */
.tabs-nav li {
 padding: 10px 12px;
 cursor: pointer;
 color: #7e7e7e; /* Default gray color for inactive tabs */
 font-size: 0.9rem;
 font-weight: bold;
 border-top: 3px solid transparent; /* Transparent border to prevent layout shift */
 transition: color 0.3s ease, border-color 0.3s ease;
 margin-bottom: -1px; /* Helps the active border merge with the content box */
}

/* Active Tab Styling */
.tabs-nav li.active {
 color: #1db954; /* Bright green color for active tab text */
 border-bottom: 3px solid #1db954; /* Green top border for active tab */
}

/* Tab Content Container */
.tabs-content {
 padding: 1rem;
 flex: 1 1 70%;

 line-height: 1.8;
 border: 1px solid #e6e6e6;
 border-radius: 0.5rem;

 position: relative;
 p {
  line-height: 1.8;
  color: var(--paragraoh-text);
 }
}

/* Tab Content Pane */
.tab-pane {
 display: none;
}

/* Active Content Pane */
.tab-pane.active {
 display: block; /* Show only the active content pane */
}

.kfuShape {
 width: 813px;
 height: 214px;
 background: url(../img/university_pattern.png) bottom center no-repeat;
 margin: 0 auto;
}

@media screen and (max-width: 768px) {
 html {
  overflow-x: hidden;
  padding: 0 1rem;
  max-width: 100%;
  width: 100%;
 }
 body {
  overflow-x: hidden;
 }

 .conatiner-flex {
  flex-direction: column;
  width: 100%;
  max-width: 100%;
padding: 5rem 1rem 0rem;
  
 }

 .right,
 .vedio {
  flex: 1 1 0;
 }
 .vedio {
  margin-bottom: 2rem;
 }

 .firstStep {width: auto; margin: 0 auto;}
 .firstStep .container {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  img {
   display: block;
   clear: both;
   max-width: 70%;
  }
 }

 .textContent {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem;
  img {
   display: block;
   clear: both;
   max-width: 70%;
  }
 }

 .tabs-container {
  flex-direction: column;
  padding: 0 1rem;
 }

 .tabs-nav {
  flex-direction: column;
 }
 
}



.tab-pane h3 {color: #1b8354; font-weight: 500; font-size: 1.1rem;
padding-bottom: 0.3rem;
}
.tab-pane h5 {font-size: 1rem; color: #313842;
padding: 0.3rem 0;
}
.tab-pane ol {}
.tab-pane ol li { list-style-position: inside; font-size: 0.9rem; color: #454950; line-height: 1.8 ; list-style-type: disc;}



.goal {
 
 font-size: 0.65rem;
 font-weight: normal; display: inline-block;
border: 1px solid #005c2050;
background-color: #005c2010;
color: #005c20;
box-shadow: 2px 4px 8px #005c201e;
border-radius: 3rem;
padding: 0.2rem 0.5rem;
}