
/* ==========================================================================
   Base Styles
   ========================================================================== */

/* Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Body Defaults */
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

h5 {
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1.125rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Paragraphs */
p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

/* Links */
a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Remove underline from menu links on hover */
#navbar a:hover,
#navbar .menu-item-top-level a:hover,
#navbar .dropdown-menu a:hover,
#navbar .flyout-menu a:hover,
nav a:hover {
  text-decoration: none !important;
}

/* Header menu default color - gray-700 */
#navbar .menu-item-top-level > div > a:not(.menu-item-active):not([data-active="true"]),
#navbar ul li:not(.menu-item-has-children):not(.current-menu-item):not(.current-menu-ancestor):not(.current-menu-parent) > a:not(.menu-item-active):not([data-active="true"]),
#navbar a.text-gray-700:not(.menu-item-active):not([data-active="true"]) {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1)) !important;
}

/* Ensure hover effects work on all menu links */
#navbar a:not([class*="006ca5"]):not([class*="text-[#006ca5]"]) {
  transition: color 0.3s ease !important;
}

#navbar a:not([class*="006ca5"]):not([class*="text-[#006ca5]"]):hover {
  color: #006ca5 !important;
}

a:focus {
  xoutline: 2px solid #2563eb;
  xoutline-offset: 2px;
  outline:none;
}

/* Lists */
ul, ol {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

ul ul, ul ol,
ol ul, ol ol {
  margin-bottom: 0;
}

li {
  margin-bottom: 0.5rem;
}

ul {
  list-style-type: disc;
}

ul ul {
  list-style-type: circle;
}

ul ul ul {
  list-style-type: square;
}

ol {
  list-style-type: decimal;
}

/* Blockquotes */
blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid #2563eb;
  font-style: italic;
  color: #4b5563;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-style: normal;
  color: #6b7280;
}

/* Code */
code, kbd, pre, samp {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875em;
}

code {
  background-color: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  color: #1f2937;
}

pre {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #1f2937;
  color: #f3f4f6;
  border-radius: 0.5rem;
  overflow-x: auto;
}

pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

