
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/* CSS Variables for Brand Colors */
:root {
  --navy-blue: #1a2332;
  --charcoal-black: #2c3e50;
  --white: #ffffff;
  --gold: #d4af37;
  --light-gold: #f4e4bc;
  --gray-light: #f5f5f5;
  --gray-medium: #e0e0e0;
  --text-dark: #333333;
  --text-light: #666666;
  --transition: all 0.3s ease;
}

body {
  font-family: "Inter", "Open Sans", sans-serif;
  color: #444444;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

a {
  color: #ffc107;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #ffce3a;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 9998;
  background: #ffc107;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #ffcb30;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
}

@media (max-width: 768px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    right: 12px;
    bottom: 12px;
    z-index: 9998;
  }
  
  .back-to-top i {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Header - Complete CSS Rewrite
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  padding: 20px 0;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* Transparent header state (default on homepage at top) */
#header.header-transparent {
  background: transparent !important;
  backdrop-filter: none;
}

/* Scrolled header state (when user scrolls down) */
#header.header-scrolled {
  background: rgba(55, 64, 85, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header on inner pages - always show background */
body.inner-page #header,
body:not(.homepage) #header {
  background: rgba(55, 64, 85, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.inner-page #header.header-transparent,
body:not(.homepage) #header.header-transparent {
  background: rgba(55, 64, 85, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Logo styles */
#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 2px;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: #fff;
  display: block;
}

#header .logo img {
  max-height: 70px;
  transition: max-height 0.3s ease;
}

#header.header-scrolled .logo img {
  max-height: 60px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
  position: relative;
  z-index: inherit;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0 10px 30px;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar li:hover > a {
  color: #ffc107;
}

.navbar .active,
.navbar a.active {
  color: #ffc107 !important;
  font-weight: 600;
}

/* Ensure only one active item at a time */
.navbar a.active {
  position: relative;
}

.navbar a.active {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Desktop navbar active underline - match text width exactly */
@media (min-width: 992px) {
  .navbar a.active {
    display: inline-flex;
    align-items: center;
  }
  
  /* Put underline on the b tag to match text width exactly */
  .navbar a.active b {
    position: relative;
    display: inline-block;
  }
  
  .navbar a.active b::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffc107;
    border-radius: 1px;
  }
  
  /* Hide any underline on the parent a tag */
  .navbar a.active::after {
    display: none;
  }
}

/* Mobile navbar active state - use left border instead of underline */
@media (max-width: 991px) {
  .navbar a.active::after {
    display: none !important;
  }
  
  .navbar-mobile a.active::before {
    transform: scaleY(1) !important;
  }
  
  /* Ensure only one active in mobile - remove active from all first */
  .navbar-mobile a:not(.active) {
    background: transparent !important;
    color: #fff !important;
  }
  
  .navbar-mobile a.active {
    color: #ffc107 !important;
    background: rgba(255, 193, 7, 0.15) !important;
    font-weight: 600;
  }
  
  /* Prevent multiple active states */
  .navbar-mobile ul li:has(a.active) ~ li a.active {
    background: transparent !important;
    color: #fff !important;
  }
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: #414c64;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #ffc107;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation Toggle Button (Hamburger Menu - 3 lines)
*/
.mobile-nav-toggle {
  display: none;
  visibility: hidden;
  opacity: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  z-index: 10004;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: auto;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.mobile-nav-toggle:active {
  transform: scale(0.95);
}

/* Hide mobile toggle on desktop */
@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* ============================================
   MOBILE NAVIGATION - CSS ONLY SOLUTION
   ============================================ */
@media (max-width: 991px) {
  /* Show mobile toggle button (3 lines hamburger) */
  .mobile-nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Hide desktop navigation menu by default */
  .navbar ul,
  #header .navbar ul {
    display: none !important;
    visibility: hidden;
    opacity: 0;
  }
  
  /* Navbar container */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    width: auto;
  }
  
  /* When mobile menu is activated - full screen overlay */
  .navbar.navbar-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.98) 0%, rgba(44, 62, 80, 0.98) 100%);
    backdrop-filter: blur(10px);
    z-index: 10000;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  /* Lock body scroll when mobile menu is active */
  body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  /* CRITICAL: Ensure menu is visible when body has menu-open class (works on all pages) */
  body.menu-open #header .navbar.navbar-mobile.active ul {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
    overflow-y: auto !important;
    z-index: 10001 !important;
  }
  
  body.menu-open #header .navbar.navbar-mobile.active ul li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  
  body.menu-open #header .navbar.navbar-mobile.active ul li a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
  }
  
  /* Show menu list when active - CSS animation - MUST override display:none */
  /* Works on both homepage and inner pages */
  .navbar.navbar-mobile.active ul,
  #header .navbar.navbar-mobile.active ul,
  body.inner-page #header .navbar.navbar-mobile.active ul,
  body:not(.homepage) #header .navbar.navbar-mobile.active ul {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
    overflow-y: auto !important;
    z-index: 10001 !important;
    transform: translateY(0) !important;
    animation: slideInDown 0.3s ease !important;
  }
  
  @keyframes slideInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Menu items - initial hidden state (only when NOT active) */
  .navbar.navbar-mobile:not(.active) ul li,
  #header .navbar.navbar-mobile:not(.active) ul li {
    display: block;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    transform: translateX(-50px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Menu items - visible when active with stagger animation - MUST override hidden state */
  /* Works on both homepage and inner pages */
  .navbar.navbar-mobile.active ul li,
  #header .navbar.navbar-mobile.active ul li,
  body.inner-page #header .navbar.navbar-mobile.active ul li,
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
    animation: slideInLeft 0.4s ease forwards !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Stagger animation delays for menu items - ensure they work on all pages */
  .navbar.navbar-mobile.active ul li:nth-child(1),
  #header .navbar.navbar-mobile.active ul li:nth-child(1) {
    animation-delay: 0.1s !important;
  }
  .navbar.navbar-mobile.active ul li:nth-child(2),
  #header .navbar.navbar-mobile.active ul li:nth-child(2) {
    animation-delay: 0.15s !important;
  }
  .navbar.navbar-mobile.active ul li:nth-child(3),
  #header .navbar.navbar-mobile.active ul li:nth-child(3) {
    animation-delay: 0.2s !important;
  }
  .navbar.navbar-mobile.active ul li:nth-child(4),
  #header .navbar.navbar-mobile.active ul li:nth-child(4) {
    animation-delay: 0.25s !important;
  }
  .navbar.navbar-mobile.active ul li:nth-child(5),
  #header .navbar.navbar-mobile.active ul li:nth-child(5) {
    animation-delay: 0.3s !important;
  }
  .navbar.navbar-mobile.active ul li:nth-child(6),
  #header .navbar.navbar-mobile.active ul li:nth-child(6) {
    animation-delay: 0.35s !important;
  }
  .navbar.navbar-mobile.active ul li:nth-child(7),
  #header .navbar.navbar-mobile.active ul li:nth-child(7) {
    animation-delay: 0.4s !important;
  }
  .navbar.navbar-mobile.active ul li:nth-child(8),
  #header .navbar.navbar-mobile.active ul li:nth-child(8) {
    animation-delay: 0.45s !important;
  }
  
  /* Menu links - MUST be visible when menu is active - works on all pages */
  .navbar.navbar-mobile.active ul li a,
  #header .navbar.navbar-mobile.active ul li a,
  body.inner-page #header .navbar.navbar-mobile.active ul li a,
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: 15px 20px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
  }
  
  /* Menu link hover */
  .navbar.navbar-mobile.active ul li a:hover {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    padding-left: 30px;
  }
  
  /* Toggle button when menu is open - fixed position top right - MUST override relative */
  .navbar.navbar-mobile.active .mobile-nav-toggle,
  #header .navbar.navbar-mobile.active .mobile-nav-toggle {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 10004 !important;
    background: rgba(255, 193, 7, 0.25) !important;
    color: #ffc107 !important;
    margin: 0 !important;
    transform: none !important;
  }
  
  /* Logo adjustments on mobile */
  #header .logo {
    flex-shrink: 1;
    max-width: calc(100% - 60px);
  }
  
  #header .logo img {
    max-height: 50px;
  }
  
  /* Header container on mobile */
  #header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure mobile toggle is visible on inner pages too, but only on mobile */
  body.inner-page .mobile-nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    position: relative !important;
    z-index: 10002 !important;
  }
  
  /* Ensure mobile toggle is visible even when disclaimer modal is active */
  .disclaimer-modal.active ~ * .mobile-nav-toggle,
  .disclaimer-modal.active + * .mobile-nav-toggle,
  body:has(.disclaimer-modal.active) .mobile-nav-toggle,
  .disclaimer-modal.active ~ #header .mobile-nav-toggle,
  #header .mobile-nav-toggle,
  #header .navbar .mobile-nav-toggle,
  .navbar .mobile-nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10002 !important;
    position: relative !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
  
  /* Ensure header container maintains proper positioning when modal is active */
  /* But allow mobile menu to break out */
  .disclaimer-modal.active ~ #header,
  body:has(.disclaimer-modal.active) #header,
  #header:not(:has(.navbar.navbar-mobile.active)) {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10001 !important;
    width: 100% !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  /* When mobile menu is active, header should not constrain it */
  #header:has(.navbar.navbar-mobile.active),
  body.menu-open #header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
    overflow: visible !important;
    overflow-x: visible !important;
    max-width: none !important;
  }
  
  /* Ensure navbar container doesn't shift when modal is active */
  .disclaimer-modal.active ~ #header .container,
  body:has(.disclaimer-modal.active) #header .container,
  #header .container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  /* Prevent horizontal scroll - but allow mobile menu to break out */
  #header:not(:has(.navbar.navbar-mobile.active)) {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  /* When mobile menu is active, header should not constrain it */
  #header:has(.navbar.navbar-mobile.active),
  body.menu-open #header,
  body.inner-page.menu-open #header {
    overflow: visible !important;
    overflow-x: visible !important;
    max-width: none !important;
    z-index: 10000 !important;
  }
  
  #header .container {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  
  /* Container should not constrain mobile menu when active */
  body.menu-open #header .container,
  body.inner-page.menu-open #header .container,
  #header:has(.navbar.navbar-mobile.active) .container {
    overflow: visible !important;
    max-width: none !important;
    position: relative !important;
  }
  
  /* Ensure navbar maintains proper positioning when modal is active */
  .disclaimer-modal.active ~ #header .navbar,
  body:has(.disclaimer-modal.active) #header .navbar,
  #header .navbar {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-width: 44px !important;
  }
  
  /* Ensure mobile toggle button stays in place and visible when menu is CLOSED */
  .disclaimer-modal.active ~ #header .navbar .mobile-nav-toggle,
  body:has(.disclaimer-modal.active) #header .navbar .mobile-nav-toggle,
  #header .navbar .mobile-nav-toggle,
  .navbar .mobile-nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10002 !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }
  
  /* CRITICAL: When menu is ACTIVE, toggle must be FIXED at top right - MUST come after relative rule */
  #header .navbar.navbar-mobile.active .mobile-nav-toggle,
  .navbar.navbar-mobile.active .mobile-nav-toggle {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    z-index: 10004 !important;
    background: rgba(255, 193, 7, 0.25) !important;
    color: #ffc107 !important;
    transform: none !important;
  }
  
  /* Hide navbar ul by default on mobile */
  #header .navbar ul {
    display: none !important;
  }
  
  /* CRITICAL: Override to show menu when mobile menu is active - MUST come after hide rule */
  /* This must work on both homepage and inner pages */
  #header .navbar.navbar-mobile.active ul,
  body.inner-page #header .navbar.navbar-mobile.active ul,
  body:not(.homepage) #header .navbar.navbar-mobile.active ul,
  body.menu-open #header .navbar.navbar-mobile.active ul {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
    overflow-y: auto !important;
    z-index: 10001 !important;
    transform: translateY(0) !important;
    animation: slideInDown 0.3s ease !important;
  }
  
  /* Ensure menu items are visible on inner pages when active */
  body.inner-page #header .navbar.navbar-mobile.active ul li,
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li,
  body.menu-open #header .navbar.navbar-mobile.active ul li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
    animation: slideInLeft 0.4s ease forwards !important;
  }
  
  /* Stagger animation for menu items on inner pages */
  body.inner-page #header .navbar.navbar-mobile.active ul li:nth-child(1),
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li:nth-child(1) {
    animation-delay: 0.1s !important;
  }
  body.inner-page #header .navbar.navbar-mobile.active ul li:nth-child(2),
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li:nth-child(2) {
    animation-delay: 0.15s !important;
  }
  body.inner-page #header .navbar.navbar-mobile.active ul li:nth-child(3),
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li:nth-child(3) {
    animation-delay: 0.2s !important;
  }
  body.inner-page #header .navbar.navbar-mobile.active ul li:nth-child(4),
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li:nth-child(4) {
    animation-delay: 0.25s !important;
  }
  body.inner-page #header .navbar.navbar-mobile.active ul li:nth-child(5),
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li:nth-child(5) {
    animation-delay: 0.3s !important;
  }
  body.inner-page #header .navbar.navbar-mobile.active ul li:nth-child(6),
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li:nth-child(6) {
    animation-delay: 0.35s !important;
  }
  
  /* Ensure menu links are visible on inner pages */
  body.inner-page #header .navbar.navbar-mobile.active ul li a,
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li a,
  body.menu-open #header .navbar.navbar-mobile.active ul li a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
  }
  
  /* Menu link hover on inner pages */
  body.inner-page #header .navbar.navbar-mobile.active ul li a:hover,
  body:not(.homepage) #header .navbar.navbar-mobile.active ul li a:hover {
    color: #ffc107 !important;
    background: rgba(255, 193, 7, 0.1) !important;
    padding-left: 30px !important;
  }
  
  /* Make sure logo doesn't push toggle off screen */
  #header .logo {
    flex-shrink: 1 !important;
    max-width: calc(100% - 60px) !important;
  }
  
  #header .logo img {
    max-height: 50px !important;
  }
  
  /* Ensure navbar container maintains flex layout */
  .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    position: relative !important;
  }
  
  /* Ensure mobile toggle is always visible and positioned correctly */
  .navbar .mobile-nav-toggle {
    order: 2 !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  
  /* Ensure navbar is visible on mobile */
  .navbar {
    position: relative;
  }
  
  /* When navbar becomes mobile menu, break out of container - MUST work on inner pages */
  .navbar.navbar-mobile,
  .navbar.navbar-mobile.active,
  #header .navbar.navbar-mobile,
  #header .navbar.navbar-mobile.active,
  body.inner-page #header .navbar.navbar-mobile,
  body.inner-page #header .navbar.navbar-mobile.active,
  body:not(.homepage) #header .navbar.navbar-mobile,
  body:not(.homepage) #header .navbar.navbar-mobile.active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.98) 0%, rgba(44, 62, 80, 0.98) 100%) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  
  /* Ensure header container doesn't constrain mobile menu */
  #header .container {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  /* Ensure navbar has proper width on mobile */
  #header .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 44px !important;
    flex-shrink: 0 !important;
  }
  
  /* Ensure mobile toggle is always visible */
  #header .navbar .mobile-nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10002 !important;
  }
  
  #header .navbar.navbar-mobile,
  #header .navbar.navbar-mobile.active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
  }
  
  /* Make header more visible on mobile */
  #header.header-scrolled {
    background: rgba(55, 64, 85, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  #header.header-transparent {
    background: transparent !important;
    backdrop-filter: none;
    box-shadow: none;
  }
  
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    font-size: 24px;
    width: 40px;
    height: 40px;
  }
  
  #header .logo img {
    max-height: 45px;
  }
}

