@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css");

@font-face {
  font-family: Ar;
  src: url("../fonts/AM_Thulth_Regular_0.1.ttf");
}
:root {
  --color-primary: #4898a3;
  --color-secondary: #ed660b;
  --facebook-color: #1877f2;
  --twitter-color: #1da1f2;
  --instagram-color: linear-gradient(45deg, #f0d497, #e1306c, #833ab4);
  --youtube-color: #ff0000;
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Cairo, sans-serif;
  direction: rtl;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
.type-title,
.type-text {
  /* white-space: pre-wrap;
  overflow: hidden;
  border-right: 2px solid #4898a3; */
  /* animation: blink 0.7s step-end infinite; */
}

@keyframes blink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #4898a3;
  }
}

.dropdown-menu .dropdown-menu {
  position: absolute;
  right: 100%;
  top: 0;
  margin-top: -1px;
  display: none;
}
.dropdown-item {
  text-align: right;
}
.dropdown-menu .dropdown-toggle::after {
  display: none;
}
.dropdown-menu > .dropdown:hover > .dropdown-menu {
  display: block;
}
.dropdown-menu {
  display: none;
}
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-item.dropdown-toggle:hover + .dropdown-menu {
  display: block;
}

a {
  text-decoration: none;
}
header.sticky-top {
  background: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.sticky-top.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}
.navbar-toggler,
.navbar-toggler:active {
  border-color: white !important;
}
header.sticky-top .fa-bars {
  color: white !important;
}
header .navbar img {
  max-height: 70px;
  width: auto;
  transition: all 0.3s ease;
}

header.sticky-top.scrolled .navbar img {
  max-height: 85px;
}
header.sticky-top.scrolled .fa-bars {
  color: black !important;
}
header.sticky-top.scrolled .navbar-toggler,
.navbar-toggler:active {
  border-color: black !important;
}
header .navbar-nav {
  background-color: white;
  max-height: 80vh;
  overflow-y: scroll;
}

header .nav-link {
  padding: 0 !important;
  margin: 5px !important;
  color: var(--color-primary) !important;
  font-size: 10px;
  /* padding: 10px 20px; */
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
  font-weight: bold;
}
header.sticky-top.scrolled .navbar img {
  max-height: 70px;
}
@media (min-width: 768px) {
  header .nav-link {
    color: white !important;
    /* font-size: 10px;
    margin: 0;
    padding: 0; */
  }
  header .navbar-nav {
    background-color: transparent;
    height: auto;
    overflow: visible;
  }
  header.sticky-top.scrolled .nav-link {
    color: var(--color-primary) !important;
  }
}

/* التابلت */
@media (min-width: 576px) and (max-width: 767.98px) {
  header .nav-link {
    /* font-size: 120px; */
  }
  header .navbar img {
    max-height: 150px;
  }
}

/* الشاشات الكبيرة */

/* الشاشات الأكبر من 1200px */
@media (min-width: 1200px) {
  header .nav-link {
    /* font-size: 14px;
    padding-top: 10px; */
  }
}

/* Custom styles for RTL dropdowns */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: -6px;
  margin-right: -1px;
  display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > .dropdown-toggle {
  position: relative;
  padding-right: 1.5rem;
}

.dropdown-submenu > .dropdown-toggle::after {
  position: absolute;
  left: 0.5rem;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
}

/* Mobile styles */
@media (max-width: 768px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    margin-right: 1.5rem;
    margin-left: 0;
    border: none;
    background-color: rgba(0, 0, 0, 0.03);
  }

  .dropdown-submenu > .dropdown-toggle::after {
    transform: rotate(-90deg) translateX(-50%);
  }
}
.partner img {
  width: 150px;
  height: 150px;
}
.slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}
.swiper-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.slide-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.slide-content h {
  font-size: 2.5rem;
  margin: 0;
  padding: 10px;
}
.slide-content a {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: var(--color-primary);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;

  /* Ø£Ù†ÙŠÙ…ÙŠØ´Ù† Ù…Ø³ØªÙ…Ø±Ø© */
  animation: floatUpDown 2s ease-in-out infinite;
}

/* Ø§Ù„ØªØ£Ø«ÙŠØ± Ù…Ù† Ø§Ù„Ø£Ø³ÙÙ„ Ù„Ù„Ø£Ø¹Ù„Ù‰ Ø¨Ø´ÙƒÙ„ Ø¯ÙˆØ±ÙŠ */
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.slider .swiper-slide img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.about {
  padding: 20px;
}
.about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.animated-icon {
  color: white;
  background-color: var(--color-primary);
  padding: 20px;
  border-radius: 50%;
  font-size: 2.5rem;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  margin: 1rem auto;
}

.animated-icon:hover {
  transform: scale(1.2) rotate(5deg);
  color: white;
}