/* Horizontal Rule */
hr {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #374151;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  background-color: #2563eb;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  xbackground-color: #1d4ed8;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
  outline: none;
  xbox-shadow: 0 0 0 3px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   Tables
   ========================================================================== */

table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

th {
  font-weight: 600;
  background-color: #f9fafb;
}

/* ==========================================================================
   Images & Media
   ========================================================================== */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 2rem 0;
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Screen Reader Only */
.screen-reader-text,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footermenucol{
  color: #fff;
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

/* Alignments */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.alignwide {
  max-width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
}

.alignfull {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

/* Captions */
.wp-caption {
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.wp-caption img {
  display: block;
  margin: 0 auto;
}

.wp-caption-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

/* Galleries */
.gallery {
  margin-bottom: 1.5rem;
  display: grid;
  grid-gap: 1rem;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

.gallery-item {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: auto;
}

/* Sticky Post */
.sticky {
  position: relative;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  nav,
  aside,
  .no-print {
    display: none !important;
  }
}

/* ==========================================================================
   Sirahu Custom Styles
   ========================================================================== */

/* Font Families */
.font-bricolage {
  font-family: "Bricolage Grotesque", sans-serif;
}

.font-inter {
  font-family: "Inter", sans-serif;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(
    90deg,
    rgb(47, 136, 225) 0%,
    rgb(18, 91, 196) 37.881%,
    rgb(102, 181, 0) 75%,
    rgb(91, 155, 0) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service Card Animations */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.icon-box {
  transition: all 0.3s ease;
}

.service-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

/* Owl Carousel Custom Styles */
.client-logos-carousel .owl-stage {
  display: flex;
  align-items: center;
}

.client-logos-carousel .item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section Gradient Background */
.hero-gradient-bg {
  background-color: #ffffff;
  position: relative;
}

/* Light Blue blur effect (Left) */
.hero-blur-blue {
  background: radial-gradient(
    ellipse 100% 100% at left center,
    rgba(103, 232, 249, 0.06) 0%,
    rgba(103, 232, 249, 0.03) 40%,
    transparent 80%
  );
  border-radius: 50%;
}

/* Light Yellowish-Green blur effect (Right) */
.hero-blur-green {
  background: radial-gradient(
    ellipse 100% 100% at right center,
    rgba(187, 247, 208, 0.05) 0%,
    rgba(187, 247, 208, 0.025) 40%,
    transparent 80%
  );
  border-radius: 50%;
}

/* Center blend for smooth transition */
.hero-blur-center {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 60%
  );
  border-radius: 50%;
}

.hero-blur-blue,
.hero-blur-green,
.hero-blur-center {
  will-change: filter;
  mix-blend-mode: normal;
  pointer-events: none;
}

/* Alpine.js Cloak - Hide elements until Alpine.js initializes */
[x-cloak] {
  display: none !important;
}

/* Ensure mobile menu is hidden by default (before Alpine.js initializes) */
#mobile-menu[x-cloak] {
  display: none !important;
}

/* Ensure mobile menu button icons are properly positioned and visible */
#navbar button[aria-controls="mobile-menu"] {
  position: relative;
  min-width: 2.5rem;
  min-height: 2.5rem;
}

#navbar button[aria-controls="mobile-menu"] svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Let Alpine.js x-show control icon visibility - don't force display */
/* Alpine.js will handle show/hide via inline styles which have highest specificity */

/* Navigation Dropdown Styles */
/* Remove all list bullets */
nav ul,
nav ul li,
nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul ul {
  min-width: 14rem;
}

nav ul ul li {
  margin: 0;
}

/* Ensure dropdowns don't overflow */
nav .relative {
  position: relative;
}

/* Remove default WordPress menu bullets */
/* Remove bullets from footer menu lists */
footer ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer ul li,
footer li {
  list-style: none !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

/* Ensure margin-bottom is applied to footer menu items */
footer ul li.mb-3,
footer li.mb-3 {
  margin-bottom: 0.75rem !important;
}

footer ul::before,
footer ul::after,
footer li::before,
footer li::after {
  content: none !important;
}

/* World Map Styles */
.world-map svg {
  display: block;
  width: 100%;
  height: 100%;
}

.world-map .location-pin {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.world-map .location-pin:hover {
  transform: scale(1.2);
}
#navbar ul,
#navbar ul li,
#navbar li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-bottom: 4px !important;
}

#navbar ul::before,
#navbar ul::after,
#navbar li::before,
#navbar li::after {
  content: none !important;
}

/* Dropdown positioning adjustments */
@media (min-width: 769px) {
  nav ul ul {
    left: 0;
    right: auto;
  }
  
  /* Adjust dropdown position if near right edge */
  nav li:last-child ul,
  nav li:nth-last-child(2) ul {
    left: auto;
    right: 0;
  }
  
  /* Ensure dropdown stays open when hovering over it */
  nav li:hover > ul {
    display: block;
  }
}

/* Smooth hover transitions */
nav a {
  position: relative;
}

/* Enhanced menu hover effects */
@media (min-width: 992px) {
  /* All menu links should have hover effect except active ones */
  #navbar .menu-item-top-level > div > a:not(.menu-item-active):not([data-active="true"]) {
    position: relative;
    transition: color 0.3s ease !important;
  }
  
  /* Hover effect for non-active parent menu items */
  #navbar .menu-item-top-level:hover > div > a:not(.menu-item-active):not([data-active="true"]),
  #navbar .menu-item-top-level > div > a:not(.menu-item-active):not([data-active="true"]):hover {
    color: #006ca5 !important;
  }
  
  /* Regular menu links (non-parent) hover effect */
  #navbar ul li:not(.menu-item-has-children) > a:not(.menu-item-active):not([data-active="true"]) {
    transition: color 0.3s ease !important;
  }
  
  #navbar ul li:not(.menu-item-has-children) > a:not(.menu-item-active):not([data-active="true"]):hover {
    color: #006ca5 !important;
  }
  
  /* Dropdown arrow animation */
  #navbar .menu-item-top-level svg {
    transition: transform 0.3s ease;
  }
  
  /* Enhanced dropdown styling */
  /* Desktop dropdown menus only - exclude mobile menu submenus */
  /* Target only desktop navigation (lg:flex) and exclude mobile menu container */
  #navbar > div > .lg\:flex ul ul,
  #navbar .lg\:flex ul ul {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    min-width: 14rem;
    padding: 10px 0 !important;
  }
  
  /* Submenu item hover effect with smooth transition - desktop only */
  #navbar > div > .lg\:flex ul ul li a,
  #navbar .lg\:flex ul ul li a {
    transition: all 0.2s ease;
  }
  
  #navbar > div > .lg\:flex ul ul li a:hover,
  #navbar .lg\:flex ul ul li a:hover {
    background-color: #f0f7ff;
    color: #006ca5;
    xpadding-left: 0;
  }
  
  /* Sub-menu items active state - highlight when page is active */
  #navbar > div > .lg\:flex ul ul li.current-menu-item > a,
  #navbar .lg\:flex ul ul li.current-menu-item > a,
  #navbar > div > .lg\:flex ul ul li.current-menu-ancestor > a,
  #navbar .lg\:flex ul ul li.current-menu-ancestor > a,
  #navbar > div > .lg\:flex ul ul li.current-menu-parent > a,
  #navbar .lg\:flex ul ul li.current-menu-parent > a,
  #navbar .dropdown-menu li.current-menu-item > a,
  #navbar .dropdown-menu li.current-menu-ancestor > a,
  #navbar .dropdown-menu li.current-menu-parent > a,
  #navbar .flyout-menu li.current-menu-item > a,
  #navbar .flyout-menu li.current-menu-ancestor > a,
  #navbar .flyout-menu li.current-menu-parent > a {
    color: #006ca5 !important;
    background-color: #f0f7ff !important;
  }
  
  /* CRITICAL: Exclude mobile menu submenus from desktop dropdown styles */
  /* Mobile menu submenus are in #mobile-menu container and use Alpine.js x-show */
  #navbar #mobile-menu ul ul {
    /* Reset any desktop dropdown styles that might interfere */
    box-shadow: none;
    min-width: auto;
  }
  
  /* Ensure dropdowns are properly positioned for right-aligned items */
  #navbar li:last-child ul,
  #navbar li:nth-last-child(2) ul {
    left: 0;
    right: auto;
  }
  
  /* Active menu item styling */
  #navbar .menu-item-top-level > div > a[class*="text-[#006ca5]"] {
    color: #006ca5;
  }
}

