/* Fonts */
:root {
  --default-font: "Poppins", sans-serif;
  --heading-font: "Lato", sans-serif;
}


/* Specific styles for Arabic content */
html[dir="rtl"] {
  --default-font: "Readex Pro", sans-serif;
  --heading-font: "Readex Pro", sans-serif;
  --default-font-weight: 400; /* Define the default font-weight for RTL */
}

body[dir="rtl"],
body[dir="rtl"] * { /* Ensures all elements inherit the Arabic font and font-weight when in RTL mode */
  font-family: var(--default-font);
  font-weight: var(--default-font-weight);
}

/* Global Colors - Updated to align with the brand */
/* Global Colors - Updated to align with the brand */
:root {
  --background-color: #ffffff; /* Can stay as white */
  --default-color: #444444; /* General text color */
  --heading-color: #000000; /* Primary brand color for headings */
  --accent-color: #C71F3C; /* Secondary brand color */
  --surface-color: #ffffff; /* Can stay as white */
  --contrast-color: #ffffff; /* Black for contrast, can be updated to #FFFFFF if needed */

  /* Additional Brand Colors */
  --primary-color: #000000; /* Black */
  --secondary-color: #A9011E; /* Cardinal */
  --tertiary-color: #E1B900; /* Gold */
  --fourth-color: #150617; /* 4th Color - Dark Shade */
  --fifth-color: #C1AD92; /* Grain Brown */

  /* Variations of Primary (Black) */
  --primary-variation-1: #1E1E1E;
  --primary-variation-2: #3C3C3C;

  /* Variations of Secondary (Cardinal) */
  --secondary-variation-1: #C71F3C;
  --secondary-variation-2: #E53D5A;
  --secondary-variation-3: #FF5B78;

  /* Variations of Tertiary (Gold) */
  --tertiary-variation-1: #FFD700;
  --tertiary-variation-2: #FFF51E;
  --tertiary-variation-3: #FFFF3C;

  /* Variations of Fourth Color (Bleached Cedar) */
  --fourth-variation-1: #332435;
  --fourth-variation-2: #514253;
  --fourth-variation-3: #6F6071;

  /* Variations of Fifth Color (Grain Brown) */
  --fifth-variation-1: #DFCBB0;
  --fifth-variation-2: #FDE9CE;
  --fifth-variation-3: #FFFFEC;

  /* Functional Greys */
  --functional-grey-1: #333333; /* Dark Grey */
  --functional-grey-2: #666666; /* Medium Dark Grey */
  --functional-grey-3: #999999; /* Medium Grey */
  --functional-grey-4: #CCCCCC; /* Light Grey */
  --functional-grey-5: #DDDDDD; /* Lighter Grey */
  --functional-grey-6: #EEEEEE; /* Lightest Grey */
}


/* Nav Menu Colors */
:root {
  --nav-color: #332435;  /* 4th brand color for nav links */
  --nav-hover-color: #C71F3C; /* Secondary brand color on hover */
  --nav-mobile-background-color: #ffffff; /* Can stay as white */
  --nav-dropdown-background-color: #ffffff; /* Can stay as white */
  --nav-dropdown-color: #332435; /* 4th brand color for dropdown links */
  --nav-dropdown-hover-color: #C71F3C; /* Secondary brand color on hover */
}

/* Color Presets */
.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1b1b1b; /* Black or Dark Background */
  --default-color: #ffffff; /* White text on dark background */
  --heading-color: #ffffff; /* White headings */
  --surface-color: #353535;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