/* Ensure menu list is visible when active */
.navbar-mobile.active ul,
.navbar.navbar-mobile.active ul,
.navbar-mobile ul {
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateY(0) !important;
  position: absolute !important;
  top: 80px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  padding: 20px 0 !important;
  z-index: 10002 !important;
  background: transparent !important;
  overflow-y: auto !important;
}

/* Ensure all menu items are visible when active */
.navbar-mobile.active ul li,
.navbar.navbar-mobile.active ul li,
.navbar-mobile.active li {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  transform: translateX(0) !important;
  width: 100% !important;
}

.navbar-mobile.active ul li a,
.navbar.navbar-mobile.active ul li a {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  color: #fff !important;
  width: 100% !important;
  padding: 15px 20px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.navbar.navbar-mobile.active {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0) !important;
  display: block !important;
  z-index: 9999 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: rgba(26, 35, 50, 0.98) !important;
  backdrop-filter: blur(10px) !important;
}

/* Keep toggle button in header position when menu is open */
.navbar-mobile .mobile-nav-toggle,
.navbar-mobile.active .mobile-nav-toggle {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 10004 !important;
  background: rgba(255, 193, 7, 0.25) !important;
  color: #ffc107 !important;
  padding: 12px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  transition: all 0.3s ease !important;
  margin: 0 !important;
  left: auto !important;
  transform: none !important;
  bottom: auto !important;
}