/* ==========================================================================
   Contact Page Background - Matching Figma Design (#fbfdff)
   ========================================================================== */

/* Apply background color to full page */
body.page-template-contact-template,
body.page-template-contact-template .site-content,
body.page-template-contact-template .site-main {
  background-color: #fbfdff !important;
  min-height: 100vh;
}

/* Ensure all sections use the correct background */
body.page-template-contact-template section {
  background-color: #fbfdff;
}

/* Override for white cards/content boxes - keep them white */
body.page-template-contact-template .bg-white,
body.page-template-contact-template .bg-white {
  background-color: #ffffff !important;
}

/* Responsive: Ensure background works on mobile - 1023px and below (matches lg breakpoint) */
@media (max-width: 1023px) {
  body.page-template-contact-template,
  body.page-template-contact-template .site-content {
    background-color: #fbfdff !important;
  }
}

/* Hide job post meta information (author, date, reading time, posted date) */
body.single-jobpost .job-date,
body.single-jobpost .job-date *,
body.single-jobpost .entry-meta,
body.single-jobpost .posted-on,
body.single-jobpost .byline {
  display: none !important;
}

/* Remove focus borders from desktop menu links */
#navbar a:focus,
#navbar a:active,
#navbar .menu-item-top-level a:focus,
#navbar .menu-item-top-level a:active,
#navbar .dropdown-menu a:focus,
#navbar .dropdown-menu a:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Modern Menu Styling - Active State Always Visible */
/* Target active menu items using data attribute and class */
#navbar a.menu-item-active,
#navbar a[data-active="true"],
#navbar a[class*="006ca5"],
#navbar li.current-menu-item > a,
#navbar li.current-menu-item > div > a,
#navbar li.current-menu-ancestor > div > a,
#navbar li.current-menu-parent > div > a,
#navbar li.current-menu-ancestor > a,
#navbar li.current-menu-parent > a,
#navbar .menu-item-top-level.current-menu-item > div > a,
#navbar .menu-item-top-level.current-menu-ancestor > div > a,
#navbar .menu-item-top-level.current-menu-parent > div > a,
#navbar li.menu-item-top-level.current-menu-item > div > a,
#navbar li.menu-item-top-level.current-menu-ancestor > div > a,
#navbar li.menu-item-top-level.current-menu-parent > div > a,
/* Sub-menu items in dropdowns */
#navbar ul ul li.current-menu-item > a,
#navbar ul ul li.current-menu-ancestor > a,
#navbar ul ul li.current-menu-parent > a,
#navbar .dropdown-menu li.current-menu-item > a,
#navbar .dropdown-menu li.current-menu-ancestor > a,
#navbar .dropdown-menu li.current-menu-parent > a,
#navbar .flyout-menu li.current-menu-item > a,
#navbar .flyout-menu li.current-menu-ancestor > a,
#navbar .flyout-menu li.current-menu-parent > a {
  color: #006ca5 !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

