/* Apply professional font throughout the site */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
select,
.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
  font-family: "Montserrat", sans-serif;
}

/* Make headings slightly bolder for better readability */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

/* Adjust button text for better appearance */
.btn {
  font-weight: 500;
  letter-spacing: 0.3px;
}

.navbar-custom {
  background-color: #14183E;
  /* Changed from white to blue */
  min-height: 100px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
  /* Optional: adds subtle shadow */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  /* Remove transition and transform to keep always visible */
  transition: none !important;
  transform: none !important;
}

.navbar-custom .nav-link {
  color: white !important;
  /* Changed from blue to white */
  padding-top: 15px;
  padding-bottom: 15px;
  font-weight: 500;
}

.navbar-custom .navbar-brand {
  color: white !important;
  /* Changed from blue to white */
  font-weight: 700;
  font-size: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Update hover states for better visibility */
.navbar-custom .nav-link:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Keep dropdown menus with good contrast */
.navbar-custom .dropdown-menu {
  background-color: white;
}

.navbar-custom .dropdown-item {
  color: #16207d !important;
  /* Keep dropdown text blue for contrast */
}

/* Make navbar toggler visible against dark background */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ensure no white space at bottom */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container-main {
  flex: 1;
  padding-top: 110px; /* Ensure enough space for fixed navbar */
}

footer.text-white {
  margin-bottom: 0;
  width: 100%;
}

/* Global text color */
body {
  color: #16207d;
}

/* Links color */
a {
  color: #16207d;
}

a:hover {
  color: #16207d;
  opacity: 0.8;
}

/* Better centering for navbar */
.navbar-collapse {
  display: flex;
  justify-content: space-between;
}

.navbar-brand-container {
  width: 20%;
}

.navbar-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-right {
  width: 30%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Remove margin from Contact Us nav-item if present */
.navbar-right .btn {
  margin-left: 16px;
}

/* Contact Us button style to match provided image */
.navbar-right .btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1.5px solid #fff !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, border 0.2s;
  margin-left: 16px;
  /* Remove any transform/scale effect on hover */
  transform: none !important;
}

.navbar-right .btn:hover,
.navbar-right .btn:focus {
  background: rgba(255,255,255,0.18) !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
  opacity: 0.92;
  transform: none !important;
}

.navbar-right .get-started-btn-override {
  background-color: #388e35 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600 !important;
  box-shadow: 0 0 10px #388e35 !important;
  animation: pulse-glow 2s infinite !important;
  /* border-radius: 15px !important; */
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
}

.navbar-right .get-started-btn-override:hover,
.navbar-right .get-started-btn-override:focus {
  background-color: #388e35 !important;
  color: #fff !important;
  box-shadow: 0 0 20px #388e35, 0 0 40px #388e35 !important;
  transform: scale(1.05) !important;
}

/* Make sure items are evenly spaced */
.navbar-nav.navbar-center-items {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.navbar-nav.navbar-center-items .nav-item {
  margin: 0 15px;
}

/* Remove blue outline/border from input fields */
.form-control:focus {
  box-shadow: none;
  border-color: #ced4da;
  /* Default Bootstrap border color */
  outline: none;
}

/* Specific styling for subscription form */
.subscription-section .form-control:focus {
  border-color: #ced4da;
  box-shadow: none;
}

.subscription-section .input-group-text,
.subscription-section .form-control {
  border-color: #ced4da;
}

/* Remove focus outline from buttons too */
.btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Remove text decoration from footer links */
footer a.text-white {
  text-decoration: none;
}

footer a.text-white:hover {
  text-decoration: none;
  opacity: 0.8;
}

.navbar-custom .navbar-brand {
  padding-top: 0px;
  padding-bottom: 0px;
}

footer,
footer * {
  transition: none !important;
}

footer.text-white,
footer.text-white * {
  transition: none !important;
}

footer *,
footer *::before,
footer *::after {
  transition: none !important;
}

@media (max-width: 767px) {
  .subscription-section {
    align-items: center !important;
  }
}
