@font-face {
  font-family: 'Plain';
  src: url("../fonts/Plain-Regular.f2c7841a8e55.woff2") format('woff2'),
    url("../fonts/Plain-Regular.6b59fff5e6de.woff") format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Plain';
  src: url("../fonts/Plain-Light.3284585d91b7.woff2") format('woff2'),
    url("../fonts/Plain-Light.3c3eb89fb2ea.woff") format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Plain';
  src: url("../fonts/Plain-Bold.bb3f981c13f6.woff2") format('woff2'),
    url("../fonts/Plain-Bold.c2491f77feb3.woff") format('woff');
  font-weight: bold;
  font-style: normal;
}

/*
 * Scheherazade (Arabic) http://www.google.com/fonts/earlyaccess
 */
@font-face {
  font-family: 'Scheherazade';
  font-style: normal;
  font-weight: 1000;
  src: url(//fonts.gstatic.com/ea/scheherazade/v10/Scheherazade-R.eot);
  src: url(//fonts.gstatic.com/ea/scheherazade/v10/Scheherazade-R.eot?#iefix) format('embedded-opentype'),
       url(//fonts.gstatic.com/ea/scheherazade/v10/Scheherazade-R.woff2) format('woff2'),
       url(//fonts.gstatic.com/ea/scheherazade/v10/Scheherazade-R.woff) format('woff'),
       url(//fonts.gstatic.com/ea/scheherazade/v10/Scheherazade-R.ttf) format('truetype');
}

@font-face {
  font-family: 'Lateef';
  font-style: normal;
  font-weight: 200;
  src: url(https://fonts.gstatic.com/s/lateef/v30/hESz6XVnNCxEvkb0bjyQbK7axnQ.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Droid Arabic Naskh';
  font-style: normal;
  font-weight: 300;
  src: url(//fonts.gstatic.com/ea/droidarabicnaskh/v7/DroidNaskh-Bold.eot);
  src: url(//fonts.gstatic.com/ea/droidarabicnaskh/v7/DroidNaskh-Bold.eot?#iefix) format('embedded-opentype'),
       url(//fonts.gstatic.com/ea/droidarabicnaskh/v7/DroidNaskh-Bold.woff2) format('woff2'),
       url(//fonts.gstatic.com/ea/droidarabicnaskh/v7/DroidNaskh-Bold.woff) format('woff'),
       url(//fonts.gstatic.com/ea/droidarabicnaskh/v7/DroidNaskh-Bold.ttf) format('truetype');
}

/* arabic */
@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/amiri/v27/J7aRnpd8CGxBHpUrtLMA7w.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/*
 * Thabit (Arabic) http://www.google.com/fonts/earlyaccess
 */
@font-face {
  font-family: 'Thabit';
  font-style: italic;
  font-weight: 500;
  src: url(//fonts.gstatic.com/ea/thabit/v9/Thabit-Oblique.eot);
  src: url(//fonts.gstatic.com/ea/thabit/v9/Thabit-Oblique.eot?#iefix) format('embedded-opentype'),
       url(//fonts.gstatic.com/ea/thabit/v9/Thabit-Oblique.woff2) format('woff2'),
       url(//fonts.gstatic.com/ea/thabit/v9/Thabit-Oblique.woff) format('woff'),
       url(//fonts.gstatic.com/ea/thabit/v9/Thabit-Oblique.ttf) format('truetype');
}
:root {
  /* --primary-color: #f13a11; */
  /* --primary-color: #408ea7; */
  --primary-color: #ffc000;
  --white-color: #ffffff;
  --dark-color: #171819;
  --light-dark-color: #262829;
  --black-color: #000000;
  --about-bg-color: #f9f9f9;

  /* --gray-color: #909090; */
  --gray-color: #909090;
  /* --link-color: #404040; */
  --link-color: var(--white-color);
  --p-color: #666262;
  --error-color: #cc0033;

  --base-font-family-english: 'Plain', sans-serif;
  --base-font-family-arabic: 'Droid Arabic Naskh', sans-serif;
  --font-weight-bold: bold;
  --font-weight-normal: normal;
  --font-weight-light: 350;
  --font-weight-thin: 100;

  --h1-font-size: 48px;
  --h2-font-size: 36px;
  --h3-font-size: 28px;
  --h4-font-size: 24px;
  --h5-font-size: 22px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --base-font-size: 18px;
  --menu-font-size: 16px;

  --border-radius-large: 100%;
  --border-radius-small: 2px; 
}


body {
  color: var(--white-color);
  background: var(--dark-color);
}

/* body:lang(en) {
  font-family: var(--base-font-family-english);
  text-align: left;
  direction: ltr;
}

body:lang(ar) {
  font-family: var(--base-font-family-arabic);
  text-align: right;
  direction: rtl;
}

input:lang(ar) {
    font-family: 'Droid Arabic Naskh', serif;
}

input:lang(en) {
    font-family: 'Plain', sans-serif;
} */

/*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

h1:lang(ar),
h2:lang(ar),
h3:lang(ar),
h4:lang(ar),
h5:lang(ar),
h6:lang(ar) {
  font-weight: var(--font-weight-normal);
  line-height: normal;
  text-align: inherit;
  font-family: var(--base-font-family-arabic);

}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 20px 0;
  padding: 0 0 10px 0;
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -1px;
  margin: 0;
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
  line-height: inherit;
  margin: 0;
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  line-height: 1.5em;
  /* text-align: right; */
}

[dir="ltr"] {
  text-align: left;
  direction: ltr;
}

[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

b,
strong {
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
}

.section {
  padding: 7rem 0;
}


/* BUTTON */

.menue-btn {
  color: var(--white-color);
  background-color: var(--dark-color);
  border-radius: var(--border-radius-small);
}

.custom-btn {
  background: transparent;
  border-radius: var(--border-radius-small);
  padding: 14px 24px;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-normal);
  text-transform: capitalize;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  color: var(--primary-color);
}

.custom-btn:focus {
  box-shadow: none;
}

.custom-btn.bordered:hover,
.custom-btn.bordered:focus,
.custom-btn.bg-color:hover,
.custom-btn.bg-color:focus {
  background: var(--white-color);
  border-color: transparent;
  color: var(--primary-color);
}

.bordered {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.bg-color {
  background: var(--primary-color);
  color: var(--dark-color);
}

.form-item {
  margin-right: 10px;
  padding: 0px 20px;
  vertical-align: middle;
  background-color: #333;
  color: var(--white-color);
  font-size: 16px;
}

/*---------------------------------------
     GENERAL               
  -----------------------------------------*/

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: var(--link-color);
  font-weight: normal;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover,
a:active,
a:focus {
  color: var(--primary-color);
  outline: none;
  text-decoration: none;
}


/* BG OVERLAY */

.bg-overlay {
  background: linear-gradient(to top, var(--dark-color), transparent 100%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* opacity: 0.85; */
}


/*---------------------------------------
     MODAL              
  -----------------------------------------*/

.modal-content {
  padding: 2rem 3rem;
}

.modal-header,
.modal-body,
.modal-footer {
  border: 0;
  padding: 0;
}

/*---------------------------------------
    FEATURE          
  -----------------------------------------*/

.feature {
  background: var(--dark-color);
  padding: 5rem 0;
}


/*---------------------------------------
     MENU             
  -----------------------------------------*/

.navbar {
  /* background: var(--dark-color); */
  background: linear-gradient(to bottom, var(--dark-color), transparent 100%);
  padding: 1rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.navbar-brand {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  line-height: 80%;
  padding-top: 0;
}

.navbar-brand:hover {
  color: var(--primary-color);
}

.nav-item .nav-link {
  display: block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-normal);
  text-transform: uppercase;
  padding: 2px 6px;
}

.dropdown-menu .nav-link {
  text-transform: none;
}

.nav-item .nav-link.active,
.nav-item .nav-link:hover {
  color: var(--primary-color);
}

.navbar .social-icon li a {
  color: var(--white-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0 10px 0 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--primary-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--primary-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
     INTRO              
  -----------------------------------------*/

.intro_home {
  background-image: url("../images/backgrounds/bg_home.5806461a8dbb.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  vertical-align: middle;
  min-height: 100vh;
  position: relative;
}

.intro_services {
  background-image: url("../images/backgrounds/bg_services.8466eac338bd.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  vertical-align: middle;
  min-height: 100vh;
  position: relative;
}

.intro_products {
  background-image: url("../images/backgrounds/bg_products.10c527502e32.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  vertical-align: middle;
  min-height: 100vh;
  position: relative;
}

.intro_about {
  background-image: url("../images/backgrounds/bg_about.359a02e3d29a.jpg");
  background-size: cover;
  background-position: middle;
  background-repeat: no-repeat;
  vertical-align: middle;
  min-height: 100vh;
  position: relative;
}

.intro_team {
  background-image: url("../images/backgrounds/bg_team.b91e6b6fb33a.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  vertical-align: middle;
  min-height: 100vh;
  position: relative;
}


.intro_reservoirflow {
  background-image: url("../images/products/grid_animated_profile.4820b3138acb.gif");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  vertical-align: bottom;
  min-height: 100vh;
  position: relative;
}

.intro_terms {
  background-image: url("../images/backgrounds/bg_terms.e12f7465b849.jpg");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  vertical-align: middle;
  min-height: 60vh;
  position: relative;
}

.intro_articles {
  background-image: url("../images/backgrounds/bg_articles.56b8fce2aef4.jpg");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  vertical-align: middle;
  min-height: 50vh;
  position: relative;
}



/*---------------------------------------
     CLASS               
  -----------------------------------------*/
/* 
  .class-info {
  background: var(--gray-color);
  background-image: url("../images/services/consulting.59cfce22abf7.jpg");
  box-shadow: 6px 0 38px rgba(20, 20, 20, 0.10);
  border-radius: 0 0 2px 2px;
  padding: 1rem 2rem;
  position: relative;
}

.class-info img {
  border-radius: 2px 2px 0 0;
}

.class-info strong {
  color: var(--white-color);
}
 */

.anchor{
  display: block;
  height: 300px; /*same height as header*/
  margin-top: -300px; /*same height as header*/
  visibility: hidden;
}

.product-card {
  background-color: rgba(255, 255, 255, 0.1);
  /* Transparent background */
  padding: 20px;
  border-radius: 10px;
}

.beta-tag {
  display: inline-block;
  background-color: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  margin-top: 10px;
}

.red-tag {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  display: block;
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  line-height: 3.5rem;
  text-align: center;
}

.logos {
  background-image: url("../images/hiesab_logo.cc8ad830c839.svg");
  height: 50px;
  position: relative
}

.logo-text-container {
  display: flex;
  /* This ensures the logo and text are placed side by side */
  align-items: center;
  /* Vertically center the logo and the text */
}

.logo-container {
  position: relative;
  height: 100px;
  /* Fixed height for the logo */
  width: 100px;
  /* Fixed width for the logo */
}

.logo {
  height: 100%;
  /* Make the logo fill the container's height */
  width: 100%;
  /* Make the logo fill the container's width */
  transition: opacity 0.3s ease;
  position: absolute;
  /* Position the logo absolutely to ensure it's fully controlled */
  top: 0;
  left: 0;
}

.logo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hiesab_logo_hover.e33b15a3c76b.svg");
  background-size: contain;
  /* Keep the hover logo contained within the fixed size */
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-container:hover .logo {
  opacity: 0;
}

.logo-container:hover::before {
  opacity: 1;
}

.logo-title {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  margin-left: 0px;
}

/*---------------------------------------
     SCHEDULE             
  -----------------------------------------*/

.schedule {
  background: var(--dark-color);
}

.schedule-table {
  display: table;
  border: 0;
  text-align: center;
}

.schedule-table strong,
.schedule-table span {
  display: block;
  text-align: center;
}

.schedule-table strong {
  color: var(--white-color);
}

.schedule-table span {
  color: var(--gray-color);
}

.schedule-table span,
.schedule-table small {
  font-size: var(--menu-font-size);
  text-transform: uppercase;
}

.schedule-table small {
  position: relative;
  top: 10px;
}

.table .thead-light th,
.schedule-table tr td:first-child {
  background: var(--primary-color);
  border: 1px solid #212122;
  color: var(--white-color);
}

.schedule-table .thead-light th {
  border-bottom: 0;
  text-transform: uppercase;
}

.table-bordered td,
.table-bordered th {
  border: 1px solid #212122;
}

.table-bordered td {
  padding-bottom: 22px;
}

.table td,
.table th {
  padding: 1rem;
}


/*---------------------------------------
      ABOUT & TEAM            
  -----------------------------------------*/

.about {
  background: var(--dark-color);
  color: var(--white-color);
}

.about-working-hours {
  border-left: 2px solid;
  padding-left: 3.5rem;
}

.about-working-hours strong {
  color: var(--white-color);
  opacity: 0.85;
}

.about p {
  color: rgb(212, 212, 212);
}

/* You can also target specific sections if needed */
.about h2,
.about h3,
.about ul {
  color: white;
}

.team-thumb {
  position: relative;
}

.team-info {
  background: var(--black-color);
  /* background-image: url("../images/services/consulting.59cfce22abf7.jpg"); */
  border-radius: 0 0 2px 2px;
  box-shadow: 6px 0 38px rgba(20, 20, 20, 0.10);
  padding: 20px;
  position: relative;
}

.team-info span {
  font-weight: var(--font-weight-light);
  opacity: 0.85;
}

.team-info .social-icon {
  position: absolute;
  top: 10px;
  right: 20px;
}

.team-info .social-icon li {
  display: block;
}

.custom-icon {
  color: var(--p-color);
  font-size: 30px;
  padding: 10px;
}

.custom-icon {
  display: inline-block;
  vertical-align: middle;
}

.profile-icon {
  font-size: 30px;
}

.language-icon {
  font-size: 13px;
}

/* .bi-bag.custom-icon {
  font-size: 17px;
}

.featured-icon {
  color: var(--grey-color);
  font-size: 52px;
} */

/*---------------------------------------
     CONTACT              
  -----------------------------------------*/

.webform input,
button#submit-button {
  height: calc(2.25rem + 20px);
}

.form-control {
  border-radius: var(--border-radius-small);
  margin: 1.3rem 0;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--dark-color);
}

button#submit-button {
  background: var(--dark-color);
  border-color: transparent;
  color: var(--white-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

button#submit-button:hover {
  background: var(--primary-color);
}

.contact h2+p {
  max-width: 90%;
}

.google-map {
  border-top: 1px solid #efebeb;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
}

.google-map iframe {
  width: 100%;
}


/*---------------------------------------
     FOOTER              
  -----------------------------------------*/

/* .site-footer {
  border-top: 1px solid #efebeb;
  padding: 3rem 0;
}

.site-footer a {
  color: var(--p-color);
  font-weight: var(--font-weight-light);
}

.site-footer p {
  font-size: var(--base-font-size);
}

.contact .fa,
.site-footer .fa {
  color: var(--primary-color);
} */

.site-footer {
  background-image: url("../images/backgrounds/bg_footer.2bea7f50f57a.jpg");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  /* vertical-align: middle; */
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
}

.site-footer::before {
  content: "";
  background: linear-gradient(to bottom, var(--dark-color), transparent 100%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.site-footer .container {
  position: relative;
}

.tooplate-mt30 {
  margin-top: 30px;
}

.tooplate-mt60 {
  margin-top: 60px;
}

.tooplate-mt120 {
  margin-top: 60px;
}

.copyright-text {
  font-size: var(--menu-font-size);
}

.tel-link {
  color: var(--p-color);
}

.site-footer a:hover {
  color: var(--white-color);
}

.site-footer a {
  color: #AAA;
  ;
}

.site-footer p {
  color: #AAA;
}

/*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

/* .social-icon {
  position: relative;
  padding: 0;
  margin: 5px 0 0 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  text-decoration: none;
  display: inline-block;
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
  margin: 5px 10px;
  text-align: center;
}

.social-icon li a:hover {
  color: var(--primary-color);
} */

.social-icon {
  margin: 0;
  padding: 0;
  text-align: center;
}

.social-icon li {
  text-decoration: none;
  display: inline-block;
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
  margin: 5px 10px;
  text-align: center;
}

.social-icon:hover li:not(:hover) {
  opacity: 0.65;
}


.social-icon-link:hover {
  color: var(--primary-color);
}

/*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

@media screen and (max-width: 992px) {

  .section {
    padding: 5rem 0;
  }

  .nav-item .nav-link {
    padding: 6px;
  }

  .navbar .social-icon {
    margin-top: 22px;
  }

  .navbar-collapse,
  .site-footer {
    text-align: center;
  }

  .schedule-table {
    display: block;
  }

  .modal-content {
    padding: 2rem;
  }
}

@media screen and (max-width: 767px) {

  h1 {
    font-size: 38px;
  }

  .about-working-hours {
    border-left: 0;
    padding: 22px 0 0 0;
  }

  .contact h2 span {
    display: block;
  }
}


/*---------------------------------------
     GALLERY              
  -----------------------------------------*/

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.tm-container-gallery {
  padding-top: 30px;
}

.tm-container-gallery {
  max-width: 1290px;
}

.tm-text-primary {
  color: var(--primary-color);
}

.tm-section-title {
  font-size: 2.6rem;
  font-weight: normal;
}

.tm-section-desc {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
}

.tm-gallery-container {
  padding-top: 70px;
  padding-bottom: 120px;
}

.tm-gallery-item {
  margin: 0 15px;
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-gallery-container-2 {
    max-width: 350px;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
}

/* Hover Effect */
/* Common style */
/* Hover Effect */
figure.effect-honey {
  background: var(--white-color);
  max-width: 220px;
  position: relative;
  overflow: hidden;
}

figure.effect-honey img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 0.4;
}

figure.effect-honey figcaption {
  position: absolute;
  top: -100%;
  /* Start off the top of the figure */
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1em 1.5em;
  background: rgba(0, 0, 0, 0.5);
  /* Adjust background as needed */
  color: #fff;
  text-align: left;
  -webkit-transition: top 0.35s ease, transform 0.35s ease;
  transition: top 0.35s ease, transform 0.35s ease;
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  width: 100%;
  text-align: left;
  -webkit-transition: transform 0.35s ease, opacity 0.35s ease;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s ease, transform 0.35s ease;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

figure.effect-honey:hover figcaption {
  top: 0;
  /* Slide in from the top */
}

figure.effect-honey:hover h2 {
  transform: translateY(0);
  /* Ensure it's visible */
}

figure.effect-honey:hover h2 i {
  opacity: 1;
  /* Show the text on hover */
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: var(--white-color);
  max-width: 220px;
}

figure.effect-honey img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 0.4;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #38C;
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.tm-container-gallery {
  padding-top: 30px;
}

/*---------------------------------------
     Drop-Down Menu              
  -----------------------------------------*/

/* Customize dropdown to have a dark background */
.dropdown-menu {
  /* background-color: #333; */
  background: rgba(51, 51, 51, 0.7);
  border: 1px solid var(--primary-color);
  display: none;
  text-align: inherit;
  /* Initially hidden */
}

/* Show dropdown menu on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  /* Show dropdown on hover */
  animation: dropdownFadeIn 0.5s forwards;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu a {
  color: var(--white-color);
  /* White text for links */
}

.dropdown-menu a:hover {
  /* background-color: #444; */
  background: transparent;
  color: var(--primary-color);
  /* Slightly lighter background on hover */
}

/* Ensure "Products" link is clickable */
.nav-item.dropdown>a {
  cursor: pointer;
}

/* Adjust hover behavior on dropdown items to avoid flicker */
.dropdown-menu:hover {
  display: block;
  /* Keep dropdown open when hovering over it */
}


.challenge.container {
  width: 100%;
  padding: 0;
}

.challenge.container .row div {
  height: 100px;
  border: 2px solid white;
  padding: 5px;
}


/*---------------------------------------
     BLOG              
  -----------------------------------------*/

#content {
  /* float: left; */
  padding:30px 100px;
  width: 60%;
  /* padding: 0 0 0 30px; */
}

#sidebar {
  /* float: right; */
  margin-top: 110px;
  width: 30%;
  padding: 10px;
  height: 100%;
  color: var(--white-color);
  background: var(--light-dark-color);
  border: 1px solid var(--gray-color);
  border-radius: var(--border-radius-small);
}

p.date {
  color: var(--white-color);
  margin: 16px 0;
  font-style: italic;
}
p.date[lang="en"] {
  font-family: georgia, serif;
  font-size: 14px;
}

p.date[lang="ar"] {
  font-family: 'Amiri', serif;
  font-size: 14px;
  text-align: right;
}

.left {
  float: left;
  margin-right: 10px;
}

/* pagination */
.pagination {
  font-size: medium;
  margin: 20px 0;
  font-weight: normal;
  justify-content: center;

}

/* forms */
form {
  overflow: auto;
  margin: 0 0 0px 0;
}

form small {
  /* float: right; */
  color: var(--white-color);
  font-size: 13px;
  margin: 0;
}


form p {
  width: 100%;
  overflow: auto;
}

form textarea {
  width: 100%;
  height: 150px;
}

label {
  clear: both;
  color: var(--white-color);
  margin-bottom: 4px;
  font-size: var(--base-font-size);
}

select {
  width: 100%;
  height: 40px;
  background: var(--light-dark-color);
  color: var(--white-color);
  /* border:2px solid var(--primary-color); */
}

form input[type="date"]{
  width: 100%;
  height: 40px;
  background: var(--light-dark-color);
  color: var(--white-color);
  color-scheme: dark;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea {
  clear: both;
  margin: 0 0 10px;
  border: 0;
  padding: 6px 10px;
  font-size: var(--base-font-size);
  width: 100%;
  color: var(--white-color);
  background: var(--light-dark-color);
  border: 1px solid var(--gray-color);
  border-radius: var(--border-radius-small);
}

input[type="text"]:disabled,
input[type="email"]:disabled,
textarea disabled {
  clear: both;
  margin: 0 0 10px;
  border: 0;
  padding: 6px 10px;
  font-size: var(--base-font-size);
  width: 100%;
  color: var(--gray-color);
  background: var(--light-dark-color);
  border: 1px solid var(--dark-color);
  border-radius: var(--border-radius-small);
}

input[type=submit],
button[type=submit],
a.button {
  color: var(--dark-color);
  background: var(--primary-color);
  padding: 10px 20px;
  border-radius: var(--border-radius-small);
  font-weight: bold;
  font-size: 14px;
  font-weight: var(--font-weight-normal);
  text-transform: capitalize;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.3s ease;
  width: 30%;
  height: 30%;
}

input[type=submit]:hover,
button[type=submit]:hover,
a.button:hover {
  background: var(--white-color);
  color: var(--primary-color);

}

.errorlist {
  color: #cc0033;
  /* float: left; */
  clear: both;
  padding-left: 10px;
}

.helptext {
  margin: 0 0 20px 0;
  color: #aaa;
  clear: both;
  /* float: left; */
  font-size: 13px;
}

/* comments */
.comment {
  padding: 5px;
  margin: 10px 0;
  color: var(--white-color);
  background: var(--light-dark-color);
  border: 1px solid var(--gray-color);
  border-radius: var(--border-radius-small);
}

.comment:nth-child(even) {
  background: var(--dark-color);
}

.comment .info {
  font-weight: normal;
  font-size: 12px;
  color: var(--gray-color);
}

.map {
  height: 50vh;
  width: 100%;
  zoom: 1;
  border: 0;
  filter: grayscale(0%);
}

.dropdown-menu-profile-thumb {
  margin: 15px 15px;
}

.dropdown-menu-profile-thumb small,
.dropdown-menu-profile-thumb a {
  font-size: var(--btn-font-size);
}

.profile-image {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover; 
  border: 2px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.1); /* Zoom in on hover */
}

/* messages */
ul.messages {
    margin:50px 100px;
    padding:0;
    list-style-type:
    none;
}
ul.messages li.success,
ul.messages li.warning,
ul.messages li.error,
ul.messages li.info {
    margin:0;
    padding:14px 20px;
    list-style:none;
    color:#fff;
}

ul.messages li.success { background:#81ce81; }
ul.messages li.success a { color:#0ac33e; }

ul.messages li.error { background:#a30029; color:#e9828e; }
ul.messages li.error a { color:#e9828e; }

ul.messages li.info { background:#faffae; color:#696b4e; }
ul.messages li.info a { color:#1586de; }

ul.messages li.warning { background:#de9404; }
ul.messages li.warning a { color:#f49000; }

ul.messages li a.close {
    margin:0;
    float:right;
    opacity:1;
    border:0;
    box-shadow:none;
    text-shadow:none;
}