/* fonts */
@font-face {
  font-family: "Arvil Sans";
  src: url("https://db.onlinewebfonts.com/t/41cf7369b23047c2c50a5a158de4977c.eot");
  src: url("https://db.onlinewebfonts.com/t/41cf7369b23047c2c50a5a158de4977c.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/41cf7369b23047c2c50a5a158de4977c.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/41cf7369b23047c2c50a5a158de4977c.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/41cf7369b23047c2c50a5a158de4977c.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/41cf7369b23047c2c50a5a158de4977c.svg#Arvil Sans")format("svg");
}

@font-face {
  font-family: "Eras Bold BT";
  src: url("https://db.onlinewebfonts.com/t/4faf6832667c484b99147d544df8afa6.eot");
  src: url("https://db.onlinewebfonts.com/t/4faf6832667c484b99147d544df8afa6.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/4faf6832667c484b99147d544df8afa6.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/4faf6832667c484b99147d544df8afa6.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/4faf6832667c484b99147d544df8afa6.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/4faf6832667c484b99147d544df8afa6.svg#Eras Bold BT")format("svg");
}

/* section 3 card and image start here */
.card {
  padding: 10px;
}

.tutorial-img {
  height: 300px;
  width: 300px;
  display: block;
  margin: 10px auto;
  /* Reduced from 20px to 10px */
  object-fit: contain;
  max-width: 100%;
  border-radius: 10px;
  transition: all 0.3s ease;
}


/* 1063px and below */
@media (max-width: 1063px) {
  .tutorial-img {
    height: 250px;
    width: 250px;
  }
}

/* 992px and below */
@media (max-width: 992px) {
  .tutorial-img {
    height: 220px;
    width: 220px;
  }
}

/* 769px and below */
@media (max-width: 769px) {
  .tutorial-img {
    height: 150px;
    width: 150px;
  }
}

/* 768px and below */
@media (max-width: 768px) {
  .tutorial-img {
    max-width: 220px;
    height: auto;
  }
}

/* 600px and below */
@media (max-width: 600px) {
  .tutorial-img {
    max-width: 180px;
  }
}

/* 576px and below */
@media (max-width: 576px) {
  .tutorial-img {
    height: 180px;
    width: 180px;
    margin: 0 auto;
  }
}

/* 480px and below */
@media (max-width: 480px) {
  .tutorial-img {
    max-width: 150px;
  }
}

/* section 3 card and image end here */

/* mode tutorial start here */

.modal-content {
  transition: all 0.3s ease-in-out;
}

.modal-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  box-shadow: 0 .5px 0 #2e2d2d;
  /* white line shadow at the bottom */
}

/* Custom input styles applied */
#newQuestionInput {
  border: none;
  padding: 12px 45px 12px 15px;
  font-size: 1rem;
  border-radius: 15px !important;
  /* <-- updated */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.15);
  outline: none;
  background-color: #fcfcfc;
  width: 100%;
  resize: none;
  transition: box-shadow 0.3s ease;
}

#newQuestionInput:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  border-color: #80bdff;
  background-color: #fff;
}

.mode-btn {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffff !important;
  height: 50px;
  width: 40%;
}