.navbar-mobile .mobile-nav-toggle:hover {
  background: rgba(255, 193, 7, 0.4) !important;
  transform: none !important;
}

.navbar-mobile .mobile-nav-toggle:active {
  transform: none !important;
}

.navbar-mobile ul {
  display: flex !important;
  flex-direction: column !important;
  position: absolute !important;
  top: 80px !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding: 20px 0 !important;
  background: transparent !important;
  overflow-y: auto !important;
  margin: 0 !important;
  list-style: none !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: all 0.4s ease 0.2s !important;
  z-index: 10002 !important;
  width: 100% !important;
}

.navbar-mobile.active ul,
.navbar.navbar-mobile.active ul,
.navbar.navbar-mobile.active ul {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  flex-direction: column !important;
  position: absolute !important;
  top: 80px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  padding: 20px 0 !important;
  z-index: 10002 !important;
  background: transparent !important;
  overflow-y: auto !important;
  margin: 0 !important;
  list-style: none !important;
}

.navbar-mobile.active ul li {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.navbar-mobile.active ul li a {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  color: #fff !important;
  width: 100% !important;
  padding: 15px 20px !important;
  font-size: 16px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  background: transparent !important;
}

/* Ensure menu items are visible when active */
.navbar-mobile.active ul li,
.navbar-mobile.active ul li a,
.navbar.navbar-mobile.active ul li,
.navbar.navbar-mobile.active ul li a {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

/* Initial state for menu items - hidden by default (only when not active) */
.navbar-mobile:not(.active) li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transform: translateX(-50px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
  display: none !important;
  width: 100% !important;
  list-style: none !important;
}

/* When active, show menu items with animation */
.navbar-mobile.active li,
.navbar.navbar-mobile.active li {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  width: 100% !important;
}

/* Ensure menu items are visible */
.navbar.navbar-mobile ul li,
.navbar.navbar-mobile.active ul li {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.navbar-mobile.active ul li a {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  color: #fff !important;
  width: 100% !important;
  padding: 15px 20px !important;
  font-size: 16px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  background: transparent !important;
}

/* Ensure menu items are visible when active */
.navbar-mobile.active ul li,
.navbar-mobile.active ul li a,
.navbar.navbar-mobile.active ul li,
.navbar.navbar-mobile.active ul li a {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

/* Force menu items to be visible when mobile menu is active */
.navbar-mobile.active ul li,
.navbar-mobile.active ul li a {
  pointer-events: auto !important;
}

/* Ensure navbar-mobile covers everything and menu is on top */
.navbar-mobile.active {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.98) 0%, rgba(44, 62, 80, 0.98) 100%) !important;
}

/* These rules are now handled in the media query above */

.navbar-mobile.active li:last-child {
  border-bottom: none;
}

.navbar-mobile li:nth-child(1) {
  transition-delay: 0.1s;
}

.navbar-mobile li:nth-child(2) {
  transition-delay: 0.15s;
}

.navbar-mobile li:nth-child(3) {
  transition-delay: 0.2s;
}

.navbar-mobile li:nth-child(4) {
  transition-delay: 0.25s;
}

.navbar-mobile li:nth-child(5) {
  transition-delay: 0.3s;
}

.navbar-mobile li:nth-child(6) {
  transition-delay: 0.35s;
}

.navbar-mobile a {
  display: block !important;
  padding: 18px 30px;
  font-size: 18px;
  font-weight: 500;
  color: #fff !important;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  letter-spacing: 0.5px;
  font-family: "Inter", sans-serif;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.navbar-mobile a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ffc107 0%, #ffce3a 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
  border-radius: 0 2px 2px 0;
  z-index: 1;
}

/* Ensure only one active item in mobile menu */
.navbar-mobile a.active {
  color: #ffc107 !important;
  background: rgba(255, 193, 7, 0.1);
  padding-left: 40px;
}

.navbar-mobile a.active::before {
  transform: scaleY(1) !important;
}

.navbar-mobile a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-mobile a:hover,
.navbar-mobile li:hover > a {
  color: #ffc107;
  background: rgba(255, 193, 7, 0.1);
  padding-left: 40px;
  transform: translateX(10px);
}

/* Separate active state to ensure only one is active */
.navbar-mobile a.active {
  color: #ffc107 !important;
  background: rgba(255, 193, 7, 0.15) !important;
  padding-left: 40px;
  transform: translateX(10px);
  font-weight: 600;
}

.navbar-mobile a:hover::before,
.navbar-mobile .active::before {
  transform: scaleY(1);
}

.navbar-mobile a:hover::after,
.navbar-mobile .active::after {
  opacity: 1;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #ffc107;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 80vh;
  background: url("../img/hero-bg.jpg") top center;
  background-size: cover;
  position: relative;
}

#hero:before {
  content: "";
  background: rgba(45, 53, 69, 0.7);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  text-align: center;
  padding-top: 50px;
}

@media (max-width: 992px) {
  #hero .container {
    padding-top: 0;
  }
  #hero {
    background: url("../img/hero-bg-portrait.jpg") top center;
  }
}

