/* 
Theme Name: EduVision
Author: M. M. Elghusein, J.D.
Date of creation: 20/02/2025
Last updated: 21/02/2025
URL: https//mamunsson.digital
Author: M. M. Elghusein, J.D.
Version: 1.0
*/

/*----------------------------------*/
/* Bootstrap Icons */
/*----------------------------------*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css");

/*----------------------------------*/
/* Google Fonts Local */
/*----------------------------------*/

/* cairo-regular - arabic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/cairo-v28-arabic_latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cairo-500 - arabic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Cairo";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/cairo-v28-arabic_latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*--------------------------------------------------------------
   General settings
  --------------------------------------------------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
}

::selection {
  background-color: #333;
  color: #fff;
}

body {
  background-color: #fff;
  font-family: "Cairo", serif;
}

hr {
  margin-top: 10px;
  margin-bottom: 10px;
  border-top: 1px solid #808080;
}

.mb0 {
  margin-bottom: 0;
}

.mb10 {
  margin-bottom: 10px;
}

.mt10 {
  margin-top: 10px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.width1180 {
  max-width: 1180px;
  margin: 0 auto;
}

.width1150 {
  max-width: 1150px;
  margin: 0 auto;
}

/*----------------------------------*/
/* Header */
/*----------------------------------*/

.link_list {
  list-style-type: none;
  margin-top: 10px;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: flex-end; /* Align items to the right */
}

.link_list li {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.link_list li a {
  display: block;
  text-align: center;
  padding: 0 1px;
  font-size: 1.4rem;
  color: #444;
  text-decoration: none;
}

.link_list li a:focus,
.link_list li a:hover {
  color: #9e9e9e;
  text-decoration: none;
}

.link_list li:last-child {
  border-left: none;
}

.ms-2 {
  margin-left: 8px;
}

.header p {
  margin: 0;
  font-size: 1.9rem;
}

blockquote {
  margin-top: 25px;
  border-left: 3px solid #eee;
  padding: 10px 20px;
}

blockquote p {
  font-size: 1.8rem; /* Adjust size as needed */
  line-height: 1.6; /* Optional: Improves readability */
}

.mainNav {
  background-color: transparent;
  border: none;
  margin-bottom: 0;
}

.mainNav li a {
  padding: 8px 20px;
}

.navbar-right {
  float: right !important;
  margin-right: -25px;
}

/*----------------------------------*/
/* Slider */
/*----------------------------------*/

.slider {
  color: #fff;
}

.slider h2 {
  margin-top: 2%;
}

.slider p {
  margin-top: 2%;
}

.line {
  width: 3%;
  height: 288px;
  float: left;
  cursor: pointer;
}

.textArea {
  width: 35%;
  height: 288px;
  padding: 1.8%;
  float: left;
  font-size: 1.6rem;
  text-align: right;
}

.bgYellow {
  background-color: #007f0e;
}

.bgGreen {
  background-color: #e95e24;
}

.bgBlue {
  background-color: #0063a6;
}

.bgOrange {
  background-color: #b6940d;
}

.bgGrey {
  background-color: #124086; /* Light Grey */
}
.more {
  color: #fff !important;
}

.read {
  color: #222 !important;
}


.imgArea {
  width: 56%;
  height: 288px;
  float: left;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.imgAreaYellow {
  background-image: url(../images/hassan-pasha-pbUGlzcRB44-unsplash.jpg);
}

.imgAreaGreen {
  background-image: url(../images/tingey-injury-law-firm-veNb0DDegzE-unsplash.jpg);
}

.imgAreaBlue {
  background-image: url(../images/marco-oriolesi-wqLGlhjr6Og-unsplash.jpg);
}

.imgAreaOrange {
  background-image: url(../images/sean-pollock-PhYq704ffdA-unsplash.jpg);
}

.imgAreaGrey {
  background-image: url(../images/greyImg.jpg); /* Add the image for the grey background */
}

.imgAreaStudying {
  background-image: url(../images/emmanuel-ikwuegbu-MSX3O-Sqa8U-unsplash.jpg);
}

.imgAreaSchool {
  background-image: url(../images/headway-5QgIuuBxKwM-unsplash.jpg);
}

#carouselPauseBtn {
  display: none;
}

.bi-facebook {
  font-size: 2.7rem;
  color: #fff;
  margin-right: 10px;
}

.bi-twitter-x {
  color: #fff;
  font-size: 2.7rem;
  margin-right: 10px;
}

.bi-youtube {
  color: #fff;
  font-size: 2.7rem;
  margin-right: 10px;
}

/*----------------------------------*/
/* Highlight */
/*----------------------------------*/

.two-column-box-one {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 20px auto;
  margin-top: 80px;
  padding: 10px;
}

.box-one {
  padding: 10px;
  direction: rtl;
  
}

.box-one h3 {
  font-size: 3rem;
}

.box-one p {
  font-size: 1.5rem;
  color: #5c5858;
  line-height: 24px;
}

.box-two {
  padding: 10px;
}

.box-two img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;

}