.mode-btn:hover {
  background: linear-gradient(135deg, #0056b3, #00408a);
  transform: translateY(-2px);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.mode-btn-pdf {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ff0000, #dd0505);
  color: #ffff !important;
  height: 50px;
  width: 40%;
}

.mode-btn-pdf:hover {
  background: linear-gradient(135deg, #f51313, #a71717);
  transform: translateY(-2px);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

/* video */
/* Portrait-specific styling */
video.portrait-video {
  width: auto;
  height: 100%;
  max-height: 80vh;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 10px;
}

h1 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 30px;
}

iframe {
  width: 100% !important;
  height: 84vh;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

iframe:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: scale(1.005);
}

@media (max-width: 600px) {
  iframe {
    height: 70vh;
  }

  h1 {
    font-size: 1.5rem;
  }
}

/* video */


.video-card {
  position: fixed;
  bottom: 20px;
  left: -71px;
  width: 80px;
  height: 135px;
  background: white;
  border-radius: 0px 12px 12px 0;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  overflow: hidden;
  flex-direction: column;
}

.video-card:hover {
  left: 0px;
  width: 320px;
}

.edge-tab {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(135deg, #007bff, #005E94);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.video-frame {
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
  background-color: black;
  border-radius: 0px 12px 12px 0;
}

.video-card.playing .video-frame {
  display: block;
}

/* Fullscreen video style */
video:fullscreen,
video:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background-color: black;
  border-radius: 0 !important;
}

/* HIDE VIDEO CARD ON MOBILE DEVICES */
@media (max-width: 768px) {
  .video-card {
    display: none !important;
  }
}

/* pdf viewer */

/* Preloader Styling */
#preloader {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 110vh;
  background-color: rgba(255, 255, 255, 0.666);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 5s ease, backdrop-filter 5s ease;
}

/* Hide Main Content Initially */
.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Smooth Fade-In Effect for Content */
.fade-in {
  opacity: 1;
  visibility: visible;
  transition: opacity 5.5s ease-in-out;
}

/* Loader Animation */
.loader {
  --path: #2B4F9B;
  --dot: #fb992b;
  --duration: 3s;
  width: 60px;
  height: 60px;
  position: relative;
  display: inline-block;
  margin: 0 16px;
  transition: transform 0.3s ease-in-out;
  /* Smooth scaling or position change */
}

.loader:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  position: absolute;
  display: block;
  background: var(--dot);
  top: 43px;
  left: 25px;
  transform: translate(-18px, -18px);
  animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
  transition: transform 0.3s ease-in-out;
  /* Smooth dot movement */
}

.loader svg {
  display: block;
  width: 100%;
  height: 100%;
}

.loader svg rect,
.loader svg polygon,
.loader svg circle {
  fill: none;
  stroke: var(--path);
  stroke-width: 10px;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease-in-out;
}

.loader svg polygon {
  stroke-dasharray: 145 76 145 76;
  stroke-dashoffset: 0;
  animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg rect {
  stroke-dasharray: 192 64 192 64;
  stroke-dashoffset: 0;
  animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg circle {
  stroke-dasharray: 150 50 150 50;
  stroke-dashoffset: 75;
  animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader.triangle {
  width: 55px;
}

.loader.triangle:before {
  left: 21px;
  transform: translate(-10px, -18px);
  animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

/* Fully Responsive Design - Optimized */
@media (max-width: 1024px) {
  .loader {
    width: 60px;
    height: 60px;
  }

  .loader:before {
    width: 9px;
    height: 9px;
    top: 43px;
    left: 25px;
    transform: translate(-18px, -18px);
  }
}

@media (max-width: 991px) {
  .loader {
    width: 60px;
    height: 60px;
  }

  .loader:before {
    width: 9px;
    height: 9px;
    top: 43px;
    left: 25px;
    transform: translate(-18px, -18px);
  }
}

@media (max-width: 768px) {
  .loader {
    width: 60px;
    height: 60px;
  }

  .loader:before {
    width: 9px;
    height: 9px;
    top: 43px;
    left: 25px;
    transform: translate(-18px, -18px);
  }
}

@media (max-width: 600px) {
  .loader {
    width: 60px;
    height: 60px;
  }

  .loader:before {
    width: 9px;
    height: 9px;
    top: 43px;
    left: 25px;
    transform: translate(-18px, -18px);
  }
}

@media (max-width: 480px) {
  .loader {
    width: 60px;
    height: 60px;
  }

  .loader:before {
    width: 9px;
    height: 9px;
    top: 43px;
    left: 25px;
    transform: translate(-18px, -18px);
  }
}

@media (max-width: 360px) {
  .loader {
    width: 60px;
    height: 60px;
  }

  .loader:before {
    width: 9px;
    height: 9px;
    top: 43px;
    left: 25px;
    transform: translate(-18px, -18px);
  }
}

@media (max-width: 320px) {
  .loader {
    width: 60px;
    height: 60px;
  }

  .loader:before {
    width: 9px;
    height: 9px;
    top: 43px;
    left: 25px;
    transform: translate(-18px, -18px);
  }
}


@keyframes pathTriangle {
  33% {
    stroke-dashoffset: 74;
  }

  66% {
    stroke-dashoffset: 147;
  }

  100% {
    stroke-dashoffset: 221;
  }
}

@keyframes dotTriangle {
  33% {
    transform: translate(0, 0);
  }

  66% {
    transform: translate(10px, -18px);
  }

  100% {
    transform: translate(-10px, -18px);
  }
}

@keyframes pathRect {
  25% {
    stroke-dashoffset: 64;
  }

  50% {
    stroke-dashoffset: 128;
  }

  75% {
    stroke-dashoffset: 192;
  }

  100% {
    stroke-dashoffset: 256;
  }
}

@keyframes dotRect {
  25% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(18px, -18px);
  }

  75% {
    transform: translate(0, -36px);
  }

  100% {
    transform: translate(-18px, -18px);
  }
}

@keyframes pathCircle {
  25% {
    stroke-dashoffset: 125;
  }

  50% {
    stroke-dashoffset: 175;
  }

  75% {
    stroke-dashoffset: 225;
  }

  100% {
    stroke-dashoffset: 275;
  }
}

.loader {
  display: inline-block;
  margin: 0 16px;
}

/* TRANSLATOR */
.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-selector:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.2);
}

.lang-btn {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  transition: all 0.2s ease;
  border-radius: 6px;
  transform: translateY(0);
}

/* 🔽 Press down effect */
.lang-btn:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-translate] {
  transition: opacity 0.3s ease;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

/* TRANSLATOR END */
/*------------INDEX-------------*/

.scroll-top-btn {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #007bff, #005e94);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  color: #ffffff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1; /* LOWER value to push it behind other elements */
  outline: none;
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, #264692, #1a3875);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.scroll-top-btn:active {
  transform: scale(0.95);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}



.modal-title {
  font-family: sans-serif;
  font-size: 0.95rem !important;
  ;
  font-weight: bold;
  color: #ffff !important;
  text-transform: uppercase;
}

body {
  background-color: #E7F4FC;
}

.section .section-header {
  color: #005E94;
  margin-top: 50px;
  font-family: 'Eras Bold BT', sans-serif !important;
  font-size: 2.4rem;
  line-height: 20px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 40px;

  /* Text shadow for depth */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);

  /* Animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

/* Keyframes for fade-in and slide-up */
@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .text-hero-bold {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
    /* Adjusts the spacing between lines */
  }
}

@media (max-width: 992px) {
  .section .section-header {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    padding-bottom: 50px;
  }
}

/* Small screens (phones) */
@media (max-width: 768px) {
  .section .section-header {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    padding-bottom: 40px;
  }
}

/* Extra small screens (small phones) */
@media (max-width: 480px) {
  .section .section-header {
    font-size: clamp(1rem, 3vw, 1.4rem);
    padding-bottom: 30px;
    margin-top: 30px;
  }
}


/* For small screens (phones) */
@media (max-width: 768px) {
  .card {
    margin-top: 10px !important;
    /* Add a small gap at the top for phone devices */
  }

  .text-hero-bold {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
    /* Adjusts the spacing between lines */
  }

  .section .section-header {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    padding-bottom: 40px;
    margin-top: 20px;
    /* Adjust margin to control the gap on top */
  }
}

/* Extra small screens (small phones) */
@media (max-width: 480px) {
  .card {
    margin-top: 10px !important;
    /* Ensure there's a gap on top */
  }

  .section .section-header {
    font-size: clamp(1.5rem, 1.5vw, 2rem);
    padding-bottom: 25px;
    margin-top: 15px;
    /* Reduce the gap for extra small screens */
  }

  .text-hero-bold {
    margin-top: 1px !important;
    margin-bottom: 1px !important;
    line-height: 1.1 !important;
    /* Adjust line height for better fit */
  }
}

/*--------------------/////////////-----------*/
/*section 1 / clock / date / btn / searchbar */
.date {
  color: #005E94;
  font-size: 12px;
  font-weight: bold;
  font-family: 'AvrilSans', sans-serif !important;
}

.clock {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.flip {
  position: relative;
  width: 35px;
  height: 40px;
  margin: 2px;
  font-size: 26px;
  line-height: 39px;
  text-align: center;
  border: 1px solid #fefce7;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.digital::before,
.digital::after {
  position: absolute;
  content: attr(data-number);
  left: 0;
  right: 0;
  color: #005E94;
  background: white;
  overflow: hidden;
  -webkit-perspective: 160px;
  perspective: 160px;
}

.digital::before {
  top: 0;
  bottom: 50%;
  border-bottom: 1px solid #666;
  border-radius: 10px 10px 0 0;
}

.digital::after {
  top: 50%;
  bottom: 0;
  line-height: 0;
  border-radius: 0 0 10px 10px;
}

.digital.front::after,
.digital.back::before {
  z-index: 1;
}

.digital.back::after {
  -webkit-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;
  -webkit-transform: rotateX(0.5turn);
  transform: rotateX(0.5turn);
  z-index: 2;
}

.digital.front::before {
  z-index: 3;
}

.time-divider {
  font-size: 40px;
  line-height: 30px;
  font-style: normal;
}

.flip.running .front::before {
  -webkit-transform-origin: center bottom;
  -ms-transform-origin: center bottom;
  transform-origin: center bottom;
  -webkit-animation: frontFlipDown 0.6s ease-in-out;
  animation: frontFlipDown 0.6s ease-in-out;
  -webkit-box-shadow: 0 -2px 6px rgba(255, 255, 255, 0.3);
  box-shadow: 0 -2px 6px rgba(255, 255, 255, 0.3);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip.running .back::after {
  -webkit-animation: backFlipDown 0.6s ease-in-out;
  animation: backFlipDown 0.6s ease-in-out;
}

@-webkit-keyframes frontFlipDown {
  to {
    -webkit-transform: rotateX(0.5turn);
    transform: rotateX(0.5turn);
  }
}

@keyframes frontFlipDown {
  to {
    -webkit-transform: rotateX(0.5turn);
    transform: rotateX(0.5turn);
  }
}

@-webkit-keyframes backFlipDown {
  to {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
  }
}

@keyframes backFlipDown {
  to {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
  }
}

/* Ensure section height is dynamic */
.section {
  margin: 10px;
  /* margin: 15px auto; */
  height: 100px auto;
}

/* Adjust the card shadow and spacing */
.section .card {
  background: linear-gradient(135deg, #cbe3f4 20%, #bfddf6 60%, #92d3f9 100%);
  background-size: 600% 600%;
  animation: gradientShift 10s ease-in-out infinite;
  border-radius: 16px;
   border: 1px solid #a1d2ee; /* border: 1px solid #99daff; */
  height: 700px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.4);
  position: relative;
  padding: 2rem;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  z-index: 0;
  /* margin-bottom: 50px; */
  /* <<-- added gap */
}


/* animated gradient background */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Rotating radial light effect and optional glowing edge - behind content */
/* Glowing light animation */
.section .card::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -50%;
  width: 200%;
  height: 140%;
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(60, 108, 157, 0.2));
  animation: rotateLight 30s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Rotation animation */
@keyframes rotateLight {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Content stays above the effect */
.section .card * {
  position: relative;
  z-index: 1;
}

/* Optional glowing edge (subtle overlay) — keep last definition */
.section .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(60, 108, 157, 0.2));
  pointer-events: none;
}

/* Responsive: mobile view */
@media (max-width: 768px) {
  .section .card {
    background: linear-gradient(135deg, #f0f7fc 20%, #cfe6f9 60%, #a0c4e6 100%);
  }
}

@media (min-width: 1500px) and (max-width: 1560px) and (min-height: 800px) and (max-height: 830px) {
  .section .card {
    height: 700px;
    /* reduced from 850px */
  }
}

@media (min-width: 1250px) and (max-width: 1280px) and (min-height: 660px) and (max-height: 680px) {
  .section .card {
    height: 650px;
    /* reduced height for 1266x673 screens */
  }
}


/* For screens at least 1900px wide AND 1080px tall */
@media (min-width: 1900px) and (min-height: 1080px) {
  .section .card {
    height: 1000px;
    max-width: 100%;
    margin: 50px auto 120px auto;
    /* bigger bottom gap */
  }

  .section {
    margin: 20px;
    height: 1000px;
    margin-bottom: 50px;
  }
}

@media (min-width: 2000px) and (min-height: 1080px) {
  .section .card {
    height: 950px;
    margin: 120px auto 160px auto;
    /* moved further down (top margin = 120px) */
  }

  .section {
    height: 1050px;
    margin-bottom: 80px;
  }
}


/* For ultra-wide screens (2400px width and up) */
@media (min-width: 2400px) and (min-height: 1080px) {
  .section .card {
    height: 1000px;
    margin: 80px auto 160px auto;
    /* Larger top/bottom margins */
  }

  .section {
    height: 1050px;
    margin-bottom: 80px;
  }
}


/* Default styles (for large screens above 1200px) */
.section {
  position: relative;
}

.card2 {
  position: relative;
  background: transparent;
  /* background: linear-gradient(135deg, #cbe3f4 20%, #bfddf6 60%, #9ec4e8 100%); */
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  height: 850px;
  overflow: visible;
  z-index: 1;
}

.sun {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: transparent;
  box-shadow: none;
  animation: sunAnimation 3s ease-in-out 1.5s forwards;
  z-index: -1;
  overflow: visible;
}

.cloud {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 120px;
  opacity: 1;
  animation: cloudAnimation 3s cubic-bezier(0.42, 0, 0.58, 1) 1.2s forwards;
  animation-fill-mode: forwards;
  z-index: 0;
}

.sun,
.cloud {
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.sun img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(1.2) sepia(1) hue-rotate(-20deg) saturate(4);
  opacity: 0;
  animation: sunImageFade 2s ease-in-out 3s forwards;
}

@keyframes sunImageFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes sunAnimation {
  0% {
    bottom: 200px;
    left: 100%;
    top: 70px;
    opacity: 0;
    filter: brightness(0.6);
    transform: scale(0.5);
  }

  80% {
    opacity: 0;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    bottom: 100px;
    left: 61%;
    top: 180px;
    transform: translateX(-50%) scale(1);
    opacity: 1;
    filter: brightness(1.2);
  }
}

@keyframes cloudAnimation {
  0% {
    bottom: 200px;
    left: 100%;
    top: 60px;
    opacity: 0;
    transform: scale(0.5);
  }

  80% {
    opacity: 0;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    bottom: 380px;
    left: 57%;
    top: 200px;
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}

.img-fluid {
  object-fit: contain;
  height: 470px;
  width: auto;
  display: block;
  margin: 10px auto;
}

/* Large Screens */
@media (min-width: 1900px) {
  .sun {
    bottom: 100px;
    left: 61%;
    width: 150px;
    height: 150px;
  }

  .cloud {
    bottom: 380px;
    left: 57%;
    height: 130px;
  }

  .sun img {
    width: 300px;
    height: 300px;
  }

  @keyframes sunAnimation {
    100% {
      left: 63%;
      top: 185px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 59%;
      top: 200px;
    }
  }

  .img-fluid {
    max-width: 90%;
    height: 65%;
    margin: 0 auto;
  }
}

@media (min-width: 2000px) {

  .sun,
  .cloud {
    bottom: 100px;
    transform: translateX(-50%);
  }

  .sun {
    left: 61%;
    width: 180px;
    height: 180px;
  }

  .cloud {
    bottom: 380px;
    left: 57%;
    height: 150px;
  }

  .sun img {
    width: 350px;
    height: 350px;
  }

  @keyframes sunAnimation {
    100% {
      left: 62%;
      top: 170px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 58.5%;
      top: 200px;
    }
  }
}

@media (min-width: 2400px) {

  .sun,
  .cloud {
    bottom: 100px;
    transform: translateX(-50%);
  }

  .sun {
    left: 61%;
    width: 200px;
    height: 200px;
  }

  .cloud {
    bottom: 380px;
    left: 57%;
    height: 170px;
  }

  .sun img {
    width: 400px;
    height: 400px;
  }

  @keyframes sunAnimation {
    100% {
      left: 63%;
      top: 160px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 60.5%;
      top: 170px;
    }
  }
}


/* Medium Screen (1280px and lower) */
@media (max-width: 1280px) {
  .sun {
    bottom: 100px;
    left: 58%;
    width: 120px;
    height: 120px;
  }

  .cloud {
    bottom: 360px;
    left: 54%;
    height: 100px;
  }

  .sun img {
    width: 250px;
    height: 250px;
  }

  @keyframes sunAnimation {
    100% {
      left: 58%;
      top: 170px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 54%;
      top: 180px;
    }
  }
}

/* Specific widths */
@media (width: 1800px) {
  .sun {
    bottom: 15px;
    left: 63.5% !important;
    width: 130px;
    height: 130px;
  }

  @keyframes sunAnimation {
    100% {
      left: 58.5%;
      top: 170px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 60.5%;
      top: 180px;
    }
  }
}

@media (width: 1750px) {
  .sun {
    bottom: 15px;
    left: 100% !important;
    width: 130px;
    height: 130px;
  }

  @keyframes sunAnimation {
    100% {
      left: 59%;
      top: 170px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 61%;
      top: 180px;
    }
  }
}

/* Smaller Screens */
@media (max-width: 991px),
(max-width: 884px),
(max-width: 834px) {
  .img-fluid {
    height: auto;
    margin: 0 auto;
  }

  .sun {
    animation-name: sunAnimation;
  }

  .cloud {
    animation-name: cloudAnimation;
  }

  @keyframes sunAnimation {
    100% {
      left: 30%;
      top: 120px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 22%;
      top: 135px;
    }
  }
}

/* Fine-tuned small breakpoints */
@media (max-width: 991px) {
  @keyframes sunAnimation {
    100% {
      left: 55%;
      top: 160px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 52%;
      top: 160px;
    }
  }
}

@media (max-width: 884px) {
  @keyframes sunAnimation {
    100% {
      left: 55%;
      top: 160px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 52%;
      top: 160px;
    }
  }
}

@media (max-width: 834px) {
  @keyframes sunAnimation {
    100% {
      left: 53%;
      top: 150px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 50%;
      top: 150px;
    }
  }
}

@media (max-width: 768px) {
  .img-fluid {
    object-fit: contain;
    height: 350px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .sun {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    animation-name: sunAnimation;
  }

  .cloud {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: 100px;
    animation-name: cloudAnimation;
  }

  .sun img {
    width: 250px;
    height: 250px;
  }

  @keyframes sunAnimation {
    100% {
      left: 30%;
      top: 120px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 22%;
      top: 135px;
    }
  }
}

@media (max-width: 576px) {
  .img-fluid {
    object-fit: contain;
    height: 220px;
  }

  .sun {
    bottom: 5px;
    left: 47%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    animation-name: sunAnimation;
  }

  .cloud {
    bottom: 5px;
    left: 47%;
    transform: translateX(-50%);
    height: 50px;
    animation-name: cloudAnimation;
  }

  .sun img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 400px) {
  .img-fluid {
    object-fit: contain;
    height: 220px;
  }

  .sun {
    bottom: 5px;
    left: 47%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    animation-name: sunAnimation;
  }

  .cloud {
    bottom: 5px;
    left: 47%;
    transform: translateX(-50%);
    height: 50px;
    animation-name: cloudAnimation;
  }

  .sun img {
    width: 140px;
    height: 140px;
  }

  @keyframes sunAnimation {
    100% {
      left: 27%;
      top: 95px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 25%;
      top: 100px;
    }
  }
}

@media (min-width: 361px) and (max-width: 399px) {
  .img-fluid {
    object-fit: contain;
    height: 210px;
  }

  .sun {
    bottom: 5px;
    left: 46.5%;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    animation-name: sunAnimation;
  }

  .cloud {
    bottom: 5px;
    left: 46.5%;
    transform: translateX(-50%);
    height: 48px;
    animation-name: cloudAnimation;
  }

  .sun img {
    width: 135px;
    height: 135px;
  }

  @keyframes sunAnimation {
    100% {
      left: 26%;
      top: 93px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 20%;
      top: 98px;
    }
  }
}

@media (width: 393px) {
  .img-fluid {
    object-fit: contain;
    height: 215px;
  }

  .sun {
    bottom: 5px;
    left: 46%;
    transform: translateX(-50%);
    width: 59px;
    height: 59px;
    animation-name: sunAnimation;
  }

  .cloud {
    bottom: 5px;
    left: 46%;
    transform: translateX(-50%);
    height: 49px;
    animation-name: cloudAnimation;
  }

  .sun img {
    width: 138px;
    height: 138px;
  }

  @keyframes sunAnimation {
    100% {
      left: 25%;
      top: 92px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 23%;
      top: 97px;
    }
  }
}

@media (max-width: 360px) {
  .img-fluid {
    object-fit: contain;
    height: 220px;
  }

  .sun {
    bottom: 5px;
    left: 47%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    animation-name: sunAnimation;
  }

  .cloud {
    bottom: 5px;
    left: 47%;
    transform: translateX(-50%);
    height: 50px;
    animation-name: cloudAnimation;
  }

  .sun img {
    width: 130px;
    height: 130px;
  }

  @keyframes sunAnimation {
    100% {
      left: 24%;
      top: 90px;
    }
  }

  @keyframes cloudAnimation {
    100% {
      left: 17%;
      top: 100px;
    }
  }
}





.cta a {
  padding: 10px;
  margin-top: 10px;
}

.text-hero-bold,
.text-hero-regular {
  margin: 0;
  /* Remove all margins */
  padding: 0;
  /* Remove all padding */
  text-align: center;
}

.text-label,
.text-hero-bold,
.text-hero-regular {
  margin: 30px;
  text-align: center;
}

.text-label {
  color: #2B4F9B;
  font-size: 32px;
  font-weight: 400;
  line-height: 31px;
}

.text-hero-bold {
  color: #005E94;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  margin: 10px auto;
  display: block;
  text-align: center;
  letter-spacing: 1px;

  /* Softer sharp shadow */
  /* text-shadow:
    1px 1.5px 0 #3c4d6b; */
}

.text-hero-regular {
  color: #005E94;
  font-size: 25px;
  font-weight: 400;
  line-height: 31px;
  text-align: center;
}


/* Extra large desktops */
@media (max-width: 1400px) {
  .text-hero-bold {
    font-size: 46px;
    line-height: 68px;
  }

  .text-hero-regular {
    font-size: 23px;
    line-height: 30px;
  }
}

/* Large desktops */
@media (max-width: 1200px) {
  .text-hero-bold {
    font-size: 42px;
    line-height: 62px;
  }

  .text-hero-regular {
    font-size: 21px;
    line-height: 28px;
  }
}

/* Tablets landscape */
@media (max-width: 992px) {
  .text-hero-bold {
    font-size: 38px;
    line-height: 56px;
  }

  .text-hero-regular {
    font-size: 19px;
    line-height: 26px;
  }
}

/* Tablets portrait */
@media (max-width: 768px) {
  .text-hero-bold {
    font-size: 34px;
    line-height: 50px;
  }

  .text-hero-regular {
    font-size: 17px;
    line-height: 24px;
  }
}

/* Large phones */
@media (max-width: 576px) {
  .text-hero-bold {
    font-size: 30px;
    line-height: 46px;
  }

  .text-hero-regular {
    font-size: 16px;
    line-height: 22px;
  }
}

/* Medium phones */
@media (max-width: 425px) {
  .text-hero-bold {
    font-size: 26px;
    line-height: 40px;
  }

  .text-hero-regular {
    font-size: 15px;
    line-height: 20px;
  }
}

/* Small phones */
@media (max-width: 375px) {
  .text-hero-bold {
    font-size: 22px;
    line-height: 34px;
  }

  .text-hero-regular {
    font-size: 14px;
    line-height: 18px;
  }
}



/* CTA buttons */
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Center buttons */
  gap: 10px;
  /* Space between buttons */
}

.btn-sss {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  background: linear-gradient(135deg, #007bff, #005E94);
  color: #ffff !important;
  height: 50px;
  width: 40%;
  border-radius: 10px;
  font-family: Eras Bold BT !important;
}

.btn-sss:hover {
  background: linear-gradient(135deg, #0056b3, #005E94);
  transform: translateY(-2px);
  box-shadow: 2.9px 5.8px 5.8px hsl(0deg 0% 0% / 0.20) !important;
}

.btn-sss:active {
  transform: translateY(1px);
  box-shadow: 2.9px 5.8px 5.8px hsl(0deg 0% 0% / 0.20) !important;
}

.btn-sss2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  background-color: #fff !important;
  height: 50px;
  width: 40%;
  border-radius: 10px;
  font-family: Eras Bold BT !important;
  color: #005E94;
  border-color: #005E94;
}

.btn-sss2:hover {
  background-color: #fff !important;
  height: 50px;
  width: 40%;
  font-family: Eras Bold BT !important;
  color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 2.9px 5.8px 5.8px hsl(0deg 0% 0% / 0.20) !important;
}

/* Desktop & Default: No gap */
.searchbar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* Ensures it spans the container */
  max-width: 500px;
  /* Prevents it from being too wide */
  margin: auto;
}

/* Wrapper for input to keep dropdown attached */
.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 150px;
}

/* Search input field */
.form-control {
  flex: 1;
  /* Allows the input to take available space */
  min-width: 150px;
  /* Prevents it from shrinking too much */
  height: 45px;
  border-radius: 10px;
  border-color:  rgb(0, 94, 148);
  padding-left: 10px;
  font-size: 1rem;
}

/* Search button */
.btn-search {
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #007bff, #005E94);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  width: auto;
  border-radius: 10px;
  /* Allows the button to adjust based on content */
  min-width: 100px;
  /* Prevents it from shrinking too much */
  max-width: 150px;
  /* Keeps it balanced */
  color: #fff !important;
  border: 1px solid #007bff;
  font-size: 1rem;
  white-space: nowrap;
  /* Prevents text from wrapping */
  margin-left: 10px;
  /* Adds spacing between input and button */
}

/* Button hover effect */
.btn-search:hover {
  background: linear-gradient(135deg, #0056b3, #00408a);
  transform: translateY(-2px);
  box-shadow: 2.9px 5.8px 5.8px hsl(0deg 0% 0% / 0.20) !important;
}

.btn-search:active {
  transform: translateY(1px);
  box-shadow: 2.9px 5.8px 5.8px hsl(0deg 0% 0% / 0.20) !important;
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation when dropdown is shown */
#searchResults {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 1000;
  padding: 0;
  list-style: none;
  animation: fadeInDropdown 0.3s ease-out;
}

#searchResults li {
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

#searchResults li:hover {
  background: rgb(232, 235, 239);
}

#searchResults li.selected {
  background-color: #f0f0f0;
  color: #000;
}

/* Mobile: Add gap between input and button */
@media (max-width: 576px) {
  .searchbar {
    gap: 17px;
    /* Adds space only on smaller screens */
  }
}

@media (min-width: 1900px) and (min-height: 1080px) {
  .section .card {
    height: 900px;
    max-width: 100%;
    margin: 50px auto 120px auto;
  }

  .section.card2 {
    margin-top: 50px;
    height: auto;
  }

  .section {
    margin: 20px;
    height: 950px;
    margin-bottom: 50px;
  }

  .searchbar {
    width: 80%;
    gap: 15px;
    padding: 10px;
  }

  .search-input-wrapper {
    flex-grow: 1;
    margin-right: 10px;
  }

  .searchbar .form-control {
    height: 50px;
    font-size: 1.2rem;
  }

  .btn-search {
    height: 50px;
    font-size: 1.1rem;
    min-width: 140px;
  }

  .cta {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
  }

  .cta .btn-sss,
  .cta .btn-sss2 {
    width: 220px;
    height: 60px;
    font-size: 1.3rem;
  }

  .text-label {
    font-size: 1.5rem;
  }

  .text-hero-bold {
    font-size: 3.2rem;
  }

  .text-hero-regular {
    font-size: 28px;
    line-height: 35px;
  }

  .v {
    max-width: 220px;
    height: auto;
  }
}

@media (min-width: 2000px) and (min-height: 1080px) {
  .section .card {
    height: 950px;
    max-width: 100%;
    margin: 60px auto 140px auto;
  }

  .section.card2 {
    margin-top: 60px;
    height: auto;
  }

  .section {
    height: 1000px;
    margin-bottom: 60px;
  }

  .searchbar {
    width: 75%;
    gap: 20px;
    padding: 15px;
  }

  .search-input-wrapper {
    flex-grow: 1;
    margin-right: 15px;
  }

  .searchbar .form-control {
    height: 55px;
    font-size: 1.3rem;
  }

  .btn-search {
    height: 55px;
    font-size: 1.2rem;
    min-width: 160px;
  }

  .cta {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
  }

  .cta .btn-sss,
  .cta .btn-sss2 {
    width: 250px;
    height: 65px;
    font-size: 1.4rem;
  }

  .text-label {
    font-size: 1.7rem;
  }

  .text-hero-bold {
    font-size: 3.5rem;
  }

  .text-hero-regular {
    font-size: 30px;
    line-height: 38px;
  }

  .v {
    max-width: 250px;
    height: auto;
  }
}


@media (max-width: 991px) {
  .section.card {
    box-shadow: 5px 10px 12px 0px rgba(0, 0, 0, 0.75);
    height: auto;
    /* Adjust height to fit content */
    padding: 10px;
  }

  .section.card2 {
    height: auto;
    /* Adjust height to fit content */
    padding: 10px;
  }

  .searchbar {
    width: 100%;
    justify-content: center;
    gap: 5px;
    display: flex;
    flex-direction: row;
  }

  .search-input-wrapper {
    flex-grow: 1;
    margin-right: 5px;
  }

  .cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .cta .btn-sss,
  .cta .btn-sss2 {
    width: 50%;
    margin-top: 10px;
  }

  .text-label {
    font-size: 1.2rem;
  }

  .text-label,
  .text-hero-bold,
  .text-hero-regular {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    max-width: 85%;
    text-align: center;
  }

  .text-hero-bold {
    font-size: 2.5rem;
    font-weight: bold;
  }

  .text-hero-regular {
    font-size: 23px;
    /* Decrease font size for medium devices */
    line-height: 28px;
  }

  .searchbar .form-control {
    width: 100%;
    font-size: 1rem;
    height: 42px;
  }

  .btn-search {
    height: 42px;
    font-size: 1rem;
    min-width: 100px;
  }

  .card-btn {
    max-width: 100%;
  }

  .v {
    max-width: 190px;
    height: 90%;
  }


}

@media (max-width: 768px) {
  .clock {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .flip {
    width: 30px;
    height: 35px;
    font-size: 22px;
    line-height: 33px;
  }

  .divider {
    font-size: 35px;
    line-height: 28px;
  }

  .section .card {
    box-shadow: 5px 10px 12px 0px rgba(0, 0, 0, 0.75);
    height: auto;
    padding: 2px;
  }

  .section .card2 {
    height: auto;
    padding: 2px;
  }

  .section .row {
    text-align: center;
  }

  .flex-reverse {
    flex-direction: column-reverse;
  }

  .col-md-6 {
    width: 100%;
  }

  .text-label,
  .text-hero-bold,
  .text-hero-regular {
    margin: 20px auto;
  }

  .text-label {
    font-size: 28px;
    line-height: 26px;
  }

  .text-hero-bold {
    font-size: 42px;
    line-height: 62px;
  }

  .text-hero-regular {
    font-size: 21px;
    /* Smaller font for tablets */
    line-height: 26px;
  }

  .cta {
    flex-direction: column;
    align-items: center;
  }

  .cta a {
    width: 80%;
    text-align: center;
  }

  .cta .btn-sss,
  .cta .btn-sss2 {
    width: 70%;
    justify-content: center;
  }

  .searchbar {
    width: 100%;
    justify-content: center;
    gap: 5px;
  }

  .search-input-wrapper {
    margin-right: 5px;
  }

  .form-control {
    font-size: 0.9rem;
    height: 40px;
  }

  .btn-search {
    height: 40px;
    font-size: 0.9rem;
    min-width: 90px;
  }

  .section {
    margin: auto;
    height: auto;
    padding: 5px !important;
  }


}

@media (max-width: 576px) {
  .section .card {
    box-shadow: 5px 10px 12px 0px rgba(0, 0, 0, 0.75);
    height: auto;
    padding: 2px;
  }

  .section .card2 {
    height: auto;
    padding: 2px;
  }

  .text-label {
    font-size: 22px;
    line-height: 24px;
  }

  .text-hero-bold {
    font-size: 34px;
    line-height: 54px;
  }

  .text-hero-regular {
    font-size: 19px;
    /* Smaller font for smaller devices */
    line-height: 24px;
  }

  .cta a {
    width: 100%;
  }

  .flip {
    width: 24px;
    height: 28px;
    font-size: 18px;
    line-height: 26px;
  }

  .divider {
    font-size: 28px;
    line-height: 24px;
  }

  .cta .btn-sss,
  .cta .btn-sss2 {
    width: 100%;
    font-size: 1rem;
  }

  .search-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .searchbar {
    width: 100%;
    justify-content: center;
    gap: 5px;
  }

  .search-input-wrapper {
    margin-right: 5px;
  }

  .form-control {
    font-size: 0.85rem;
    height: 38px;
    width: calc(100% - 85px);
  }

  .btn-search {
    width: 75px;
    height: 38px;
    font-size: 0.85rem;
    min-width: 70px;
  }


}

@media (max-width: 480px) {
  .searchbar {
    width: 100%;
    justify-content: center;
    gap: 5px;
  }

  .search-input-wrapper {
    margin-right: 5px;
  }

  .form-control {
    font-size: 0.85rem;
    height: 38px;
    width: calc(100% - 75px);
  }

  .btn-search {
    width: 70px;
    height: 38px;
    font-size: 0.85rem;
    min-width: 70px;
  }

  .text-label {
    font-size: 20px;
    line-height: 22px;
  }

  .text-hero-bold {
    font-size: 30px;
    line-height: 45px;
  }

  .text-hero-regular {
    font-size: 17px;
    /* Even smaller font for very small screens */
    line-height: 22px;
  }

}

@media (max-width: 400px) {
  .search-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .searchbar {
    width: 100%;
    justify-content: center;
    gap: 5px;
  }

  .search-input-wrapper {
    margin-right: 5px;
  }

  .form-control {
    font-size: 0.85rem;
    height: 38px;
    width: calc(100% - 75px);
  }

  .btn-search {
    width: 70px;
    height: 38px;
    font-size: 0.85rem;
    min-width: 70px;
  }


  .text-label {
    font-size: 18px;
    line-height: 20px;
  }

  .text-hero-bold {
    font-size: 28px;
    line-height: 42px;
  }

  .text-hero-regular {
    font-size: 15px;
    /* Smaller font for extremely small screens */
    line-height: 20px;
  }
}

@media (max-width: 375px) {
  .searchbar {
    width: 100%;
    justify-content: center;
    gap: 5px;
  }

  .search-input-wrapper {
    margin-right: 5px;
  }

  .form-control {
    font-size: 0.85rem;
    height: 38px;
    width: calc(100% - 70px);
  }

  .btn-search {
    width: 65px;
    height: 38px;
    font-size: 0.85rem;
    min-width: 65px;
  }

  .img-fluid {
    object-fit: contain;
    /* Ensures image scales smoothly */
    height: 200px;
    /* Adjust height for very small devices */
    margin-top: 0;
    /* Removes top margin */
    margin-bottom: 0;
    /* Removes bottom margin */
  }

  .text-label {
    font-size: 16px;
    line-height: 18px;
  }

  .text-hero-bold {
    font-size: 26px;
    line-height: 40px;
  }

  .text-hero-regular {
    font-size: 13px;
    /* Smallest font for ultra-small screens */
    line-height: 18px;
  }
}

@media (max-width: 320px) {
  .search-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .searchbar {
    width: 100%;
    justify-content: center;
    gap: 5px;
  }

  .search-input-wrapper {
    margin-right: 5px;
  }

  .form-control {
    font-size: 0.8rem;
    height: 34px;
    width: calc(100% - 65px);
  }

  .btn-search {
    width: 60px;
    height: 38px;
    font-size: 0.85rem;
    min-width: 60px;
  }

  .img-fluid {
    object-fit: contain;
    /* Ensures image scales smoothly */
    height: 180px;
    /* Adjust height for extremely small devices */
    margin-top: 0;
    /* Removes top margin */
    margin-bottom: 0;
    /* Removes bottom margin */
  }


  .text-label {
    font-size: 14px;
    line-height: 16px;
  }

  .text-hero-bold {
    font-size: 24px;
    line-height: 36px;
  }

  .text-hero-regular {
    font-size: 12px;
    /* Set the font size to 12px for the smallest devices */
    line-height: 16px;
  }
}


/* section 1 / clock / date / btn / searchbar end here */
/*---------------------///////////--------------------*/


/* section 2 / btn-category / */
/* MAIN CONTAINER FOR TWO-COLUMN LAYOUT */
/* Default layout */
.container {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

/* Image Style */
.w3-100 {
  height: 300px;
  width: 300px;
  display: block;
  margin: 20px auto;
  object-fit: contain;
  max-width: 100%;
  transition: all 0.3s ease;
}

/* Updated Main Button Style with Smooth Transitions */
.btn-prior {
  background: linear-gradient(135deg, #0091e6, #005E94);
  border: 1px solid #fff;
  /* border: 2px solid #2B4F9B; */
  color: #ffffff !important;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  height: 80px;
  width: 400px;
  max-width: 90%;
  padding: 15px 20px;
  margin: 10px auto;
  text-align: center;
  border-radius: 10px;
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
  position: relative;
  flex-wrap: wrap;
  transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
}

/* Hover Effect */
.btn-prior:hover {
  border: 1px solid #fff;
  background: linear-gradient(135deg, #0056b3, #005E94);
  transform: translateY(-4px);
  box-shadow: 2.9px 5.8px 5.8px hsl(0deg 0% 0% / 0.30) !important;
}

/* Active Effect */
.btn-prior:active {
  border: 1px solid #fff;
  transform: translateY(1px);
  box-shadow: 2.9px 5.8px 5.8px hsl(0deg 0% 0% / 0.30) !important;
}

.btn-prior .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background-color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  opacity: 1;
  animation: ripple-animation 1.8s ease-out;
  z-index: 1;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
/* RESPONSIVE BREAKPOINTS */

/* 1063px and below */
@media (max-width: 1063px) {
  .btn-prior {
    width: 350px;
    height: 70px;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
  }

  .w3-100 {
    height: 250px;
    width: 250px;
  }
}

/* 992px and below */
@media (max-width: 992px) {
  .btn-prior {
    width: 320px;
    height: 70px;
    font-size: clamp(1rem, 2.1vw, 1.3rem);
    padding: 14px 18px;
  }

  .w3-100 {
    height: 220px;
    width: 220px;
  }
}

/* 769px and below */
@media (max-width: 769px) {
  .btn-prior {
    width: 90%;
    height: 60px;
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  }

  .w3-100 {
    height: 150px;
    width: 150px;
  }
}

/* 768px and below */
@media (max-width: 768px) {
  .container {
    flex-direction: row;
  }

  .btn-prior {
    font-size: 1.5rem;
    padding: 12px 16px;
    width: 90%;
    height: 70px;
  }

  .w3-100 {
    max-width: 220px;
    height: auto;
  }
}

/* 600px and below */
@media (max-width: 600px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .btn-prior {
    font-size: 0.95rem;
    padding: 12px;
    width: 90%;
  }

  .w3-100 {
    max-width: 180px;
  }
}

/* 576px and below */
@media (max-width: 576px) {
  .btn-prior {
    font-size: 0.95rem;
    padding: 12px;
    width: 100%;
  }

  .w3-100 {
    height: 180px;
    width: 180px;
    margin: 0 auto;
  }
}

/* 480px and below */
@media (max-width: 480px) {
  .btn-prior {
    font-size: 1.2rem;
    padding: 10px 12px;
    width: 90%;
  }

  .w3-100 {
    max-width: 150px;
  }
}

/* 375px and below */
@media (max-width: 375px) {
  .btn-prior {
    font-size: 0.8rem;
    padding: 10px;
    width: 90%;
  }
}

/* section 2 / btn-prior */
/*------------------////////------------*/


/* NEW CARD BUTTON DESIGN AND MODAL / */
.card1 {
  background: linear-gradient(135deg, #0091e6, #005E94);
  display: flex;
  align-items: center;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  height: 100px;
  /* Fixed height */
  padding: 10px;
  border: 1px solid #fff;
  border-radius: 10px;
  color: white !important;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  flex-wrap: nowrap;
  width: auto;
}

.card1:hover {
  transform: translateY(-5px);
  box-shadow: 2.9px 5.8px 5.8px hsl(0deg 0% 0% / 0.40) !important;
}

.card1:active {
  transform: translateY(3px);
  box-shadow: 2.9px 5.8px 5.8px hsl(0deg 0% 0% / 0.40) !important;
}

.card1:hover .circle1-image {
  background-color: #00a2ff;
  color: white;
  transform: scale(1.1);
}

.card1:hover .divider {
  transform: translateX(5px);
  /* Moves the divider along with the image */
}

.card1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #00a2ff;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.card1:hover::after {
  transform: scaleX(1);
}

.card1 .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background-color: rgba(255, 255, 255, 0.3);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  animation: ripple-animation 1.8s ease-out;
}

@keyframes ripple-animation {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.card-text1 {
  font-size: 1rem;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  /* Scroll when text is too long */
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.5;
  flex-grow: 1;
  display: block;
  /* changed from flex to block */
  max-height: 100px;
  /* fits inside .card1 */
  width: 100%;
}

.card-title {
  font-size: 0.8rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Ensures alignment with the circle image */
  justify-content: flex-start;
  /* Aligns text to the left */
  margin: 0;
  /* Remove any margin to eliminate the gap */
  padding: 0;
  /* Remove padding to eliminate the gap */
}

.divider {
  height: 40px;
  width: 2px;
  background-color: white;
  margin-right: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  /* Ensure smooth transition */
}

.circle1-image {
  width: 40px !important;
  /* Reduced from 40px */
  height: 32px !important;
  /* Reduced from 40px */
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.1rem;
  /* Slightly smaller */
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-align: center;
  /* line-height: 1.1; */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Mobile and Tablet Media Queries */
/* For screens 1900px wide and 1080px high or more */
@media (min-width: 1900px) and (min-height: 1080px) {
  .card1 {
    max-width: 600px;
    padding: 15px 20px;
  }

  .card-text1 {
    font-size: 1.1rem;
  }

  #card-container {
    gap: 30px;
  }
}

/* For screens 2000px wide and 1080px high or more */
@media (min-width: 2000px) and (min-height: 1080px) {
  .card1 {
    max-width: 650px;
    padding: 20px 25px;
  }

  .card-text1 {
    font-size: 1.2rem;
  }

  #card-container {
    gap: 40px;
  }
}


@media (max-width: 1018px) and (max-width: 1234px) {
  .card1 {
    width: 100%;
    max-width: 500px;
    margin-top: 2px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 10px;
    /* Reduced padding for smaller screens */
  }

  #card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .card-text1 {
    font-size: 0.9rem;
  }
}

/* Mobile and Tablet Media Queries for 981px and below */
@media (max-width: 981px) {
  .card1 {
    width: 100%;
    max-width: 350px;
    margin-top: 2px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 10px;
    /* Further reduced padding for smaller screens */
  }

  #card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .card-text1 {
    font-size: 0.85rem;
  }
}

/* Mobile and Tablet Media Queries for 826px or below */
@media (max-width: 826px) {
  .card1 {
    width: 100%;
    max-width: 320px;
    margin-top: 2px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 10px;
    /* Further reduced padding */
  }

  #card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .card-text1 {
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) {
  .card1 {
    background-color: #0091e6;
    color: white;
    text-align: left;
    max-width: 450px;
    padding: 10px 20px;
    /* Default padding for larger screens */
  }

  .circle1-image {
    margin-right: 10px;
    width: 90px;
    height: 45px;
  }

  .card-text1 {
    font-size: 0.83rem !important;
  }

  #card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .card1 {
    flex: 1 1 calc(33.33% - 20px);
    box-sizing: border-box;
  }
}

/* Mobile and Tablet Media Queries for 767px and below */
@media (max-width: 767px) {
  .card1 {
    width: 100%;
    max-width: 100%;
    margin-top: 2px;
    padding: 5px 10px;
    /* Reduced padding for mobile screens */
  }

  .circle1-image {
    width: 90px;
    height: 50px;
  }

  .card-text1 {
    font-size: 0.9rem;
  }

  #card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .card1 {
    flex: 1 1 calc(100% - 20px);
    box-sizing: border-box;
  }

  .card-text1 {
    font-size: 0.85rem;
  }

  .divider {
    height: 40px;
    width: 2px;
    background-color: white;
    margin-left: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }
}

@media (max-width: 480px) {
  .card-text1 {
    font-size: 0.75rem;
    /* Even smaller text on very small screens */
  }
}

.section {
  padding: 20px;
}

#card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* NEW CARD BUTTON DESIGN AND MODAL END here  */

/* TUTORIAL MODAL/ FEEDBACK CONTENTS */
.feedback-containers {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.modal-content.feedback-containers {
  width: 100%;
  max-width: 600px;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin: auto;
}

.emoji-rating {
  display: flex;
  justify-content: center;
  /* Center emojis in the container */
  gap: 1rem;
  flex-wrap: wrap;
  /* Allow emojis to wrap on smaller screens */
  font-size: 2.2rem;
  margin: 1rem 0;
  overflow: visible;
  /* Disable scrollability */
}

.emoji-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 2.2rem;
}

.emoji-option span {
  transition: transform 0.2s ease;
}

.emoji-option:hover span {
  transform: scale(1.2);
}

.emoji-option small {
  font-size: 0.8rem;
  margin-top: 5px;
  color: #555;
}

/* Modify the indicator from dot to line */
.emoji-option .indicator {
  height: 2px;
  /* Make it a line */
  width: 30px;
  /* Adjust width as per your preference */
  background-color: transparent;
  transition: background-color 0.3s ease, width 0.3s ease;
  margin-top: 6px;
}

/* When an emoji option is selected, change the indicator to a green line */
.emoji-option.selected .indicator {
  background-color: #28a745;
  /* Green color */
  width: 100%;
  /* Expand the line to full width */
}

/* Adjusting the overall layout */
.emoji-option.selected {
  transform: scale(1.1);
  /* Slightly scale the selected emoji */
}

.input-container {
  position: relative;
  margin-top: 1rem;
}

.input-container label {
  position: absolute;
  top: -10px;
  left: 15px;
  background: #fff;
  padding: 0 5px;
  font-size: 0.9rem;
  color: #666;
}

/* Style for the text content */
.service-text {
  font-size: 1.1rem;
  color: #666;
}

.service-text-bold {
  font-size: 1.2rem;
  color: #6c757d;
}

@media (min-width: 1900px) and (min-height: 1080px) {
  .section .card {
    height: 900px;
    max-width: 100%;
    margin: 50px auto 120px auto;
  }

  .section.card2 {
    margin-top: 50px;
    height: auto;
  }

  .section {
    margin: 20px;
    height: 950px;
    margin-bottom: 50px;
  }

  .searchbar {
    width: 80%;
    gap: 1rem;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .search-input-wrapper {
    flex-grow: 1;
    margin-right: 10px;
  }

  .searchbar .form-control {
    height: 52px;
    font-size: 1.25rem;
  }

  .btn-search {
    height: 52px;
    font-size: 1.2rem;
    min-width: 140px;
  }

  .cta {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-top: 20px;
  }

  .cta .btn-sss,
  .cta .btn-sss2 {
    width: 230px;
    height: 60px;
    font-size: 1.4rem;
  }

  .text-label {
    font-size: 1.5rem;
  }

  .text-hero-bold {
    font-size: 3.2rem;
  }

  .text-hero-regular {
    font-size: 28px;
    line-height: 35px;
  }

  .card-btn {
    max-width: 100%;
  }

  .v {
    max-width: 220px;
    height: auto;
  }
}

@media (min-width: 2000px) and (min-height: 1080px) {
  .section .card {
    height: 950px;
    max-width: 100%;
    margin: 60px auto 140px auto;
  }

  .section.card2 {
    margin-top: 60px;
    height: auto;
  }

  .section {
    height: 1000px;
    margin-bottom: 60px;
  }

  .searchbar {
    width: 75%;
    gap: 1rem;
    padding: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .search-input-wrapper {
    flex-grow: 1;
    margin-right: 15px;
  }

  .searchbar .form-control {
    height: 56px;
    font-size: 1.3rem;
  }

  .btn-search {
    height: 56px;
    font-size: 1.3rem;
    min-width: 150px;
  }

  .cta {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-top: 25px;
  }

  .cta .btn-sss,
  .cta .btn-sss2 {
    width: 240px;
    height: 65px;
    font-size: 1.5rem;
  }

  .text-label {
    font-size: 1.6rem;
  }

  .text-hero-bold {
    font-size: 3.5rem;
  }

  .text-hero-regular {
    font-size: 30px;
    line-height: 38px;
  }

  .v {
    max-width: 230px;
    height: auto;
  }
}


@media (max-width: 767px) {
  .emoji-rating {
    gap: 1rem;
    font-size: 1.6rem;
    /* Slightly smaller for tighter phones */
  }

  .emoji-option {
    font-size: 1.8rem;
  }

  .emoji-option small {
    font-size: 0.7rem;
  }

  .modal-dialog {
    margin-left: 10px !important;
    margin-right: 10px !important;
    width: auto !important;
    max-width: none !important;
  }

  .feedback-containers,
  .modal-content.feedback-containers {
    padding: 15px 5px !important;
    /* top/bottom 15px, left/right 5px */
  }

  .input-container label {
    font-size: 0.75rem;
  }

  .input-container input,
  .input-container textarea {
    font-size: 0.85rem;
    padding: 8px;
  }

  .submit-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  /* Adjusting the text content for smaller screens */
  .service-text {
    font-size: 1rem;
  }

  .service-text-bold {
    font-size: 1.1rem;
  }
}

/* iPhone SE 2020/2022, 8, 7, 6, 6s (4.7") */
@media only screen and (device-width: 375px) and (device-height: 667px) {
  .emoji-rating {
    font-size: 1.2rem;
    /* Smaller font size */
    gap: 0.5rem;
    /* Reduced gap */
    flex-wrap: wrap;
    /* Allow wrapping */
    justify-content: flex-start;
  }

  .emoji-option {
    font-size: 1.4rem;
    /* Reduced emoji size */
  }

  .emoji-option small {
    font-size: 0.6rem;
    /* Smaller text */
  }

  .feedback-containers,
  .modal-content.feedback-containers {
    padding: 10px;
    /* Reduced padding */
  }

  .submit-btn {
    font-size: 0.75rem;
    /* Smaller submit button text */
    padding: 5px 12px;
    /* Adjusted padding */
  }

  /* Adjusting the text content for smaller screens */
  .service-text {
    font-size: 0.9rem;
  }

  .service-text-bold {
    font-size: 1rem;
  }
}

/* iPhone 11, XR (6.1") */
@media only screen and (device-width: 414px) and (device-height: 896px) {
  .emoji-rating {
    font-size: 1.2rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    /* Allow wrapping */
    justify-content: flex-start;
  }

  .emoji-option {
    font-size: 1.4rem;
  }

  .emoji-option small {
    font-size: 0.7rem;
    /* Smaller text */
  }

  .feedback-containers,
  .modal-content.feedback-containers {
    padding: 12px;
    /* Adjusted padding */
  }

  /* Adjusting the text content for smaller screens */
  .service-text {
    font-size: 1rem;
  }

  .service-text-bold {
    font-size: 1.1rem;
  }
}

/* iPhone 11 Pro, XS, X (5.8") */
@media only screen and (device-width: 375px) and (device-height: 812px) {
  .emoji-rating {
    font-size: 1.3rem;
    /* Slightly smaller font size */
    gap: 0.6rem;
    /* Reduced gap */
    flex-wrap: wrap;
    /* Allow wrapping */
    justify-content: flex-start;
  }

  .emoji-option {
    font-size: 1.5rem;
    /* Adjusted emoji size */
  }

  .emoji-option small {
    font-size: 0.7rem;
    /* Smaller text */
  }

  .feedback-containers,
  .modal-content.feedback-containers {
    padding: 12px;
    /* Adjusted padding */
  }

  /* Adjusting the text content for smaller screens */
  .service-text {
    font-size: 1rem;
  }

  .service-text-bold {
    font-size: 1.1rem;
  }
}

/* iPhone 14, 13, 13 Pro, 12, 12 Pro (6.1") */
@media only screen and (device-width: 390px) and (device-height: 844px) {
  .emoji-rating {
    font-size: 1.4rem;
    /* Adjusted font size */
    gap: 0.6rem;
    /* Reduced gap */
    flex-wrap: wrap;
    /* Allow wrapping */
    justify-content: flex-start;
  }

  .emoji-option {
    font-size: 1.6rem;
    /* Adjusted emoji size */
  }

  .emoji-option small {
    font-size: 0.7rem;
    /* Smaller text */
  }

  .feedback-containers,
  .modal-content.feedback-containers {
    padding: 12px;
    /* Adjusted padding */
  }

  /* Adjusting the text content for smaller screens */
  .service-text {
    font-size: 1.1rem;
  }

  .service-text-bold {
    font-size: 1.2rem;
  }
}

/* iPhone 430px and 428px screens */
@media only screen and (device-width: 430px) and (device-height: 932px),
(device-width: 428px) and (device-height: 926px) {
  .emoji-rating {
    font-size: 1.4rem;
    /* Slightly smaller font size */
    gap: 0.6rem;
    /* Reduced gap */
    flex-wrap: wrap;
    /* Allow wrapping */
    justify-content: flex-start;
  }

  .emoji-option {
    font-size: 1.6rem;
    /* Adjusted emoji size */
  }

  .emoji-option small {
    font-size: 0.7rem;
    /* Smaller text */
  }

  .feedback-containers,
  .modal-content.feedback-containers {
    padding: 12px;
    /* Adjusted padding */
  }

  /* Adjusting the text content for smaller screens */
  .service-text {
    font-size: 1.1rem;
  }

  .service-text-bold {
    font-size: 1.2rem;
  }
}

/* Prevent emoji content from overflowing and ensure it remains visible */
.emoji-rating {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping of items */
}

.emoji-option {
  flex-shrink: 0;
  /* Prevent shrinking */
  margin-right: 0.5rem;
  /* Space between emoji options */
}

/* TUTORIAL MODAL/ FEEDBACK CONTENTS ENDS */


/* tutor btn carousel and text */

.container-buttons {
  display: flex;
  flex-wrap: wrap;
  /* Para hindi magpatong kapag maliit ang screen */
  justify-content: flex-end;
  /* Para nasa kanan ang buttons */
  gap: 10px;
  /* Para may space sa pagitan ng mga buttons */
  padding: 20px;
}

.btn-tutor {
  border: 2px solid #0d6efd;
  color: #2B4F9B !important;
  font-family: "Eras Bold BT", sans-serif !important;
  padding: 10px 20px;
  min-width: 120px;
  /* Fixed minimum size */
  text-align: center;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  background: none;
}

.btn-tutor:hover {
  background-color: #2B4F9B;
  color: #fff !important;
}

/* ✅ Responsive Design - Adjusts Button Size & Layout */
@media (max-width: 768px) {
  .container-buttons {
    justify-content: center;
    /* Center buttons on smaller screens */
  }

  .btn-tutor {
    width: 100px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .btn-tutor {
    width: 90px;
    font-size: 12px;
  }
}

/* Tutorial details text */
.copy h5 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  /* Adjusts dynamically */
  font-weight: normal;
  color: #0d6efd;
  margin-bottom: 10px;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.copy {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  /* Adjusts dynamically */
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
  text-align: justify;
}

.copy p strong {
  color: #2B4F9B;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .copy h5 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
  }
}

@media (max-width: 768px) {
  .copy h5 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  }

  .copy p {
    font-size: clamp(1.3rem, 2vw, 1.3rem);
  }
}

@media (max-width: 576px) {
  .copy h5 {
    font-size: clamp(1.3rem, 2vw, 1.4rem);
  }

  .copy p {
    font-size: clamp(1rem, 3vw, 1.1rem);
  }
}


/*--------------///////////----------*/


/* Ai code Chatbot */
/* Leo  */
:root {
  --profile-img-size: 150px;
  /* Adjust this value to change image size */
}

.talk-label {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  color: rgb(0, 94, 148);
  font-weight: bold;
  padding: 10px 14px;
  border-radius: 12px !important;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #dee2e6;
  font-size: 15px;
  line-height: 1.5;
  max-width: 250px;
  text-align: center;
}

/* Chatbox container - Fixed size with auto-scroll */
#chatbox-container {
  width: 100%;
  max-width: 450px;
  /* Mobile-friendly max width */
  height: 500px;
  /* Fixed height */
  background: #f0f2f5;
  border-radius: 10px;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}


/* Chat message container */
.message-container {
  display: flex;
  align-items: flex-end;
  max-width: 80%;
}

/* General message container */
.message {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 18px;
  word-wrap: break-word;
  font-size: 15px;
  line-height: 1.6;
  display: inline-block;
  animation: fadeIn 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
  white-space: pre-line;
}


.leo-message {
  background-color: #e9ecef;
  color: black;
  border-bottom-left-radius: 18px;
  margin-left: 3px;
  /* Reduced side gap */
  max-width: 78%;
  /* Slightly wider */
  line-height: 1.5;
  padding: 8px 10px;
  /* Adjusted padding */
}

.chat-link {
  color: blue;
  font-weight: bold;
  text-decoration: underline;
}

/* Small phones (portrait) */
@media screen and (max-width: 480px) {
  .leo-profile {
    width: 28px;
    height: 28px;
  }

  .leo-container {
    gap: 2px;
  }

  .leo-message {
    max-width: 82%;
    font-size: 14px;
    padding: 6px 8px;
  }

  .talk-label {
    font-size: 12px;
    padding: 6px 8px;
    max-width: 180px;
    border-radius: 8px;
  }
}

/* Medium phones (landscape) */
@media screen and (min-width: 481px) and (max-width: 767px) {
  .leo-profile {
    width: 32px;
    height: 32px;
  }

  .leo-container {
    gap: 4px;
  }

  .leo-message {
    max-width: 84%;
    font-size: 15px;
    padding: 8px 10px;
  }

  .talk-label {
    font-size: 13px;
    padding: 8px 10px;
    max-width: 200px;
    border-radius: 10px;
  }
}

/* Tablets */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .leo-profile {
    width: 36px;
    height: 36px;
  }

  .leo-container {
    gap: 6px;
  }

  .leo-message {
    max-width: 86%;
    font-size: 16px;
    padding: 10px 12px;
  }

  .talk-label {
    font-size: 14px;
    padding: 9px 12px;
    max-width: 220px;
    border-radius: 11px;
  }
}