mark {
  background-color: var(--tertiary-color);
  color: black;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


/* General Cookie Consent Styling */
.cc-window {
  font-family: var(--default-font); /* Default font for English/Latin content */
  color: var(--default-color);
}

.cc-btn {
  font-family: var(--heading-font); /* Heading font for buttons */
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

/* Arabic (RTL) Font Adaptation */
html[dir="rtl"] .cc-window {
  font-family: var(--default-font); /* Arabic font for cookie message */
  font-weight: var(--default-font-weight); /* Ensure font weight is applied */
  text-align: right; /* Align text to the right for Arabic content */
}

html[dir="rtl"] .cc-btn {
  font-family: var(--heading-font); /* Ensure Arabic font is used for buttons */
  background-color: var(--accent-color);
  color: var(--contrast-color);
}


/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

/* General Validation Message Styles */
.php-email-form .validation {
  display: none;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  color: #ffffff; /* Default to white font */
}

.php-email-form .validation.error {
  background: #CD3C14 !important; /* Error color */
  color: #ffffff !important; /* White font */
}

.php-email-form .validation.warning {
  background: #FFCC00 !important; /* Warning color */
  color: #000000 !important; /* Black font for warning */
}

.php-email-form .validation.success {
  background: #32C832 !important; /* Success color */
  color: #ffffff !important; /* White font */
}

.php-email-form .validation.info {
  background: #527EDB !important; /* Info color */
  color: #ffffff !important; /* White font */
}

/* Disable border-radius for all validation messages */
.php-email-form .validation {
  border-radius: 0;
}

/* RTL specific styles */
[dir="rtl"] .validation {
  text-align: right; /* Align text to the right for RTL */
  direction: rtl;    /* Ensure the direction is explicitly set to RTL */
}

/* LTR specific styles (default) */
[dir="ltr"] .validation {
  text-align: left; /* Align text to the left for LTR */
  direction: ltr;   /* Ensure the direction is explicitly set to LTR */
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*Flags*/
/* Set a consistent size for the flag icons */
.flag-icon {
  width: auto;
  height: 20px; /* Set the height to 20px and let width adjust accordingly */
}

.dropdown-menu {
  min-width: auto; /* Allow dropdown to adjust based on content */
  width: auto; /* Ensure the width is not fixed */
}

.dropdown-item {
  white-space: nowrap; /* Prevent text from wrapping */
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
}

/* Button Styling */
.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: #ffffff; /* White text color */
  background: var(--accent-color); /* Brand's secondary color as background */
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: #ffffff; /* Keep text white on hover */
  background: color-mix(in srgb, var(--accent-color), transparent 15%); /* Slightly lighter accent color on hover */
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted,
  .header .btn-getstarted:focus {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
    z-index: 997;
  }
}

@media (max-width: 361px) {
  .header .logo img {
    width : 150px !important;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Cookie Consent
--------------------------------------------------------------*/
.cc-revoke {
  display: none !important;
}

/*--------------------------------------------------------------
# Values Section
--------------------------------------------------------------*/

.values {
  display: flex;
  flex-wrap: wrap;
}

.values .value-item {
  background: transparent !important;
  cursor:pointer;
  border: 2px solid white !important;
  border-radius: 10px !important;
  padding: 20px !important;
  text-align: center !important;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out !important;
  position: relative !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important; /* Center align content */
  justify-content: flex-start !important; /* Adjust vertical positioning */
  height: 100% !important; /* Ensure equal height */
}


.values .value-item:hover {
  transform: translateY(-10px) !important; /* Adds a slight lift on hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

.values .icon {
  margin-bottom: 20px !important;
  font-size: 40px !important;
  color: var(--default-color) !important; /* Define your default color */
  background: transparent !important; /* Transparent background */
  padding: 20px !important;
  border: 2px solid white !important; /* Sharp white border */
  border-radius: 50% !important;
  width: 80px !important;
  height: 80px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  transition: all 0.3s ease-in-out !important; /* Smooth transition for hover effects */
}

.values .icon:hover {
  background: var(--accent-color) !important;
  color: white !important; /* Icon color changes to white on hover */
  border-color: var(--accent-color) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important; /* Slight shadow on hover */
}

.values .value-item h3 {
  font-size: 35px !important;
  font-weight: 700;
  color: var(--default-color) !important; /* Define your default color */
}

.values p {
  color: var(--default-color) !important; /* Define your default color */
  font-size: 16px !important;
}

.values h3 {
  color: var(--accent-color) !important; /* Slightly muted color for the text */
  font-size: 16px !important;
}

.values .value-item:hover .icon {
  background: var(--accent-color) !important; /* Changes background of icon on hover */
  color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .values .value-item {
    margin-bottom: 30px !important;
    height: auto !important; /* Adjust height for smaller screens */
  }
}


/*--------------------------------------------------------------
# Mission Section
--------------------------------------------------------------*/
.mission {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.mission img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.mission:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.mission .container {
  position: relative;
  z-index: 3;
}

.mission h3 {
  font-size: 18px;
  font-weight: 300;
  color: var(--default-color);
}

.mission p {
  color: var(--default-color);
}

.mission .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.mission .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-expert .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-expert .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-expert .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-expert p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .sitename {
  color: var(--contrast-color);
  font-size: 26px;
  font-weight: bold;

}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

html[dir="rtl"] footer#footer .footer-newsletter .newsletter-form input[type=submit] {
  border-radius: 4px 0 0 4px; /* Inverse le border-radius pour RTL */
  margin: -7px 0 -7px -8px; /* Adjust the margin for proper alignment */
}


.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .legalDisclaimer {
  margin-top: 6px;
  font-size: 10px;
}

.legalDisclaimer{
  font-weight: 300 !important;
}



/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 300;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

.section-bg {
  background-color: transparent;
  padding: 160px 0;
  position: relative;
}

.section-bg:before {
  content: "";
  background-color: var(--background-color);
  position: absolute;
  bottom: 60px;
  top: 60px;
  left: 0;
  right: 0;
  transform: skewY(-3deg);
}

.section-bg .container {
  position: relative;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  --default-color: #ffffff;
  --background-color: #000000; /* Primary brand color for hero background */
  --heading-color: #FFD700; /* Tertiary brand color for hero headings */
  width: 100%;
  min-height: 100vh; /* Ensures the hero section takes the full viewport height */
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2; /* Keep this below the container z-index */
}

.hero .container {
  position: relative;
  z-index: 3; /* Ensure content is above the background and the overlay */
}

#heroCarousel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0; /* Lower z-index to place behind the overlay and content */
}

#heroCarousel .carousel-inner {
  height: 100%;
}

#heroCarousel .carousel-item {
  height: 100%;
}

#heroCarousel .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}


.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .btn-get-started {
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.3s;
  background: var(--accent-color);
  color: var(--contrast-color) ;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 600;
  color: var(--default-color);
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

html[dir="rtl"] .glightbox.btn-watch-video.d-flex.align-items-center > span{
  margin-right:10px; /* Reset the right margin if previously set */
  margin-left: 0; /* Adjust the left margin to separate it from other elements */
}


@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.swiper-slide img {
  height: 63.5px;
  width: auto; /* Maintains aspect ratio */
  object-fit: contain; /* Ensures images are not distorted */
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# expert Section
--------------------------------------------------------------*/

.expert {
  position: relative;
  padding-bottom: 200px;
  overflow: visible;
}

.expert:before {
  content: "";
  background-color: #931c1e;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: skewY(-5deg);
  transform-origin: top;
}

.expert img {
  position: absolute;
  bottom: -115px;
  right: 0;
  height: calc(100% * 3);
  aspect-ratio: 1 / 1.5;
  max-width: 100%;
  z-index: 2;
}

.expert .container {
  margin-top: 56px;
  position: relative;
  min-height: 200px;
  overflow: visible;
}

.expert:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 100px;
  background-color: white;
  z-index: 3;
  transform: skewY(-5deg);
  transform-origin: bottom;
}

/* Only change the badges div */
.badges {
  z-index: 1;
  height: auto; /* Ensure the height adjusts to the content */
  width: 100%;
  position: absolute;
  top: 1%;
  left: 0;
  right: 0;
  display: flex; /* Adjust the content inside badges */
  justify-content: center; /* Align content in the center */
}

.expert .swiper-slide img {
  display: block;
  width: auto; /* Keep the width auto to maintain aspect ratio */
  height: auto; /* Set height to auto */
  max-height: 200px; /* Set a reasonable maximum height */
  max-width: 100%; /* Ensure it doesn’t exceed the container width */
}

.swiper {
  width: 100%;
  height: auto; /* Ensure it adjusts height based on content */
}

.swiper-wrapper {
  display: flex;
  height: auto; /* Let the height adjust based on the content */
}

.swiper-slide {
  flex-shrink: 0;
  width: auto; /* Let the slide width adjust based on content */
  height: auto; /* Let the slide height adjust based on content */
  display: flex;
  justify-content: center;
  align-items: center;
}

.expert .swiper-slide img {
  top:-10px;
  display: block;
  width: auto;
  height: 300px; /* Try setting a reasonable height for the image */
  max-width: 100%;
  z-index: 2; /* Ensure it is visible over other elements */
}

/* Foggy/Blurry effect on the sides of the swiper */
.swiper-foggy {
  position: relative;
}

/* Left and right gradient overlay */
.swiper-foggy:before, .swiper-foggy:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%; /* Adjust this to control the size of the gradient effect */
  z-index: 3;
  pointer-events: none; /* Allow interactions with underlying elements */
}

/* Left foggy gradient with the same background color */
.swiper-foggy:before {
  left: 0;
  background: linear-gradient(to right, rgba(147, 28, 30, 1), rgba(147, 28, 30, 0));
}

/* Right foggy gradient with the same background color */
.swiper-foggy:after {
  right: 0;
  background: linear-gradient(to left, rgba(147, 28, 30, 1), rgba(147, 28, 30, 0));
}

.certifications {
  z-index: 4;
  position: absolute;
  left: 20%;
  font-size: 20px;
  padding-right: 10px;
}

.signature {
  display: inline-block;
  height: 100px; /* Set a specific height for the signature */
  width: 50%; /* Set the width of the signature */
  margin-right: 10px; /* Adjust as needed */
  position: relative;
  overflow: hidden; /* Prevents overflow if SVG exceeds boundaries */
  float: right; /* Align the signature to the right */
  top: -40px; /* Push the signature upwards (adjust value as needed) */
}

.signature svg {
  display: block;
  width: 100%; /* Ensure it fills the width of the container */
  height: 100%; /* Ensure it fills the height of the container */
  position: absolute; /* Position the SVG relative to the container */
  top: 0;
  left: 0;
}

.signature path {
  stroke: #ffffff; /* Set the stroke color */
  stroke-width: 2;
  fill: none; /* Ensure no fill, only stroke */
}

/* Adjustments for smaller screens */

@media (max-width: 750px) {
  .certifications {
    text-align: center;
    margin: 0 auto;
    left: 0;
  }
}
@media (max-width: 400px) {
  .expert img {
    width: 150%;
    height: auto;
  }

  .certifications {
    font-size: 30px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .certifications {
    font-size: 20px;
  }
}

.expert .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.expert .content p {
  margin-bottom: 30px;

}

.expert .content .expert-btn {
  padding: 8px 30px 9px 30px;
  color: var(--default-color);
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--accent-color);
}

.rd-bg {
  background-color: #931c1e;
}

.expert .content .expert-btn i {
  font-size: 16px;
  padding-left: 5px;
}

.expert .content .expert-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.expert .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.expert .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.expert .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.expert .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.expert .icon-box:hover h4 a {
  color: var(--accent-color);
}



/*--------------------------------------------------------------
# Way Of Work  Section
--------------------------------------------------------------*/

/* Card-style with sharp edges, light gray background, and no shadow */
.workflow .card-style {
  background-color: #f7f7f7; /* Light grey background */
  padding: 30px;
  border-radius: 0px; /* Sharp edges (no rounded corners) */
  transition: 0.3s ease-in-out;
  text-align: center; /* Center text and content */
  margin-bottom: 30px;
  border: 1px solid #e0e0e0; /* Optional light border to define the card */
  display: flex;
  flex-direction: column; /* Ensure vertical alignment */
  justify-content: space-between; /* Push content evenly */
  flex-grow: 1; /* Ensure the card stretches */
}

/* Ensure all cards have consistent height */
.workflow .row {
  display: flex;
  flex-wrap: wrap;
}

.workflow .col-lg-4 {
  display: flex;
  justify-content: center; /* Centering cards horizontally */
}

.workflow .d-flex {
  display: flex;
  align-items: stretch; /* Make all cards the same height */
}

/* Circle styling for numbers */
.workflow .number-circle {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color); /* Your brand's accent color */
  color: var(--contrast-color); /* Text color inside the circle */
  border-radius: 50%; /* Keeps the number circle rounded */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px auto; /* Centers the circle */
}

