:root {
  --primary: #003366; /* Deep Navy */
  --accent: #008200;  /* Subtle Heineken Green */
  --foreground: #0f172a;
  --background: #ffffff;
  --muted: #64748b;
  --border: #e2e8f0;
  
  --font-inter: 'Inter', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-inter);
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .outfit {
  font-family: var(--font-outfit);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-padding {
  padding: 8rem 0;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary-custom {
  background-color: var(--primary) !important;
}

.btn-primary-custom {
  background-color: var(--primary);
  color: white;
  border-radius: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary-custom:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: white;
}

.btn-outline-custom {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-outline-custom:hover {
  background-color: rgba(0,0,0,0.05);
}

/* Custom Navigation */
.navbar-custom {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.nav-link-custom {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  margin-right: 1.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link-custom:hover {
  color: var(--primary);
}

/* Data & Analytics Motifs - Deprecated but keeping for other potential uses if any */
.data-pattern-unused {
  position: relative;
  overflow: hidden;
}

.hover-card {
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: white;
}

.hover-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary) !important;
  box-shadow: 0 10px 30px rgba(0,51,102,0.05);
}

.tag-pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 51, 102, 0.05);
  color: var(--primary);
  border-radius: 1rem;
  font-weight: 600;
  display: inline-block;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

/* Hero Styles */
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 51, 102, 0.05);
  color: var(--primary);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* Timeline & Education */
.education-item {
  border-left: 2px solid var(--border);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.education-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid white;
}

/* Certifications Grid */
.cert-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.2s ease;
  background: #fdfdfd;
}

.cert-card:hover {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 4px 20px rgba(0,51,102,0.03);
}

.cert-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(0, 51, 102, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 700;
}

/* Language Badge */
.lang-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Language Switcher */
.lang-switcher-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

/* High Specificity Flag Styles to override any conflicts */
.navbar .lang-switcher-container .lang-flag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 17px !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  opacity: 0.6 !important;
  cursor: pointer !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding: 0 !important;
  margin: 0 4px !important;
  background: white !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04) !important;
  line-height: 0 !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.navbar .lang-switcher-container .lang-flag:hover {
  opacity: 1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  border-color: var(--primary) !important;
}

.navbar .lang-switcher-container .lang-flag.active {
  opacity: 1 !important;
  border-color: var(--primary) !important;
  border-width: 1.5px !important;
  box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.05) !important;
}

.navbar .lang-switcher-container .lang-flag img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  pointer-events: none !important;
}

@media (max-width: 991px) {
  .lang-switcher-container {
    margin-left: 0;
    margin-bottom: 1rem;
    order: -1; /* Positions it above buttons if needed, or just let it flow */
  }
}


/* Profile Photo Strategy */
.profile-img-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(0deg); /* Adjust if browser Auto-rotates */
  transition: transform 0.3s ease;
}

/* Client Logos Section */
.client-logos {
  opacity: 1;
}

.client-logo {
  max-width: 140px;
  max-height: 45px;
  width: auto;
  height: auto;
  opacity: 0.8;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: default;
}

.client-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}



.tracking-widest {
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .client-logo {
    max-width: 110px;
    max-height: 35px;
  }
}


/* Nested Timeline for Career Progression */
.timeline-nested {
  border-left: 1px solid var(--border);
  padding-left: 2rem;
  margin-left: 0.5rem;
}

.timeline-role {
  position: relative;
}

.timeline-role::before {
  content: "";
  position: absolute;
  left: -2.35rem;
  top: 0.5rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary);
  z-index: 1;
}

.border-primary {
  border-color: var(--primary) !important;
}

/* Immersive Full-Height Hero Section - Luxury Revision */
.hero-section-immersive {
  min-height: 95vh; /* Premium immersive height */
  display: flex;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-text-column {
  padding: 8rem 0;
  width: 100%;
  position: relative;
  z-index: 20;
  background: transparent;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 2rem;
}

@media (max-width: 1400px) {
  .hero-text-column {
    padding-left: 5%;
  }
  .hero-title { font-size: 4rem; }
}

.hero-image-immersive-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  min-height: 100%;
  background: transparent;
  display: flex;
  align-items: flex-end; /* Ground to bottom section edge */
  justify-content: flex-end;
  overflow: visible; 
  z-index: 10;
}

.hero-image-main {
  width: auto !important;
  max-width: 100% !important;
  height: 92vh !important; /* Slightly offset for immersive breathing room */
  object-fit: contain;
  object-position: bottom right;
  display: block;
  z-index: 15;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.06)); /* Grounding shadow */
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-image-immersive-wrapper:hover .hero-image-main {
  transform: scale(1.02);
}

/* Sophisticated Glassmorphic Accents */
.hero-image-immersive-wrapper .hero-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
}

.circle-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #e0f2fe 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.circle-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #f0fdf4 0%, transparent 70%);
  bottom: 5%;
  left: 20%;
}

.circle-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #fff7ed 0%, transparent 70%);
  top: 40%;
  right: 15%;
}

/* Immersive Overlap Strategy for Desktop - Adjusted for Modern Card */
@media (min-width: 992px) {
  .hero-section-immersive .row > div:nth-child(2) {
    z-index: 10;
  }
}

/* Modern Profile Card Styling */
.hero-profile-container {
  padding: 2rem;
  position: relative;
  z-index: 20;
}

.hero-profile-modern {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 48px; /* Elegant rounded square */
  box-shadow: 
    0 20px 50px rgba(0,0,0,0.1),
    0 10px 20px rgba(0,0,0,0.05);
  transform: rotate(2deg);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 8px solid white;
}

.hero-profile-modern:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.15),
    0 15px 25px rgba(0,0,0,0.1);
}

@media (max-width: 991px) {
  .hero-section-immersive { min-height: auto; }
  .hero-text-column { padding: 6rem 1.5rem 2rem 1.5rem; text-align: center; }
  .hero-title { font-size: 3rem; }
  .hero-text-column .d-flex { justify-content: center; }
  .hero-profile-container { padding: 2rem 0; width: 100%; display: flex; justify-content: center; }
  .hero-profile-modern { width: 280px; height: 280px; border-radius: 32px; transform: rotate(0deg); }
}

/* High Specificity Flag Scaling - Luxury Proportions */
.navbar .lang-switcher-container .lang-flag {
  width: 32px !important;
  height: 21px !important;
  margin: 0 5px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06) !important;
}