/* Small desktops */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .leo-profile {
    width: 40px;
    height: 40px;
  }

  .leo-container {
    gap: 8px;
  }

  .leo-message {
    max-width: 88%;
    font-size: 16px;
    padding: 12px 14px;
  }

  .talk-label {
    font-size: 15px;
    padding: 10px 14px;
    max-width: 240px;
    border-radius: 12px;
  }
}

/* Large desktops and up */
@media screen and (min-width: 1440px) {
  .leo-profile {
    width: 44px;
    height: 44px;
  }

  .leo-container {
    gap: 10px;
  }

  .leo-message {
    max-width: 90%;
    font-size: 17px;
    padding: 14px 16px;
  }

  .talk-label {
    font-size: 16px;
    padding: 12px 16px;
    max-width: 260px;
    border-radius: 14px;
  }
}

/* Special breakpoints for specific screen sizes */

@media (min-width: 1500px) and (max-width: 1560px) and (min-height: 800px) and (max-height: 830px) {
  .leo-profile {
    width: 42px;
    height: 42px;
  }

  .leo-container {
    gap: 8px;
  }

  .leo-message {
    max-width: 89%;
    font-size: 16px;
    padding: 12px 14px;
  }

  .talk-label {
    font-size: 15px;
    padding: 10px 14px;
    max-width: 250px;
    border-radius: 12px;
  }
}