/*----------------------------------*/
/* Updates */
/*----------------------------------*/

.updates {
  padding-bottom: 20px;
  padding-top: 20px;
}

.updates h4 {
  color: #808080;
  font-weight: 600;
  font-size: 2rem;
  margin-top: 60px;
  text-align: right;
}

.updates h5 {
  text-align: right;
  color: #0063a6;
  font-size: 1.9rem;
  font-weight: 600;
  margin-top: 20px;
}

.updates p {
  text-align: right;
  color: #333;
  font-size: 1.6rem;
}

.divider_orange {
  width: 80%;
  height: 4px;
  background-color: #e95e24;
}

.block_news {
  display: flex;
  flex-wrap: wrap;
}

.block_news .col-md-3 {
  display: flex;
  flex-direction: column;
}

.block_news img {
  width: 100%;
  height: 200px; /* Set a fixed height for all images */
  object-fit: cover; /* Ensures images cover the area without distortion */
}

/*----------------------------------*/
/* News & Updates */
/*----------------------------------*/

.img_block {
  width: 50%;
  height: 155px;
  float: left;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.text_block {
  width: 50%;
  float: left;
  height: 155px;
  color: #fff !important;
  padding: 10px;
}

.text_block p,
.text_block p a {
  color: #fff !important;
}

/*----------------------------------*/
/* Faculty */
/*----------------------------------*/

.container {
  max-width: 740px;
}

.staff {
  padding: 30px 0;
}

.staff-box {
  text-align: center;
  margin-bottom: 20px;
}

.staff-box img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.staff-box h2 {
  font-size: 1.5rem;
  margin-top: 15px;
  font-weight: bold;
}

.staff-box p {
  text-align: center;
  font-size: 1.5rem;
  color: #555;
}

/*----------------------------------*/
/* Page */
/*----------------------------------*/

.page-image {
  max-width: 900px;
  margin: 70px auto 0;
  padding: 8px;
}

.page-image img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-title {
  margin: 40px auto 0;
  padding: 10px;
  max-width: 900px;
}

.page-title h4 {
  font-size: 2.4rem;
  text-align: right;
  margin: 0;
  padding: 0;
}

.page {
  max-width: 900px;
  margin: 20px auto;
  padding: 10px;
  direction: rtl;
}

.page p {
  text-align: right;
  font-size: 1.8rem;
  line-height: 38px;
}

/*----------------------------------*/
/* Footer */
/*----------------------------------*/

.footer {
  background-color: #2f3542;
  direction: rtl;
}

.footer h2 {
  color: #fcd501;
  font-size: 1.6rem;
  font-weight: bolder;
}

.footer p {
  color: #fff;
  font-size: 1.8rem;
}

.footer h4 {
  color: #fff;
  font-weight: 600;
  margin-top: 20px;
}

.footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
}