#hero .hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
}

#hero .hero-subtitle {
  color: #fff;
  margin: 20px 0 15px 0;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  font-family: "Inter", sans-serif;
  opacity: 0;
  transform: translateY(30px);
}

#hero .hero-description {
  color: #eee;
  margin: 15px 0 30px 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
}

#hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

#hero h2 {
  color: #eee;
  margin: 15px 0 0 0;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 9px 35px;
  border-radius: 50px;
  transition: 0.5s;
  margin-top: 40px;
  border: 2px solid #ffc107;
  color: #fff;
}

#hero .btn-get-started:hover {
  background: #ffc107;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    padding: 20px 0;
  }
  #hero .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 15px;
  }
  #hero .hero-subtitle {
    font-size: clamp(1rem, 5vw, 1.3rem);
    margin-bottom: 10px;
  }
  #hero .hero-description {
    font-size: clamp(0.9rem, 4vw, 1rem);
    margin-bottom: 25px;
  }
  #hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.3;
  }
  #hero h2 {
    font-size: clamp(1rem, 5vw, 1.3rem);
    line-height: 1.4;
  }
}


.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  /* transition: opacity 1.5s ease-in-out; */
  background-color: var(--navy-blue); /* Fallback color */
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(44, 62, 80, 0.85) 100%);
  z-index: 2;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

@media (max-width: 768px) {
  .hero-slide:nth-child(1) {
    background-image: url('../img/slider2-mobile.png') !important;
  }
  .hero-slide:nth-child(2) {
    background-image: url('../img/slider4-mobile.png') !important;
  }
      }

@media (min-width: 769px) {
  .hero-slide:nth-child(1) {
    background-image: url('../img/slider2-desktop.png') !important;
  }
  .hero-slide:nth-child(2) {
    background-image: url('../img/slider4-desktop.png') !important;
  }
      }
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-bg {
  background-color: #f7f8fa;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-transform: none;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #ffc107;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  font-size: 14px;
  color: #aab3c7;
}