@media (min-width: 1250px) and (max-width: 1280px) and (min-height: 660px) and (max-height: 680px) {
  .leo-profile {
    width: 38px;
    height: 38px;
  }

  .leo-container {
    gap: 6px;
  }

  .leo-message {
    max-width: 87%;
    font-size: 15px;
    padding: 10px 12px;
  }

  .talk-label {
    font-size: 14px;
    padding: 9px 12px;
    max-width: 230px;
    border-radius: 11px;
  }
}

@media (min-width: 1900px) and (min-height: 1080px) {
  .leo-profile {
    width: 48px;
    height: 48px;
  }

  .leo-container {
    gap: 12px;
  }

  .leo-message {
    max-width: 92%;
    font-size: 18px;
    padding: 16px 18px;
  }

  .talk-label {
    font-size: 17px;
    padding: 14px 18px;
    max-width: 270px;
    border-radius: 15px;
  }
}

@media (min-width: 2000px) and (min-height: 1080px) {
  .leo-profile {
    width: 50px;
    height: 50px;
  }

  .leo-container {
    gap: 14px;
  }

  .leo-message {
    max-width: 94%;
    font-size: 19px;
    padding: 18px 20px;
  }

  .talk-label {
    font-size: 18px;
    padding: 16px 20px;
    max-width: 280px;
    border-radius: 16px;
  }
}

