/* ===== CUSTOM FONTS ===== */
@font-face {
  font-family: "Aaargh";
  src: url("assets/Aaargh.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Century Gothic", "Futura", "Trebuchet MS", "Arial", sans-serif;
  line-height: 1.4;
  color: #333;
  background-color: #ffffff;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2rem;
  font-weight: 300;
  color: #2c3e50;
}

h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #2c3e50;
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #2c3e50;
}

h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #34495e;
}

p {
  margin-bottom: 1em;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 0.5rem;
}

.lang-link {
  background-color: #ffffff;
  color: #3498db;
  padding: 5px 8px;
  border: 1px solid #3498db;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-link:hover {
  background-color: #3498db28;
  color: #ffffff;
}

.lang-link.active {
  background-color: #3398db28;
  color: #ffffff;
}

/* ===== MAIN LAYOUT ===== */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow: hidden;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #3498db;
  text-align: left;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 1.5rem 0;
  background-color: #ffffff;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Top Section: Profile + Map */
.hero__top {
  position: relative;
  margin-bottom: 0rem;
  padding-bottom: 1.5rem;
  min-height: 320px;
}

.hero__profile {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.hero__image {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.hero__photo {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}

.hero__info {
  flex: 1;
}

.hero__subtitle {
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: normal;
  font-family: "Aaargh", Arial, sans-serif;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.hero__subtitle::after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: calc(-50vw + 50%);
  width: 200vw;
  height: 3px;
  background-color: #3498db;
  z-index: 0;
}

.hero__title {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.hero__details {
  display: block;
  margin-top: 0.8rem;
}
.hero__details p {
  margin-bottom: 0.3rem;
  color: #666;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__icon {
  width: 16px;
  height: 16px;
  filter: invert(41%) sepia(73%) saturate(1352%) hue-rotate(183deg) brightness(101%) contrast(80%);
  flex-shrink: 0;
}

.hero__tags {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 1rem;
  align-items: flex-start;
}

.tag {
  background-color: #ffffff;
  color: #333;
  padding: 0.3rem 0.6rem;
  border: 1px solid #ddd;
  font-size: 0.75rem;
  font-weight: 400;
}

.hero__map {
  position: absolute;
  top: 0;
  left: auto;
  right: 50px;
  width: 100%;
  height: 100%;
}

.world-map {
  position: absolute;
  right: -100px;
  top: 20px;
  width: 600px;
  height: 360px;
  background-image: url("images/map.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.9;
}

.map-locations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.location-marker {
  position: absolute;
  background-color: #3498db;
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.location-marker--berlin {
  top: 30%;
  left: 45%;
}

.location-marker--singapore {
  top: 60%;
  right: 20%;
}

/* Hero Middle: Expertise */
.hero__middle {
  margin-top: -20px;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
}

.expertise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.expertise__item {
  padding: 1rem;
  background-color: #ffffff;
}

.expertise__title {
  color: #2c3e50;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.expertise__subtitle {
  color: #666;
  margin: 0;
  font-size: 0.8rem;
}

.expertise__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise__list li {
  color: #666;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  padding-left: 1.2rem;
  position: relative;
}

.expertise__list li:last-child {
  margin-bottom: 0;
}

.expertise__list li:before {
  content: "•";
  color: #3498db;
  font-weight: bold;
  font-size: 0.8rem;
  position: absolute;
  left: 0;
}

/* ===== SKILLS MATRIX ===== */
.skills-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skills-matrix__column {
  background-color: #ffffff;
  padding: 1rem;
  border: 1px solid #e0e0e0;
}

.skills-matrix__heading {
  color: #2c3e50;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #3498db;
  font-weight: 500;
}

.skills-matrix__column > .skills-matrix__heading:nth-of-type(2) {
  padding-top: 20px;
}

.skills-matrix__fields-industries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 20px;
}

.skills-matrix__list {
  position: relative;
  padding-left: 0.8rem;
}

.skills-matrix__list li {
  padding: 0.15rem 0;
  color: #555;
  line-height: 1.3;
  font-size: 0.75rem;
}

.skills-matrix__list li:before {
  content: "•";
  color: #3498db;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.skills-matrix__list li strong {
  color: #2c3e50;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 0;
  background-color: #ffffff;
  margin: 0;
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== PROCESS FLOW ===== */
.offering {
  margin-bottom: 2rem;
}

.offering__title {
  text-align: left;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-size: 1rem;
}

.process-flow {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1rem;
  background-color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.process-flow__step {
  padding: 1rem;
  text-align: left;
  border: 1px solid #e0e0e0;
  position: relative;
  background: linear-gradient(45deg, #f8f9fa 0%, #ffffff 50%, #f0f8ff 100%);
}

.process-flow__step--main {
  background: linear-gradient(45deg, #e3f2fd 0%, #f0f8ff 50%, #e8f5e8 100%);
  border: 1px solid #3498db;
}

.process-flow__step:last-child::after {
  display: none;
}

.process-flow__title {
  color: #2c3e50;
  margin-bottom: 0.8rem;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #3498db;
  color: white;
  padding: 12px 10px;
  margin: -17px -17px auto;
  position: relative;
  text-align: center;
}

.process-flow__title::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 10px solid #3498db;
}

.process-flow__details {
  padding-top: 20px;
  text-align: left;
}

.process-flow__details li,
.process-flow__work li,
.process-flow__results li {
  padding: 0.15rem 0;
  color: #555;
  position: relative;
  padding-left: 0.8rem;
  font-size: 0.75rem;
  text-align: left;
}

.process-flow__details li:before,
.process-flow__work li:before,
.process-flow__results li:before {
  content: "•";
  color: #3498db;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.process-flow__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding-top: 20px;
}

.process-flow__work h5,
.process-flow__results h5 {
  color: #2c3e50;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: left;
}

.about__skills-work-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.about__skills,
.about__work-style {
  background-color: #ffffff;
  margin-bottom: 0;
  border: none;
}

.about__skills-title,
.about__work-title {
  color: #2c3e50;
  margin-bottom: 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #3498db;
  font-size: 1rem;
  text-align: left;
}

.about__skills-text,
.about__work-text {
  color: #555;
  line-height: 1.4;
  margin: 0;
  font-size: 0.85rem;
  text-align: left;
}

/* ===== MISSIONS SECTION ===== */
.missions {
  padding: 2rem 0;
}

.missions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Tabbed Interface for Case Studies */
.missions__tabs {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.missions__tab-list {
  border-right: 1px solid #e0e0e0;
  padding-right: 1.5rem;
}

.missions__tab-button {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  background: none;
  border: 1px solid #e0e0e0;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  color: #555;
  position: relative;
}

.missions__tab-button.active::before {
  content: "•";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #3498db;
  font-weight: bold;
  font-size: 1rem;
  margin-right: 0.5rem;
}

.missions__tab-button.active {
  padding-left: 2rem;
}

.missions__tab-button:hover {
  background-color: #f8f9fa;
  border-color: #3498db;
}

.missions__tab-button.active {
  background-color: #e3f2fd;
  border-color: #3498db;
  color: #2c3e50;
  font-weight: 500;
}

.missions__tab-content {
  padding: 1rem;
  background-color: #ffffff;
  height: 520px;
  overflow-y: auto;
}

.missions__tab-panel {
  display: none;
}

.missions__tab-panel.active {
  display: block;
}

.case-studies {
  display: none;
}

.case-study {
  background-color: #ffffff;
  padding: 0;
  border: none;
}

.case-study__title {
  color: #2c3e50;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
}

.case-study__client {
  color: #666;
  margin-bottom: 1rem;
  font-style: italic;
  font-size: 0.8rem;
}

.case-study__section {
  margin-bottom: 1rem;
}

.case-study__section h4 {
  color: #2c3e50;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.case-study__section ul {
  margin-left: 0.8rem;
}

.case-study__section li {
  padding: 0.15rem 0;
  color: #555;
  position: relative;
  padding-left: 0.8rem;
  font-size: 0.75rem;
  line-height: 1.3;
}

.case-study__section li:before {
  content: "•";
  color: #3498db;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.case-study__section--success {
  background-color: #f0f8f0;
  padding: 0.8rem;
  border-left: 3px solid #27ae60;
  margin-top: 0.8rem;
  margin-left: -15px;
}

.case-study__success {
  color: #27ae60;
  font-weight: 600;
  margin: 0;
  font-size: 0.8rem;
}

/* ===== DETAILS SECTION ===== */
.details {
  padding: 1.5rem 0;
  background-color: #ffffff;
  margin: 0;
  border-top: 1px solid #e0e0e0;
}

.details__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.details__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 1rem;
}

/* ===== TIMELINE STYLES ===== */
.timeline {
  position: relative;
}

.timeline__item {
  position: relative;
  margin-bottom: 0.6rem;
  background-color: white;
  padding: 0.4rem 0 0.4rem 0rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
}

/* Timeline dots removed */
/*.timeline__item:before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #3498db;
}*/

.timeline__year {
  font-weight: 600;
  color: #3498db;
  font-size: 0.75rem;
  white-space: nowrap;
  margin: 0;
  justify-self: start;
}

.timeline__content {
  color: #555;
  font-size: 0.75rem;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  justify-self: start;
  word-wrap: break-word;
}

/* ===== LANGUAGES & CERTIFICATIONS ===== */
.education,
.vita,
.languages,
.certifications {
  background-color: white;
  padding: 0;
  margin-bottom: 2rem;
}

.education h3,
.vita h3,
.languages h3,
.certifications h3 {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: #2c3e50;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #3498db;
}

/* Languages and Certifications Row Layout */
.languages-certifications-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.languages__list,
.certifications__list {
}

.languages__list li,
.certifications__list li {
  padding: 0.2rem 0;
  color: #555;
  position: relative;
  font-size: 0.75rem;
  line-height: 1.3;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background-color: white;
}

.testimonials h3 {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: #2c3e50;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #3498db;
}

.testimonials__grid {
  display: grid;
  gap: 0.8rem;
}

.testimonial {
  background-color: #f8f9fa;
  padding: 0.8rem;
  border: 1px solid #e0e0e0;
  border-left: 3px solid #3498db;
  margin: 0;
}

.testimonial__text {
  color: #555;
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-size: 0.75rem;
}

.testimonial__source {
  color: #3498db;
  font-weight: 600;
  font-size: 0.7rem;
  font-style: normal;
  text-align: right;
  display: block;
}

.details__footer {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  position: relative;
}

.footer-quote {
  background: #f8f9fa;
  color: #2c3e50;
  padding: 2.5rem 3rem;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 600;
  margin: 0 auto;
  max-width: 800px;
  position: relative;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.footer-quote p {
  margin: 0;
  line-height: 1.4;
  text-align: center;
  position: relative;
}

/* ===== CONTACT TILES ===== */
.contact-tiles {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

.contact-tiles__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-tiles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-tile {
  background-color: #ffffff;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-tile--address {
  background-color: #3498db;
  color: #ffffff;
}

.contact-tile--address p {
  color: #ffffff;
  margin: 0.25rem 0;
}

.contact-tile__name {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.contact-tile__title {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.contact-tile__location {
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.contact-tile__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}

.contact-tile__svg-icon {
  width: 40px;
  height: 40px;
  filter: invert(41%) sepia(73%) saturate(1352%) hue-rotate(183deg) brightness(101%) contrast(80%);
}

.contact-tile__label {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.5rem;
}

.contact-tile__value {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #f8f9fa;
  padding: 2rem 0;
  margin-top: 0;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__links {
  text-align: center;
}

.footer__link {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #3498db;
}

.footer__separator {
  color: #999;
  margin: 0 1rem;
}

/* ===== MOBILE SLIDER STYLES ===== */
.slider-container {
  overflow: hidden;
  position: relative;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.3s ease;
}

.slider-item {
  min-width: 100%;
  flex-shrink: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 1rem 0;
  position: relative;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #3498db;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: #3498db;
}

/* Mobile slider dots visibility */
@media (max-width: 768px) {
  .about {
    margin: 0;
    padding: 0;
  }

  .process-flow .slider-dots {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    position: relative;
    z-index: 20;
  }
}

/* ===== RESPONSIVE DESIGN - TABLET ===== */
@media (max-width: 1024px) {
  .skills-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-studies {
    grid-template-columns: 1fr;
  }

  .hero__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__profile {
    justify-content: flex-start;
    text-align: left;
  }

  .hero__details {
    display: block;
    background-color: #ffffff;
    padding: 10px 0;
    margin: 0.5rem 0;
    border-radius: 4px;
  }

  .expertise {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE DESIGN - MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  /* Main layout */
  .main {
    padding: 0;
  }

  /* Hero section */
  .hero__container {
    padding: 0 1rem;
  }

  .hero__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__profile {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero__info {
    text-align: left;
  }

  .hero__details {
    display: block;
    max-width: 200px;
    background-color: #ffffff;
    padding: 10px 0;
    margin: 0.5rem 0;
    border-radius: 4px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__photo {
    width: 150px;
    height: 188px;
  }

  /* Skills matrix */
  .skills-matrix {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .skills-matrix__column {
    padding: 1rem;
  }

  .skills-matrix__heading {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  /* Expertise */
  .expertise {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* About section */
  .about {
    margin: 4rem 0 0;
  }

  .about__container {
    padding: 0 1rem;
  }

  /* Skills and work sections mobile */
  .about__skills-work-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about__skills,
  .about__work-style {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  /* Process flow - Mobile Slider Full Width */
  .process-flow {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border: none;
    background: none;
    width: calc(100vw - 2rem);
    margin-left: 0;
  }

  .process-flow.slider-container {
    overflow: hidden;
    position: relative;
    width: calc(100% - 1px);
    display: block;
  }

  .process-flow.slider-container .slider-wrapper {
    display: flex;
    padding: 0;
    width: 100%;
  }

  .process-flow .slider-item {
    background-color: white;
    margin: 0;
    width: calc(100% / 3);
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .process-flow .slider-item .process-flow__title {
    margin: -1rem -1rem 0.8rem -1rem;
    padding: 0.5rem 1rem;
  }

  .process-flow .slider-item .process-flow__title::after {
    display: none;
  }

  .process-flow__content {
    grid-template-columns: 1fr;
  }

  /* Missions section */
  .missions__container {
    padding: 0 1rem;
  }

  /* Mobile tabbed interface */
  .missions__tabs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .missions__tab-list {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .missions__tab-button {
    margin-right: 0;
    margin-bottom: 0.5rem;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    width: 100%;
  }

  .missions__tab-button.active {
    padding-left: 2rem;
  }

  .missions__tab-button.active::before {
    left: 0.8rem;
    margin-right: 0.5rem;
  }

  .missions__tab-content {
    height: fit-content;
    padding: 10px 0;
    overflow-y: auto;
  }

  .case-studies {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Details section */
  .details {
    margin: 0;
    border: 0;
  }

  .details__container {
    padding: 0 1rem;
  }

  .details__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Timeline adjustments */
  .timeline:before {
    display: none;
  }

  .timeline__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    grid-template-columns: none;
  }

  /* Timeline dots removed on mobile too */
  /*.timeline__item:before {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }*/

  .timeline__content {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    width: 100%;
  }

  .case-study__section--success {
    margin-left: 0;
  }

  /* Quote section mobile */
  .details__footer {
    padding: 3rem 1rem;
  }

  .footer-quote {
    padding: 2rem 1.5rem;
    font-size: 1.2rem;
    border: 2px solid #e0e0e0;
  }

  /* Contact tiles mobile */
  .contact-tiles__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-tile {
    min-height: 150px;
  }

  /* Footer */
  .footer__container {
    padding: 0 1rem;
  }

  /* Typography adjustments */
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1rem;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__tags {
    align-items: start;
  }

  /* Hero section mobile adjustments */
  .hero__top {
    min-height: 250px;
  }

  .world-map {
    right: -50px;
    width: 400px;
    height: 240px;
    opacity: 0.7;
  }

  /* Languages and certifications mobile layout */
  .languages-certifications-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
  }

  .certifications {
    margin-bottom: 0;
  }

  .testimonials {
    padding: 10px 0;
  }
}

/* ===== SMALLER MOBILE DEVICES (480px and below) ===== */
@media (max-width: 480px) {
  .hero__profile {
    margin-top: 100px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 0.9rem;
  }

  .hero__photo {
    width: 100px;
    height: 125px;
  }

  .process-flow__step,
  .case-study,
  .testimonial,
  .timeline__item {
    padding: 0.8rem;
  }

  .hero {
    padding: 1.5rem 0;
  }

  .about,
  .missions,
  .details {
    padding: 1.5rem 0;
  }

  .about {
    padding: 10px 0;
    margin: 0;
  }

  .missions__tab-button {
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
  }

  /* Hero section small mobile */
  .hero__top {
    min-height: 200px;
  }

  .world-map {
    right: -20px;
    width: 300px;
    height: 180px;
    opacity: 0.6;
    top: -160px;
  }

  .process-flow.slider-container {
    display: block;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .footer {
    display: none;
  }

  .hero,
  .about,
  .details {
    margin: 0;
    padding: 1rem 0;
  }

  .case-studies,
  .skills-matrix,
  .details__content {
    grid-template-columns: 1fr;
  }

  .hero__top {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  h1 {
    font-size: 18pt;
  }
  h2 {
    font-size: 16pt;
  }
  h3 {
    font-size: 14pt;
  }

  .testimonial,
  .case-study {
    break-inside: avoid;
  }

  .slider-dots {
    display: none;
  }
}