/* تأثير تذبذب (floating) */
@keyframes float {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-8px);
  }
  100% {
    transform: translatey(0px);
  }
}

.animated-icon {
  animation: float 3s ease-in-out infinite;
}

.about-box {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}

.about-box:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.about h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin: 20px 0;
  font-weight: 600;
}
.about p {
  font-size: 1.2rem;
  margin: 20px 0;
  line-height: 40px;
}
.about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.about .btn-about {
  background-color: var(--color-primary);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 40px;
}
.about-box {
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  text-align: center;
  margin-top: 50px;
}

.about-box img {
  width: 100px;
  height: 100px;
}
.about-box h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin: 20px 0;
  font-weight: 600;
}
.about-box p {
  font-size: 1rem;
  color: #a09f9f;
  margin: 20px 0;
}
.videos {
  padding: 20px;
}
.videos h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin: 20px 0;
  font-weight: 600;
}
.service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.service {
  /* border-radius: 10px; */
  padding: 20px;
  /* margin-top: 20px; */
  /* margin-top: 50px; */
}
.service h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin: 20px 0;
  font-weight: 600;
}
.service-box {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-box img {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: 300px;
  object-fit: fill;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
.service-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: 10px;
  display: none;
  padding-top: 12%;
  transition: all 0.3s ease-in-out;
}
.service-box h3 {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin: 20px 0;
  font-weight: 600;
}
.service-box a {
  font-size: 0.9rem;
  color: white;
}

.service-box:hover .overlay {
  display: block;
}
.btn-servicer {
  background-color: var(--color-primary);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  margin: auto;
  margin-top: 40px;
  display: block;
  border: none;
}
.contact span {
  color: #314c5b;
  font-weight: bold;
}

/* Styling for the label */
label[for="sizes"] {
  display: block; /* Makes the label take up its own line */
  margin-bottom: 8px; /* Space between label and select */
  font-family: "Arial", sans-serif; /* Example font */
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

/* Styling for the select dropdown */
select#sizes {
  width: 100%; /* Makes the select full width of its parent */
  padding: 10px 15px; /* Padding inside the select box */
  border: 1px solid #ccc; /* Border color */
  border-radius: 5px; /* Slightly rounded corners */
  background-color: #f9f9f9; /* Light background color */
  font-family: "Arial", sans-serif;
  font-size: 15px;
  color: #555;
  cursor: pointer; /* Indicates it's clickable */
  -webkit-appearance: none; /* Removes default browser styling for a consistent look */
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%204%205%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M2%200L0%202h4L2%200zm0%205L0%203h4L2%205z%22%2F%3E%3C%2Fsvg%3E"); /* Custom arrow icon */
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 8px 10px;
}

/* Styling for when the select is focused */
select#sizes:focus {
  border-color: #007bff; /* Highlight border on focus */
  outline: none; /* Remove default outline */
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Subtle shadow on focus */
}
.contact-form {
  padding: 40px;
}

.contact-form img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.contact-form label {
  font-weight: bold;
  font-size: 13px;
}

.contact-form input::placeholder {
  font-weight: bold;
  font-size: 12px;
}

.contact-form input {
  border: 0;
  padding: 10px;
}
.btn-submit {
  background-color: var(--color-primary);
  color: #ffffff;
}
.blog .card {
  margin-bottom: 20px;
}
.blog .btn {
  border: 1px solid;
  color: var(--color-primary);
  border-color: var(--color-primary);
  transition: all 0.5s ease-in-out;
}
.blog .btn i {
  margin-right: 5px;
}
.btn:hover {
  background-color: #4898a3 !important;
  color: white !important;
}
.blog .card-title {
  font-weight: bold;
  color: #000000;
}
.blogs .btn {
  width: 100%;
  background-color: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary);
}
.blogs .card-title {
  font-weight: bold;
}
.blogs .card {
  border: 0;
}

.blogs .card span {
  position: absolute;
  top: 10px;
  left: 0px;
  right: 13px;
  width: 130px;
  font-size: 12px;
  padding: 7px 0px;
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  border-radius: 10px;
}

.blog .card-title {
  font-weight: bold;
}
.blog .card span {
  position: absolute;
  text-align: center;
  top: 10px;
  left: 0px;
  right: 13px;
  width: 130px;
  font-size: 12px;
  padding: 5px 0px;
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  border-radius: 10px;
  display: none;
}
.blog .card:hover span {
  display: block;
}
.blogs-div img {
  width: 100%;
  height: 250px;
}

.blogs-div h2 {
  font-size: 22px;
  color: var(--color-primary);
}