@media (min-width: 2400px) and (min-height: 1080px) {
  .leo-profile {
    width: 54px;
    height: 54px;
  }

  .leo-container {
    gap: 16px;
  }

  .leo-message {
    max-width: 96%;
    font-size: 20px;
    padding: 20px 22px;
  }

  .talk-label {
    font-size: 19px;
    padding: 18px 22px;
    max-width: 300px;
    border-radius: 18px;
  }
}


/* LEO messages (Left side, Gray bubble with profile) */
.leo-container {
  display: flex;
  align-items: flex-end;
  /* Keeps profile aligned at the bottom */
  justify-content: flex-start;
  gap: 2px;
  margin-left: 2px;
  margin-top: 5px;
}

/* LEO's profile picture */
.leo-profile {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 4px;
  margin-bottom: 8px;
  /* Moves profile slightly up */
  background-image: url('/assets/img/logo/STANDING LEO2by2.png');
  background-size: cover;
  background-position: center;
}

.profileoffcanvas {
  text-align: left;
  padding: 10px;
  position: relative;
  border-radius: 10px;
  display: flex;
  align-items: center;
}

/* Profile Image Styling */
.profileoffcanvas img {
  height: var(--profile-img-size);
  width: var(--profile-img-size);
  object-fit: cover;
  /* Ensures the image is properly cropped */
  object-position: top;
  /* Centers the image */
  border-radius: 50%;
  /* Keeps it circular */
}