/*--------------------------------------------------------------
# Team Breadcrumbs
--------------------------------------------------------------*/
.team-breadcrumbs {
  background-color: #fafafc;
  min-height: 40px;
  margin-top: 82px;
}

@media (max-width: 992px) {
  .team-breadcrumbs {
    margin-top: 68px;
  }
}

.team-breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .team-breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.team-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.team-breadcrumbs ol li + li {
  padding-left: 10px;
}

.team-breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .team-breadcrumbs .d-flex {
    display: block !important;
  }
  .team-breadcrumbs ol {
    display: block;
  }
  .team-breadcrumbs ol li {
    display: inline-block;
  }
}


/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #fafafc;
  min-height: 40px;
  margin-top: 82px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 68px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery {
  padding: 80px 0;
}

.gallery-page-section {
  padding: 120px 0 80px;
  min-height: calc(100vh - 200px);
}

.gallery-page .back-to-top {
  z-index: 100000;
}

.gallery-page .back-to-top.active {
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
}

.gallery-container {
  position: relative;
  z-index: 1;
}

.gallery-flters-wrap {
  position: relative;
  z-index: 20;
  margin-bottom: 40px;
  padding: 8px 0;
}

.gallery-flters {
  padding: 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.gallery-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #414c64;
  margin: 0;
  transition: all ease-in-out 0.3s;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  font-family: "Inter", sans-serif;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.gallery-flters li:hover,
.gallery-flters li.filter-active {
  color: #1a2332;
  background: #ffc107;
}

.gallery-item {
  margin-bottom: 30px;
  transition: opacity 0.4s ease;
}

.gallery-item.gallery-hidden {
  display: none;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #1a2332;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.gallery-card img.img-fluid,
.gallery-card .gallery-img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.gallery-card .gallery-info {
  opacity: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: linear-gradient(to top, rgba(26, 35, 50, 0.92) 0%, rgba(26, 35, 50, 0.55) 70%, transparent 100%);
  padding: 50px 20px 20px;
}

.gallery-card .gallery-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: "Playfair Display", serif;
}

.gallery-card .gallery-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 0;
}

.gallery-card .gallery-info .preview-link {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
}

.gallery-card .gallery-info .preview-link i {
  color: #1a2332;
  line-height: 1;
}

.gallery-card .gallery-info .preview-link:hover {
  background: #ffc107;
  transform: scale(1.08);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-card:hover .gallery-info {
  opacity: 1;
}

.gallery-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-modal .gallery-lightbox-image {
  max-width: min(95vw, 1200px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.gallery-lightbox-close:hover {
  color: #ffc107;
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .gallery-flters li {
    padding: 8px 14px;
    font-size: 13px;
  }

  .gallery-card {
    aspect-ratio: 3 / 2;
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #ffc107;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ffc107;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(65, 76, 100, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}
/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  opacity: 1;
  padding: 80px 0;
}

.about .container {
  position: relative;
}

.about .row {
  align-items: center;
}

/* About Section Feature Boxes */
.about-feature-box {
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  position: relative;
}

.about-feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-feature-box.highlight-box {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 206, 58, 0.05) 100%);
  border: 2px solid rgba(255, 193, 7, 0.2);
}

.about-feature-box .feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.about-feature-box .feature-icon {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.about-feature-box .feature-icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.3));
  transition: transform 0.3s ease;
}

.about-feature-box:hover .feature-icon svg {
  transform: scale(1.1) rotate(5deg);
}

.about-feature-box .feature-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 0;
  position: relative;
  padding-bottom: 0;
  flex: 1;
  line-height: 1.2;
}

.about-feature-box .feature-title::after {
  display: none;
}

.about-feature-box .feature-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #4a5568;
  line-height: 1.9;
  font-family: "Inter", sans-serif;
  margin-bottom: 1.5rem;
}

.about-feature-box .feature-description:last-child {
  margin-bottom: 0;
}

.about-feature-box .feature-description.large-text {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 2;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #1a2332;
}

.about-image-wrapper:hover {
  transform: translateY(-5px);
}

.about-image-wrapper img,
.about-image-wrapper .about-section-img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fine-tune vertical crop (add class img-pos-y on the image).
   --img-pos-y: % anchor — 0% top, 50% center, 100% bottom.
   --img-pos-shift: px nudge — positive pulls image down, negative pulls up.
   Example: style="--img-pos-y: 0%; --img-pos-shift: 30px" */
.gallery-card .gallery-img.img-pos-y,
.about-image-wrapper img.img-pos-y,
.about-image-wrapper .about-section-img.img-pos-y,
.team .member .member-img img.img-pos-y,
.member-profile-image img.img-pos-y,
.member-profile-image .member-profile-photo.img-pos-y {
  object-fit: cover;
  object-position: center calc(var(--img-pos-y, 0%) + var(--img-pos-shift, 0px)) !important;
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.about-intro-content .about-intro-text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #4a5568;
  line-height: 1.9;
  font-family: "Inter", sans-serif;
  margin-bottom: 1.5rem;
}

.about-intro-content .about-intro-text:last-child {
  margin-bottom: 0;
}

  @media (max-width: 991px) {
  .about-feature-box .feature-header {
    gap: 0.75rem;
  }

  .about-feature-box .feature-icon {
    width: 48px;
    height: 48px;
  }

  .about-feature-box .feature-icon svg {
    width: 40px;
    height: 40px;
  }

  .about-feature-box {
    padding: 30px 25px;
    margin-bottom: 30px;
  }
  
  .about-image-wrapper {
    margin-bottom: 30px;
  }
  
  /* Ensure proper order on mobile for zigzag sections */
  .about-approach-row .col-lg-6:first-child,
  .about-vision-row .col-lg-6:first-child {
    order: 1;
  }
  
  .about-approach-row .col-lg-6:last-child,
  .about-vision-row .col-lg-6:last-child {
    order: 2;
  }
  
  .about-team-row .col-lg-6:first-child {
    order: 2;
  }
  
  .about-team-row .col-lg-6:last-child {
    order: 1;
  }
  
  .about-commitment-row .col-lg-6:first-child {
    order: 2;
  }
  
  .about-commitment-row .col-lg-6:last-child {
    order: 1;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }
  
  .about-feature-box {
    padding: 25px 20px;
    text-align: left;
  }

  .about-feature-box .feature-header {
    justify-content: flex-start;
    text-align: left;
  }

  .about-feature-box .feature-title {
    text-align: left;
  }
  
  .about-image-wrapper {
    margin-bottom: 25px;
  }
}

