/* ================================
   Global Var
================================ */

:root {
  --l-main-color: #f28b94;
  --d-main-color: #dc3545;
  --sec-color: #914b55;
  --the-color: #7a1c21;
  --for-color: #611018;
  --fiv-color: #490a0f;
  --six-color: #452D32;
  --siv-color: #452D2D;
  --eiv-color: #391A1A;
  --transition: 500ms;
}

/* ================================
   Global Reset & Base Styles
================================ */
* {
  padding: 0;
  margin: 0;
   box-sizing: border-box;
}

*,
*::before,
*::after {

  box-sizing: border-box;
  scrollbar-color: #dc3545 #f1f1f1;
}

::-webkit-scrollbar-track {
  background: #dc3545;
}

::-webkit-scrollbar-thumb {
  background: #dc3545;
}

::-webkit-scrollbar-thumb:hover {
  background: #f28b94;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

.container {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  margin: 0;
}

/* ================================
   Header & Banner
================================ */
/*video*/
/* Video Library Section */



/*=====================================*/
#menu-toggle {
  display: none;
}
.headnav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bnr {
  position: absolute;
  width: 120%;
  padding: 1rem 0;
  text-align: center;
  background: var(--sec-color);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bnr a {
  color: var(--l-main-color);
}

.bnr strong {
  /* position: absolute; */
  padding-left: 250px;

}

/* ================================
   Navbar
================================ */
.navbar {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 50px;
}

.logo {
  width: 219px;
  height: 94px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





section.navbar {
  width: 100%;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}


section.navbar.scrolled {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  top: 0px;
}

.nav ul li a {
  font-size: 12.7px;
  font-weight: 400;
  color: #fff;
  transition: color 0.3s ease;
}


section.navbar.scrolled .nav ul li a {
  color: #000;
}


.nav ul li a.active {
  color: red !important;
}


/* ================================
   Navigation Menu
================================ */
.nav {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.nav>div {
  width: 1100px;
}

.nav div {
  display: flex;
  align-items: center;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  position: relative;
  
}

.nav ul li {
  position: relative;
}

.nav ul li a {
  font-size: 14.7px;
  font-weight: 600;
  transition: var(--transition);
}

.nav ul li a.active,
.nav ul li a:hover {
  color: var(--l-main-color);
}

/* ================================
   Dropdown (First level list)
================================ */
.list {
  position: absolute;
  top: 60px;
  left: 0;
  min-width: 300px;
  padding: 32px;
  display: none !important;
  flex-direction: column;
  background: var(--the-color);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: var(--transition);
}

.nav ul li:hover .list {
  display: flex !important;
}

.list p {
  margin: 0;
  padding: 10px 0;
  width: 100%;
  font-size: 18px;
  border-bottom: 1px solid #dddde1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list p a {
  color: #fff;
  font-weight: 600;
  display: block;
  transition: 0.3s;
}

.list p a:hover {
  color: var(--l-main-color);
}

.arrow {
  font-size: 14px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.list p:hover .arrow {
  transform: rotate(180deg);
}

/* ================================
   Sub Dropdown (Second level list)
================================ */
.sub-list {
  display: none !important;
  margin-top: 5px;
  padding-left: 15px;
  background: var(--for-color);
  transition: var(--transition);
}

.sub-list p {
  border: none;
  font-size: 14px;
}

.list p:hover+.sub-list {
  display: block !important;
}

/* ================================
   Top Nav Section (Contacts)
================================ */
.nav .top {
  padding: 10px;
  border-bottom: 1px solid #ffffff1d;
  justify-content: space-between;
  display: flex;
  justify-content: center;
  align-content: center;
}

.call span {
  margin-right: 1rem;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
}

.call a {
  font-size: 1.6rem;
  font-weight: 400;
  font-family: "Cantata One", serif;
}

/* ================================
   Bottom Nav Section
================================ */
.bottom {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}

/* ================================
   Buttons in Navbar
================================ */
.nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.nav .btn {
  margin-right: 20px;
  padding: 1rem 1.667rem;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--d-main-color);
  color: #fff;
  transition: var(--transition);
}

.nav .btn span {
  font-size: 18px;
  font-weight: 300;
  white-space: nowrap;
}

.nav .btn svg {
  width: 40px;
  height: 40px;
  fill: #fff;
  transition: var(--transition);
}

.nav .btn:hover {
  background: #fff;
  color: #343434;
}

.nav .btn:hover svg {
  fill: #343434;
}

/* Login Button Styling */
.login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 12px 24px; */
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  border: 2px solid transparent;

}

.btns {
  top: -62px;
  position: relative;
  right: 193px;
}

.login-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
  color: #fff;
}

.login-btn span {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ================================
   Hero Section (Home)
================================ */
.home {
  width: 120%;
  min-height: 120vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../../public/imgs/home1.jpg);

  background-size: cover;
}


/* ===== Google Translate Custom Styling ===== */
#google_translate_element {
  display: inline-block;
  background: linear-gradient(135deg, #b80000, #8b0000);
  border-radius: 25px;
  padding: 10px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(184, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-weight: 600;
  position: relative;
  right: -200px;
}

#google_translate_element:hover {
  background: linear-gradient(135deg, #8b0000, #6b0000);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 0, 0, 0.4);
}

/* Hide Google's default blue logo */
.goog-logo-link {
  display: none !important;
}

.goog-te-gadget {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  text-align: center;
}

.goog-te-gadget .goog-te-combo {
  background-color: #fff;
  color: #b80000;
  border: none;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 120px;
}

.goog-te-gadget .goog-te-combo:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0px !important;
}

/* Translate dropdown styling */
.goog-te-menu2 {
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(184, 0, 0, 0.2) !important;
}

.goog-te-menu2-item {
  border-radius: 8px !important;
  margin: 2px !important;
  transition: all 0.2s ease !important;
}

.goog-te-menu2-item:hover {
  background-color: #f8f9fa !important;
  color: #b80000 !important;
}

.home .container {
  width: 80%;
  height: 100%;
  padding-top: 100px;
  display: flex;
  align-items: flex-end;
}

.text {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.home h3 {
  margin-top: -60px;
  font-size: 16px;
  text-transform: uppercase;
}

.home strong {
  margin-block: 28px;
  font-size: 60px;
  font-family: "Cantata One", serif;
}

.home p {
  margin-bottom: 20px;
  font-size: 20px;
}

/* ================================
   Hero Section Button
================================ */
.home .btn,
.ex-cl .btn {
  width: fit-content;
  padding: 1rem 1.667rem;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--d-main-color);
  color: #fff;
  text-transform: uppercase;
  transition: var(--transition);
}

.home .btn span,
.ex-cl .btn span {
  font-size: 18px;
  font-weight: 300;
  white-space: nowrap;
}

.home .btn svg,
.ex-cl .btn svg {
  width: 40px;
  height: 40px;
  fill: #fff;
  transition: var(--transition);
}

.home .btn:hover,
.ex-cl .btn:hover {
  background: #fff;
  color: #343434;
}

.home .btn:hover svg,
.ex-cl .btn:hover svg {
  fill: #343434;
}

/*
================================
Our-team
=================================*/
/*video*/

/* ================================
   Video Library Section
================================ */
.video-library {
  padding: 80px 20px;
  background: #fff;
  color: #222;
}

.video-library .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.video-library .section-header h2 {
  font-size: 2.5rem;
  color: #00274d;
  margin-bottom: 15px;
  font-family: "Cantata One", serif;
}

.video-library .section-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.video-slider-container {
  max-width: 1200px;
  margin: 0 auto;
}

.video-swiper {
  padding: 20px 0 60px;
}




.video-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 25px;
}

