@import "/css/main.css";
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css?family=Play&display=swap");
@import url("https://fonts.googleapis.com/css?family=Almarai&display=swap");
@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css?family=Galada&display=swap");

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--background);
}
.services h2 {
  text-align: center;
  margin-bottom: 3rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--section-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}
.service-card:hover {
  transform: translateY(-5px);
  border: 1px var(--accent-color) solid;
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 1200px) {
  .services {
    padding: 100px 40px;
  }
  .services h2 {
    font-size: 2.5rem;
  }
  .service-card {
    padding: 2.5rem;
  }
  .service-icon {
    font-size: 2.8rem;
  }
}
@media (max-width: 992px) {
  .services {
    padding: 80px 30px;
  }
  .services h2 {
    font-size: 2rem;
  }
  .service-card {
    padding: 2rem;
  }
  .service-icon {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .services {
    padding: 70px 20px;
  }
  .services h2 {
    font-size: 1.8rem;
  }
  .service-card {
    padding: 1.8rem;
  }
  .service-icon {
    font-size: 2.2rem;
  }
}
@media (max-width: 576px) {
  .services {
    padding: 60px 10px;
  }
  .services h2 {
    font-size: 1.6rem;
  }
  .service-card {
    padding: 1.5rem;
  }
  .service-icon {
    font-size: 2rem;
  }
}
/* Portfolio Section */
.portfolio {
  padding: 80px 20px;
  background: var(--section-bg, #f3f4f6);
}
.portfolio h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--text-color, #333);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}
.portfolio-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-color, #007bff);
}
.portfolio-item p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-secondary-color, #555);
}
@media (min-width: 1200px) {
  .portfolio {
    padding: 100px 40px;
  }
  .portfolio h2 {
    font-size: 2.5rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .portfolio-item {
    padding: 24px;
  }
  .portfolio-item h3 {
    font-size: 1.3rem;
  }
  .portfolio-item p {
    font-size: 1rem;
  }
}
@media (max-width: 992px) {
  .portfolio {
    padding: 70px 20px;
  }
  .portfolio h2 {
    font-size: 2rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .portfolio-item {
    padding: 20px;
  }
  .portfolio-item h3 {
    font-size: 1.2rem;
  }
  .portfolio-item p {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .portfolio {
    padding: 50px 15px;
  }
  .portfolio h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
  .portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    animation: none;
  }
  .portfolio-item {
    flex: 1 1 calc(50% - 1rem);
    padding: 14px;
    box-sizing: border-box;
  }
  .portfolio-item h3 {
    font-size: 1.1rem;
  }
  .portfolio-item p {
    font-size: 0.85rem;
    line-height: 1.35;
  }
  .portfolio-item img {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 576px) {
  .portfolio {
    padding: 40px 10px;
  }
  .portfolio h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: none;
  }
  .portfolio-item {
    flex: 1 1 100%;
    padding: 12px;
    box-sizing: border-box;
  }
  .portfolio-item h3 {
    font-size: 1rem;
  }
  .portfolio-item p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .portfolio-item img {
    max-width: 100%;
    height: auto;
  }
}

/* card expanding */
.cardExpanding {
  height: 100vh;
  max-width: 1820px;
  margin: 2rem auto 0 auto;
  padding: 2rem;
}
.cardExpanding h2 {
  margin: 2rem 0 0 0;
  text-align: center;
}
.wrapper {
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideInFromLeft 2s ease-out;
}
.wrapper .container {
  height: 85%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
.card {
  width: 80px;
  border-radius: 0.75rem;
  background-size: cover;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2rem;
  margin: 0 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  transition: 0.6s cubic-bezier(0.28, -0.03, 0, 0.99);
  box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.8);
  opacity: 0.6;
}
.chart-container {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
  opacity: 0;
}
.card:not(:checked + .card) .chart-container {
  opacity: 0.3;
}

input:checked + label .chart-container {
  visibility: visible;
  opacity: 1;
}
.card .active {
  flex: 5;
}
.card > .row {
  display: flex;
}
input:not(:checked) + .card .row {
  align-items: flex-end;
}
.card > .row > .icon {
  background: #223;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px;
}
input:not(:checked) + .card .icon {
  padding: 0 18px;
}
.card > .row > .description {
  opacity: 0;
  margin-right: 7px;
  transform: translateY(30px);
  transition-delay: 0.3s;
  transition: all 0.3s ease;
}
.description h3 {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 10px;
}
.description p {
  color: var(--text-color);
  padding: 0 10px 5px 0;
  white-space: normal;
  display: block;
}
.description h3[dir="rtl"] {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 10px;
}
.description p[dir="rtl"] {
  color: var(--text-color);
  padding: 0 0 0 20px;
  white-space: normal;
  display: block;
}
.wrapper .container input {
  display: none;
}
input:checked + label {
  width: 600px;
  opacity: 1;
  cursor: default;
}
input:checked + label .description {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
/* .card[for="c1"] {
  background-image: url("/image/img1.jpg");
}
.card[for="c2"] {
  background-image: url("/image/img2.jpg");
}
.card[for="c3"] {
  background-image: url("/image/img3.jpg");
}
.card[for="c4"] {
  background-image: url("/image/img4.jpg");
}
.card[for="c5"] {
  background-image: url("/image/img1.jpg");
}
.card[for="c6"] {
  background-image: url("/image/img2.jpg");
} */

@media (max-width: 1024px) {
  .card {
    margin: 0 5px;
  }
  .card > .row > .icon {
    height: 30px;

    padding: 0;
  }
  input:not(:checked) + .card .icon {
    width: 30px;
    height: 30px;
    margin: 12px;
  }
  input:not(:checked) + .card .description {
    display: none;
  }
}
@media (max-width: 768px) {
  .cardExpanding {
    padding: 0.5rem;
    height: auto;
  }
  .cardExpanding h2 {
    margin: 0 0 1.5rem 0;
    text-align: center;
  }
  .wrapper {
    height: auto;
  }
  .wrapper .container {
    height: auto;
    padding: 0;
    flex-direction: column;
  }
  .card {
    margin-bottom: 7px;
    justify-content: normal;
    transition: all 0.6s ease-in-out;
  }
  .chart-container {
    height: auto;
  }
  .wrapper .container input:not(:checked) + label {
    opacity: 0.3;
    border: 0.3px solid rgb(33, 33, 33);
  }
  .card > .row > .icon {
    width: 30px;
    height: 30px;
    margin: 8px;
  }
  input:not(:checked) + .card .icon {
    height: 30px;
    width: 30px;
    padding: 0;
    margin: 4px 4px 4px 6px;
  }
  .card > .row > .description {
    height: auto;
    width: 100%;
    margin-right: 3px;
  }
  .description h3 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .description p {
    color: var(--text-color);
    padding: 0 10px 5px 0;
    white-space: normal;
    font-size: 14px;
    display: block;
  }
  .description h3[dir="rtl"] {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .description p[dir="rtl"] {
    color: var(--text-color);
    padding: 0 0 0 20px;
    white-space: normal;
    font-size: 14px;
    display: block;
  }
  input:checked + label {
    width: 100%;
    height: auto;
  }
  input:not(:checked) + label {
    width: 100%;
    height: 40px;
  }
  input:not(:checked) + .card .chart-container,
  input:not(:checked) + .card .description {
    display: none;
  }
}

@media screen and (max-width: 375px) {
  .cardExpanding {
    padding: 0.5rem;
    min-height: 100dvh;
  }
  .cardExpanding h2 {
    margin: 0 0 1.5rem 0;
    text-align: center;
  }
  .wrapper {
    height: auto;
  }
  .wrapper .container {
    height: auto;
    padding: 0;
    flex-direction: column;
  }
  .card {
    margin-bottom: 7px;
    justify-content: normal;
    transition: all 0.6s ease-in-out;
  }
  .chart-container {
    height: auto;
  }
  .wrapper .container input:not(:checked) + label {
    opacity: 0.3;
    border: 0.3px solid rgb(33, 33, 33);
  }
  .card > .row > .icon {
    width: 30px;
    height: 30px;
    margin: 8px;
  }
  input:not(:checked) + .card .icon {
    height: 30px;
    width: 30px;
    padding: 0;
    margin: 4px 4px 4px 6px;
  }
  .description h3 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .description p {
    color: var(--text-color);
    padding: 0 10px 5px 0;
    white-space: normal;
    font-size: 14px;
    display: block;
  }
  .description h3[dir="rtl"] {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .description p[dir="rtl"] {
    color: var(--text-color);
    padding: 0 0 0 20px;
    white-space: normal;
    font-size: 14px;
    display: block;
  }
  .card > .row > .description {
    height: auto;
    width: 100%;
    margin-right: 3px;
  }
  input:checked + label {
    width: 100%;
    height: auto;
  }
  input:not(:checked) + label {
    width: 100%;
    height: 40px;
  }
  input:not(:checked) + .card .chart-container,
  input:not(:checked) + .card .description {
    display: none;
  }
}

/* ////////////////////////////////////////////////////////////// */
.statCard {
  padding: 80px 20px;
  background: var(--section-bg, #f8f9fa);
}
.statCard-container {
  position: relative;
  margin: 20px auto;
  max-width: 1200px;
}
.statCard h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 15px 15px 60px 15px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 0 10px var(--shadow);
  margin-top: 40px;
  margin-bottom: 80px;
}

label {
  font-weight: bold;
}

#controls-card {
  width: 50%;
  padding: 10px;
  margin: 0 0 30px 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#DateSlider-card {
  flex: 1;
  max-width: 700px;
  margin-left: 10px;
  margin-right: 10px;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  border-radius: 5px;
  background: var(--background-dark);
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

#DateSlider-card:hover {
  opacity: 1;
}

/* Adjust the thumb for Chrome, Safari */
#DateSlider-card::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
}

/* Adjust the thumb for Firefox */
#DateSlider-card::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
}

#card-container {
  position: relative;
  width: 100%;
  padding: 0 30px;
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  position: relative;
  width: 100%;
  flex-wrap: nowrap;
  padding: 0 15px;
}

.cards-wrapper .card {
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  background: var(--background);
  width: 100%;
  max-width: 300px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  cursor: default;
  padding: 20px 0 0 0;
  opacity: 1;
}

.cards-wrapper .card:hover {
  border: 1px solid var(--primary-color);
}

.card-title,
.card-title2 {
  font-size: 1.2rem;
  fill: var(--text-color);
}

.cards-wrapper .card-value {
  font-size: 3rem;
  font-weight: bold;
  fill: var(--text-color);
}

.cards-wrapper .card-unit {
  font-size: 1rem;
  fill: var(--text-color);
}

.cards-wrapper .card-growth {
  font-size: 1.2rem;
}

.cards-wrapper .card-period-label {
  font-size: 0.7rem;
  fill: var(--text-color);
}

.statCard-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--primary-color);
  background: none;
  border: none;
  font-size: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.statCard-button:hover {
  color: rgba(var(--primary-color), 0.2);
}

