.elementor-218 .elementor-element.elementor-element-20c4762{--display:flex;}.elementor-218 .elementor-element.elementor-element-075bde2{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}body.elementor-page-218:not(.elementor-motion-effects-element-type-background), body.elementor-page-218 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1D315F;}/* Start custom CSS for html, class: .elementor-element-d04287a *//* --- Dropdown Setup --- */
/* Ensure the parent <li> acts as an anchor for the absolute positioning of the dropdown */
.nav-links .has-dropdown {
  position: relative;
}

/* The caret arrow icon */
.nav-caret {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: text-bottom;
  transition: transform 0.3s ease;
}

/* Rotate the arrow when hovering over the menu item */
.nav-links .has-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

/* --- Dropdown Menu Styling (Hidden by Default) --- */
.dropdown-menu {
  position: absolute;
  top: 100%; /* Pushes the menu directly below the parent link */
  left: 0;
  background-color: #FFFFFF;
  min-width: 220px; /* Ensures the menu is wide enough for text */
  box-shadow: 0 10px 25px rgba(10, 25, 47, 0.1);
  border-radius: 8px;
  padding: 12px 0;
  list-style: none;
  z-index: 999;
  
  /* Animation states */
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px); /* Starts slightly lower for a slide-up effect */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Show the dropdown when hovering over the parent <li> */
.nav-links .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Dropdown Links --- */
.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  color: var(--primary-blue, #0A192F);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none; /* Keeps sub-menu items normal case instead of ALL CAPS */
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: #F8FAFC; /* Light gray/blue hover background */
  color: var(--accent-red, #D32F2F); /* Turns Don Bosco Red on hover */
  padding-left: 28px; /* Slight right-shift animation on hover */
}
/* 1. Ensure the navbar sticks to the top of the screen */
.navbar {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* Keeps it on top of all other content */
  
  /* The starting background color (e.g., completely transparent) */
  background-color: transparent; 
  
  /* Makes the color change smooth instead of instant */
  transition: background-color 0.4s ease, box-shadow 0.4s ease; 
}

/* 2. The "Scrolled" State */
/* This class will be added automatically by our JavaScript */
.navbar.scrolled {
  background-color: #18335D; /* Don Bosco Dark Blue */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Adds a nice drop shadow */
}/* End custom CSS */