/* Additional styles for content inside the card */
.workflow .box-step {
  padding: 10px; /* Adjust padding for the content */
  transition: 0.3s ease-in-out;
}

.workflow .box-step:hover .number-circle {
  background-color: var(--secondary-color); /* Changes circle color on hover */
}

/* Section title styling */
.workflow .section-title {
  text-align: center;
  margin-bottom: 60px;
}

/* Responsive grid layout */
@media (min-width: 768px) {
  .workflow .col-lg-4 {
    width: 33.3333%;
    padding: 15px;
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  background-color: var(--surface-color);
  color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.tabs .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.tabs .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.tabs .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.tabs .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .tabs .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 991px) {
  .tabs .nav-link {
    padding: 15px;
  }

  .tabs .nav-link i {
    font-size: 24px;
    padding: 0 !important;
  }
}

.tabs .tab-content {
  margin-top: 30px;
}

.tabs .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}

.tabs .tab-pane ul {
  list-style: none;
  padding: 0;
}

.tabs .tab-pane ul li {
  padding-bottom: 10px;
}

.tabs .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.tabs .tab-pane p:last-child {
  margin-bottom: 0;
}

/* Icon alignment for RTL */
:dir(rtl) .tabs .nav-link i {
  padding-left: 15px;
  padding-right: 0;
}