.footer ul li a:hover {
  color: #fff;
}

.footer .copyright {
  color: #fff;
  font-size: 1.2rem;
}

.designer {
  font-size: 10px;
  text-align: right;
  font-style: italic;
}

.divider_white {
  width: 100%;
  height: 1px;
  background-color: #fff;
}

/*----------------------------------*/
/* Browser Scrollbar */
/*----------------------------------*/

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #666;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

/*----------------------------------*/
/* Media Queries */
/*----------------------------------*/

@media screen and (max-width: 991px) {
  .block_news h5 {
    text-align: right;
  }
}

@media screen and (min-width: 768px) {
  .mainNav li a {
    background-color: #0063a6 !important;
    color: #fff !important;
    font-weight: 500;
    font-size: 1.5rem;
    border: 1px solid #fff;
    padding: 7px 25px;
    margin-left: 4px;
  }
}

@media screen and (max-width: 768px) {
  .link_list {
    flex-direction: column;
    align-items: center;
  }

  .navbar-default .navbar-collapse,
  .navbar-default .navbar-form {
    border-color: #e7e7e7;
    overflow: hidden;
  }

  .navbar-toggle {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center everything */
  }

  .menu-text {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000; /* Change to your preferred color */
    margin-bottom: 8px; /* Adds space between text and bars */
  }

  /* Ensure the default color applies */
  .navbar-toggle .icon-bar {
    background-color: #000 !important; /* Change this to your preferred color */
  }

  /* Optional: Change color on hover */
  .navbar-toggle:hover .icon-bar {
    background-color: #000 !important;
  }

  /* Optional: Change color when the menu is active (opened) */
  .navbar-toggle[aria-expanded="true"] .icon-bar {
    background-color: #000 !important; /* Different color when the menu is open */
  }

  .img-responsive {
    margin: auto;
  }

  .line {
    width: 6%;
  }

  .textArea {
    width: 82%;
  }

  .imgArea {
    display: none;
  }

  .footer img {
    margin-top: 30px;
  }

  blockquote {
    margin-top: 10px;
    margin-bottom: 0px;
    border-left: 2px solid #222;
    text-align: center;
  }

  .buttonMob {
    border: none;
    background-color: transparent !important;
  }

  .slider p {
    margin-bottom: 0;
  }

  #carouselPauseBtn {
    position: absolute;
    bottom: 10px; /* Adjust vertical position */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: transparent; /* Transparent background */
    border: none; /* Remove button border */
    color: white; /* White icon color */
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Circular button */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px; /* Larger icons */
    cursor: pointer;
    transition: transform 0.2s;
  }

  /* Focus state - removed shadow */
  #carouselPauseBtn:focus {
    outline: none;
  }

  /* Override Bootstrap button styles for mobile and desktop to ensure no color interference */
  #carouselPauseBtn.btn {
    background-color: transparent !important; /* Ensure no background color */
    color: white !important; /* Force white color on all screen sizes */
    border: none !important; /* Ensure no border */
  }

  #carouselPauseBtn i {
    font-size: 30px; /* Adjust icon size */
    color: white; /* Ensure icons are white */
  }

  .carousel-indicators {
    display: none;
  }

  .icon_block {
    width: 148px;
    margin: 0 auto;
  }

  .footer {
    text-align: center;
  }

  .designer {
    text-align: center;
  }

  .mainNav {
    text-align: center;
  }
}
@media screen and (max-width: 450px) {
  .img_block {
    width: 100%;
  }
  .text_block {
    width: 100%;
  }
  .link_list li a {
    padding: 0 3px;
  }
  .header h6 a {
    padding-right: 125px;
  }

  .updates h4 {
    margin-top: 30px;
  }

  .page-image {
    margin: 20px auto 0;
  }

  .page-image img {
    height: 200px;
  }

  .page-title {
    margin: 10px auto 0;
  }
}