.video-info h3 {
  font-size: 1.3rem;
  color: #00274d;
  margin-bottom: 10px;
  font-weight: 600;
}

.video-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Swiper Navigation */
.video-swiper .swiper-button-next,
.video-swiper .swiper-button-prev {
  color: #b30000;
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.video-swiper .swiper-button-next:hover,
.video-swiper .swiper-button-prev:hover {
  background: #b30000;
  color: #fff;
  transform: scale(1.1);
}

.video-swiper .swiper-button-next:after,
.video-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.video-swiper .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.video-swiper .swiper-pagination-bullet-active {
  background: #b30000;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-library {
    padding: 60px 15px;
  }

  .video-library .section-header h2 {
    font-size: 2rem;
  }

  .video-library .section-header p {
    font-size: 1rem;
  }

  .video-info {
    padding: 20px;
  }

  .video-info h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .video-library {
    padding: 40px 10px;
  }

  .video-library .section-header h2 {
    font-size: 1.8rem;
  }

  .video-info {
    padding: 15px;
  }

  .video-info h3 {
    font-size: 1.1rem;
  }
}

/*===========================*/
/* Team Section */
#our-team {
  padding: 60px 20px;
  background: #f9f9f9;
}

.team-header {
  text-align: center;
  margin-bottom: 40px;
}

.team-header h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.team-header p {
  color: #555;
}