/* Keep LTR icon alignment */
:dir(ltr) .tabs .nav-link i {
  padding-right: 15px;
  padding-left: 0;
}


:dir(rtl) .tabs ul {
  padding:0 !important;
}

/*--------------------------------------------------------------
  # Why Us Section
  --------------------------------------------------------------*/
.why-us .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
}

.why-us .why-box h3 {
  color: var(--contrast-color);
  font-family: var(--default-font);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .why-box p {
  margin-bottom: 30px;
}

.why-us .why-box .more-btn {
  display: inline-block;
  background: color-mix(in srgb, var(--contrast-color), transparent 85%);
  padding: 8px 40px 10px 40px;
  color: var(--contrast-color);
  transition: all ease-in-out 0.4s;
  border-radius: 50px;
}

.why-us .why-box .more-btn i {
  font-size: 14px;
}

.why-us .why-box .more-btn:hover {
  color: var(--accent-color);
  background: var(--surface-color);
}

.why-us .icon-box {
  background-color: var(--surface-color);
  text-align: center;
  padding: 40px 30px;
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  cursor:pointer;
}

.why-us .icon-box i {
  color: var(--accent-color);
  font-size: 32px;
  margin-bottom: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  transition: 0.3s;
}

.why-us .icon-box h4 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 30px 0;
  font-family: var(--default-font);
}