.about.animate-in {
  opacity: 1;
}

/* About section fade-in animation state (initial) */
.about.fade-in-ready {
  opacity: 0;
  transform: translateY(30px);
}

.about.fade-in-ready.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.about h3 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #1a2332;
  font-family: "Playfair Display", serif;
  margin-bottom: 1.5rem;
}

.about h4 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #1a2332;
  font-family: "Playfair Display", serif;
}

.about .row h4 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 600;
  color: #1a2332;
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.about .row h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffc107, #ffce3a);
  border-radius: 2px;
}

.about i {
  font-size: 48px;
  margin-top: 15px;
  color: #8b97b3;
}

.about p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-family: "Inter", sans-serif;
}

.about .lead {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem) !important;
  font-weight: 400;
  color: #2d3748;
  line-height: 1.9;
  margin-bottom: 2rem;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.01em;
}

.about .row p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #4a5568;
  line-height: 1.9;
  margin-bottom: 0;
}

.about .row .col-12 p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #4a5568;
  line-height: 1.9;
}

/* About Carousel Styles */
.about-carousel-wrapper {
  position: relative;
  padding: 60px 0;
  margin-top: 40px;
}

.about-swiper {
  padding: 0 50px 60px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.about-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.about-swiper .swiper-slide {
  height: auto;
  display: flex !important;
  align-items: stretch;
  opacity: 1 !important;
  visibility: visible !important;
  box-sizing: border-box;
}

.about-swiper .swiper-slide .row {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: stretch;
  min-height: 400px;
}

.about-swiper .swiper-slide .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.about-slide-content {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.about-slide-content .slide-icon {
  display: inline-block;
  animation: fadeInUp 0.8s ease-out;
}

.about-slide-content .slide-icon svg {
  filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.3));
  transition: transform 0.3s ease;
}

.about-slide-content:hover .slide-icon svg {
  transform: scale(1.1) rotate(5deg);
}

.about-slide-content .slide-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-slide-content .slide-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffc107, #ffce3a);
  border-radius: 2px;
}

.about-slide-content .slide-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #4a5568;
  line-height: 1.9;
  font-family: "Inter", sans-serif;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.about-slide-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease-out 0.3s both;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  min-height: 400px;
}

.about-slide-image:hover img {
  transform: scale(1.05);
}