.statCard-button.prev {
  left: 5px;
}

.statCard-button.next {
  right: 5px;
}

@media (max-width: 1024px) {
  .cards-wrapper .card {
    max-width: 100%;
  }
  .cards-wrapper {
    flex-wrap: nowrap; /* Ensures wrapping for smaller screens */
  }
  .statCard .container {
    padding: 0;
    width: 100%;
  }
  .stat {
    padding: 15px 0 60px 0;
  }
  .card-title,
  .card-title2 {
    font-size: 1rem;
  }
  .cards-wrapper .card-value {
    font-size: 2.8rem;
  }
}

@media (max-width: 900px) {
  .cards-wrapper {
    gap: 10px;
  }
  .cards-wrapper .card {
    max-width: 45%; /* Two cards per row on tablets */
  }
  .statCard .container {
    padding: 0;
    width: 100%;
  }
  .stat {
    padding: 15px 0 60px 0;
  }
  .card-title,
  .card-title2 {
    font-size: 1.2rem;
  }
  .cards-wrapper .card-value {
    font-size: 2.7rem;
  }
  .cards-wrapper .card-unit {
    font-size: 1rem;
  }
  .cards-wrapper .card-growth {
    font-size: 1.1rem;
  }
  .cards-wrapper .card-period-label {
    font-size: 0.6rem;
  }
}