.why-us .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .icon-box:hover i {
  color: var(--contrast-color);
  background: var(--accent-color);
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
body.hidden-content {
  visibility: hidden;
}

body.visible-content {
  visibility: visible;
  transition: visibility 0s 0.6s;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-color);
  transition: opacity 0.6s ease-out;
  opacity: 1;
  visibility: visible;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-out, visibility 0s 0.6s;
}

#preloader svg {
  width: 200px;
  height: auto;
  fill: var(--accent-color); /* Color of the SVG logo */
  clip-path: inset(0 100% 0 0); /* Initially hidden */
  animation: fill-logo 0.9s ease-in-out infinite; /* Faster and smoother animation with looping */
}

@keyframes fill-logo {
  0% {
    clip-path: inset(0 100% 0 0); /* Logo hidden */
  }
  50% {
    clip-path: inset(0 0 0 0); /* Logo fully visible */
  }
  100% {
    clip-path: inset(0 100% 0 0); /* Logo hidden again */
  }
}

/* RTL specific */
html[dir="rtl"] #preloader svg {
  clip-path: inset(0 0 0 100%); /* Reverse for RTL */
  animation: fill-logo-rtl 0.9s ease-in-out infinite; /* RTL animation */
}

@keyframes fill-logo-rtl {
  0% {
    clip-path: inset(0 0 0 100%);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 0 0 100%);
  }
}


/*--------------------------------------------------------------
# Roles Section
--------------------------------------------------------------*/

:dir(rtl) .roles ul li {
  text-align: right; /* Align text to the right */
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  transition: 0.3s;
}

.services .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(--accent-color);
}

:dir(rtl) .services .service-item .icon {
  margin-right: 0; /* Reset the margin-right for RTL */
  margin-left: 30px; /* Apply margin-left for RTL */
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
}