.about-swiper .swiper-button-next,
.about-swiper .swiper-button-prev {
  color: #ffc107;
  background: rgba(255, 193, 7, 0.15);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.about-swiper .swiper-button-next {
  right: 0;
}

.about-swiper .swiper-button-prev {
  left: 0;
}

.about-swiper .swiper-button-next:after,
.about-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.about-swiper .swiper-button-next:hover,
.about-swiper .swiper-button-prev:hover {
  background: rgba(255, 193, 7, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.about-swiper .swiper-pagination {
  bottom: 10px;
  position: relative;
  margin-top: 30px;
}

.about-swiper .swiper-pagination-bullet {
  background: #ffc107;
  opacity: 0.4;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.about-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ffc107;
  width: 30px;
  border-radius: 6px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .about-swiper {
    padding: 0 40px 60px;
  }
  
  .about-swiper .swiper-slide .row {
    min-height: auto;
    flex-direction: column;
  }
  
  .about-slide-content {
    padding: 30px 20px;
    text-align: center;
    min-height: auto;
  }
  
  .about-slide-image {
    min-height: 300px;
    margin-top: 20px;
  }
  
  .about-slide-image img {
    min-height: 300px;
  }
  
  .about-slide-content .slide-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .about-swiper {
    padding: 0 35px 60px;
  }
  
  .about-swiper .swiper-slide .row {
    min-height: auto;
  }
  
  .about-slide-content {
    padding: 25px 15px;
    min-height: auto;
  }
  
  .about-slide-image {
    min-height: 250px;
    margin-top: 20px;
  }
  
  .about-slide-image img {
    min-height: 250px;
  }
  
  .about-swiper .swiper-button-next,
  .about-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .about-swiper .swiper-button-next:after,
  .about-swiper .swiper-button-prev:after {
    font-size: 16px;
  }
  
  .about-swiper .swiper-button-next {
    right: 5px;
  }
  
  .about-swiper .swiper-button-prev {
    left: 5px;
  }
  
  .about-carousel-wrapper {
    padding: 40px 0;
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 40px 0;
}

.counts .counters span,
.counts .counters .counter-value {
  font-size: 48px;
  display: block;
  color: #414c64;
}

.counts .counters .counter-plus::after {
  content: '+';
}

.counts .counters p {
  padding: 0;
  margin: 0 0 20px 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
/* Services Carousel */
.services-carousel-wrapper {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
}

.services-swiper {
  padding: 0 50px 60px;
  overflow: hidden;
  width: 100%;
  position: relative;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .services-swiper {
    padding: 0 40px 60px;
  }
}

@media (max-width: 768px) {
  .services-swiper {
    padding: 0 35px 60px;
  }
}

.services-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-swiper .swiper-slide {
  height: auto;
  display: flex;
  opacity: 1 !important;
  visibility: visible !important;
  box-sizing: border-box;
}

.services-swiper .swiper-slide .d-flex {
  width: 100%;
}

.services-swiper .swiper-slide .icon-box {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  width: 100%;
  margin: 0;
}

.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
  color: #ffc107;
  background: rgba(255, 193, 7, 0.15);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.services-swiper .swiper-button-next {
  right: 10px;
}

.services-swiper .swiper-button-prev {
  left: 10px;
}

.services-swiper .swiper-button-next:after,
.services-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.services-swiper .swiper-button-next:hover,
.services-swiper .swiper-button-prev:hover {
  background: rgba(255, 193, 7, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.services-swiper .swiper-button-next:active,
.services-swiper .swiper-button-prev:active {
  transform: translateY(-50%) scale(0.95);
}

.services-swiper .swiper-pagination {
  bottom: 20px;
  position: relative;
  margin-top: 30px;
}

.services-swiper .swiper-pagination-bullet {
  background: #ffc107;
  opacity: 0.4;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.services-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ffc107;
  width: 30px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .services-swiper .swiper-button-next,
  .services-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .services-swiper .swiper-button-next:after,
  .services-swiper .swiper-button-prev:after {
    font-size: 16px;
  }
  
  .services-swiper .swiper-button-next {
    right: 5px;
  }
  
  .services-swiper .swiper-button-prev {
    left: 5px;
  }
}

.services .icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: #fff;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.05);
  border-radius: 12px;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translateY(0);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services .icon-box.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure proper spacing in carousel */
.services-swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.7;
}

.services-swiper .swiper-slide.swiper-slide-active {
  opacity: 1;
}

@media (max-width: 991px) {
  .services .icon-box {
    min-height: 300px;
    padding: 50px 15px 60px 15px;
  }
}

@media (max-width: 768px) {
  .services .icon-box {
    min-height: 280px;
    padding: 40px 15px 50px 15px;
  }
  
  .services-carousel-wrapper {
    padding: 30px 0 60px;
  }
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
  background: #f5f5f5;
  border-radius: 50px;
}

.services .icon-box .icon i {
  font-size: 32px;
  transition: 0.5s;
  line-height: 1;
  position: relative;
}

.services .icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .icon-box h4 a {
  color: #414c64;
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: black;
  box-shadow: 0px 15px 40px 0 rgba(0, 0, 0, 0.15);
  transform: translateY(-10px);
}

.services .iconbox-blue i {
  color: #47aeff;
}

.services .iconbox-blue:hover .icon {
  background: #47aeff;
}

.services .iconbox-blue:hover .icon i {
  color: #fff;
}

.services .iconbox-orange i {
  color: #ffa76e;
}

.services .iconbox-orange:hover .icon {
  background: #ffa76e;
}

.services .iconbox-orange:hover .icon i {
  color: #fff;
}

.services .iconbox-pink i {
  color: #e80368;
}

.services .iconbox-pink:hover .icon {
  background: #e80368;
}

.services .iconbox-pink:hover .icon i {
  color: #fff;
}

.services .iconbox-yellow i {
  color: #ffbb2c;
}

.services .iconbox-yellow:hover .icon {
  background: #ffbb2c;
}

.services .iconbox-yellow:hover .icon i {
  color: #fff;
}

.services .iconbox-red i {
  color: #ff5828;
}

.services .iconbox-red:hover .icon {
  background: #ff5828;
}

.services .iconbox-red:hover .icon i {
  color: #fff;
}

.services .iconbox-teal i {
  color: #11dbcf;
}

.services .iconbox-teal:hover .icon {
  background: #11dbcf;
}

.services .iconbox-teal:hover .icon i {
  color: #fff;
}

/*--------------------------------------------------------------
# Team Member Detail Page
--------------------------------------------------------------*/
.team-member-detail {
  padding: 120px 0 80px;
  min-height: calc(100vh - 200px);
}

.member-profile-image {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border-radius: 20px;
}

.member-profile-image img,
.member-profile-image .member-profile-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.member-profile-image img:hover {
  transform: scale(1.02);
}

.member-quick-info {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.member-quick-info .info-item {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.member-quick-info .info-item:last-child {
  border-bottom: none;
}

.member-quick-info .info-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 5px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.member-quick-info .info-value {
  font-size: 1.1rem;
  color: #414c64;
  margin: 0;
  font-weight: 500;
}

.member-detail-content {
  padding: 20px 0;
}

.member-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #414c64;
  margin-bottom: 15px;
  line-height: 1.2;
}

.member-title-badge {
  display: inline-block;
  margin-bottom: 20px;
}

.member-title-badge span {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #ffc107 0%, #ffce3a 100%);
  color: #1a2332;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.member-bio {
  color: #555;
  line-height: 1.9;
}

.member-bio .lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #414c64;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.8;
}

.member-bio p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  margin-bottom: 20px;
}

.member-expertise {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.member-expertise h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #414c64;
  margin-bottom: 20px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.expertise-tags .tag {
  display: inline-block;
  padding: 10px 20px;
  background: #f8f9fa;
  color: #414c64;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.expertise-tags .tag:hover {
  background: #ffc107;
  color: #1a2332;
  border-color: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

@media (max-width: 991px) {
  .team-member-detail {
    padding: 100px 0 60px;
  }
  
  .member-profile-image {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }
  
  .member-profile-image img {
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .team-member-detail {
    padding: 90px 0 50px;
  }
  
  .member-quick-info {
    margin-top: 30px;
  }
  
  .member-name {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  
  .member-bio .lead {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team-member-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.team-member-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-10px);
}

.team .member.team-member-card {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0px 5px 20px rgba(65, 76, 100, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team .member.team-member-card:hover {
  box-shadow: 0px 15px 40px rgba(65, 76, 100, 0.2);
  transform: translateY(-8px);
}

.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0px 5px 20px rgba(65, 76, 100, 0.1);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 12px 12px 0 0;
}

.team .member .member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.team .member-img img {
  max-width: 100%;
  height: auto;
}

.team .member.team-member-card:hover .member-img img {
  transform: scale(1.1);
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 35, 50, 0.9), rgba(26, 35, 50, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team .member.team-member-card:hover .member-overlay {
  opacity: 1;
}

.view-profile {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  border: 2px solid #ffc107;
  border-radius: 50px;
  background: rgba(255, 193, 7, 0.2);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.team .member.team-member-card:hover .view-profile {
  background: rgba(255, 193, 7, 0.3);
  transform: scale(1.05);
}

/* GSAP Animation Classes */
.gsap-fade-in {
  opacity: 0;
}

.gsap-slide-up {
  opacity: 0;
  transform: translateY(50px);
}

.gsap-slide-left {
  opacity: 0;
  transform: translateX(-50px);
}

.gsap-slide-right {
  opacity: 0;
  transform: translateX(50px);
}

@media (max-width: 768px) {
  .team .member.team-member-card {
    margin-bottom: 0;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .team .member {
    margin-bottom: 0;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .team .row > div {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
  }
  
  .team-member-link {
    margin-bottom: 0;
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .team .row > div:last-child {
    margin-bottom: 0;
  }
  
  .services .icon-box {
    margin-bottom: 30px;
    padding: 50px 15px 60px 15px;
  }
  
  .team .member .member-img {
    aspect-ratio: 3/4;
    max-height: 280px;
  }
  
  .team .member .member-info {
    padding: 20px 15px;
  }
  
  .team .member .member-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .team .member .member-info span {
    font-size: 0.85rem;
  }
  
  .member-profile-image img {
    max-width: 100%;
    height: auto;
  }
  
  /* Improve mobile typography */
  body {
    font-size: 15px;
  }
  
  .section-title h2 {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }
  
  .about img {
    margin-bottom: 30px;
  }
  
  .about .lead {
    font-size: clamp(1.1rem, 3vw, 1.25rem) !important;
    line-height: 1.85;
  }
  
  .about .row h4 {
    font-size: clamp(1.4rem, 4vw, 1.6rem) !important;
  }
  
  .about p {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.85;
  }
}

@media (max-width: 576px) {
  .team .member.team-member-card,
  .team .member {
    max-width: 260px;
  }
  
  .team-member-link {
    max-width: 260px;
  }
  
  .team .member .member-img {
    max-height: 260px;
  }
}

/* Image responsiveness */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Better responsive spacing */
@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .team .member .member-info {
    padding: 20px 15px;
  }
  
  .member-quick-info {
    padding: 20px;
  }
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #414c64;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a i {
  line-height: 0;
}

.team .member .social a:hover {
  color: #ffc107;
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .member .member-info {
  padding: 25px 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team .member .member-info h4 {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #414c64;
  font-family: "Playfair Display", serif;
}

.team .member .member-info span {
  display: block;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 400;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 20px rgba(65, 76, 100, 0.05);
  padding: 20px 0 30px 0;
}

.contact .info-box i {
  font-size: 32px;
  color: #ffc107;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #ffeeba;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 20px rgba(65, 76, 100, 0.05);
  padding: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: #ffc107;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #ffc107;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #ffce3a;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disclaimer Page
--------------------------------------------------------------*/
.disclaimer-page {
  padding: 150px 2rem 80px;
  max-width: 900px;
  margin: 0 auto;
  scroll-margin-top: 80px;
}

.disclaimer-content {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  line-height: 1.8;
}

.disclaimer-content h2 {
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}

.disclaimer-content h3 {
  color: var(--charcoal-black);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.disclaimer-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/*--------------------------------------------------------------
# Disclaimer Modal
--------------------------------------------------------------*/
.disclaimer-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10003;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.disclaimer-modal.active {
  display: flex;
}

.disclaimer-modal-content {
  background-color: var(--white);
  border-radius: 10px;
  max-width: 800px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease-out;
  margin: auto;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

@keyframes modalFadeIn {
  from {
      opacity: 0;
      transform: scale(0.9);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

.disclaimer-modal-content h2 {
  padding: 2rem 2rem 1rem;
  margin: 0;
  border-bottom: 2px solid var(--gold);
  color: var(--navy-blue);
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .disclaimer-modal {
    padding: 1rem !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 80px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    z-index: 10003 !important;
  }
  
  .disclaimer-modal-content {
    max-width: calc(100% - 2rem) !important;
    width: calc(100% - 2rem) !important;
    margin: 0 auto !important;
    height: calc(100vw - 2rem) !important;
    max-height: calc(100vw - 2rem) !important;
    min-height: auto !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  
  .disclaimer-modal-content h2 {
    padding: 1.5rem 1rem 1rem !important;
    font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.3 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  
  .disclaimer-modal-body {
    padding: 1rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow-y: auto !important;
    flex: 1 !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .disclaimer-modal-body h3 {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.8rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  .disclaimer-modal-body p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    font-size: clamp(0.9rem, 3vw, 1rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .disclaimer-modal-footer {
    padding: 1rem !important;
    flex-shrink: 0 !important;
    border-top: 1px solid var(--gray-medium) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  
  .disclaimer-modal-footer button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  .disclaimer-modal {
    padding: 1rem !important;
    padding-top: 70px !important;
    z-index: 10003 !important;
  }
  
  .disclaimer-modal-content {
    width: calc(100% - 2rem) !important;
    max-width: calc(100% - 2rem) !important;
    height: calc(100vw - 2rem) !important;
    max-height: calc(100vw - 2rem) !important;
    min-height: auto !important;
    border-radius: 10px !important;
  }
  
  .disclaimer-modal-content h2 {
    padding: 1rem 0.75rem 0.75rem !important;
    font-size: clamp(1.1rem, 6vw, 1.5rem) !important;
  }
  
  .disclaimer-modal-body {
    padding: 0.75rem !important;
  }
  
  .disclaimer-modal-footer {
    padding: 0.75rem !important;
  }
}

.disclaimer-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.disclaimer-modal-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--charcoal-black);
}

.disclaimer-modal-body p {
  margin-bottom: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.disclaimer-modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-medium);
  text-align: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #414c64;
  font-size: 14px;
  background: #f4f5f8;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fafafc;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h4 {
  font-size: 22px;
  margin: 0 0 30px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #777777;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ffc107;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #ffc107;
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  text-align: left;
  border: 1px solid #e1e4ec;
}

#footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #ffc107;
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type="submit"]:hover {
  background: #ffce3a;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #e1e4ec;
  color: #5f6f92;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #ffce3a;
  text-decoration: none;
}
