html,body {
  height: 100%;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  padding: 0;
  overflow-y: visible;
  overflow-x: visible;
  scroll-behavior: smooth;
}

body {
  background-color: #edf2f5;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper > *:last-child {
  margin-top: auto;
}

.custom-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(225, 240, 250,0.7);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(200,200,200,0.3);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.logo-title-group {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.nav-logo {
  height: 100px;
  margin: 0;
}

.site-title {
  font-size: 2.0rem;
  font-weight: 700;
  color: rgb(20, 66, 83);
  margin: 0;
  position: relative;
  top: 50%;
  transform: translateY(-85%);
  
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  position: relative;
  gap: 1.5rem;
  padding-right: 2rem;
  top: -20px;
}

.nav-links a {
  text-decoration: none;
  color: rgb(20, 66, 83);
  position: relative;
  padding: 0.25rem 0;
  font-size: 1.15rem;
  font-weight: bold;
}

.nav-links a:hover {
  color: #007bff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.site-footer {
  background-color: #1c2541;
  color: white;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.footer-social-icons {
  margin-bottom: 0.5rem;
}

.footer-social-icons a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #f9aa33; 
}


h1 {
  color: #333;
  margin-left: 1rem;
}

p {
  margin-left: 1rem;
}

.hero {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-image {
  display: flex;
  align-items: center; 
  justify-content: flex-end; 
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  container-type: inline-size;
}

.hero-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  padding: clamp(0.75rem, 1.5vw, 2rem);
  font-size: inherit;
  max-width: 90%;
  width: fit-content;
  box-sizing: border-box;
}



.hero-text h1 {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  color: white;
  line-height: 1.2;
}


.leave-it-better {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fffdfb;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.lib-title {
  text-align: center;
  font-size: 2.25rem;
  color: #333;
  margin-bottom: 1rem;
}

.lib-quote {
  border-left: 5px solid #e07a5f;
  padding-left: 1rem;
  margin: 0 auto 1rem auto;
  max-width: 700px;
  text-align: left;
  color: #444;
}

.lib-quote em {
  font-style: italic;
}

.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.lib-item {
  background-color: #fefaf7;
  border-left: 5px solid #e07a5f;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  text-align: left;
  font-size: 1.05rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.lib-detail {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #555;
  animation: fadeIn 0.3s ease;
}

.lib-item:hover {
  transform: translateY(-5px);
}

.lib-item.active .lib-detail {
  display: block;
}


.media-carousel {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  margin: 4rem auto;
  border-radius: 1rem;
  background: linear-gradient(145deg, #1a1e24, #0e1015);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  color: #f2f2f2;
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}



.swiper {
  position: relative;
  z-index: 1;
}

.swiper-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 800px;
  overflow: hidden;
  border-radius: .5rem;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.media-link img[src*="spotify-logo.png"] {
  object-fit: contain;
  padding: 0rem;
  background-color: #000;
}


.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.linkedin-embed {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.linkedin-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.swiper-wrapper {
  transition-timing-function: linear !important;
}

.media-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.media-title {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: white;
}


.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  text-align: left;
}

#confirmation-message {
  display: none;
  font-size: 1rem;
  color: #2d6a4f;
  background-color: #e9f5ef;
  padding: 1rem;
  border-left: 4px solid #2d6a4f;
  border-radius: 6px;
  margin-top: 1.5rem;
}


.consultation-section:not([type="tel"]) {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #fffdfb;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}


.consultation-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}


.consultation-form input:not([type="checkbox"]),
.consultation-form textarea {
  width: 96%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}


/* Phone input flag dropdown styling */
.consultation-form button {
  border-right: 1px solid #ddd;
}

.consultation-form button {
  border-right: none; /* Remove any duplicate border */
}

.consultation-form button[type="submit"],
.consultation-form .form-submit button {
  margin-top: 0rem;
  padding: 0.76rem 1.01rem;
  background-color: #e07a5f;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.consultation-form button[type="submit"]:hover,
.consultation-form .form-submit button:hover {
  background-color: #cf684b;
  transform: translateY(-1px);
}

.consultation-section h2 {
  border-left: 4px solid #cf684b; 
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}


.reset-button {
  margin-top: 1.5rem;
  padding: 0.65rem 1.25rem;
  background-color: #fef3ec;
  border: 1px solid #e07a5f;
  color: #e07a5f;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.reset-button:hover {
  background-color: #fae4d5;
  transform: translateY(-1px);
}


.form-grid {
  display: grid;
  gap: 1.25rem;
}


.form-grid label,
.form-grid input,
.form-grid textarea,
.form-grid .checkbox-container {
  grid-column: span 2;
}

@media (min-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
  }

  .form-grid label[for="project"],
  .form-grid textarea,
  .form-grid .checkbox-container,
  .form-grid #char-count {
    grid-column: span 2;
  }
}




.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fffdfb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.about-container:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.about-photo {
  max-width: 250px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  border: 2px solid #f3eae5;
}

.about-text {
  flex: 1;
}

.about-text h1 {
  margin-top: 0;
  font-size: 2rem;
  position: relative;
  padding-left: 1rem;
  margin-left: 0;
  color: #333;
}

.about-text h1::before {
  content: '';
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #e07a5f;
  border-radius: 2px
}

.about-text p {
  line-height: 1.6;
}

.contact {
  max-width: 600px;
  margin: 2rem 0 2rem 2rem;
  padding: 2rem;
  background-color: #fffdfb;
  border-left: 5px solid #e07a5f;
  box-shadow: 0 2 8px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.contact h1 {
  margin-bottom: 2rem;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

.contact p {
  margin-bottom: 0.5rem 0;
}

.contact a {
  color: #007bff;
  text-decoration: none;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: #444;
  margin-right: 1rem;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #e07a5f
}

.contact-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem
}

.contact-group strong {
  min-width:  100px;
  text-align: left;
  padding-right: 0.5rem;
}

.address-block, .contact-block  {
  margin-left: 0.5rem;
}

.timeline-container {
  position: relative;
  padding: 2rem 2rem;
  background-color: #fffdfb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
  max-width: 1000px;
}

.timeline-heading {
  position: sticky;
  top: 0;
  background-color: #fffdfb;
  z-index: 10;
  padding: 1rem;
  text-align: center;
  margin-bottom: 0rem;
}

.timeline-heading::after {
  content: '';
  display: block;
  margin: 0.5rem auto 0;
  width: 140px;
  height: 4px;
  background-color: #e07a5f;
  border-radius: 2px;
}


.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: fit-content;
  margin: 0 auto;
  margin-top: 2rem;
  padding-left: 2rem;
  position: relative;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0.6rem; /* aligns with first dot */
  bottom: 3.4rem; /* aligns with last dot */
  left: 0;
  width: 4px;
  background-color: #e07a5f;
}



.timeline-item {
  position: relative;
  max-width: 700px;
  padding-left: 4.5rem;
  word-wrap: break-word;
  white-space: normal;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  left: -2.25rem;
  width: 0.75rem;
  height: 0.75rem;
  background-color: #e07a5f;
  border-radius: 50%;
  z-index: -1;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 0.9rem;
  left: -1.5rem;
  width: 0rem;
  height: 2px;
  background-color: #e07a5f;
  transition: width 1.0s ease-out
}

.timeline-item.line-grow::after {
  width: 12rem;
}

.timeline-item h3 {
  color: #e07a5f;
  font-weight: 700;
  width: 6rem;
  text-align: right;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}


.timeline-item p {
  margin: 0;
  font-size: 0.95rem; 
  line-height: 1.4;
  word-break: break-word;
}

.timeline-item ul {
  padding-left: 0;
  list-style-position: inside;
  margin: 0;
}

.timeline-item li {
  padding-left: 0rem;
  text-indent: -1.2rem;
  font-size: 0.95rem;
  word-break: break-word;
}
