@charset "utf-8";
:root {
  --font-size-base: 16px;
  --font-line-height: 1.6;
  --font-family: 'Roboto', sans-serif;
  --background-color: #F4F5F8;
  --surface-color: #FFFFFF;
  --surface-muted: #ECEAF1;
  --surface-card: rgba(244, 245, 248, 0.92);
  --text-dark: #1F222A;
  --text-muted: #555B66;
  --text-light: #F0F1F5;
  --primary-color: #1F222A;
  --secondary-color: #3F4450;
  /* subtle violet influence */
  --accent-color: #3F4658;
  --accent-hover: #58627A;
  --border-color: #D7D9E2;
  --white: #FFFFFF;
  --black: #000000;
  /* slight violet in shadows for cohesion */
  --shadow-soft: rgba(31, 34, 42, 0.14);
  --shadow-medium: rgba(31, 34, 42, 0.22);
  --overlay-dark: rgba(20, 20, 24, 0.60);
  --overlay-hover: rgba(63, 70, 88, 0.10);
  --overlay-white: rgba(255, 255, 255, 0.10);
}
/* Base */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--font-line-height);
  background-color: var(--background-color);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: border-box;
}
/* Fonts */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/Roboto-Thin.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/Roboto-ThinItalic.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/Roboto-Light.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/Roboto-LightItalic.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Roboto-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/Roboto-Italic.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Roboto-Bold.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/Roboto-BoldItalic.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/Roboto-Black.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/Roboto-BlackItalic.ttf') format('truetype');
  font-display: swap;
}
/* Typography */
h1, h2, strong, em, .heading {
  font-family: var(--font-family), Arial, sans-serif;
}
h1, h2, .heading {
  color: var(--accent-color);
}
h1 {
  font-weight: 600;
}
h2 {
  font-weight: 700;
}
strong {
  font-weight: 900;
}
em {
  font-style: italic;
}
a, a:visited {
  color: var(--accent-color);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}