/* Active menu items hover effect */
#navbar a.menu-item-active:hover,
#navbar a[data-active="true"]:hover,
#navbar a[class*="006ca5"]:hover,
#navbar li.current-menu-item > a:hover,
#navbar li.current-menu-item > div > a:hover,
#navbar li.current-menu-ancestor > div > a:hover,
#navbar li.current-menu-parent > div > a:hover,
#navbar li.current-menu-ancestor > a:hover,
#navbar li.current-menu-parent > a:hover {
  color: #006ca5 !important;
}

/* Ensure active state is always visible, even on hover - Top Level Menu Items */
#navbar .menu-item-top-level > div > a.menu-item-active,
#navbar .menu-item-top-level > div > a[data-active="true"],
#navbar .menu-item-top-level > div > a[class*="006ca5"],
#navbar li.menu-item-top-level > div > a.menu-item-active,
#navbar li.menu-item-top-level > div > a[data-active="true"],
#navbar li.menu-item-top-level > div > a[class*="006ca5"],
#navbar li.menu-item-top-level.current-menu-ancestor > div > a,
#navbar li.menu-item-top-level.current-menu-parent > div > a,
#navbar li.menu-item-top-level.current-menu-item > div > a {
  color: #006ca5 !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

/* Highlight active top-level menu item container */
@media (min-width: 992px) {
  /* Using :has() selector for modern browsers */
  #navbar li.menu-item-top-level:has(> div > a.menu-item-active),
  #navbar li.menu-item-top-level:has(> div > a[data-active="true"]),
  #navbar li.menu-item-top-level:has(> div > a[class*="006ca5"]) {
    position: relative;
  }

  #navbar li.menu-item-top-level:has(> div > a.menu-item-active)::after,
  #navbar li.menu-item-top-level:has(> div > a[data-active="true"])::after,
  #navbar li.menu-item-top-level:has(> div > a[class*="006ca5"])::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #006ca5;
    border-radius: 3px 3px 0 0;
    z-index: 10;
  }
  
  /* Fallback for browsers that don't support :has() - using data attribute */
  #navbar li.menu-item-top-level[data-active-top-level="true"] {
    position: relative;
  }
  
  #navbar li.menu-item-top-level[data-active-top-level="true"]::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #006ca5;
    border-radius: 3px 3px 0 0;
    z-index: 10;
  }
}

