/* ---------------- General Navigation ---------------- */

/* Remove default list styles */
.main-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;           /* horizontal layout */
  align-items: center;     /* vertical alignment */
}

/* Menu items */
.main-nav .menu-item {
  position: relative;
}

/* ---------------- Top-level menu links ---------------- */
.main-nav .menu > .menu-item > a {
  position: relative;
  text-decoration: none;
  color: #333;
  padding: 10px 5px;
  display: block;
  transition: color 0.3s;
}

/* Bottom tick/underline from center */
.main-nav .menu > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;                /* thickness of tick */
  background-color: #007BFF;  /* tick color */
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* Animate tick on hover */
.main-nav .menu > .menu-item > a:hover::after {
  width: 100%;
}

/* Optional: top-level text color change on hover */
.main-nav .menu > .menu-item > a:hover {
  color: #007BFF;
}

/* ---------------- Dropdown Menu ---------------- */
.menu-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%; /* directly below parent */
    left: 0;
    min-width: 180px; /* adjust width */
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none; /* hide by default */
    z-index: 1000;
}

/* Show dropdown on hover */
.menu-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown links */
.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;              /* text color when not hovered */
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    position: relative;
}

/* Dropdown hover effect */
.dropdown-menu li a:hover {
    background-color: #007BFF; /* your desired hover background */
    color: #ffffff;             /* text color on hover */
}

/* Optional: Hover background for parent menu item */
.menu-item.dropdown:hover > a {
    background-color: #e6e6e6;
}

/* Prevent dropdown links from showing tick underline */
.dropdown-menu li a::after {
    display: none;
}

/* ---------------- Header text handling ---------------- */
#top-bar-text {
    white-space: nowrap;       /* prevents line break */
    overflow: hidden;          /* hides overflow if container too small */
    text-overflow: ellipsis;   /* adds ... if too long */
}
/* Target the logo image */
#site-logo-inner .main-logo img {
    width: 500px;   /* adjust width as needed */
    height: auto;   /* maintain aspect ratio */
}

/* Optional: if you want to control height specifically */
#site-logo-inner .main-logo img {
    height: 75px;  /* adjust height */
    width: auto;   /* maintain aspect ratio */
}


.big-icon {
  font-size: 80px !important;   /* make big */
  padding: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.big-icon:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Individual icon colors */
.fa-dumbbell { color: #0077b6 !important; }
.fa-heartbeat { color: #e63946 !important; }
.fa-users { color: #06d6a0 !important; }
.fa-certificate { color: #f4a261 !important; }