@media (max-width: 600px) {
  .statCard {
    padding: 80px 0;
  }
  .statCard .container {
    padding: 0;
    width: 100%;
  }
  .statCard h2 {
    margin-bottom: 1rem;
  }
  #controls-card {
    width: 100%;
  }
  #card-container {
    padding: 0 20px;
  }
  .cards-wrapper .card {
    max-width: 100%; /* Single column on mobile */
  }
  .card-title,
  .card-title2 {
    font-size: 1rem;
  }
  .cards-wrapper .card-value {
    font-size: 2.5rem;
  }
  .cards-wrapper .card-unit {
    font-size: 0.8rem;
  }
  .cards-wrapper .card-growth {
    font-size: 1rem;
  }

  .cards-wrapper .card-period-label {
    font-size: 0.5rem;
  }
  .statCard-button {
    font-size: 60px;
  }
  .statCard-button.prev {
    left: 0;
  }
  .statCard-button.next {
    right: 0;
  }
}

/* Chart slider  */
.chartSlider {
  padding: 80px 20px;
  position: relative;
}
.chartSlider .slideshow-container {
  max-width: 1200px;
  width: 100%;
  padding: 0 30px;
  position: relative;
  margin: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.charts-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  padding: 0 30px;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mySlides-chartSlider {
  display: none;
  position: relative;
  height: 700px;
}
.charts-container {
  width: 100%;
  height: 100%;
}
.chartSlider-nav-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 30px;
}
.prev-chartSlider,
.next-chartSlider {
  cursor: pointer;
  width: auto;
  padding: 16px;
  color: var(--primary-dark);
  font-weight: bold;
  font-size: 40px;
  transition: 0.6s ease;
  border: none;
  background: none;
  user-select: none;
}
.prev-chartSlider:hover,
.next-chartSlider:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}
.text {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 15px;
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0 0 10px 10px;
}
.numbertext {
  color: #fff;
  font-size: 14px;
  padding: 8px 12px;
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}
.dot-chartSlider {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.active-chartSlider,
.dot-chartSlider:hover {
  background-color: var(--primary-dark);
}
.dot-container {
  text-align: center;
  margin-top: 10px;
}
.fade {
  animation-name: fadeEffect;
  animation-duration: 1.5s;
}

@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .text {
    font-size: 14px;
    padding: 8px;
  }
  .chartSlider {
    padding: 30px 3px;
  }
  .chartSlider .slideshow-container {
    padding: 0;
  }
  .mySlides-chartSlider {
    height: 450px;
  }
  .chartSlider-nav-container {
    margin-top: 10px;
  }
}