/* Active parent menu items hover effect */
#navbar .menu-item-top-level > div > a.menu-item-active:hover,
#navbar .menu-item-top-level > div > a[data-active="true"]:hover,
#navbar .menu-item-top-level > div > a[class*="006ca5"]:hover {
  color: #006ca5 !important;
}

/* Hover effects for non-active menu items */
#navbar a:not(.menu-item-active):not([data-active="true"]):not([class*="006ca5"]):not(.current-menu-item):not(.current-menu-ancestor):not(.current-menu-parent) {
  transition: color 0.3s ease !important;
}

#navbar a:not(.menu-item-active):not([data-active="true"]):not([class*="006ca5"]):not(.current-menu-item):not(.current-menu-ancestor):not(.current-menu-parent):hover {
  xcolor: #006ca5 !important;
  color: #fff !important;
}

/* Ensure all current menu items (including in sub-menus) get active color */
#navbar li.current-menu-item > a,
#navbar li.current-menu-item > div > a,
#navbar li.current-menu-ancestor > a,
#navbar li.current-menu-ancestor > div > a,
#navbar li.current-menu-parent > a,
#navbar li.current-menu-parent > div > a {
  color: #006ca5 !important;
}

/* Ensure parent menu items get active color when child is active */
#navbar li.current-menu-ancestor.menu-item-top-level > div > a,
#navbar li.current-menu-parent.menu-item-top-level > div > a,
#navbar li.menu-item-top-level.current-menu-ancestor > div > a,
#navbar li.menu-item-top-level.current-menu-parent > div > a {
  color: #006ca5 !important;
  font-weight: 600 !important;
}

/* Sub-menu items active state - ensure they get highlighted */
#navbar .dropdown-menu li.current-menu-item > a,
#navbar .dropdown-menu li.current-menu-ancestor > a,
#navbar .dropdown-menu li.current-menu-parent > a,
#navbar .flyout-menu li.current-menu-item > a,
#navbar .flyout-menu li.current-menu-ancestor > a,
#navbar .flyout-menu li.current-menu-parent > a,
#navbar ul ul li.current-menu-item > a,
#navbar ul ul li.current-menu-ancestor > a,
#navbar ul ul li.current-menu-parent > a {
  color: #006ca5 !important;
  background-color: #f0f7ff !important;
  font-weight: 500 !important;
}

