/*  
  -------------------------------------------
  -----      CSS for the font used      -----
  -------------------------------------------
*/

@import url('./font/inter.css');

body {
    font-family: 'Inter var', sans-serif;
    font-feature-settings: "cv02","cv03","cv04","cv11";
}



/*  
  ------------------------------------------- 
  -----      CSS for the preloader      -----
  -------------------------------------------
*/

.loader-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    background-color: rgba(var(--bs-body-bg-rgb), 1) !important;
    display:flex;
    justify-content: center !important;
    align-items: center !important;
    z-index: 2000 !important;
}



/*  
  -------------------------------------------------------------------------------- 
  -----      CSS for the default styles for both directions RTL and LTR      -----
  --------------------------------------------------------------------------------
*/

.left-to-right {
    display: none !important;
}
.right-to-left {
    display: none !important;
}
[dir="ltr"] .left-to-right {
    display: inline !important;
}
[dir="rtl"] .right-to-left {
    display: inline !important;
}

[dir="rtl"] .rtl-flip {
    transform: scaleX(-1) !important;
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    transform: scaleX(-1);
}



/*  
  -------------------------------------------  
  -----      CSS for the AOS's RTL      -----
  -------------------------------------------
*/

[dir="rtl"] [data-aos=fade-left] {
    transform: translate3d(-100px, 0, 0);
}
[dir="rtl"] [data-aos=fade-right] {
    transform: translate3d(100px, 0, 0); 
}

[dir="rtl"] [data-aos=fade-up-left] {
    transform: translate3d(-100px, 100px, 0); 
}
[dir="rtl"] [data-aos=fade-up-right] {
    transform: translate3d(100px, 100px, 0); 
}

[dir="rtl"] [data-aos=fade-down-left] {
    transform: translate3d(-100px,-100px,0); 
}
[dir="rtl"] [data-aos=fade-down-right] {
    transform: translate3d(100px, -100px, 0); 
}

[dir="rtl"] [data-aos=flip-right] {
    transform: perspective(2500px) rotateY(-100deg);
}
[dir="rtl"] [data-aos=flip-left] {
    transform: perspective(2500px) rotateY(100deg);
}
[dir="rtl"] [data-aos=flip-right].aos-animate {
    transform: perspective(2500px) rotateY(0);
}
[dir="rtl"] [data-aos=flip-left].aos-animate {
    transform: perspective(2500px) rotateY(0);
}

[dir="rtl"] [data-aos=slide-left] {
    transform: translate3d(-100%,0,0);
}
[dir="rtl"] [data-aos=slide-right] {
    transform: translate3d(100%,0,0);
}

[dir="rtl"] [data-aos=zoom-in-right] {
    transform: translate3d(100px,0,0) scale(.6);
}
[dir="rtl"] [data-aos=zoom-in-left] {
    transform: translate3d(-100px,0,0) scale(.6);
}

[dir="rtl"] [data-aos=zoom-out-right] {
    transform: translate3d(100px,0,0) scale(1.2);
}
[dir="rtl"] [data-aos=zoom-out-left] {
    transform: translate3d(-100px,0,0) scale(1.2);
}





/*  
  ----------------------------------------------------  
  -----      CSS for the button back to top      -----
  ----------------------------------------------------
*/

.btn-back-to-top {
    position: fixed;
    bottom: 20px;
    display: none;
    z-index: 10;
}

[dir="ltr"] .btn-back-to-top {
    right: 20px;
}

[dir="rtl"] .btn-back-to-top {
    left: 20px;
}



/*  
  ------------------------------------------------
  -----      CSS for the top navigation      -----
  ------------------------------------------------
*/

.navigation {
    z-index: 1030;
}



/*  
  -----------------------------------------------------  
  -----      CSS for the pulsing play button      -----
  -----------------------------------------------------
*/

.video-play-button {
    position: absolute;
    z-index: 10;
    top: 50%;
    box-sizing: content-box;
    display: block;
    width: calc(32px + 30px);
    height: calc(44px + 30px);
    border-radius: 50%;
    padding: 18px 20px 18px 28px;
}


[dir="ltr"] .video-play-button {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

[dir="rtl"] .video-play-button {
    right: 50%;
    transform: translateX(50%) translateY(-50%);
}

.video-play-button:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: calc(65px + 30px);
    height: calc(65px + 30px);
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulseBorder 1500ms ease-out infinite;
}

.video-play-button:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: calc(50px + 30px);
    height: calc(50px + 30px);
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video-play-button:hover:after {
    background: rgba(var(--bs-primary-rgb), 0.8);
}

.video-play-button span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: calc(16px + 5px) solid white;
    border-top: calc(11px + 5px) solid transparent;
    border-bottom: calc(11px + 5px) solid transparent;
}


@keyframes pulseBorder {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }

}


/* Portfolio Gallery Grid */

/* Scope all styles within .portfolio-section */
.portfolio-section {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  background-color: #f1f1f1;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* Portfolio Title */
.portfolio-section h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

/* Buttons */
.portfolio-section .btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
  margin: 5px;
  transition: background 0.3s;
}

.portfolio-section .btn:hover {
  background-color: #ddd;
}

.portfolio-section .btn.active {
  background-color: #666;
  color: white;
}

/* Portfolio Grid */
.portfolio-section .portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Portfolio Items */
.portfolio-section .portfolio-item {
  width: 30%;
  display: none; /* Hide all items by default */
}

.portfolio-section .portfolio-item.show {
  display: block; /* Show filtered items */
}

/* Content Box */
.portfolio-section .content {
  background-color: white;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Images */
.portfolio-section .content img {
  width: 100%;
  border-radius: 5px;
}


/* Slide Show Gallery */

* {
    box-sizing: border-box;
  }
  
  /* Position the image container (needed to position the left and right arrows) */
  .container {
    position: relative;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }

  .mySlides:first-child {
    display: block;
}

  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Container for image text */
  .caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */
  .column {
    float: left;
    width: 16.66%;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }

  /* Custom Header Wrapper */
.custom-header {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Full height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Background Image */
.custom-header img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Overlay */
.custom-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(88, 88, 88, 0.85);
  mix-blend-mode: multiply;
}

/* Content Styling */
.custom-header .container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1rem;
}

/* Text Styling */
.custom-header h1 {
  font-size: 3rem;
  font-weight: bold;
  color: rgb(238, 94, 94);
}

.custom-header p {
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
  margin-top: 1rem;
}

/* Button Styling */
.custom-header .btn {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.custom-header .btn-primary {
  background-color: #007bff;
  border: none;
}

.custom-header .btn-primary:hover {
  background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .custom-header h1 {
      font-size: 2.5rem;
  }
  .custom-header p {
      font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .custom-header .container {
      padding: 2rem 1rem;
  }

  .custom-header h1 {
      font-size: 2rem;
  }

  .custom-header p {
      font-size: 1rem;
  }

  .custom-header .btn {
      font-size: 0.9rem;
      padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .custom-header h1 {
      font-size: 1.75rem;
  }

  .custom-header p {
      font-size: 0.9rem;
  }

  .custom-header .btn {
      font-size: 0.8rem;
      padding: 8px 16px;
  }
}