@media screen and (max-width: 375px) {
  .chartSlider {
    padding: 30px 3px;
  }
  .chartSlider .slideshow-container {
    padding: 0;
  }
  .mySlides-chartSlider {
    height: 300px;
  }
  .charts-container {
    padding: 0 5px;
  }
  .chartSlider-nav-container {
    margin-top: 10px;
  }
  .text {
    font-size: 12px;
    padding: 5px;
  }
  .numbertext {
    font-size: 10px;
    padding: 4px 6px;
  }
}

/* ////////////////////////////////////////////////////////////// */
/* Hero Section */
.hero {
  padding: 80px 20px;
  background: var(--section-bg, #f8f9fa);
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-content {
  max-width: 600px;
  animation: slideInFromLeft 1s ease-out;
}
.hero-content h1 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  line-height: 1.3;
}
.hero-content p {
  font-size: 1rem;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  animation: slideInFromRight 1s ease-out;
}
@media (min-width: 1200px) {
  .hero {
    padding: 100px 40px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .content .cta-buttons[dir="rtl"] {
    justify-content: start;
    flex-direction: row;
  }
  .cta-buttons a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 70px 30px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .content .cta-buttons[dir="rtl"] {
    justify-content: start;
  }
  .cta-buttons a {
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .content .cta-buttons[dir="rtl"] {
    justify-content: center;
  }
  .cta-buttons a {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 10px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 0.85rem;
  }
  .content .cta-buttons[dir="rtl"] {
    direction: ltr;
    flex-direction: column;
  }
  .cta-buttons a {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
}

/* Quote Text Slideshow */
.Slideshow {
  padding: 80px 20px;
  position: relative;
}
.Slideshow .slideshow-container {
  max-width: 1200px;
  position: relative;
  margin: auto;
  text-align: center;
}

.container-content {
  position: relative;
  height: 450px;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.quote-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.line {
  width: 40px;
  height: 2px;
  background-color: var(--text-color);
  margin: 0 10px;
}

.icon {
  font-size: 24px;
}

.quote-text {
  font-size: 1.5rem;
  margin-bottom: 60px;
  padding: 0 30px;
}

.widget-container {
  margin-top: 10px;
}

.widget-container .author {
  font-size: 1.1rem;
  font-style: italic;
}

.quoteSlider-nav-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 30px;
}

.prev-arrow,
.next-arrow {
  cursor: pointer;
  width: auto;
  padding: 16px;
  color: var(--primary-dark);
  font-weight: bold;
  font-size: 40px;
  transition: 0.6s ease;
  border: none;
  background: none;
  user-select: none;
}

.prev-arrow:hover,
.next-arrow:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  border: 0;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active-dot,
.dot:hover {
  background-color: var(--primary-dark);
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .mySlides-cardSlider {
    height: 450px;
  }

  .container-content {
    padding: 10px;
  }

  .icon {
    font-size: 20px;
  }

  .quote-line {
    margin-bottom: 20px;
  }

  .quote-text {
    font-size: 1rem;
    margin-bottom: 60px;
    padding: 0;
  }

  .widget-container .author {
    margin-bottom: 0;
  }

  .quoteSlider-nav-container {
    margin-top: 8px;
  }

  .prev-arrow,
  .next-arrow {
    padding: 14px;
  }
}

@media screen and (max-width: 375px) {
  .mySlides-cardSlider {
    height: 300px;
  }

  .container-content {
    padding: 40px 5px 0 5px;
  }

  .icon {
    font-size: 18px;
  }

  .quote-text {
    font-size: 0.9rem;
    margin-bottom: 60px;
    padding: 0 15px;
  }

  .widget-container .author {
    margin-bottom: 0;
  }

  .quoteSlider-nav-container {
    margin-top: 5px;
  }

  .prev-arrow,
  .next-arrow {
    padding: 10px;
  }
}
