/* General Styling */
* {
  font-family: Arial, sans-serif !important;
}
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

.content {
  flex: 1; /* Pushes the footer to the bottom */
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: #f5f5f5;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  font-family: Arial, sans-serif;
  height: 2.5rem;
  transition: all 0.5s ease-in-out;
}

.link-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.link-wrap-drop {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  height: 6rem;
  width: 100%;
  margin-left: -27px;
  display: none;
}

.navbar {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
}

.logo img {
  height: 40px;
}
.logo-text {
  margin: 0;
  margin-top: -5px;
  font-size: 1rem;
  text-transform: uppercase;
  font-style: italic;
  font-size: 0.8rem;
  font-weight: 600;
}
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.nav-links li {
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.nav-links a:hover {
  background-color: #d32f2f;
  color: #fff;
}
.nav-links-drop {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.nav-links-drop li {
  font-size: 14px;
}

.nav-links-drop a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.nav-links-drop a:hover {
  background-color: #d32f2f;
  color: #fff;
}
.nav-links-drop {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.nav-links-drop li {
  font-size: 14px;
}

.nav-links-drop a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.nav-links-drop a:hover {
  background-color: #d32f2f;
  color: #fff;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-bar input {
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 14px;
}

.search-bar button {
  background-color: #d32f2f;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-bar button:hover {
  background-color: #b71c1c;
}

/* Footer Styling Inspired by Canon */
.footer {
  background-color: #f5f5f5;
  padding: 1rem 0.5rem;
  border-top: 1px solid #ddd;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-around; /* Space around all elements */
  align-items: center;
  flex-wrap: wrap; /* Ensures responsiveness */
  text-align: center;
}

.footer-content > * {
  flex: 1; /* Equal width for all child elements */
  max-width: 400px; /* Optional: Limit the maximum width */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  justify-content: space-around;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d32f2f;
}

.footer-logo img {
  height: 50px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer-social a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #d32f2f;
}

.footer-copyright {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 10px;
}

/* MAIN CONTAINER */
.main-cont {
  min-height: 100vh; /* Use min-height to ensure it grows with content */
}

/* Styling the scrollbar */
::-webkit-scrollbar {
  width: 12px; /* Scrollbar width */
  height: 12px; /* Scrollbar height */
}

::-webkit-scrollbar-track {
  background: #f9f9f9; /* Light background for the track */
}

::-webkit-scrollbar-thumb {
  background-color: #d32f2f; /* Red scrollbar thumb */
  border-radius: 6px; /* Rounded corners for a modern look */
  border: 3px solid #f9f9f9; /* Adds padding around the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #b71c1c; /* Darker red on hover */
}

.drop-menu {
  height: 2rem;
  cursor: pointer;
  display: none;
}

@media only screen and (max-width: 1140px) {
  .drop-menu {
    height: 2rem;
    cursor: pointer;
    display: block;
  }
  .nav-links {
    display: none;
  }
  .search-bar {
    display: none;
  }
  .slider-container img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
  }
}

#drop-login {
  display: none;
}

@media (max-width: 1140px) {
  #drop-login {
    display: block;
  }
}

/* SLIDER RESPONSIVE */
.slider-container {
  position: relative;
  width: 100%;
  height: 86vh; /* Default height */
  overflow: hidden;
}

/* Large screens (Desktops, Laptops) */
@media (max-width: 1366px) {
  .slider-container {
    height: 80vh !important;
  }
}

@media (max-width: 1280px) {
  .slider-container {
    height: 69vh !important;
  }
}

/* Medium screens (Tablets) */
@media (max-width: 1024px) {
  .slider-container {
    height: 58vh !important;
  }
}

@media (max-width: 900px) {
  .slider-container {
    height: 55vh !important;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 52vh !important;
  }
  .prev {
    display: none !important;
  }
  .next {
    display: none !important;
  }
}

/* Small screens (Phones) */
@media (max-width: 640px) {
  .slider-container {
    height: 42vh !important;
  }
}
@media (max-width: 540px) {
  .slider-container {
    height: 35vh !important;
  }
}

@media (max-width: 375px) {
  .slider-container {
    height: 30vh !important;
  }
}

@media (max-width: 320px) {
  .slider-container {
    height: 40vh;
  }
}