.blogs-div a {
  font-size: 18px;
  margin-top: 10px;
  display: block;
  margin-bottom: 25px;
  cursor: pointer;
}
.date-blogs {
  color: var(--color-secondary);
}
.blogs-div p {
  font-size: 13px;
  line-height: 25px;
  margin-top: 18px;
  margin-bottom: 15px;
}
.blogs-div {
  position: relative;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--color-primary);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.blogs-div .body-p {
  position: absolute;
  padding: 10px;
  top: 0;
  width: 100%;
  height: 250px;
  background-color: rgb(0, 0, 0, 0.7);
  color: white !important;
  display: none;
}
.blogs-div span {
  color: var(--color-primary);
}
.blogs-div:hover .body-p {
  display: block;
}
.contact-box {
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  background-color: #f8f9fa;
  text-align: center;
}
.contact-box i {
  font-size: 30px;
  color: var(--color-primary);
}
.contact-box a {
  color: var(--color-primary);
}
.contact-box h3 {
  font-size: 1.3rem;
  color: black;
  margin: 20px 0;
  font-weight: 600;
}

/* footer */
footer {
  background-color: var(--color-primary);
}

footer h5 {
  position: relative;
  padding-bottom: 10px;
  font-weight: 700;
}

footer h5::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--color-primary, #4a90e2);
}

footer a {
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  /* color: var(--color-primary, #4a90e2) !important; */
  padding-right: 5px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: white;
  color: var(--color-primary) !important;
  transform: translateY(-3px);
}

