/* START GLOBAL SETTINGS */
:root {
  --primary-color: #03679c;
  --secondary-color: #be804c;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Cairo", serif;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background-color: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
}

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

/* END GLOBAL SETTINGS */
/* ******************** */
/* START HEADER */
[sidebar] {
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.1);
}

[sidebar]::-webkit-scrollbar {
  width: 4px;
}

[sidebar]::-webkit-scrollbar-track {
  background: #f1f1f1;
}

[sidebar]::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 2px;
}

[sidebar]::-webkit-scrollbar-thumb:hover {
  background: #025a8a;
}

/* END HEADER */
/* ******************** */
/* START HERO SECTION */
.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

.animation-delay-600 {
  animation-delay: 0.6s;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Custom swiper styles */
.swiper-pagination-bullet {
  background: rgba(203, 203, 203, 0.5) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: var(--secondary-color) !important;
}

/* END HERO SECTION */
/* ******************** */

/* START ARTICLES */

/* Line clamp utility for text truncation */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* END ARTICLES */



/* ******************** */
/* START ANIMATIONS */
/* --- [HERO SECTION] --- */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* END ANIMATIONS */
/* ******************** */