/*=================================================
  Global Reset & Base Styles
=================================================*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #000;
}

/*=================================================
  Navbar Styling
=================================================*/
.navbar {
  font-size: 1rem;
}

.navbar-brand {
  margin-right: 20px;
}

.bg-light {
  background-color: #fff !important;
}

.navbar-nav .nav-link {
  font-size: 1.3rem;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #007bff;
  text-decoration: none;
}

.navbar-nav .nav-item {
  margin-right: 30px;
}

/* Dropdown Styling */
.navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  min-width: 200px;
}

.navbar-nav .dropdown-menu .dropdown-item {
  font-size: 1.1rem;
  color: #333;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
  background-color: #ddd;
  color: #000;
  text-decoration: underline;
}

/* Navbar Subtitle */
.nav-subtitle {
  display: block;
  font-size: 0.9rem;
  color: #000;
  margin-top: -5px;
}
.navbar-nav .nav-subtitle:hover,
.navbar-nav .nav-subtitle:focus {
  color: #007bff;
  text-decoration: none;
}

/*=================================================
  Boxes & Utility Classes
=================================================*/
.box1 {
  background-color: #6b6b6be0;
  color: #fff;
}

.box2 {
  background-color: #fff;
  color: #000;
}

.box-grey {
  background-color: #eeebebe0;
  color: #000;
}

/*=================================================
  Fullscreen Background Image Section
=================================================*/
.fullscreen-bg1-for-transparentnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('/images/fullscreen.jpg') no-repeat center center;
  background-size: cover;
  z-index: 0;
  overflow: hidden;
}

.fullscreen-bg1-for-transparentnav::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.fullscreen-overlay-text1 {
  position: absolute;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  color: #fff;
  text-align: right;
  padding-right: 20px;
}

.fullscreen-overlay-text1 h1,
.fullscreen-overlay-text1 h4 {
  margin-bottom: 0.5rem;
}

.fullscreen-overlay-text1 h1 {
  font-size: 3.5rem;
}

.fullscreen-overlay-text1 h4 {
  font-size: 2rem;
}

/* Transparent Navbar */
.navbar-transparent {
  background-color: transparent !important;
  color: #fff;
}

.navbar-transparent .nav-link,
.navbar-transparent .navbar-brand,
.navbar-transparent .navbar-toggler-text {
  color: #fff;
}

.navbar-transparent .navbar-toggler {
  border-color: transparent;
}

.fullscreen-overlay-text-fortransparentnav {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding-right: 20px;
}

/*=================================================
  Carousel Section
=================================================*/
.fullpage-carousel-container {
  height: calc(100vh - 100px); /* Adjust based on navbar height */
  overflow: hidden;
}

.fullpage-carousel-container .carousel,
.fullpage-carousel-container .carousel-inner,
.fullpage-carousel-container .carousel-item,
.fullpage-carousel-container .carousel-item img {
  height: 100%;
  object-fit: cover;
}

.fullpage-carousel-container .carousel-caption {
  position: absolute;
  top: 80%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
}

.fullpage-carousel-container .carousel-caption h3 {
  font-size: 1.25rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

/*=================================================
  Boxes Section
=================================================*/
.box {
  margin-bottom: 15px;
  text-align: center;
  color: #333;
}

.box img {
  width: 100%;
  margin-bottom: 10px;
}

.box a {
  color: #007bff;
  text-decoration: none;
}

.box a:hover,
.box a:focus {
  color: #0056b3;
  text-decoration: underline;
}

/*=================================================
  Global Link Styles
=================================================*/
body a {
  color: #007bff;
  text-decoration: none;
}

body a:hover,
body a:focus {
  color: #0056b3;
  text-decoration: underline;
}

/*=================================================
  Navbar & Dropdown Responsive Fixes
=================================================*/
.navbar-nav {
  flex-wrap: wrap;
}

.navbar-nav .nav-item {
  flex: 0 0 auto;
}

/* Language Switcher & Contact Info */
.language-switcher a {
  margin-left: 5px;
  text-decoration: none;
}

.language-switcher a:hover {
  text-decoration: none;
}

.contact-info .phone-link {
  text-decoration: none;
  color: #0099d8;
}

.contact-info .phone-link:hover {
  text-decoration: none;
}

/*=================================================
  Card Components
=================================================*/
.card {
  margin-bottom: 20px;
  border: none;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.card-body {
  padding: 10px;
}

.card-description {
  font-size: 0.9rem;
  color: #666;
}

/* Overlay Cards */
.card-overlay {
  position: relative;
  overflow: hidden;
}

.card-overlay .card-img-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: background 0.3s;
}

.card-overlay .card-text {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.card-overlay:hover .card-img-overlay,
.card-overlay:focus .card-img-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
}