/* Utilities */
.m-auto {
  margin: 0 auto;
}
.p-20 {
  padding: 20px;
}
.mb-10 {
  margin-bottom: 10px;
}
.container, .section-wrapper, .interests-section-wrapper, .testimonials-section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
.container {
  padding: 20px;
}
.section-wrapper, .interests-section-wrapper, .testimonials-section-wrapper {
  padding: 0 20px;
}
.section-spacing {
  box-sizing: border-box;
}
.scroll-offset, #home, #experience, #results, #expertise, #education, #q-and-a, #testimonials, #board {
  scroll-margin-top: 55px;
}
.rounded {
  border-radius: 8px;
}
.shadow {
  box-shadow: 0 4px 6px var(--shadow-soft);
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Animations */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  height: 35px;
  width: 100%;
  z-index: 1050;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: var(--background-color) !important;
  box-shadow: 0 4px 6px var(--shadow-soft);
}
.navbar-brand {
  margin-left: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color) !important;
}
.navbar-toggler {
  display: block;
  margin-right: 10px;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link-container {
  display: flex;
  gap: 1px;
  align-items: center;
  margin-left: auto;
  margin-bottom: 2px;
}
.nav-link-container img {
  border-radius: 4px;
  transition: transform 0.3s ease;
}
.nav-link-container img:hover {
  transform: scale(1.1);
}
.nav-link {
  padding: 0;
  margin: 4px;
  display: flex;
  align-items: center;
  color: var(--primary-color) !important;
}
.navbar-light .navbar-nav .nav-link {
  color: var(--primary-color) !important;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
  color: var(--accent-hover) !important;
}
/* Buttons */
.calendly-link, .intro-links, .linkedin-connect-button {
  background-color: var(--accent-color);
  color: var(--white) !important;
  text-align: center;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.calendly-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 25px;
  margin: 0 15px;
  font-size: 16px;
  border-radius: 4px;
  padding: 0;
}
.calendly-link:hover, .intro-links:hover {
  background-color: var(--accent-hover);
  color: var(--white) !important;
}
.linkedin-connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 2px 2px 8px var(--shadow-medium);
}
.linkedin-connect-button:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.05);
}
.linkedin-connect-button img, .blogger-link-button img {
  margin-left: 10px;
  border-radius: 4px;
  transition: transform 0.3s ease;
}
.linkedin-connect-button img:hover, .blogger-link-button img:hover {
  transform: rotate(10deg);
}
.blogger-link-button:hover {
  background-color: var(--surface-color);
  transform: scale(1.05);
  text-decoration: none;
}
/* Intro */
.intro-section {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 40px auto 0;
  padding: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-image: url(../media/intro-background-architecture3.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  box-shadow: 0 4px 6px var(--shadow-soft);
}
.intro-text-content-block {
  flex: 1;
  width: 100%;
  padding: 20px;
  background-color: var(--surface-color);
  border-radius: 8px;
}
.intro-title-block h1 {
  font-size: 32px;
  color: var(--accent-color);
  font-weight: 600;
  margin: 0;
  text-align: left;
}
.intro-subtitle-block h2 {
  font-size: 24px;
  color: var(--text-muted);
  font-weight: 600;
  margin: 5px 0 10px;
  text-align: left;
}
.intro-main-text-block p {
  font-size: 15px;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.8;
  text-align: left;
}
.intro-main-text-block2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.intro-main-text-block2 p {
  font-size: 20px;
  max-width: 100%;
  font-weight: 700;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  margin: 5px 0 6px;
  position: relative;
}
.highlight-link {
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  font-style: normal;
}
.blue-text {
  color: var(--accent-color);
  font-style: italic;
  transition: color 0.3s ease;
}
.highlight-link:hover {
  visibility: hidden;
}
.highlight-link:hover::after {
  content: "Aligning technology, governance, and operating models to improve business performance";
  font-style: italic;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-color);
  white-space: normal;
  width: 460px;
  text-align: center;
  visibility: visible;
}
.intro-footer-block {
  margin: -10px 0;
  text-align: center;
  width: 100%;
}
.intro-footer-text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.intro-links-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin: 25px 0 0;
  text-align: center;
}
.intro-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 165px;
  height: 48px;
  font-size: 16px;
  border-radius: 8px;
}
.intro-links span {
  font-size: 16px;
  color: var(--white);
}
.intro-links small {
  font-size: 0.6em;
  color: var(--white);
  margin-top: -5px;
}
/* Profile Picture */
.intro-profile-picture-block {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  width: 100%;
  min-width: 300px;
  min-height: 100%;
  border-radius: 8px; /* match your text card */
  overflow: hidden; /* THIS makes rounding work */
  animation: slideInRight 1.5s ease-in-out forwards, fadeIn 2s ease-in-out forwards;
}
.intro-profile-picture-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 8px;
  transition: opacity 0.4s ease-in-out;
}
.main-img {
  z-index: 1;
  opacity: 1;
}
.hover-img {
  z-index: 2;
  opacity: 0;
}
.intro-profile-picture-block:hover .hover-img {
  opacity: 1;
}
.intro-profile-picture-block:hover .main-img {
  opacity: 0;
}
/* Results */
.results-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin: 0 auto;
  padding: 0;
}
.results-link, .results-link:hover, .results-link:focus {
  text-decoration: none;
  outline: none;
}
.results-link .results-block:hover, .results-block:hover {
  background-color: var(--overlay-hover);
  transform: scale(1.03);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.results-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex: 1 1 calc(33.33% - 30px);
  min-height: 300px;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  margin: 15px 0;
}
.results-block-1 {
  background-image: url("../media/results-background-left1.png");
}
.results-block-2 {
  background-image: url(../media/results-background-middle1.png);
}
.results-block-3 {
  background-image: url(../media/results-background-right1.png);
}
.results-title {
  font-size: clamp(24px, 3vw, 56px);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
  text-shadow: 1px 1px 2px var(--overlay-dark);
}
.results-body {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.6;
  color: var(--white);
  text-shadow: 1px 1px 2px var(--overlay-dark);
  padding: 10px;
}
/* Expertise */
.expertise-section {
  margin: 10px auto 0;
}
.expertise-heading-block, .experience-heading-block, .education-heading-block, .meet-tim-heading-block, .qanda-heading-block, .interests-heading-block, .testimonials-heading-block {
  text-align: center;
}
.expertise-heading-block {
  margin: 10px 0 20px;
}
.expertise-heading, .experience-heading, .education-heading, .meet-tim-heading, .qanda-heading, .interests-heading, .testimonials-heading {
  font-size: 24px;
  color: var(--accent-color);
  font-weight: 600;
  margin: 0;
}
.expertise-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}
.expertise-text-block {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 400px;
  padding: 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 26px;
  font-weight: 300;
  list-style-type: circle;
  text-align: left;
  border-radius: 8px;
}
.expertise-list {
  padding: 0;
  margin: 0 auto;
  list-style-position: inside;
  text-align: left;
  max-width: 98%;
}
.expertise-list li {
  margin-bottom: 10px;
}
.expertise-image-block {
  flex: 1 1 38%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  border-radius: 8px;
  background-image: url(../media/expertise-background4.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}
/* Experience and Board */
.experience-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 0;
}
.experience-heading-block {
  margin: 0 0 20px;
}
.experience-entry {
  width: 100%;
  margin: 20px auto;
  padding: 28px;
  border-radius: 8px;
  background-color: var(--surface-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 5px var(--shadow-soft);
}
.experience-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 22px;
  text-align: left;
}
.impact-list {
  margin: 0;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}
