:root {
  --primary-color: #050C9C;
  --secondary-color: #3572EF;
  --gradient-color: linear-gradient(to right, #050C9C, #3572EF);
}

* {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-style: normal;
}

body {
  width: 100% !important;
}


/* Classes */
.cursor-pointer:hover {
  cursor: pointer !important;
}

/* Text Limiting  */
.text-truncate-multiline {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Drop down menu */
.nav-item:hover .dropdown-menu {
  display: block;
  transition: .2s;
}

/* Offcanvas  */
.mainmenu-active {
  background: var(--gradient-color);
  color: WHITE !important;
  border-radius: 50px;
}

.mainmenu-active:hover {
  background: var(--gradient-color);
  color: WHITE;
  border-radius: 50px;
}

.submenu-active {
  color: var(--primary-color);
}

.submenu-active:hover {
  color: var(--primary-color);
}

/* Popup Message */
/* CSS for the popup */
.popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 5px;
  transform: translateX(-50%);
  background-color: #ffffff;
  padding: 10px;
  z-index: 9999;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  text-align: center;
  font-size: 16px;
}

.success {
  border: 2px solid #4CAF50;
  /* Green border */
  color: #4CAF50;
  /* Green text */
}

.error {
  border: 2px solid RED;
  /* Green border */
  color: RED;
  /* Green text */
}

/* CSS for the close button */
.popup-close {
  background-color: #4CAF50;
  /* Green */
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 5px;
}

/* Custom Radio button */
.custom-radio-button {
  display: none;
}

.custom-radio-label {
  position: relative;
  display: inline-block;
  padding-left: 35px;
  margin-right: 20px;
  cursor: pointer;
  font-size: 18px;
}

.custom-radio-label:before,
.custom-radio-label:after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.custom-radio-label:before {
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background-color: #f0f0f0;
  border: 2px solid #ccc;
  transition: background-color 0.2s, border-color 0.2s;
}

.custom-radio-button:checked+.custom-radio-label:before {
  background-color: #007bff;
  border-color: #007bff;
}

.custom-radio-label:after {
  top: 7px;
  left: 7px;
  width: 11px;
  height: 11px;
  background-color: white;
  transform: scale(0);
  transition: transform 0.2s;
}

.custom-radio-button:checked+.custom-radio-label:after {
  transform: scale(1);
}

/* Custom Check Button */

.custom-check-button {
  border: 2px solid RED;
  width: 28px !important;
  height: 28px !important;
}

.custom-check-button:focus {
  border: 2px solid RED;
  outline: none !important;
  /* Remove outline */
  box-shadow: none !important;
  /* Remove box-shadow */
}

.custom-check-button:checked {
  background-color: GREEN !important;
  border: 2px solid GREEN !important;
  color: WHITE !important;
}

/* Font awesome icon for <select> */
.select-icon {
  font-family: "FontAwesome", "Arial", sans-serif;
}

/* Change mage Button */
.image-container {
  position: relative;
}

.rounded-image {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.change-btn {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #007bff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);

}

.change-btn:hover {
  background-color: #007bff;
  color: white;
}

.change-btn i {
  font-size: 22px;
}

#cropModal .modal-dialog {
  max-width: 500px;
}

#croppedImage {
  width: 100%;
}

/* Error input */
.error-input {
  border: 2px solid RED !important;
}

/* Box Shadow */
.box-shadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

/* Reset Button */
.btn-reset {
  background-color: #f8f9fa;
  /* Light background */
  color: #6c757d;
  /* Text color */
  border: 1px solid #ced4da;
  /* Border color */
  border-radius: 0.25rem;
  /* Rounded corners */
  padding: 0.375rem 0.75rem;
  /* Button padding */
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-reset:hover {
  background-color: #e2e6ea;
  /* Slightly darker background on hover */
  color: #495057;
  /* Darker text on hover */
}

.btn-reset i {
  margin-right: 5px;
  /* Space between icon and text */
}

/* Gallery */
.gallery-card {
  margin-bottom: 30px;
}

.gallery-card img {
  transition: transform 0.3s;
}

.gallery-card img:hover {
  transform: scale(1.05);
}

/* COunt Down Boxes */
.count-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  padding: 30px;
  min-width: 80px;
  text-align: center;
  color: white;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.count-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.count-box:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.count-box h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  z-index: 1;
  position: relative;
}

.count-box p {
  margin-top: 15px;
  font-size: 1.2rem;
  font-weight: 500;
  z-index: 1;
  position: relative;
}

.count-box .icon {
  font-size: 4rem;
  opacity: 0.2;
  position: absolute;
  top: -20px;
  right: -14px;
  z-index: 0;
}


/* Director Photo Styling with Shadow */
.director-photo {
  width: 300px;
  /* Set a fixed width */
  height: 300px;
  /* Set a fixed height */
  border-radius: 50%;
  /* Make it round */
  object-fit: cover;
  /* Ensure the image covers the area without distortion */
  border: 5px solid #fff;
  /* White border around the image */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  /* Soft shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Smooth transition for hover effect */
  margin: 20px;
  /* Space around the photo */
}

/* Hover effect for the director's photo */
.director-photo:hover {
  transform: scale(1.05);
  /* Slightly enlarge the photo on hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  /* Enhanced shadow on hover */
}