/* Modern Mobile Menu Styling */
/* Changed to 1023px to match Tailwind's lg breakpoint and ensure consistent behavior from 1023px down to 320px */
@media (max-width: 1023px) {
  /* Ensure mobile menu button is always visible and clickable */
  #navbar button[aria-label="Toggle menu"],
  #navbar button[aria-controls="mobile-menu"] {
    position: relative;
    z-index: 50;
    display: inline-flex !important;
    /* Match design colors */
    color: #1f2937; /* gray-800 */
    background-color: transparent;
  }
  
  /* Hamburger button hover and active states */
  #navbar button[aria-controls="mobile-menu"]:hover {
    color: #006ca5 !important;
    background-color: #f0f7ff !important;
  }
  
  /* Hamburger button when menu is open */
  #navbar button[aria-controls="mobile-menu"][aria-expanded="true"] {
    color: #006ca5 !important;
    background-color: #f0f7ff !important;
  }
  
  /* Mobile menu - hidden by default when x-cloak is present */
  #navbar #mobile-menu.lg\:hidden[x-cloak] {
    display: none !important;
  }
  
  /* Mobile menu container - full width and responsive */
  #navbar #mobile-menu nav {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem !important;
  }
  
  /* Mobile menu list - proper layout */
  /* Only apply to top-level ul, not submenus - submenus are controlled by Alpine.js x-show */
  #navbar #mobile-menu > nav > ul {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
  }
  
  /* Mobile menu items - full width */
  #navbar #mobile-menu ul li {
    width: 100% !important;
    display: block !important;
    margin-bottom: 0.25rem !important;
  }
  
  /* CRITICAL: Ensure submenus are controlled by Alpine.js x-show, not CSS display rules */
  /* Submenus (ul ul) must not have display forced - Alpine.js x-show uses inline styles */
  /* Inline styles have higher specificity than CSS, but we ensure no conflicts */
  #navbar #mobile-menu ul ul,
  #navbar #mobile-menu ul[data-submenu-id] {
    /* Do not set display here - Alpine.js x-show will handle it via inline styles */
    /* Only set non-display properties */
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* CRITICAL: Alpine.js inline styles have highest specificity and will override CSS */
  /* But we ensure no CSS !important rules interfere with submenus */
  /* Alpine.js x-show sets display via inline style, which beats CSS !important */
  
  /* Mobile menu default color */
  #navbar .lg\:hidden a:not(.menu-item-active):not([data-active="true"]):not([class*="006ca5"]):not([class*="text-[#006ca5]"]) {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1)) !important;
    transition: all 0.2s ease !important;
  }
  
  #navbar .lg\:hidden a:not(.menu-item-active):not([data-active="true"]):not([class*="006ca5"]):not([class*="text-[#006ca5]"]):hover {
    color: #006ca5 !important;
    background-color: #eff6ff !important;
  }
  
  #navbar .lg\:hidden a:not(.menu-item-active):not([data-active="true"]):not([class*="006ca5"]):not([class*="text-[#006ca5]"]):active {
    color: #006ca5 !important;
    background-color: #dbeafe !important;
    transform: scale(0.98);
  }
  
  /* Mobile menu button default color */
  #navbar .lg\:hidden button:not(.menu-item-active):not([data-active="true"]):not([class*="006ca5"]):not([class*="text-[#006ca5]"]) {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1)) !important;
    transition: all 0.2s ease !important;
  }
  
  #navbar .lg\:hidden button:not(.menu-item-active):not([data-active="true"]):not([class*="006ca5"]):not([class*="text-[#006ca5]"]):hover {
    color: #006ca5 !important;
    background-color: #eff6ff !important;
  }
  
  #navbar .lg\:hidden button:not(.menu-item-active):not([data-active="true"]):not([class*="006ca5"]):not([class*="text-[#006ca5]"]):active {
    color: #006ca5 !important;
    background-color: #dbeafe !important;
    transform: scale(0.98);
  }
  
  #navbar .mobile-submenu {
    border-left-color: #93c5fd !important;
    background: rgba(239, 246, 255, 0.5) !important;
  }
  
  #navbar .mobile-submenu a {
    padding-left: 1rem !important;
    font-size: 0.9375rem !important;
    transition: all 0.2s ease !important;
  }
  
  #navbar .mobile-submenu a:hover {
    color: #006ca5 !important;
    background-color: #eff6ff !important;
    padding-left: 1.25rem !important;
  }
  
  #navbar .mobile-submenu a:active {
    background-color: #dbeafe !important;
    transform: scale(0.98);
  }
  
  /* Mobile sub-menu items active state */
  #navbar .mobile-submenu li.current-menu-item > a,
  #navbar .mobile-submenu li.current-menu-ancestor > a,
  #navbar .mobile-submenu li.current-menu-parent > a,
  #navbar #mobile-menu ul ul li.current-menu-item > a,
  #navbar #mobile-menu ul ul li.current-menu-ancestor > a,
  #navbar #mobile-menu ul ul li.current-menu-parent > a {
    color: #006ca5 !important;
    background-color: #eff6ff !important;
  }
  
  /* Ensure mobile menu items have proper spacing */
  #navbar .lg\:hidden ul li {
    margin-bottom: 0.25rem;
  }
  
  /* Mobile menu active state - always visible */
  #navbar .lg\:hidden a.menu-item-active,
  #navbar .lg\:hidden a[data-active="true"],
  #navbar .lg\:hidden a[class*="006ca5"],
  #navbar .lg\:hidden button.menu-item-active,
  #navbar .lg\:hidden button[data-active="true"],
  #navbar .lg\:hidden button[class*="006ca5"] {
    color: #006ca5 !important;
    background-color: #eff6ff !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
  }
  
  /* Mobile menu active items hover effect - Enhanced */
  #navbar .lg\:hidden a.menu-item-active:hover,
  #navbar .lg\:hidden a[data-active="true"]:hover,
  #navbar .lg\:hidden a[class*="006ca5"]:hover,
  #navbar .lg\:hidden a[class*="text-[#006ca5]"]:hover {
    color: #005a8f !important;
    background-color: #dbeafe !important;
    transform: translateX(2px);
    box-shadow: 0 2px 4px rgba(0, 108, 165, 0.1);
  }
  
  /* Mobile menu active button hover effect */
  #navbar .lg\:hidden button.menu-item-active:hover,
  #navbar .lg\:hidden button[data-active="true"]:hover,
  #navbar .lg\:hidden button[class*="006ca5"]:hover,
  #navbar .lg\:hidden button[class*="text-[#006ca5]"]:hover {
    color: #005a8f !important;
    background-color: #dbeafe !important;
    transform: translateX(2px);
    box-shadow: 0 2px 4px rgba(0, 108, 165, 0.1);
  }
  
  /* Ensure mobile active submenu items also have hover effect */
  #navbar .lg\:hidden .mobile-submenu a.menu-item-active:hover,
  #navbar .lg\:hidden .mobile-submenu a[data-active="true"]:hover,
  #navbar .lg\:hidden .mobile-submenu a[class*="006ca5"]:hover,
  #navbar .lg\:hidden .mobile-submenu a[class*="text-[#006ca5]"]:hover {
    color: #005a8f !important;
    background-color: #dbeafe !important;
    padding-left: 1.25rem !important;
    box-shadow: 0 2px 4px rgba(0, 108, 165, 0.1);
  }
  
}