.impact-list li {
  margin-bottom: 12px;
}
.impact-list strong {
  color: var(--accent-color);
  font-weight: 600;
}
/* Education */
.education-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.education-heading-block {
  margin-bottom: 20px;
}
.education-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.education-block {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 20px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 5px var(--shadow-soft);
}
.education-block:first-child {
  background-image: url(../media/education-background-university-of-illinois-springfield.jpg);
}
.education-block:last-child {
  background-image: url(../media/education-background-purdue-university-global.jpg);
}
.education-inner-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--surface-card);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px var(--shadow-soft);
  text-align: center;
}
.education-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-color);
  margin-bottom: 10px;
}
.education-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.education-logo img {
  max-width: 250px;
  height: auto;
  margin-top: 10px;
  border-radius: 8px;
}
/* Meet Tim */
.meet-tim-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.meet-tim-heading-block {
  margin: 20px;
}
.meet-tim-video-block {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  box-shadow: 0 2px 5px var(--shadow-medium);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--black);
}
.meet-tim-video-block iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  aspect-ratio: 16 / 9;
  border-radius: inherit;
}
/* Q and A */
.qanda-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  gap: 0;
}
.qanda-heading-block {
  margin: 20px;
}
.qanda-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.qanda-block {
  background-color: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 1px 3px var(--shadow-soft);
  padding: 20px;
  text-align: left;
}
.qanda-question {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-color);
  margin-bottom: 10px;
}
.qanda-answer {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.qanda-answer a {
  color: var(--accent-color);
  text-decoration: underline;
}
.qanda-answer a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}
/* Interests */
.interests-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.interests-heading-block {
  margin: 20px 0 -5px;
}
.interests-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
.interests-block {
  position: relative;
  flex: 1 1 50%;
  min-width: 225px;
  max-width: 49%;
  height: 300px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  color: var(--white);
  font-size: 22px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 1px 3px var(--shadow-soft);
}
.interest-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  padding: 0 10px;
  pointer-events: none;
}
.coffee-roasting {
  background-image: url(../media/interestsandhobbies-roasted_beans_and_espresso.jpg);
}
.chocolatiering {
  background-image: url(../media/interestsandhobbies-chocolate_babka.jpg);
}
.pizza-making {
  background-image: url(../media/interestsandhobbies-neapolitan_pizza.jpg);
}
.geeking-out {
  background-image: url(../media/TimGeekingOut6.png);
}
/* Testimonials */
.testimonials-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  gap: 0;
}
.testimonials-heading-block {
  margin: 0;
}
.testimonials-heading {
  margin: 20px 0 15px;
}
.testimonials-list-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 40px;
  text-align: center;
  background-color: var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 1px 3px var(--shadow-soft);
}
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
}
.testimonial-block {
  background-color: var(--overlay-white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px var(--shadow-soft);
  text-align: center;
}
.testimonial-quote {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin: 15px 50px;
}
.testimonial-author {
  font-weight: 600;
  font-size: 18px;
  color: var(--surface-muted);
  text-align: center;
  margin-top: 10px;
}
/* Contact */
.contact-class {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 15px auto;
  padding: 20px;
  text-align: left;
  background-color: var(--primary-color);
  border-radius: 8px;
  gap: 15px;
  box-shadow: 0 1px 3px var(--shadow-soft);
}
.qr-code-block {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0;
}
.qr-code-block img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  box-shadow: 0 2px 5px var(--shadow-soft);
}
.contact-block {
  flex: 1;
  max-width: 80%;
  text-align: left;
}
.contact-content {
  font-weight: 300;
  font-size: 14px;
  color: var(--text-light);
  line-height: 0.7em;
}
.contact-content span {
  display: block;
  line-height: 1.0;
  margin-bottom: 0;
}
a.contactLink, a.contactLink:visited {
  color: var(--border-color);
  text-decoration: none;
}
a.contactLink:hover {
  color: var(--white);
}
a.contactLink:active {
  color: var(--surface-muted);
}
/* Footer */
.footer-horizontal-rule {
  width: 100%;
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 20px 0;
}
.footer-disclaimer {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin: 20px 0;
}
.footer-disclaimer span {
  color: var(--text-muted);
}
/* Tablet */
@media (max-width: 1200px) {
  .intro-links {
    width: 140px;
    height: 44px;
    font-size: 14px;
  }
}
@media (min-width: 769px) and (max-width: 1128px) {
  .container {
    padding: 15px;
    width: 90%;
  }
  .intro-section, .results-section, .testimonials-section, .experience-entry, .education-section, .expertise-section {
    gap: 15px;
  }
  .intro-title, .results-title, .experience-title, .experience-roles-title, .education-title, .expertise-title {
    font-size: clamp(28px, 2.5vw, 48px);
  }
  .intro-body, .results-body, .experience-body, .education-body, .expertise-body {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
  }
  .intro-section {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .intro-profile-picture-block {
    order: -1;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 30px;
    animation: slideInUp 1.5s ease-in-out forwards, fadeIn 2s ease-in-out forwards;
  }
  .intro-profile-picture-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  .intro-body {
    text-align: center;
    padding: 0 10px;
  }
  .intro-text-content-block {
    text-align: center;
    padding: 20px;
  }
  .expertise-text-block, .expertise-image-block {
    min-height: 400px;
  }
  .interests-hobbies-section {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
  }
  .interests-block {
    flex: 1 1 calc(25% - 20px);
    height: 200px;
    min-width: 200px;
    transition: all 0.3s ease-in-out;
  }
}
/* Mobile and small screens */
@media (max-width: 991px) {
  body {
    padding-top: 60px;
  }
  .navbar {
    padding: 0 10px;
    height: 50px;
  }
  .navbar-toggler {
    margin-right: 0;
  }
  .navbar-brand {
    margin-left: 5px;
  }
  .nav-link-container {
    display: flex;
    gap: 10px;
    margin-left: auto;
    margin-bottom: 1px;
  }
  .navbar-collapse {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    z-index: 1040;
    box-shadow: 0 4px 6px var(--shadow-soft);
  }
  .dropdown-menu {
    display: none;
    position: relative;
    background-color: var(--surface-color);
    box-shadow: 0 2px 4px var(--shadow-soft);
    border-radius: 8px;
    margin-top: 10px;
    padding: 10px;
  }
  .dropdown-menu.show {
    display: block;
  }
  .dropdown-item {
    padding: 10px 15px;
    font-size: 16px;
    color: var(--text-dark);
    text-align: left;
  }
  .dropdown-item:hover {
    background-color: var(--surface-muted);
    color: var(--accent-color);
  }
  .testimonial-quote {
    margin: 15px 0;
  }
}
@media (max-width: 768px) {
  #experience, #results, #expertise, #education, #q-and-a, #testimonials, #interests-and-hobbies {
    scroll-margin-top: 55px;
  }
  body {
    font-size: 14px;
    line-height: 1.5;
    padding-top: 60px;
  }
  .container {
    padding: 10px;
    width: 100%;
  }
  section {
    margin: 0 15px;
  }
  .nav-link {
    padding-top: 6px;
    margin: 4px;
    display: flex;
    align-items: center;
  }
  .intro-section, .expertise-section, .experience-entry, .education-section, .results-section, .testimonials-section {
    flex-direction: column;
    gap: 15px;
  }
  .intro-block, .results-block, .testimonials-block, .contact-block, .education-block, .expertise-block {
    width: 100%;
    margin-bottom: 20px;
  }
  .intro-body, .results-body, .experience-body, .education-body {
    font-size: 16px;
  }
  .intro-links, .experience-header, .experience-roles-header {
    flex-direction: column;
  }
  .intro-section {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 40px auto 0;
  }
  .intro-text-content-block {
    width: 100%;
    text-align: center;
  }
  .intro-main-text-block2 p {
    font-size: 20px;
    margin-bottom: 35px;
  }
  .highlight-link:hover::after {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: normal;
    display: block;
    text-align: center;
    width: 100%;
  }
  .intro-links-block {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
  }
  .intro-links {
    width: 100%;
    max-width: 300px;
    height: 48px;
    font-size: 16px;
  }
  .intro-link {
    width: 200px;
    height: 60px;
    font-size: 18px;
  }
  .intro-profile-picture-block {
    order: -1;
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
    height: auto;
    min-height: 400px;
    animation: slideInUp 1.5s ease-in-out forwards, fadeIn 2s ease-in-out forwards;
  }
  .intro-profile-picture-img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  .animated-image {
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
  }
  .results-section {
    gap: 0;
  }
  .results-block {
    margin: 15px auto -5px;
  }
  .expertise-container {
    flex-direction: column;
    padding: 20px 0;
    gap: 10px;
  }
  .expertise-heading-block {
    margin: 20px 0 -5px;
  }
  .expertise-text-block, .expertise-image-block {
    flex: 1 1 100%;
    min-height: 300px;
  }
  .expertise-text-block {
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.6;
  }
  .experience-heading-block {
    margin: -20px 0 0;
  }
  .experience-header, .experience-roles-header {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .experience-title, .experience-date {
    margin: 5px 0;
  }
  .experience-logo {
    width: 100%;
    text-align: center;
    margin: 0 auto 10px;
    order: -1;
  }
  .experience-logo img {
    width: 120px;
    height: auto;
    margin: 0 auto;
  }
  .experience-body {
    margin-top: -30px;
  }
  .interests-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 !important;
  }
  .interests-block {
    width: 100%;
    max-width: none;
    height: 250px;
    margin: 5px;
    padding: 0;
  }
}
@media only screen and (orientation: landscape) and (max-width: 1024px) {
  .intro-profile-picture-block {
    position: relative;
    width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
  }
  .intro-profile-picture-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 300px;
    height: auto;
    transition: opacity 0.3s ease-in-out;
  }
  .default-img {
    z-index: 1;
    opacity: 1;
  }
  .hover-img {
    z-index: 2;
    opacity: 0;
  }
  .intro-profile-picture-block:hover .default-img {
    opacity: 0;
  }
  .intro-profile-picture-block:hover .hover-img {
    opacity: 1;
  }
  .intro-section {
    z-index: 2;
    position: relative;
  }
}