/* General Styles */
body {
  background: #111827 url("./img/bg.webp") no-repeat 45% 45%;
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff; /* Ensure text is white for better readability */
}

/* Horizontal Flag Lines Fixed at Header Bottom */
.header-lines {
  position: absolute;
  width: 100%; /* Ensures lines span the full width of the header */
  display: flex;
  flex-direction: column;
  bottom: 0;
}

/* Horizontal Flag Lines Fixed at Footer Top */
.footer-lines {
  position: relative; /* Keeps the lines at the top of the footer */
  top: 0; /* Aligns lines to the top of the footer */
  width: 100%; /* Ensures lines span the full width of the footer */
  display: flex;
  flex-direction: column;
}

.line {
  width: 100%; /* Full width */
  height: 3px; /* Height of each line */
}

.saffron {
  background-color: #ff9933; /* Saffron color */
}

.white {
  background-color: #ffffff; /* White color */
}

.green {
  background-color: #138808; /* Green color */
}

.footer-text {
  color: aliceblue;
}

/* Improve Navbar Background & Text */
.navbar {
  background-color: #111827ed; /* Fixed custom background color */
}

/* Logo Size Adjustment for Mobile */
@media (max-width: 768px) {
  .navbar-brand img {
    width: 40px;
    height: 40px;
  }
}

/* Form Elements */
.form-control,
.form-check-input,
.form-select {
  background-color: #1a1a1a45; /* Darker background for form elements */
  color: #ffffff; /* White text */
  border: 1px solid #66666688; /* Darker border */
}

.form-control:focus,
.form-select:focus {
  background-color: #1a1a1a; /* Slightly lighter on focus */
  border-color: #666666; /* Lighten border on focus */
  box-shadow: none; /* Remove default Bootstrap shadow */
  color: #ffffff; /* White text */
}

.form-check-input:checked {
  background-color: #0d6efd; /* Bootstrap primary blue for checked state */
  border-color: #0d6efd;
}

/* Card Styles */
.custom-card {
  background-color: #1a1a1a3a; /* Darker card background */
  border: 1px solid #2d2d2d78; /* Darker border */
  margin: 0 auto; /* Center the card */
  width: 90%; /* Default width for small screens */
  max-width: 90%; /* Ensures it doesn't exceed 90% on small screens */
  color: #ffffff; /* White text */
}

/* Large screens (≥992px) */
@media (min-width: 992px) {
  .custom-card {
    width: 70%; /* Set to 70% for large screens */
    max-width: 70%; /* Ensure it doesn't exceed 70% */
  }
}

.custom-card .card-title,
.custom-card .card-subtitle {
  color: #ffffff !important; /* Ensure titles are white */
}

/* Button Styles */
.btn-outline-info {
  color: #0dcaf0; /* Bootstrap info color */
  border-color: #0dcaf0;
}

.btn-outline-info:hover {
  background-color: #0dcaf0; /* Solid background on hover */
  color: #121212; /* Dark text on hover */
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
  body {
    padding-top: 80px; /* Reduce padding for mobile */
    padding-bottom: 30px;
  }

  .custom-card {
    width: 90%; /* Slightly smaller card on mobile */
  }
}

/* Placeholder Text Color */
::placeholder {
  color: #ffffff !important; /* White color */
  opacity: 0.7; /* Slight transparency for better readability */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #ffffff !important;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #ffffff !important;
}

/* Default size for desktop */
.carousel-inner img {
  height: 500px; /* Height for desktop */
  object-fit: cover; /* Ensure images fit without stretching */
}

/* Adjust size for mobile devices */
@media (max-width: 767.98px) {
  .carousel-inner img {
    height: 600px; /* Height for mobile */
  }
}

/* HERO BTN */
.custom-hover {
  transition: all 0.3s ease-in-out;
}

.custom-hover.btn-success:hover {
  background-color: transparent;
  color: #198754; /* Bootstrap success color */
  border: 1px solid #198754;
}

.custom-hover.btn-danger:hover {
  background-color: transparent;
  color: #dc3545; /* Bootstrap danger color */
  border: 1px solid #dc3545;
}

.custom-hover.btn-warning:hover {
  background-color: transparent;
  color: #ffc107; /* Bootstrap warning color */
  border: 1px solid #ffc107;
}

.custom-hover.btn-info:hover {
  background-color: transparent;
  color: #0dcaf0; /* Bootstrap info color */
  border: 1px solid #0dcaf0;
}

/* Remove spinner (increment/decrement buttons) */
#sNum::-webkit-outer-spin-button,
#sNum::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#sNum {
  -moz-appearance: textfield; /* Firefox */
}

#sDob::-webkit-calendar-picker-indicator {
  filter: invert(1); /* Makes the calendar icon white */
}

/* Sticky GIF at Bottom Right */
.sticky-gif {
  position: fixed;
  right: 10px;
  bottom: 20px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  z-index: 1000;
  transition: transform 0.5s ease-in-out;
  cursor: pointer;
  /* Make it clickable */
}

/* Mobile screens */
@media (max-width: 768px) {
  .sticky-gif {
    right: 0px;
    bottom: 10px;
    width: 60px;
    height: 60px;
    opacity: 0.9;
  }
}

.mapCard {
  background-color: #1a1a1a3a;
  /* Darker card background */
  border: 1px solid #2d2d2d78;
  /* Darker border */
  color: white;
}

@font-face {
  font-family: "PatrickHand";
  src: url("./fonts/PatrickHand.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.btnFonts {
  font-family: "PatrickHand";
}

@font-face {
  font-family: "MarkaziText";
  src: url("./fonts/MarkaziText.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.sldBtnFonts {
  font-family: "MarkaziText";
}

@font-face {
  font-family: "Shrikhand";
  src: url("./fonts/Shrikhand.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.tileAbout {
  font-family: "Shrikhand";
}
.sldHdFonts {
  font-family: "Shrikhand";
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Shadow effect */
}

@font-face {
  font-family: "ChelseaMarket";
  src: url("./fonts/ChelseaMarket.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.formheadFont {
  font-family: "ChelseaMarket";
}

.headFont {
  font-family: "ChelseaMarket";
  font-size: 30px; /* Default font size for larger screens */
}

/* Small font size for mobile screens */
@media (max-width: 600px) {
  .headFont {
    font-size: 14.7px;
  }
}

@font-face {
  font-family: "Caveat";
  src: url("./fonts/Caveat.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.head2Title {
  font-family: "Caveat";
  font-size: 22px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.92); /* Shadow effect */
}

@font-face {
  font-family: "Rasa";
  src: url("./fonts/Rasa.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.headTitle {
  font-family: "Rasa";
  font-size: 35px;
}

.contactTitle {
  font-family: "NotoSerifGujarati";
}

/* Small font size for mobile screens */
@media (max-width: 600px) {
  .headTitle {
    font-size: 24px;
  }
}

@font-face {
  font-family: "NotoSerifGujarati";
  src: url("./fonts/NotoSerifGujarati.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.gujFonts {
  font-family: "NotoSerifGujarati";
  font-size: 20px;
}

/* Small font size for mobile screens */
@media (max-width: 600px) {
  .gujFonts {
    font-size: 17px;
  }
}

@font-face {
  font-family: "Kalam";
  src: url("./fonts/Kalam-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.contactContent {
  font-family: "NotoSerifGujarati";
}

.footerFont {
  font-family: "Caveat";
}