/* User messages (Right side, Blue bubble) */
.user-message {
  background-color: #007bff;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 18px;
  margin-right: 8px;
  /* Reduced right space */
  margin-left: auto;
  max-width: 72%;
  /* Slightly adjusted width */
  padding: 10px 14px;
  /* Slightly reduced padding */
  word-wrap: break-word;
  animation: fadeIn 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 8px;
  /* Reduced bottom margin */
  white-space: pre-line;
}

/* Categories Tutorial buttons */
.link {
  color: blue;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}

.link:hover {
  color: darkblue;
}

.watch-tutorial-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 3px;
  /* Binawasan ang gap */
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  /* Para sa spacing kapag may icon */
}

.watch-tutorial-btn:hover {
  background: linear-gradient(135deg, #0056b3, #00408a);
  transform: translateY(-2px);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.watch-tutorial-btn:active {
  transform: translateY(1px);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}

/* button pdf */
.pdf-tutorial-btn {
  background: linear-gradient(135deg, #ff0000, #dd0505);
  color: white;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 3px;
  /* Binawasan ang gap */
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  /* Para sa spacing kapag may icon */
}

.pdf-tutorial-btn:hover {
  background: linear-gradient(135deg, #f51313, #a71717);
  transform: translateY(-2px);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.pdf-tutorial-btn:active {
  transform: translateY(1px);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}

/* Typing indicator */
.typing {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 14px;
  background-color: #e4e6eb;
  border-radius: 18px;
  width: fit-content;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #444;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Animate LEO */
.typing strong {
  animation: fadeInOut 1.5s infinite ease-in-out;
}

/* Typing dots */
.typing .dot {
  width: 9px;
  height: 9px;
  background-color: rgb(0, 94, 148);
  /* Messenger blue */
  border-radius: 50%;
  display: inline-block;
  animation: typingBounce 1.5s infinite ease-in-out;
  transform-origin: center bottom;
}

/* Delay for each dot */
.typing .dot:nth-child(1) {
  animation-delay: 0s;
}

.typing .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing .dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Smooth bounce + fade effect */
@keyframes typingBounce {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-3px) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
}

/* Fade in and out effect for LEO */
@keyframes fadeInOut {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.6;
  }
}


/* Suggested questions inside chat (Styled like Instagram quick replies) */
/* Ensure question list stays visible */
.question-list {
  display: none;
  background: white;
  padding: 10px;
  width: 90%;
  max-width: 600px;
  /* Para hindi masyadong malapad */
  margin: 0 auto;
  /* Para ma-center horizontally */
  text-align: center;
  /* Kung gusto mo naka-center din ang text */
}


/* Question links */
.question-list p {
  margin: 5px 0;
}

.question-list a {
  display: block;
  text-decoration: none;
  color: #2B4F9B;
  font-weight: bold;
  font-size: 14px;
  background: #e9ecef;
  padding: 8px 12px;
  border-radius: 15px;
  transition: 0.3s;
}

.question-list a:hover {
  background: #ddd;
}

/* Chatbox container */
#chatbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
  overflow-y: auto;
  /* Enable scrolling */
  width: 100%;
  flex-grow: 1;
  /* Allow it to expand */
}

/* Ensure chat messages stay at the bottom */
.chat-area {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 15px;
  align-items: center;
  border-top: 1px solid #ccc;
}

/* Wrapper for input and button */
.chat-area {
  display: flex;
  align-items: center;
  /* Center vertically */
}

/* Chat input field */
#chatInput {
  flex-grow: 1;
  padding: 10px;
  border: 0px solid #ccc;
  border-radius: 15px;
  outline: none;
  width: 85%;
  box-shadow:
    3px 2px 3px rgba(0, 0, 0, 0.4),
    /* Bottom-right shadow */
    0px -1px 2px rgba(0, 0, 0, 0.1);
  /* Thinner top shadow */
  transition: border 0.2s ease, box-shadow 0.2s ease;
}


/* Focus state */
#chatInput:focus {
  border: 1px solid rgb(0, 162, 255);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.6);
}