.services .service-item:hover {
  background-color: color-mix(in srgb, var(--surface-color) 90%, white 5%);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Testimonials Section - Quotes Fix for LTR and RTL
--------------------------------------------------------------*/
/* Common styles for both LTR and RTL */
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px;
  margin: 40px 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
  cursor:pointer;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
  object-fit: cover;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

/* Quote Icons - Default styling */
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
  position: relative;
  margin-right: 10px;
}

/* LTR Quote Positioning */
html[dir="ltr"] .testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  margin-right: 5px;
}

html[dir="ltr"] .testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  margin-left: 5px;
  transform: scale(-1, -1); /* Flip the right quote icon */
}

/* RTL Quote Positioning */
html[dir="rtl"] .testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  margin-left: 5px; /* Position it correctly in RTL */
  transform: scale(-1, 1); /* Flip horizontally for RTL */
}

html[dir="rtl"] .testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  margin-right: 5px; /* Adjust for RTL */
  transform: scale(1, 1); /* No flip in RTL */
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.testimonials .swiper-slide {
  opacity: 0.3;
}

@media (max-width: 1199px) {
  .testimonials .swiper-slide-active {
    opacity: 1;
  }

  .testimonials .swiper-pagination {
    margin-top: 0;
  }

  .testimonials .testimonial-item {
    margin: 40px 20px;
  }
}

@media (min-width: 1200px) {
  .testimonials .swiper-slide-next {
    opacity: 1;
    transform: scale(1.12);
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  font-size: 48px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  background-color: var(--background-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  z-index: 10;
}

.pricing .featured .pricing-item {
  background: var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured .pricing-item {
    transform: scale(1.02, 1.1);
  }
}


@media (min-width: 370px) {
  .pricing-item h4 {
    font-size: 40px !important;
  }
}



.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
  color: var(--contrast-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--contrast-color);
}

.pricing .featured .buy-btn:hover {
  background: color-mix(in srgb, var(--background-color), transparent 92%);
}

:dir(rtl) .pricing-item ul li {
  direction: rtl;           /* Ensures the text flows RTL */
  text-align: right;        /* Aligns text to the right */
  unicode-bidi: isolate;    /* Ensures LTR content like numbers stays in correct order */
}

:dir(rtl) .pricing-item ul li i {
  margin-left: 10px;        /* Adds space between the icon and the text */
  margin-right: 0;          /* Resets the right margin */
}


/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .team-member .social a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .team-member .member-info {
  padding: 25px 15px;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  padding: 24px 0 30px 0;
}

.contact{
  padding-top: 0 !important;
}

.contact .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--functional-grey-6);
  height: 100%;
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=password],
.contact .php-email-form input[type=tel],
.contact .php-email-form input[type=number],
.contact .php-email-form input[type=date],
.contact .php-email-form input[type=time],
.contact .php-email-form select,
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  outline: none;
  transition: border-color 0.3s ease;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=password]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form input[type=tel]:focus,
.contact .php-email-form input[type=number]:focus,
.contact .php-email-form input[type=date]:focus,
.contact .php-email-form input[type=time]:focus,
.contact .php-email-form select:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Calendar and Time Picker Styles */
.contact .php-email-form input[type=date]::-webkit-calendar-picker-indicator,
.contact .php-email-form input[type=time]::-webkit-calendar-picker-indicator {
  filter: invert(50%);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.contact .php-email-form input[type=date]::-webkit-calendar-picker-indicator:hover,
.contact .php-email-form input[type=time]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=password]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form input[type=tel]::placeholder,
.contact .php-email-form input[type=number]::placeholder,
.contact .php-email-form input[type=date]::placeholder,
.contact .php-email-form input[type=time]::placeholder,
.contact .php-email-form select::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/* Select Input Customization */
.contact .php-email-form select {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  appearance: none; /* Removes the default arrow to apply custom styling */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%204%205%27%3E%3Cpath%20fill%3D%27%23fff%27%20d%3D%27M2%205%200%202h4L2%205z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

.contact .php-email-form select option {
  color: var(--default-color);
}

.contact .php-email-form select:focus {
  border-color: var(--accent-color);
}

/* Button Style */
.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* Ensure checkbox and label align properly */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between checkbox and label */
}