.list-unstyled li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.list-unstyled i {
  width: 20px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  footer {
    text-align: right;
  }

  .social-icons {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  footer .col-md-6 {
    text-align: center !important;
  }

  .list-inline {
    justify-content: center;
  }
}
/* footer */

.list-unstyled li {
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: bolder;
  color: white;
}

.list-unstyled {
  padding: 0;
}
.header-title {
  width: 100%;
  height: 80vh;
  position: relative;
  background-image: url("../img/24072.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.title-category {
  margin-top: 10rem;
  font-weight: bold;
  font-size: 30px;
}
.header-title .overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
.header-title a {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  background-color: #314c5b;
  padding: 10px 20px;
  margin-right: 10px;
}
.header-title h1 {
  font-size: 45px;
  font-weight: bold;
  color: white;
}
.pannar {
  background-color: var(--color-primary);
  color: white;
  padding: 30px;
}

.pannar p {
  margin-top: 10px !important;
  font-size: 28px;
  font-weight: bold;
}

.pannar button {
  padding: 10px 20px;
  margin-top: 10px !important;
  border: 3px solid white;
  font-weight: bold;
  color: white;
  border-radius: 10px;
  background-color: transparent;
  margin: auto;
  display: block;
}
/* .content {
  margin-top: 70px;
}

.content h2 {
  font-size: 25px;
  font-weight: bold;
}

.content p {
  font-size: 15px;
  line-height: 30px;
}

.content li {
  margin-bottom: 20px;
}

.content a {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  color: var(--color-primary);
}

.content i {
  color: var(--color-primary);
  font-size: 25px;
  margin-left: 10px;
}

.content img {
  border-radius: 20px;
} */
.btn-custom {
  display: flex;
  background-color: #c5e3be;
  align-items: center;
  justify-content: center;
  padding: 4px 37px;
  text-decoration: none;
  border-radius: 5px;
}
.blog-div img {
  height: 90px;
  border: 0;
  border-radius: 0;
}

.blog-div h3 {
  font-size: 15px;
  font-weight: bold;
}

.blog-div span {
  color: #777;
  font-size: 12px;
  font-weight: bold;
}
.social-connect {
  margin-bottom: 20px;
}
.box {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media only screen and (max-width: 600px) {
  .header {
    top: 90px;
  }
  .contact-form {
    padding: 10px;
  }
}
.subtitle {
  color: #ccc;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.btn-pulse {
  background-color: var(--color-primary);
  color: white;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(41, 128, 185, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(41, 128, 185, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(41, 128, 185, 0);
  }
}

.playbtn {
  position: relative;
  display: inline-block;
  padding: 25px 30px;
  margin: 40px 50px;
  font-weight: 500;
  color: #314c5b !important;
  text-decoration: none;
  overflow: hidden;
}
.playbtn:hover {
  background: #4898a3;
  color: #ffffff !important;
  transition: all 0.3s ease-in-out;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.playbtn span {
  position: absolute;
  display: block;
}

.playbtn span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, transparent, #4898a3);
  animation: animate1 1s linear infinite;
}

@keyframes animate1 {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

.playbtn span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #4898a3);
  animation: animate2 1s linear infinite;
  animation-delay: 0.25s;
}

@keyframes animate2 {
  0% {
    top: -100%;
  }
  50%,
  100% {
    top: 100%;
  }
}

.playbtn span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(270deg, transparent, #4898a3);
  animation: animate3 1s linear infinite;
  animation-delay: 0.5s;
}

@keyframes animate3 {
  0% {
    right: -100%;
  }
  50%,
  100% {
    right: 100%;
  }
}

.playbtn span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #4898a3);
  animation: animate4 1s linear infinite;
  animation-delay: 0.75s;
}

@keyframes animate4 {
  0% {
    bottom: -100%;
  }
  50%,
  100% {
    bottom: 100%;
  }
}

.floating {
  animation: floating 2s infinite ease-in-out;
}
@keyframes floating {
  0% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(8%);
  }
  100% {
    transform: translateY(0%);
  }
}

@-webkit-keyframes floating {
  0% {
    -webkit-transform: translateY(0%);
  }
  50% {
    -webkit-transform: translateY(8%);
  }
  100% {
    -webkit-transform: translateY(0%);
  }
}
.nav-link {
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}
.dropdown {
  color: var(--color-primary);
}
.dropdown-toggle {
  color: var(--color-primary);
}
.contact-section {
  background-color: #f9f9f9;
}

.map-container iframe {
  transition: transform 0.3s ease;
}

.map-container:hover iframe {
  transform: scale(1.02);
}
.main-title {
  text-transform: uppercase;
  margin: 0 auto 80px;
  border: 2px solid black;
  padding: 10px 20px;
  font-size: 30px;
  width: fit-content;
  position: relative;
  z-index: 1;
  transition: 0.3s;
}
.main-title::before,
.main-title::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--color-primary);
  position: absolute;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.main-title::before {
  left: -30px;
}
.main-title::after {
  right: -30px;
}
.main-title:hover::before {
  z-index: -1;
  animation: left-move 0.5s linear forwards;
}
.main-title:hover::after {
  z-index: -1;
  animation: right-move 0.5s linear forwards;
}
.main-title:hover {
  color: white;
  border: 2px solid white;
  transition-delay: 0.5s;
}

@keyframes left-move {
  50% {
    left: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    left: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
  }
}
@keyframes right-move {
  50% {
    right: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    right: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
  }
}

@keyframes moving-arrow {
  100% {
    transform: translateX(10px);
  }
}

@keyframes flashing {
  0%,
  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}

.social-icons-fixed {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 0 5px 5px 0;
  margin: 6px 0;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.6s forwards;
  font-size: 18px;
  color: white;
}

.social-icon:hover {
  transform: translateX(10px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Individual brand styles */
.facebook {
  background-color: var(--facebook-color);
}
.twitter {
  background-color: var(--twitter-color);
}
.instagram {
  background-image: var(--instagram-color);
  color: white;
}
.youtube {
  background-color: var(--youtube-color);
}
.whatsapp {
  background-color: #25d366;
}

.call {
  /* background-color: #074f13; */
  background-color: var(--color-secondary);
}

/* Delay each icon's appearance */
.social-icon:nth-child(1) {
  animation-delay: 0.2s;
}
.social-icon:nth-child(2) {
  animation-delay: 0.4s;
}
.social-icon:nth-child(3) {
  animation-delay: 0.6s;
}
.social-icon:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Start Testimonials */
.testimonials {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  background-color: #ececec;
}
.testimonials .container-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.testimonials .box {
  padding: 20px;
  height: 250px;
  background-color: white;
  box-shadow: 0 2px 4px rgb(0 0 0 / 7%);
  border-radius: 6px;
  position: relative;
}
.testimonials .box img {
  position: absolute;
  left: -10px;
  top: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 10px solid #ececec;
}
.testimonials .box h3 {
  margin: 0 0 10px;
}
.testimonials .box .title {
  color: #777;
  margin-bottom: 10px;
  display: block;
}
.testimonials .box .rate .filled {
  color: #ffc107;
}
.testimonials .box p {
  line-height: 1.5;
  color: #777;
  margin-top: 10px;
  margin-bottom: 0;
}
/* End Testimonials */
.swiper-container {
  width: 100%;
  padding: 40px 0px;
  /* Added bottom padding for pagination */
  overflow: hidden;
  /* Prevent content from overflowing on mobile */
}

.swiper-slide {
  padding: 10px;
  /* Reduced padding for mobile */
  /* Ensure padding is included in width */
}

/* Pagination styling - smaller for mobile */
.swiper-pagination {
  position: absolute;
  bottom: 10px;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
  margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
  background: #007aff;
}

/* Navigation buttons - hide on mobile */
.swiper-button-next,
.swiper-button-prev {
  display: none;
  color: #007aff;
  background: rgba(255, 255, 255, 0.9);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
}

/* Show navigation on larger screens */
@media (min-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .swiper-slide {
    padding: 10px;
  }
}
