@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Color Palette & Gradients */
  --teal-blue: #0099B8;
  --teal-hover: #007C95;
  --accent-green: #9ACD32;
  --navy: #12343B;
  --navy-muted: rgba(18, 52, 59, 0.75);
  --soft-white: #F7FAFA;
  --white: #FFFFFF;
  --border-light-gray: rgba(0, 153, 184, 0.12);
  --brand-gradient: linear-gradient(135deg, #0099B8 0%, #9ACD32 100%);
  --brand-gradient-hover: linear-gradient(135deg, #007C95 0%, #8AB828 100%);
  
  /* Semantic Mappings for New Design */
  --bg-page: var(--soft-white);
  --bg-card: rgba(255, 255, 255, 0.7);
  --text-main: var(--navy);
  --text-sub: var(--navy-muted);
  
  /* Compatibility aliases for existing classes & inline styles */
  --bg-dark-deep: var(--soft-white);
  --bg-dark-card: rgba(255, 255, 255, 0.7);
  --bg-dark-nav: rgba(255, 255, 255, 0.85);
  --border-light: var(--border-light-gray);
  --border-glow: rgba(0, 153, 184, 0.25);
  
  --accent-gold: var(--teal-blue);
  --accent-gold-gradient: linear-gradient(135deg, #0099B8 0%, #007C95 100%);
  --accent-blue: var(--teal-blue);
  --accent-blue-gradient: linear-gradient(135deg, #0099B8 0%, #007C95 100%);
  --accent-green-val: var(--accent-green);
  
  --text-primary: var(--navy);
  --text-secondary: var(--navy-muted);
  --text-muted: rgba(18, 52, 59, 0.5);
  
  /* Injected white/navy values for specific sections */
  --text-white-muted: rgba(255, 255, 255, 0.75);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

html {
  scroll-behavior: smooth;
  background: radial-gradient(circle at 10% 20%, rgba(0, 153, 184, 0.04) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(154, 205, 50, 0.05) 0%, transparent 45%), #F7FAFA;
  color: var(--text-primary);
  overflow-x: clip;
}

body {
  overflow-x: clip;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(18, 52, 59, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Custom Interactive Cursor */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(18, 52, 59, 0.3);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: all 0.15s ease-out;
}

/* Magnet Cursor Effect */
.cursor-hover .custom-cursor {
  width: 14px;
  height: 14px;
  background-color: var(--accent-blue);
}

.cursor-hover .custom-cursor-ring {
  width: 44px;
  height: 44px;
  border-color: var(--accent-blue);
  background-color: rgba(0, 143, 184, 0.08);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Glassmorphism Styles */
.glass-card {
  background: var(--bg-dark-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 40px rgba(18, 52, 59, 0.04);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 153, 184, 0.35);
  box-shadow: 0 15px 35px rgba(0, 153, 184, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: none;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background: var(--accent-gold-gradient);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 153, 184, 0.2);
}

.btn-primary:hover {
  background: var(--teal-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 153, 184, 0.35);
}

.btn-secondary {
  background: var(--white);
  border: 1.5px solid var(--accent-green);
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--accent-green);
  color: var(--white);
  border-color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(154, 205, 50, 0.2);
}

/* ===================== UNIFIED TWO-PART WHITE CAPSULE NAVBAR ===================== */
.header-wrapper {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1240px;
  z-index: 1000;
  padding: 4px 16px 4px 24px;
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 153, 184, 0.16);
  border-radius: 100px;
  box-shadow: 0 4px 25px rgba(18, 52, 59, 0.08);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.header-scrolled {
  top: 10px;
  background: #FFFFFF !important;
  border-color: rgba(0, 153, 184, 0.22);
  box-shadow: 0 10px 32px rgba(18, 52, 59, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Part 1: First part contains ONLY logo */
.nav-part-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 2px 4px 2px 0;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  height: 56px;
  max-height: 58px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.logo-link:hover img {
  transform: scale(1.03);
}

/* Vertical divider separating Part 1 and Part 2 */
.nav-divider {
  width: 1px;
  height: 32px;
  background: rgba(0, 153, 184, 0.2);
  margin: 0 18px 0 14px;
  flex-shrink: 0;
}

/* Part 2: Navigation Menu & Actions */
.nav-part-menu {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 22px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--navy);
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--teal-blue);
}

.nav-item-active .nav-link {
  color: var(--teal-blue);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-item-active .nav-link::after {
  width: 100%;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: 50px;
}

@media (min-width: 993px) and (max-width: 1220px) {
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .nav-divider {
    margin: 0 10px;
  }
}

/* Dropdown Menu styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 40px rgba(18, 52, 59, 0.08);
  border-radius: 12px;
  width: 220px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dropdown-link:hover {
  background: rgba(0, 153, 184, 0.05);
  color: var(--teal-blue);
  padding-left: 24px;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle-icon {
  width: 24px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: background 0.3s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle-icon::before {
  top: -8px;
}

.menu-toggle-icon::after {
  bottom: -8px;
}

.menu-toggle-active .menu-toggle-icon {
  background: transparent;
}

.menu-toggle-active .menu-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle-active .menu-toggle-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-light);
  z-index: 999;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-nav-active .mobile-nav-overlay {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 20px;
}

.mobile-nav-link {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 600;
}

.mobile-dropdown {
  padding-left: 16px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-subtitle {
  color: var(--accent-gold);
  font-family: var(--font-headings);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--navy);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Footer Section */
.footer {
  background: #0d2226; /* Constant deep corporate teal-navy color */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 32px 0;
  color: var(--text-white-muted);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-about img {
  height: 100px; /* Increased from 80px for a more prominent logo */
  width: auto;
  margin-bottom: 24px;
  background: #FFFFFF; /* High-contrast white card makes logo 100% visible */
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-about img:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 153, 184, 0.25);
}

.footer-about p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer-social-icon:hover {
  background: var(--accent-green);
  border-color: transparent;
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--text-white-muted);
}

.footer-link:hover {
  color: var(--accent-green);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent-green);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-white-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* Animations Definitions */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========================================================
   RESPONSIVE DESIGN SYSTEM (Mobile, Tablet, Laptop, Desktop)
======================================================== */

/* Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .header-wrapper {
    top: 10px;
    width: calc(100% - 32px);
    padding: 6px 18px;
    border-radius: 50px;
  }

  .nav-divider {
    display: none;
  }

  .nav-menu {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .header-wrapper {
    top: 10px;
    width: calc(100% - 24px);
    padding: 4px 14px;
  }

  .logo-link img {
    height: 42px;
    max-width: 120px;
  }

  .section-title {
    font-size: clamp(1.75rem, 4.5vw, 2.2rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .section-padding {
    padding: clamp(48px, 7vw, 64px) 0;
  }

  .mobile-nav-overlay {
    width: 85%;
    max-width: 340px;
    padding: 85px 28px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-link {
    font-size: 1.2rem;
  }
}

/* Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .header-wrapper {
    top: 8px;
    width: calc(100% - 16px);
    padding: 4px 10px;
  }

  .logo-link img {
    height: 36px;
    max-width: 105px;
  }

  .container {
    padding: 0 16px;
  }

  .glass-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .footer {
    padding: 56px 0 28px 0;
  }

  .footer-about img {
    height: auto;
    max-height: 70px;
    max-width: 100%;
  }

  .footer-socials {
    gap: 12px;
  }

  .footer-social-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .mobile-nav-overlay {
    width: 90%;
    padding: 75px 20px 30px;
  }

  .mobile-nav-link {
    font-size: 1.1rem;
  }
}

/* ===================== GLOBAL ANIMATED COMPACT HERO BACKDROP ===================== */
.hero-overlay-compact {
  background: linear-gradient(135deg, rgba(7, 21, 24, 0.95) 0%, rgba(18, 52, 59, 0.8) 50%, rgba(7, 21, 24, 0.96) 100%) !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

.hero-overlay-compact::before,
.hero-overlay-compact::after {
  content: '' !important;
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(90px) !important;
  opacity: 0.15 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.hero-overlay-compact::before {
  width: 320px !important;
  height: 320px !important;
  background: #00C3E3 !important;
  top: -80px !important;
  left: -50px !important;
  animation: floatHeroBlob1 15s infinite alternate ease-in-out !important;
}

.hero-overlay-compact::after {
  width: 380px !important;
  height: 380px !important;
  background: #9ACD32 !important;
  bottom: -120px !important;
  right: -80px !important;
  animation: floatHeroBlob2 18s infinite alternate ease-in-out !important;
}

@keyframes floatHeroBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.1); }
}

@keyframes floatHeroBlob2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, -50px) scale(0.9); }
}

.hero-grid-compact {
  background-image: radial-gradient(rgba(0, 195, 227, 0.08) 1.5px, transparent 1.5px) !important;
  background-size: 26px 26px !important;
  z-index: 2 !important;
  pointer-events: none !important;
  animation: gridPulse 8s infinite alternate ease-in-out !important;
}

@keyframes gridPulse {
  0% { opacity: 0.55; }
  100% { opacity: 1; }
}

.hero-bg-image-compact {
  position: absolute !important;
  inset: 0 !important;
  background: url('../wp-content/uploads/2021/01/team_page_hero.png') center/cover no-repeat !important;
  opacity: 0.35 !important;
  z-index: 0 !important;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.page-hero-compact:hover .hero-bg-image-compact {
  transform: scale(1.05) !important;
}