.team-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Main member (Eyad) styling */
.main-member {
  background: linear-gradient(135deg, #b80000, #8b0000);
  color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(184, 0, 0, 0.3);
  text-align: center;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.main-member:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(184, 0, 0, 0.4);
}

.main-member .team-img {
  border: 4px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-member h3,
.main-member p {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Team rows for horizontal layout */
.team-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  align-items: start;
}

/* Hidden row with smooth animation */
.hidden-row {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.hidden-row.show {
  max-height: 500px;
  opacity: 1;
}

.team-member {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: #b80000;
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.team-member:hover .team-img {
  transform: scale(1.05);
}

.team-member h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.team-member p {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

/* Team buttons */
.team-buttons {
  text-align: center;
  margin-top: 30px;
}

.show-more,
.show-less {
  display: none;
  margin: 5px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #b80000, #8b0000);
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(184, 0, 0, 0.3);
}

.show-more:hover,
.show-less:hover {
  background: linear-gradient(135deg, #8b0000, #6b0000);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 0, 0, 0.4);
}

.show-more.show {
  display: inline-block;
}

.show-less.show {
  display: inline-block;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  max-width: 800px;
  width: 90%;
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  animation: fadeIn 0.4s;
}

.popup-content img {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  object-fit: cover;
}

.popup-text {
  max-width: 500px;
}

.popup-text h3 {
  margin: 0 0 10px;
}

.popup-text p {
  margin: 5px 0;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*
================================
Accreditation
=================================*/

#accreditation {
  padding: 60px 20px;
  background: #fff;
}

.accreditation-header {
  text-align: center;
  margin-bottom: 40px;
}

.accreditation-header h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.accreditation-header p {
  color: #555;
}

.accreditation-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.accreditation-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  cursor: pointer;
}

.accreditation-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.accreditation-item img {
  max-width: 120px;
  margin-bottom: 15px;
}

.accreditation-item h3 {
  font-size: 18px;
  margin: 0;
}

.accreditation-item a {
  text-decoration: none;
  color: #0077b5;
  transition: 0.3s;
}

.accreditation-item a:hover {
  color: #005580;
}

/*
================================
Accreditation
=================================*/
/* Trust Us Section */
#trust {
  padding: 60px 20px;
  background: #fff;
}

.trust-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

.trust-text {
  flex: 1;
  min-width: 300px;
}

.trust-text h2 {
  font-size: 32px;
  font-weight: bold;
  color: #b30000;
  margin-bottom: 15px;
}

.trust-text h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #333;
}

.trust-text ul {
  list-style: none;
  padding: 0;
}

.trust-text ul li {
  margin-bottom: 15px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.trust-text ul li .highlight {
  font-weight: bold;
  color: #b30000;
}

.trust-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.trust-image img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.trust-image img:hover {
  transform: scale(1.05);
}


/* ================================
  Layout Section
================================ */


.navbar-toggle, .menu-toggle {
  position: relative;
  z-index: 9999;
}


.layout {
  background: var(--fiv-color);
  padding: 0 0;
}

.layout .immigration {
  background: #eee;
  padding: 70px 60px 120px;
  position: relative;
  left: 4%;
  z-index: 2;
  top: -100px;
  max-width: 743.55px;
}

.layout svg {
  fill: var(--d-main-color);
  width: 116.8px;
  height: 116.8px;
}

.layout h2 {
  color: var(--six-color);
  font-size: 45px;
  font-family: "Cantata One", serif;
  /* margin: 0 0 20px; */
  letter-spacing: 0;
  line-height: 1;
  text-transform: 400;
  word-break: break-word;
}

.layout h3 {
  font-size: calc(1.7rem * 0.83);
  letter-spacing: 0.15rem;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--d-main-color);
  margin: 1.2rem 0;
}

.layout .immigration p {
  color: #343434;
  font-size: 16.5px;
  margin: 16.5px 0;
  line-height: 1.8;
}

.layout .immigration p a,
.layout .immigration div a {
  color: var(--d-main-color);
}

.layout .immigration div {
  margin: 41.5px 0 0;
  padding: 26px;
  text-align: center;
  border-block: var(--d-main-color) 10px solid;
  color: #343434;
  font-size: 16.5px;
  line-height: 1.8;
}

.layout .areas {
  padding: 58px 60px 100px;
  position: absolute;
  z-index: 5;
  top: -130px;
  left: 50%;
  right: -100px;
  width: 743.55px;
  height: 100%;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.5);
  background: #452d38;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.layout .areas h2,
.layout .areas h3 {
  color: #fff;
}

.layout .areas div {
  position: relative;
  top: 30px;
  left: -80px;
  gap: 5px;
  align-items: center;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  /* padding: 16.5px 0; */
}

.layout .areas div:hover {
  color: var(--l-main-color);
}

.layout .areas div svg {
  fill: var(--l-main-color);
  width: 41px;
  height: 41px;
  margin: 0 17px 0 0;
}

/* ================================
  Immigration Section
================================ */

.immigration-sec .container {
  padding: 112.5px 0;
  display: flex;
  justify-content: space-between;
  column-gap: 8rem;
  align-items: center;
}

.immigration-sec .container svg {
  fill: var(--d-main-color);
  width: 116px;
  height: 116px;
}

.immigration-sec .container h2 {
  margin: 0 0 19.5px;
  font-size: 45px;
  color: var(--d-main-color);
  font-family: "Cantata One", serif;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: none;
  word-break: break-word;
}

.immigration-sec .container p {
  margin: 16.5px 0;
  font-size: 16.5px;
  color: #343434;
  line-height: 1.8;
}

.immigration-sec .container p strong {
  font-size: 1rem;
}

.immigration-sec .container .text {
  width: 627px;
}

.immigration-sec ul li {
  padding: .1em 0 .1em 1.5em;
  line-height: 1.8;
  font-size: 1rem;
  color: #343434;
}

.immigration-sec ul li::marker {
  color: var(--d-main-color);
  font-size: 1.5rem;
}

.immigration-sec .text>p strong {
  color: #343434;
  margin: 41.5px 0 0;
  padding: 31px;
  display: block;
  border-left: var(--d-main-color) 10px solid;
  font-weight: bolder;
  line-height: 1.8;
}

.immigration-sec .video {
  width: 627px;
  height: 365px;
}

.immigration-sec .obs {
  position: relative;
}


.expertise {
  padding: 58px 0;
}



.expertise .cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 70px;
}

.expertise .card svg {
  margin-bottom: 16px;
  width: 65px;
  height: 65px;
  fill: #fff;
}

.expertise .card strong {
  font-size: 24px;
  display: block;
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 300;
  text-transform: none;
  font-family: "Cantata One", serif;
}

.expertise .card p {
  margin-top: 9px;
  font-size: 1rem;
  line-height: 1.8;
}

.expertise h4 {
  margin: 20px 0 0;
  font-size: 23px;
  letter-spacing: 0.15em;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
}

.ex-cl svg {
  width: 116px;
  height: 116px;
  fill: var(--l-main-color);
  margin: 0;
}

.ex-cl {
  background: url(../../public/imgs/erxperiouns.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  color: #fff;
}

.ex-cl h2 {
  font-size: 45px;
  font-family: "Cantata One", serif;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: none;
  word-break: break-word;
  margin: 0;
}

.clients-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: 20px;
}

.clients-section p {
  font-size: 16.5px;
  line-height: 1.8;
  margin: 20px 0 0;
}

.clients-section .btn {
  margin: 50px 0;
}

/* 
.testimonials-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.testimonial {
  display: none;
  animation: fadeIn 0.8s ease-in-out;
}

.testimonial.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-content {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 30px;
  max-width: 1000px;
  font-family: "Cantata One", serif;
}

.testimonial-author {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 1px;
} */

.testimonials {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.testimonials .section-header h2 {
  font-size: 2.2rem;
  color: #b60000;
  margin-bottom: 10px;
}

.testimonials .section-header p {
  color: #666;
  margin-bottom: 40px;
}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.client-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #b60000;
  object-fit: cover;
}

.testimonial-card h3 {
  margin: 10px 0;
  font-size: 1.2rem;
  color: #333;
}

.stars {
  color: #FFD700;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}



.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.nav-btn {
  color: rgba(255, 255, 255, 0.3);
  border: none;
  outline: none;
  cursor: pointer;
  background: transparent;
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.nav-btn svg {
  width: 50px;
  height: 50px;
  fill: currentColor;
}

.dots-container {
  display: flex;
  justify-content: center;
}

.dot {
  top: -60px;
  position: relative;
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--l-main-color);
}

.empowerment {
  padding: 58px 0;
  text-align: center;
}

.empowerment header svg {
  width: 116px;
  height: 116px;
  fill: var(--d-main-color);
  margin: 0;
}

.empowerment header h2 {
  font-size: 45px;
  font-family: "Cantata One", serif;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: none;
  word-break: break-word;
  color: #2D3845;
  margin: 0;
}

.empowerment .cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 70px;
  flex-wrap: wrap;
}

.empowerment .card {
  width: 400px;
  padding: 58px;
  height: 464px;
  background: var(--siv-color);
  color: #fff;
  text-align: left;
}

.empowerment .card svg {
  width: 65px;
  height: 65px;
  fill: var(--l-main-color);
  margin-bottom: 16px;
}

.empowerment .card strong {
  font-size: 39px;
  font-family: "Cantata One", serif;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: none;
  word-break: break-word;
  margin: 0;
  display: block;
}

.empowerment .card p {
  margin-top: 17px;
  font-size: 16.5px;
  line-height: 1.8;
}

.empowerment .card a,
.immigratIoninsights .card a {
  color: var(--l-main-color);
  border-bottom: 2px solid var(--l-main-color);
  transition: var(--transition);
  padding: 10px 15px;
  text-transform: uppercase;
  display: flex;
  gap: 5px;
  align-items: center;
  width: fit-content;
}

.empowerment .card a:hover,
.immigratIoninsights .card a:hover {
  border-bottom-color: #fff;
  color: #fff;
  padding-left: 20px;
}

.empowerment .card a span,
.immigratIoninsights .card a span {
  height: 25px;
}

.empowerment .card a svg,
.immigratIoninsights .card a svg {
  width: 25px;
  height: 25px;
  fill: var(--l-main-color);
  margin: 0;
}

.empowerment .card a:hover svg,
.immigratIoninsights .card a:hover svg {
  fill: #fff;
}

/*========================*/

/* ---------------------- PROUD SECTION ---------------------- */
.proud-sec {
  background: url(../../public/imgs/erxperiouns.png) no-repeat center;
  background-size: contain;
  text-align: center;
  padding: 58px 0;
  color: #fff;
}

.proud-sec svg {
  fill: var(--l-main-color);
  width: 116px;
  height: 116px;
  margin: 0;
}

.proud-sec h2 {
  font-size: 44px;
  font-family: "Cantata One", serif;
  line-height: 1;
  font-weight: 400;
  margin: 0;
  word-break: break-word;
}

.proud-sec p {
  margin-top: 1.2rem;
  font-size: 20px;
  line-height: 1.8;
}

/*
============
*/
.ai-services {
  padding: 80px 20px;
  background: #fff;
  color: #222;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #b60000;
  margin-bottom: 20px;
}

.section-header p {
  max-width: 800px;
  margin: 10px auto;
  color: #555;
  line-height: 1.6;
}

.service-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card i {
  font-size: 40px;
  color: #b60000;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-card:hover {
  transform: translateY(-10px);
  background: #fff;
  box-shadow: 0 10px 20px rgba(182, 0, 0, 0.2);
}

/*
=========================*/
.faqs {
  padding: 80px 20px;
  background: #fff;
  color: #222;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #b60000;
  margin-bottom: 10px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  text-align: left;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #b60000;
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0 15px;
  color: #555;
}

.faq-answer p {
  margin: 15px 0;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 10px 15px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #b60000;
}

.faq-answer a {
  color: #b60000;
  font-weight: bold;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/*
==================================
*/
.contact-us {
  padding: 80px 20px;
  background: #f9f9f9;
  color: #222;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #b60000;
  margin-bottom: 15px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555;
  line-height: 1.6;
}

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

.social-links .s {
  display: inline-block;
  margin: 0 10px;
  font-size: 30px;
  color: #b60000;
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  color: #222;
  transform: scale(1.2);
}

.contact-info {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-info a {
  color: #b60000;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}

.consultation {
  margin-top: 30px;
}

.btn-consult {
  display: inline-block;
  background: #b60000;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s;
}

.btn-consult:hover {
  background: #222;
  transform: translateY(-5px);
}

.consultation p {
  margin-top: 10px;
  color: #555;
}

.contact-us {
  padding: 80px 20px;
  background: #f9f9f9;
  color: #222;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #b60000;
  margin-bottom: 15px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555;
  line-height: 1.6;
}

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

.social-links a {
  display: inline-block;
  margin: 0 10px;
  font-size: 30px;
  color: #b60000;
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  color: #222;
  transform: scale(1.2);
}

.contact-info {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-info a {
  color: #b60000;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}

.consultation {
  margin-top: 30px;
}

.btn-consult {
  display: inline-block;
  background: #b60000;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s;
}

.btn-consult:hover {
  background: #222;
  transform: translateY(-5px);
}

.consultation p {
  margin-top: 10px;
  color: #555;
}

/*==================*/
.location {
  padding: 80px 20px;
  background: #fff;
  color: #222;
  text-align: center;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #b60000;
  margin-bottom: 10px;
}

.section-header p {
  color: #666;
  margin-bottom: 40px;
}

.locations-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.location-item {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.location-item:hover {
  transform: translateY(-5px);
}

.flag-icon {
  width: 35px;
  height: 25px;
  margin-right: 15px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.location-item p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  text-align: left;
}

.location-item i {
  color: #b60000;
  margin-right: 8px;
}

/* ---------- Proud Section ---------- */
.proud-sec {
  background: url(../../public/imgs/erxperiouns.png) no-repeat center;
  background-size: cover;
  text-align: center;
  padding: 58px 0;
  color: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.proud-sec svg {
  fill: var(--l-main-color);
  width: 116px;
  height: 116px;
  margin: 0 auto 20px;
  display: block;
}

.proud-sec h2 {
  font-size: 44px;
  font-family: "Cantata One", serif;
  font-weight: 400;
  margin: 0;
}

.proud-sec p {
  margin: 20px 0 50px;
  font-size: 20px;
  line-height: 1.8;
  opacity: 0.9;
}

.proud-sec a {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.proud-sec .btn {
  width: fit-content;
  margin: auto;
  padding: 1rem 1.667rem;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--d-main-color);
  color: #fff;
  transition: var(--transition);
}

.proud-sec .btn span {
  font-size: 18px;
  font-weight: 300;
  white-space: nowrap;
}

.proud-sec .btn svg {
  width: 40px;
  height: 40px;
  fill: #fff;
  transition: var(--transition);
  margin: 0;
}

.proud-sec .btn:hover {
  background: #fff;
  color: #343434;
}

.proud-sec .btn:hover svg {
  fill: #343434;
}

.proud-sec .cards {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  flex-wrap: wrap;
  gap: 15px;
}

.proud-sec .cards .card {
  width: 402px;
  width: 100%;
  max-width: 350px;
  flex: 1 1 auto;
}

.proud-sec .cards .card strong {
  display: block;
  font-size: 45px;
  font-family: "Cantata One", serif;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

.proud-sec .cards .card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
}

.hr {
  height: 215px;
  width: 2px;
  background: #ffffff80;
}

.proud-sec .n {
  width: 50px;
  height: 50px;
}

/* ---------- First Step ---------- */

.first-step {
  position: relative;
  padding: 112px 0;
}

.first-step form {
  z-index: 2;
  width: 744px;
  background: var(--siv-color);
  color: #fff;
  padding: 58px 60px;
}

.first-step form svg {
  width: 116px;
  height: 116px;
  fill: var(--l-main-color);
}

.first-step form h2 {
  font-size: 45px;
  font-family: "Cantata One", serif;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: none;
  word-break: break-word;
  margin: 0;
}

.first-step form p {
  margin-top: 20px 0 0;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0;
}

.first-step form .inp-group {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  gap: 20px;
  margin: 20px;
}

.first-step form .inp {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.first-step form input,
.first-step form textarea,
.first-step form select {
  background: transparent;
  border: transparent;
  border-bottom: 2px solid #ffffff80;
  color: #fff;
  outline: none;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  display: block;
  letter-spacing: 0;
}

.first-step form input {
  width: 250px;
}

.first-step form input:focus {
  border-bottom-color: var(--d-main-color);
}

.first-step textarea {
  resize: none;
  height: 80px;
  width: 520px !important;
}

.first-step form a {
  color: var(--l-main-color);
  text-decoration: underline var(--l-main-color);
  transition: var(--transition);
}

.first-step form a:hover {
  text-decoration: underline #fff;
  color: #fff;
}

.first-step select {
  width: 520px !important;
  color: #000;
  background: var(--d-main-color);
}

.first-step select option {
  background-color: var(--siv-color);
  color: #fff;
  padding: 10px;
}

.first-step select option:hover,
.first-step select option:checked {
  background-color: var(--d-main-color);
  color: #fff;
}


.first-step form p {
  width: 550px;
}

.first-step form label {
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1;
  font-weight: 400;
}

.first-step .img {
  position: absolute;
  top: 0;
  right: 0;
  width: 744px;
  z-index: 5;
}

.first-step .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.first-step .btn {
  margin-right: 20px;
  padding: 1rem 1.667rem;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--d-main-color);
  color: #fff;
  transition: var(--transition);
  width: fit-content;
  text-decoration: none;
}

.first-step .btn span {
  font-size: 18px;
  font-weight: 300;
  white-space: nowrap;
}

.first-step .btn svg {
  width: 40px;
  height: 40px;
  fill: #fff;
  transition: var(--transition);
}

.first-step .btn:hover {
  background: #fff;
  color: #343434;
}

.first-step .btn:hover svg {
  fill: #343434;
}

.immigratIoninsights {
  padding: 58px 0;
}

.immigrationinsights .container {
  margin: 0 auto;
}

.immigratIoninsights svg {
  width: 116px;
  height: 116px;
  fill: var(--d-main-color);
  margin: 0;
}

.immigratIoninsights h2 {
  font-size: 45px;
  font-family: "Cantata One", serif;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 500;
  text-transform: none;
  word-break: break-word;
  margin: 0;
  color: var(--siv-color);
}

.immigratIoninsights p {
  margin: 20px 0 0;
  line-height: 1.8;
  font-size: 17px;
}

.immigratIoninsights .cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 70px;
}

.immigratIoninsights .cards .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 400px;
  padding: 20px;
  background-color: #fff;
  color: var(--d-main-color);
}

.immigratIoninsights .cards .card time {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.01rem;
}

.immigratIoninsights .cards .card strong {
  font-size: 24px;
  display: block;
  letter-spacing: 0;
  line-height: 1.5;
  font-weight: 700;
  font-family: "Cantata One", serif;
}

.immigratIoninsights .cards .card a {
  color: var(--d-main-color);
  border-color: var(--d-main-color);
}

.immigratIoninsights .cards .card a:hover {
  color: #000;
  border-color: #000;
}

.immigratIoninsights .cards .card svg {
  fill: var(--d-main-color);
}

.immigratIoninsights .cards .card a:hover svg {
  fill: #000;
}

.immigratIoninsights .btn {
  margin-right: 20px;
  padding: 1rem 1.667rem;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--d-main-color);
  color: #fff;
  transition: var(--transition);
  width: fit-content;
  text-decoration: none;
}

.immigratIoninsights .btn span {
  font-size: 18px;
  font-weight: 300;
  white-space: nowrap;
}

.immigratIoninsights .btn svg {
  width: 40px;
  height: 40px;
  fill: #fff;
  transition: var(--transition);
}

.immigratIoninsights .btn:hover {
  background: #000;
}

/* Contact */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f6fa;

}

.contact-section {
  max-width: 700px;
  margin: 60px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  text-align: center;
  color: #c0392b;
  /* أحمر */
}

.contact-section p {
  text-align: center;
  color: #555;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #333;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

button {
  width: 20%;
  padding: 14px;
  /* background: #c0392b; */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #922b21;
}

#response-msg {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
}

.contact-info {
  margin-top: 40px;
  text-align: center;
}

.contact-info h3 {
  margin-top: 20px;
  color: #2c3e50;
}

.contact-info a {
  color: #2980b9;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 15px;
}

.footer {
  background: #a85d64;
  color: #fff;
  /* أبيض */
  padding: 40px 20px;
  text-align: center;
}

.footer .container {
  max-width: 1100px;
  margin: 0 auto;
}
.expertise-item{
background-color: red;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-brand h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.footer-brand h3 span {
  margin: 0 8px;
  font-weight: 400;
}

.footer-text small {
  display: block;
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #f1f1f1;
}

.footer-text p {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
}

.top-bt {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--d-main-color);
  color: #fff;
  border: #fff 2px solid;
  border-radius: 10px;
  width: 50px;
  height: 50px;
  font-size: 20px;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

/* ================================
   Expertise Cards Styling
================================ */
.expertise-card {
  background: var(--d-main-color);
  border-radius: 15px;
  padding: 30px;

  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
  transition: var(--transition);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(220, 53, 69, 0.4);
}

.expertise-card h4 {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.expertise-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;

}

.Debt {
  color: blue;
}


.expertise-item {
  background: red;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.expertise-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.expertise-item:hover::before {
  left: 100%;
}

.expertise-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.expertise-item:active {
  transform: translateY(-2px);
  transition: transform 0.1s ease;
}

.expertise-item strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: block;
  text-align: center;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.expertise-item::after {
  content: 'Click for details';
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.expertise-item:hover::after {
  opacity: 1;
}

/* ================================
   Expertise Popup Styling
================================ */
.expertise-popup {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.expertise-popup-content {
  background: linear-gradient(135deg, var(--d-main-color), var(--sec-color));
  margin: 5% auto;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.expertise-close {
  color: #fff;
  float: right;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  transition: var(--transition);
}

.expertise-close:hover {
  color: var(--l-main-color);
  transform: scale(1.1);
}

.expertise-popup-text h3 {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.expertise-popup-text p {
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 15px;
}

.consultation-button-container {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.consultation-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff, #f8f9fa);
  color: var(--d-main-color);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.consultation-btn:hover {
  background: linear-gradient(135deg, var(--l-main-color), #fff);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: #fff;
}

.consultation-btn .my-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.consultation-btn:hover .my-icon {
  transform: translateX(3px);
}

:root {
  --primary: #0d6efd;
  --bg: #ffffff;
  --muted: #666;
  --accent: #f1f5f9;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(2, 6, 23, 0.15);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn-fr {
  width: 90%;
  background-color: red;
  position: relative;
  left: 6%;
}

/* صفحة بسيطة */
/* body{
  margin:0;
  padding:24px;
  background:linear-gradient(180deg,#fbfdff,#f7f9fc);
  color:#111;
  min-height:100vh;
} */

/* Chat Toggle Button - Always Visible */
#chat-toggle {
  position: fixed;
  left: 20px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #b80000, #8b0000);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(184, 0, 0, 0.4);
  transition: all 0.3s ease;
  z-index: 99999;
  opacity: 1;
  transform: translateY(0) scale(1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
 
}

#chat-toggle:hover {
  background: linear-gradient(135deg, #8b0000, #6b0000);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(184, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.4);
}

#chat-toggle:active {
  transform: translateY(-2px) scale(1.05);
}

/* Glowing effect */
#chat-toggle::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #b80000, #8b0000);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#chat-toggle:hover::before {
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }

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

/* Navbar Login Button */
.navbar-login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #b80000, #8b0000);
  color: #fff;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(184, 0, 0, 0.3);
  border: 2px solid transparent;
}

.navbar-login-btn:hover {
  background: linear-gradient(135deg, #8b0000, #6b0000);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 0, 0, 0.4);
  color: #fff;
}

.navbar-login-btn span {
  font-weight: 700;
  letter-spacing: 0.5px;
}

#chat-widget {
 position: fixed;
  left: 20px;
  bottom: 100px;
  width: 380px;
  max-width: 90%;
  height: 500px;
  background: linear-gradient(135deg, #0b1220, #1a2332);
  color: #e6eef6;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(-120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9999;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
#chat-panel {
  flex: 1;                
  display: flex;
  flex-direction: column;
  overflow: hidden;       
}

#chat-widget.open {
  transform: translateX(0);
  opacity: 1
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #b80000, #8b0000);
  border-radius: 20px 20px 0 0;
}

.panel {
  padding: 12px
}

.hidden {
  display: none
}

#setup-form {
  display: flex;
  flex-direction: column;
  gap: 8px
}

#setup-form input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #111;
  color: #fff
}

.primary {
  padding: 10px;
  border-radius: 8px;
  border: 0;
  background: var(--sec-color);
  cursor: pointer
}

.messages {
  flex: 1;
  overflow-y: auto;        
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  scroll-behavior: smooth;
}

.msg {
  max-width: 75%;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px
}

.msg.me {
  align-self: flex-end;
  background: #1f2937
}

.msg.bot {
  align-self: flex-start;
  background: #0b1220
}

.meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px
}

#composer {
   display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #222;
  background: #0f1625;
  flex-shrink: 0;
}

#composer input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
}

/* ================================
   Responsive Design
================================ */
@media (max-width: 768px) {

  /* Team Section Mobile */
  .team-container {
    gap: 20px;
  }

  .team-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .main-member {
    padding: 20px;
    transform: none;
  }

  .main-member:hover {
    transform: none;
  }

  .team-member {
    padding: 20px;
  }

  .show-more,
  .show-less {
    width: 80%;
    padding: 10px 20px;
  }

  /* Login Button Mobile */
  .login-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Chat Toggle Mobile */
  #chat-toggle {
    width: 55px;
    height: 55px;
    font-size: 22px;
    left: 18px;
    bottom: 25px;
  }

  #chat-toggle:hover {
    transform: translateY(-4px) scale(1.08);
  }

  #auto-chat-widget .chat-header {
    padding: 12px 15px;
  }

  #auto-chat-widget .chat-title strong {
    font-size: 16px;
  }

  #auto-chat-widget .chat-title .subtitle {
    font-size: 11px;
  }

  #auto-chat-widget .panel {
    padding: 12px;
  }

  #auto-chat-widget .messages {
    max-height: 250px;
  }

  #auto-chat-widget .msg {
    max-width: 90%;
    padding: 10px 14px;
    font-size: 13px;
  }

  #auto-chat-widget #auto-composer {
    padding: 12px;
  }

  #auto-chat-widget #auto-message-input {
    padding: 10px 14px;
    font-size: 13px;
  }

  #auto-chat-widget #auto-send-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  #chat-widget {
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
  }

  #chat-widget.open {
    transform: translateY(0);
    opacity: 1;
  }

  .chat-header {
    border-radius: 0;
    padding: 12px 16px;
  }

  .messages {
    flex: 1;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding-bottom: 10px;
  }

  #composer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    border-top: 1px solid #333;
  }

  #composer input {
    font-size: 14px;
  }



  /* Expertise Mobile */
  .expertise-card {
    padding: 20px;
    margin: 15px 0;
  }

  .expertise-card h4 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .expertise-items {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .expertise-item {
    padding: 15px;
  }

  .expertise-item strong {
    font-size: 14px;
  }

  .expertise-popup-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
  }

  .expertise-popup-text h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .expertise-popup-text p {
    font-size: 14px;
    line-height: 1.6;
  }

  .consultation-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .consultation-btn .my-icon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {

  /* Team Section Small Mobile */
  .team-header h2 {
    font-size: 28px;
  }

  .main-member {
    padding: 15px;
  }

  .team-member {
    padding: 15px;
  }

  .team-img {
    width: 100px;
    height: 100px;
  }

  .team-member h3 {
    font-size: 16px;
  }

  .team-member p {
    font-size: 13px;
  }

  /* Auto Chat Small Mobile */
  #auto-chat-widget {
    width: 98%;
    height: 400px;
    right: 5px;
    bottom: 5px;
  }

  #auto-chat-widget .messages {
    max-height: 200px;
  }

  /* Login Button Small Mobile */
  .navbar-login-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Chat Toggle Small Mobile */
  #chat-toggle {
    width: 50px;
    height: 50px;
    font-size: 20px;
    left: 15px;
    bottom: 20px;
  }

  #chat-toggle:hover {
    transform: translateY(-3px) scale(1.05);
  }

  /* Chat Widget Small Mobile */
  #chat-widget {
    width: 95%;
    height: 400px;
    left: 10px;
    bottom: 80px;
  }

  /* Google Translate Small Mobile */
  #google_translate_element {
    padding: 8px 12px;
    font-size: 12px;
  }

  .goog-te-gadget .goog-te-combo {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 100px;
  }
}


body.ltr {
  direction: ltr;
  text-align: left;
}

body.rtl {
  direction: rtl;
  text-align: right;
}