/* Company logo styling for job posts */
.single-jobpost .company-logo img,
.single-jobpost .company-logo a img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Job post content styling - ensure proper spacing and readability */
.single-jobpost .job-content,
.single-jobpost .job-description {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.single-jobpost .job-content p,
.single-jobpost .job-description p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #374151;
}

.single-jobpost .job-content ul,
.single-jobpost .job-description ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.single-jobpost .job-content li,
.single-jobpost .job-description li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: #374151;
}

#vimeo-thumb {
  opacity: 1;
  transform: perspective(1100px) scale(1) rotateX(0);
  filter: blur(0px);
  backdrop-filter: blur(20px);
  display: block;
  max-width: 1300px;
  transform: translateZ(0);
  user-select: none;
  will-change: transform, filter;
  animation: 0.7s ease-out 1.2s both reveal-image-6450a88e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-image: initial;
  border-radius: 15px;
  margin: 0 auto;
  padding: 10px;
  z-index: 1;
}
#vimeo-thumb, .box, .stack {
  position: relative;
}
.landing-banner {
  border-radius: 20px;
}
.copyright-social > a {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.copyright-social > a:hover {
  color: #1f2937; /* darker gray / black */
}
.accordion-item button {
  background: #eaeaea;
}
.border {
    border-width: 1px;
    border: 1px solid;
}