/* Send button */
.chat-area button {
  background: rgb(0, 94, 148);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 15px;
  margin-left: 8px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.1s, box-shadow 0.1s;
}

/* Hover effect */
.chat-area button:hover {
  background: #0056b3;
}

/* Pressed effect (looks sunken, shadow disappears) */
.chat-area button:active {
  transform: translateY(2px);
  box-shadow: none;
}



/* Suggestions container (positioned above the input) */
#suggestionsBox {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  z-index: 1000;
  width: 90%;
  border-radius: 5px;
  display: none;
  max-height: unset;
  /* Remove height restriction */
  overflow-y: hidden;
  /* Disable scrolling */
}

.suggestion-item {
  padding: 8px;
  cursor: pointer;
}

.suggestion-item:hover,
.suggestion-item.selected,
.suggestions div:hover {
  background: rgb(0, 123, 255);
  color: white;
}

.suggestions {
  position: absolute;
  bottom: 50px;
  /* Moves suggestions above the input */
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 80%;
  max-width: 300px;
  display: none;
  z-index: 10;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.suggestions.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.suggestions div {
  padding: 8px;
  cursor: pointer;
}

.suggestions div:hover {
  background: rgb(0, 123, 255);
  ;
}

.offcanvas.custom-half-width {
  width: 30vw;
  max-width: 100%;
}

/* Huwag ito i-apply sa mga phone (screen width less than 768px) */
@media (max-width: 767.98px) {
  .offcanvas.custom-half-width {
    width: 100%;
    /* or alisin ang width override */
  }
}

.chat-header {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: rgb(0, 94, 148);
  /* dark blue-gray */
  border-bottom: 2px solid rgb(0, 94, 148);
  /* subtle underline */
  padding-bottom: 5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  user-select: none;
  /* disables text highlight on click */
}


.offcanvas-body {
  padding-bottom: 20px;
  /* Mas maliit na padding */
  padding-left: 8px;
  padding-right: 8px;
  overflow-y: auto;
}



/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* #rateMe {
        display: none;
        margin: 10px auto;
        padding: 8px 16px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    #rateMe:hover {
        background-color: #0056b3;
    } */