.logo-text-main {
  color: red;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 3px;
}

.whatsapp-link {
  height: 2.5rem;
  width: auto;
  max-width: 60px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  z-index: 9999;
  display: block !important;
}

.whatsapp-link:hover {
  transform: scale(1.1); /* Slightly enlarges on hover */
  transition: 0.3s ease-in-out;
}

@supports (-webkit-touch-callout: none) {
  .whatsapp-link {
    position: absolute;
  }
}

@media (max-width: 768px) {
  .footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    flex-direction: column;
    gap: 1rem;
  }
}
.user-cont {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
}

.username {
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  color: #333;
  white-space: nowrap;
  text-transform: capitalize;
}

.user-photo {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.error-container {
  text-align: center;
  padding: 4rem 2rem;
}

.error-container h1 {
  font-size: 2rem;
  color: #d9534f;
}

.error-container p {
  font-size: 1.2rem;
  color: #555;
}

.error-container img {
  max-width: 300px;
  margin-top: 1rem;
}

.signup-container {
  max-width: 400px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

.signup-form .form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.signup-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.signup-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.btn-signup {
  width: 100%;
  padding: 10px;
  background: #d32f2f;
  color: white;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-signup:hover {
  background: #b71c1c;
}

.already-account {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.already-account a {
  color: red;
  font-weight: bold;
  text-decoration: none;
}

.already-account a:hover {
  text-decoration: underline;
}

.forgot-password-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.forgot-password-container h1 {
  font-size: 1.8rem;
  color: #d32f2f;
  margin-bottom: 1rem;
}

.forgot-password-container p {
  color: #555;
  margin-bottom: 1.5rem;
}

.forgot-password-container input {
  width: 92%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.btn-red {
  display: inline-block;
  background: #d32f2f;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-red:hover {
  background: #b71c1c;
}

.dropdown-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.dropdown-menu a {
  padding: 0.4rem;
  color: #f9f9f9;
  font-size: 0.9rem;
  background-color: #d32f2f;
  border-radius: 10px;
}

.dropdown-menu a:link,
.dropdown-menu a:visited,
.dropdown-menu a:hover,
.dropdown-menu a:active {
  text-decoration: none;
}

.status-bar {
  position: fixed;
  top: 6%;
  left: 0;
  width: 100%;
  background-color: #b71c1c;
  color: white;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  z-index: 9999;
}

.status-text {
  color: #f5f5f5;
  font-weight: 500;
  letter-spacing: 1px;
}

.terms-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.7;
}

.terms-container h1 {
  font-size: 2.5rem;
  color: #b71c1c;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #b71c1c;
  padding-bottom: 0.5rem;
}

.terms-container p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.terms-container ul {
  list-style-type: disc;
  padding-left: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.terms-container ul li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.terms-container strong {
  color: #b71c1c;
}

@media screen and (max-width: 600px) {
  .terms-container {
    padding: 1rem;
  }

  .terms-container h1 {
    font-size: 2rem;
  }

  .terms-container ul {
    padding-left: 1.2rem;
  }
}

.policy-page {
  max-width: 850px;
  margin: 3rem auto;
  padding: 2.5rem;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.page-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  color: #b71c1c; /* Brand red */
  margin-bottom: 2rem;
}

.page-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  margin: 7px auto 0;
  background-color: #d32f2f;
}

.policies-cont {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.policy {
  border-bottom: 1px solid grey;
}

.policy-head {
  font-size: 1.1rem;
  color: #000;
  opacity: 0.9;
  margin-bottom: -7px;
}

.policy ul li {
  margin-bottom: 0.8rem;
}

.policy ul li h5 {
  font-size: 0.9rem;
  margin: 0;
}
.policy ul li p {
  margin: 0.3rem 0rem 0.5rem 0rem;
}

.policy-page p {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.policy-page ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  margin-bottom: 1rem;
}

.policy-page li {
  margin-bottom: 0.6rem;
}

@media (max-width: 550px) {
  .policy-page {
    padding: 1.5rem;
  }
}

.footer-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.logo-link {
  text-decoration: none;
  color: #000;
}

.logo-link:link,
.logo-link:visited,
.logo-link:hover,
.logo-link:active {
  text-decoration: none;
  color: #000;
}