/* Custom Checkbox Styling */
.form-check-input.custom-checkbox {
  width: 20px;
  height: 20px;
  background-color: var(--surface-color);
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  transition: 0.3s;
  position: relative;
}

/* Checked State */
.form-check-input.custom-checkbox:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Custom Checkmark */
.form-check-input.custom-checkbox:checked::before {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: absolute;
  top: 3px;
  left: 6px;
}

/* Label Styling */
.form-check-label.custom-checkbox-label {
  font-size: 14px;
  line-height: 1.2;
  color: var(--default-color);
  cursor: pointer;
}


html[dir="rtl"] .form-check-label.custom-checkbox-label {
  padding-right: 20px;
}


.radio-group {
  display: table; /* Ensure elements stay in a row */
  width: auto; /* Only take necessary space */
  border-collapse: separate;
}

.radio-group div {
  display: table-cell;
  vertical-align: middle; /* Align items vertically */
}


/* Custom Styled Radio Container */
.radio-container {
  display: inline-block;
  background-color: var(--surface-color, #fff); /* Ensure fallback color */
  padding: 10px 15px; /* Match input padding */
  margin-right:15px;
  border-radius: 4px; /* Adjust for a subtle rounded look */
  border: 1px solid rgba(0, 0, 0, 0.2); /* Fallback border color */
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease-in-out;
  font-size: 14px; /* Match input font size */
  font-weight: normal;
  color: var(--default-color, #333);
  white-space: nowrap; /* Prevent wrapping inside */
}

/* Hover effect */
.radio-container:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hide the default radio input */
input[type="radio"] {
  display: none;
}

/* Custom Radio Button */
.radio-container::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--accent-color, #007bff); /* Fallback color */
  margin-right: 10px;
  background-color: var(--surface-color, #fff);
  transition: all 0.3s ease-in-out;
}

/* Selected Radio Effect */
input[type="radio"]:checked + .radio-container::before {
  background-color: var(--accent-color, #007bff);
  box-shadow: inset 0 0 0 4px var(--surface-color, #fff);
}

/* Adjust radio button position for RTL */
html[dir="rtl"] .radio-container::before {
  margin-left: 10px;
  margin-right: 0;
}

html[dir="rtl"] .radio-container:first-of-type {
  margin-right: 0 !important;
  margin-left: 15px !important;
}


.fixed-width {
  width: 120px; /* Adjust width as needed */
  min-width: 120px;
}





html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="number"],
html[dir="rtl"] input[type="text"],
html[dir="rtl"] input[type="password"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="date"],
html[dir="rtl"] input[type="time"],
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] label {
  text-align: right;
  display: block;
}

html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="text"],
html[dir="rtl"] input[type="password"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="date"],
html[dir="rtl"] input[type="time"],
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  padding-right: 15px;
  padding-left: 5px;
}

html[dir="rtl"] input[type="tel"] {
  direction: ltr;
  text-align: right;
}

html[dir="rtl"] input[type="tel"]::placeholder {
  direction: rtl;
  text-align: right;
}



/*--------------------------------------------------------------
# Error Page
--------------------------------------------------------------*/

.custom-message{
  margin-top: 40px;
}

.custom-message a,
.custom-message button {
  display: inline-block; /* Ensures that the element behaves like a button */
  margin-top: 20px;
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
  width: 219px; /* Ensures both buttons have the same width */
  text-align: center; /* Ensures the text is centered inside the button */
}

.custom-message a:hover,
.custom-message button:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}


/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/

.portfolio-details-slider.swiper.init-swiper {
  width: 100%;
  min-height: 400px; /* Adjust to taste */
}


.portfolio-details-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}


.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 0px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  color: var(--accent-color);
}


/* LTR Layout */
[dir="ltr"] .service-details .bi {
  margin-right: 8px;
  margin-left: 0;
}

/* RTL Layout */
[dir="rtl"] .service-details .bi {
  margin-left: 8px;
  margin-right: 0;
}


.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.blog-posts .post-img {
  max-height: 440px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}

.blog-posts .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-posts .meta-top ul li+li {
  padding-left: 20px;
}

.blog-posts .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-posts .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-posts .content {
  margin-top: 20px;
}

.blog-posts .content .read-more {
  text-align: right;
}

.blog-posts .content .read-more a {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog-posts .content .read-more a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}