/* Ai code end*/


/* CHAT WITH LEO */

.feedback-container img {
  width: 100px;
  /* Adjusted size */
  height: 100px;
  /* Perfect circle */
  border-radius: 50%;
  /* Makes it circular */
  object-fit: cover;
  /* Ensures proper scaling */
  border: 3px solid #ddd;
  /* Optional: Adds a border */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  /* Optional: Adds a shadow */
  display: block;
  margin: 0 auto 15px auto;
  /* Centers the image */
}


/* Star Rating - 3D Effect */
/* Star Rating - Cute 3D Effect */
.star-rating {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 40px;
}

.star {
  cursor: pointer;
  color: #ccc;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.2));
  border-radius: 10px;
  /* Soft rounded edges */
}

/* Star Hover and Active (Glowing, Cute Effect) */
.star:hover,
.star.active {
  color: #ffcc00;
  transform: scale(1.3) translateY(-3px) rotate(-5deg);
  text-shadow: 0px 2px 2px rgba(255, 204, 0, 0.6);
  filter: drop-shadow(0px 6px 8px rgba(255, 204, 0, 0.5));
}

/* Animate Click */
.star:active {
  transform: scale(1.1) translateY(-2px) rotate(0deg);
  filter: drop-shadow(0px 3px 5px rgba(255, 204, 0, 0.7));
}

.message-box {
  width: 100%;
  height: 100px;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
}

.submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  /* Optional: Makes the button full width */
}

.btn-close.custom-white {
  filter: brightness(0) invert(1);
}


.watch-tutorial-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 3px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.watch-tutorial-btn:hover {
  background: linear-gradient(135deg, #0056b3, #00408a);
  transform: translateY(-2px);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.watch-tutorial-btn:active {
  transform: translateY(1px);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}

.feedback-container {
  max-width: 450px;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin: 50px auto;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}



.name-input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
}

.input-container {
  position: relative;
  margin-bottom: 15px;
}

.input-container input,
.input-container textarea {
  width: 100%;
  padding: 14px 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: white;
  position: relative;
  resize: none;
  /* Para hindi lumaki ang textarea */
}

.input-container label {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: #aaa;
  background-color: white;
  padding: 0 5px;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

/* Default label position for input fields */
.input-container input+label {
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
  font-size: 14px;
  color: #aaa;
  transition: all 0.3s ease;
}

/* Para sa textarea, mas mataas agad */
.input-container textarea+label {
  top: 5px;
  /* Taas pa lalo! */
}

/* Adjust Your Name label */
.input-container input:focus+label,
.input-container input:not(:placeholder-shown)+label {
  top: -10px;
  /* Mas mataas para di matakpan */
  font-size: 12px;
  color: #007bff;
  transform: translateY(0);
}


.input-container textarea:focus+label,
.input-container textarea:not(:placeholder-shown)+label {
  top: -10px;
  /* Mas mataas pa para sure na walang overlap */
  font-size: 12px;
  color: #007bff;
  transform: translateY(0);
}

/* Border highlight kapag naka-focus */
.input-container input:focus,
.input-container textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* CHAT WITH LEO END */

@media (max-width: 768px) {
  .card-row-fix {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .card-row-fix>.col-12 {
    order: initial;
  }
}

.card-row-fix>div {
  order: initial;
}

/* Style for unavailable buttons */
.unavailable-btn {
  background-color: #f5f5f5;
  /* Light gray background */
  border: 1px solid #dcdcdc;
  /* Light gray border */
  color: #a0a0a0;
  /* Text color gray */
  cursor: not-allowed;
  /* Indicates that it's not clickable */
  font-weight: bold;
}

.unavailable-btn:hover {
  background-color: #e0e0e0;
  /* Slightly darker gray on hover */
}

.unavailable-btn .btn-text {
  margin-left: 5px;
}

.unavailable-btn i {
  margin-right: 5px;
  color: #a0a0a0;
  /* Icon color */
}