/* ========== GLOBAL RESET ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========== BODY ========== */
body {
  background-color: #f0f4f8;
  font-family: 'Poppins', 'Segoe UI', Verdana, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  padding-top: 0.25em;
}

/* Groove Border Example */
p.groove {
  border-style: groove;
}

/* ========== HEADER ========== */
header {
  background-image: url(moneyfl.jpg);
  background-repeat: repeat;
  background-position: center;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

h1 {
  text-align: center;
  padding-top: 20px;
}

/* ========== NAVIGATION BAR ========== */
.navbar {
  background-color: #A9A9A9;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 55px;
  width: auto;
  margin: 0.5em;
}

/* Hamburger Button */
.menu-toggle {
  background: none;
  border: none;
  color: #004aad;
  font-size: 1.8em;
  cursor: pointer;
  display: none;
  margin-right: 1em;
}

/* --- Fix 1: Remove hover effects from right-side logo --- */
.menu-logo a,
.menu-logo img {
  pointer-events: none;
  text-decoration: none;
  border: none;
  outline: none;
}

.menu-logo a:hover,
.menu-logo img:hover {
  filter: none !important;
  text-shadow: none !important;
  background: none !important;
  color: inherit !important;
}

/* --- Fix 2: Prevent button hover from covering links --- */
.promo {
  position: relative;
  z-index: 1;
}

.center-table {
  position: relative;
  z-index: 2;
}

.button,
.button2 {
  position: relative;
  z-index: 3;
}
/* ========== NAV LINKS ========== */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-grow: 1;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  min-width: 100px;
  padding: 0 20px;
  color: #0052d4;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.nav-links li a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #0077ff, #00c8ff);
  box-shadow: 0 0 12px rgba(0,120,255,0.6),
              0 0 20px rgba(0,200,255,0.4);
  transform: translateY(-1px);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 55px;
  left: 0;
  background-color: #f1f1f1;
  display: none;
  flex-direction: column;
  min-width: 150px;
  z-index: 999;
}

.dropdown-menu li a {
  padding: 10px 20px;
  color: #0052d4;
  text-align: left;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Optional logo on right side of menu */
.menu-logo-img {
  height: 45px;
  width: auto;
  margin-left: 10px;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.menu-logo-img:hover {
  transform: scale(1.08);
}

/* ========== MAIN WRAPPER ========== */
#wrapper {
  background-color: #ffffff;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 1em;
}

/* ========== TABLES ========== */
.center-table {
  margin: 40px auto;
  border-collapse: collapse;
  width: 90%;
  max-width: 800px;
  text-align: center;
}

.center-table td {
  padding: 12px;
  border: 1px solid #ccc;
}

/* Helpful Links, Tables, and Other Links */
.center-table {
  margin: 20px auto;
  border-collapse: collapse;
  background-color: #1E3A8A;
  border-radius: 8px;
  overflow: hidden;
}

.center-table td {
  border: 1px solid #ddd;
  padding: 10px 18px;
  text-align: center;
}

.center-table a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.center-table a:hover {
  color: #00bfff;
  text-shadow: 0 0 8px #00bfff;
}

/* ========== FOOTER ========== */
footer {
  background-color: #343a40;
  color: #ffffff;
  font-size: 0.9em;
  font-style: italic;
  text-align: center;
  padding: 1em;
}

/* ========== PROMO / COUPON SECTIONS ========== */
/* === PROMO SECTION (COUPON + REFERRAL) === */
.promo {
  display: flex;
  justify-content: center;        /* Center horizontally */
  align-items: center;            /* Center vertically */
  margin: 25px auto;
}

.promo-card {
  background: #f8f9fb;            /* Light gray background for contrast */
  border: 1px solid #d1d1d1;      /* Soft border */
  border-radius: 16px;            /* Smooth corners */
  padding: 20px 30px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);  /* Gentle shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Buttons inside promo card */
.button, .button2 {
  background-color: #18446b;       /* Darker blue for good contrast */
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  margin: 10px 0;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover, .button2:hover {
  background-color: #0f3050;       /* Slightly darker blue on hover */
  transform: translateY(-2px);
}

.button2 {
  background-color: #006fc4;       /* Slightly lighter accent blue */
}

.button2:hover {
  background-color: #005aa0;
}

/* Ensure promo buttons don’t overlap other elements */
.promo, .promo-card, .button, .button2 {
  position: relative;
  z-index: 3;
}

/* === RESPONSIVE FIXES === */
@media (max-width: 768px) {
  .promo-card {
    width: 90%;
    padding: 15px;
  }
}


/* ========== CARDS ========== */
.card {
  margin-bottom: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.card-img-top {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== CONTACT FORM ========== */
.contact-inputs {
  width: 100%;
  max-width: 400px;
  height: 50px;
  border: none;
  outline: none;
  padding-left: 25px;
  font-weight: 500;
  color: #666;
  border-radius: 50px;
  margin-bottom: 1em;
}

.contact-left textarea {
  width: 100%;
  height: 200px;
  padding-left: 25px;
  border-radius: 25px;
  border: none;
  outline: none;
  font-weight: 500;
  color: #666;
}

.contact-inputs:focus {
  border: 2px solid #00b4ff;
}

/* ========== STUDIO CLASS ========== */
.studio {
  font-style: italic;
}

/* ========== SOCIAL ICONS ========== */
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
  opacity: 0.7;
}

.fa-facebook { background: #3B5998; color: white; }
.fa-twitter  { background: #55ACEE; color: white; }
.fa-tiktok   { background: #000000; color: white; }

/* ========== GLOBAL LINKS (same glow as navbar) ========== */
a {
  color: #0052d4;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  border-radius: 6px;
  padding: 4px 8px;
}

a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #0077ff, #00c8ff);
  box-shadow: 0 0 12px rgba(0,120,255,0.6),
              0 0 20px rgba(0,200,255,0.4);
  transform: translateY(-1px);
}

/* ========== BUTTONS ========== */
.button2 {
  background: linear-gradient(90deg, #0077ff, #00c8ff);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.button2:hover {
  background: linear-gradient(90deg, #006ae0, #00b4ff);
  transform: translateY(-2px);
}

/* ========== IMAGES ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #d7d7d7, #f1f1f1);
    display: none;
    padding: 1em 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li a {
    width: 100%;
    height: auto;
    padding: 15px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
  }

  .nav-links.show .dropdown:hover .dropdown-menu {
    display: flex;
  }

  .button2 {
    width: 100%;
    font-size: 18px;
  }
}