/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *






 */
 
body {
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-display: swap;
  background-color: #f8f6f2;
  margin: 0;
  padding: 0;
}

.jumbotron {
  border-radius: 10px;
}

.rule-text {
  font-weight: 700;
}

.text-purple {
  color: #6f42c1;
}


a {
  text-decoration: none;
  color: inherit; /* Ensures the text or elements inside do not change color */
}

a:hover .image-overlay {
  /* Any hover effects for the overlay can still be applied */
}


.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* Apply font styles only to elements within the .navbar class */
.navbar {
  font-family: Arial, sans-serif;
  color: #333;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar .container {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.navbar-brand img {
  width: 56px;
  height: 56px;
}

.navbar-nav .nav-link {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}


/* Give navigation its own width without changing the page content containers. */
.site-nav {
  background: #fafaf9;
  border-bottom: 1px solid #e6e1da;
  font-family: "Source Sans 3", "Helvetica Neue", sans-serif;
  padding: 0.75rem 0;
}
.site-nav .site-nav__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
  gap: 1.75rem;
}
.site-nav .site-nav__brand { flex-shrink: 0; margin: 0; padding: 0; }
.site-nav .site-nav__brand img { width: 48px; height: 48px; }
.site-nav__menu { justify-content: flex-end; gap: 1.75rem; }
.site-nav__links { gap: 0.5rem; align-items: center; }
.site-nav .nav-link {
  color: #4b4b4b;
  font-size: 1rem;
  white-space: nowrap;
  padding: 0.6rem 0.75rem;
}
.site-nav .nav-link:hover { color: #1e4e49; }
.site-nav__account {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  border-left: 1px solid #deded8;
  padding-left: 1.75rem;
}
.site-nav__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 1rem;
  border: 1px solid #d2e1dc;
  border-radius: 8px;
  background: #edf4f1;
  color: #1e4e49;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav__tool:hover { background: #dfede7; color: #1e4e49; }
.site-nav__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #53625c;
  font-size: 0.85rem;
  white-space: nowrap;
}
.site-nav__dot { width: 7px; height: 7px; border-radius: 50%; background: #2b6f69; }
.site-nav__account form { margin: 0; }
.site-nav__logout {
  background: transparent;
  border: 0;
  padding: 0.6rem 0;
  min-height: 40px;
  color: #4b4b4b;
  font: inherit;
  font-size: 0.95rem;
  white-space: nowrap;
  cursor: pointer;
}
.site-nav__logout:hover { color: #1e4e49; text-decoration: underline; text-underline-offset: 4px; }
.site-nav :is(a, button):focus-visible { outline: 3px solid #2b6f69; outline-offset: 4px; border-radius: 6px; }
@media (max-width: 1199.98px) {
  .site-nav .site-nav__inner { padding: 0 1.25rem; gap: 0; }
  .site-nav__menu { padding-top: 1rem; }
  .site-nav__links { align-items: stretch; gap: 0.1rem; }
  .site-nav .nav-link { padding: 0.65rem 0; }
  .site-nav__account { border-left: 0; border-top: 1px solid #e6e1da; margin-top: 0.75rem; padding: 1rem 0 0.25rem; gap: 1.25rem; flex-wrap: wrap; }
}

/* CSS for notifications */
.notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.notification {
  display: none;
  min-width: 200px;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out; /* Increased duration for smoother transition */
  transform: translateY(20px);
}

.notification.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.notification.notice {
  background-color: #5cb85c; /* Green for success messages */
}

.notification.alert {
  background-color: #d9534f; /* Red for error messages */
}


  /* Timeline Styling */
  .timeline-container {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid transparent;
  }

  .timeline-vertical {
    position: relative;
    padding-left: 30px;
  }

  .timeline-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, rgba(43, 111, 105, 0.15), #2b6f69);
    /*background: linear-gradient(to top, #2a2b5e, #5b2a6e, #8a345e, #b45b3b, #f5a623); */ /* Reversed gradient */
    /*background: linear-gradient(to bottom, #2a2b5e, #5b2a6e, #8a345e, #b45b3b, #f5a623);*/
    z-index: -1;
  }

  .timeline-item {
    position: relative;
    margin-bottom: 50px;
    cursor: pointer;
  }

  .timeline-marker {
    position: absolute;
    left: 0px;
    top: 15px; /* Adjusted for centering */
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: background-color 0.3s ease;
  }

  .timeline-info {
    margin-left: 30px;
  }

  .timeline-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #333;
  }

  .timeline-info p {
    margin: 0;
    font-size: 0.9rem;
  }

  .timeline-info small {
    font-size: 0.8rem;
    color: #666;
  }

  /* Modal-like Content */
  .timeline-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 90%;
    padding: 20px;
    background-color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
  }

  .timeline-modal-content {
    text-align: left;
  }

  .timeline-modal h5 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
  }

  .timeline-modal p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
  }

  /* Animation for showing the modal */
  .timeline-modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }




  /* Basic project card styling */
  .project-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .project-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .project-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 15px;
  }

  .brand-name {
    font-size: 1.25rem;
    color: #333;
    margin: 0;
  }

  .project-details {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    font-size: 1rem;
    color: #555;
  }

  .project-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }

  .bullet-point {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2b6f69;
    margin-right: 10px;
  }


  /* Image Grid Styling */
  .project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
  }
  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(5, 325px); /* 5 rows with a fixed height of 325px */
    gap: 20px; /* Space between images */
    justify-content: center; /* Centers the grid horizontally */
    padding-right: 20px;
  }


/* Media query for mobile devices */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 column */
    grid-template-rows: repeat(10, 1fr); /* 10 rows */
  }
}


  .image-item {
    position: relative;
    width: 325px;
    height: 325px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f5f5f5; 
  }

.project-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}


  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
  }

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px; /* Match the initial rounded corners */
  transition: opacity 0.3s ease, border-radius background-color 0.3s ease;
}

.image-item:hover {
  transform: scale(1.05); /* Slightly enlarge the image block */
  border-radius: 16px; /* Increase the corner rounding on hover */
}

.image-item:hover .project-image {
  transform: scale(1.1); /* Slightly move the image on hover */
}

.image-item:hover .image-overlay {
  border-radius: 16px; /* Match the increased rounded corners */
  background-color: transparent;
}
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Source+Sans+3:wght@400;500;600&display=swap");

:root {
  --ink: #1b1b1b;
  --muted: #4b4b4b;
  --surface: #f4f1ec;
  --surface-strong: #e6e1da;
  --card: #ffffff;
  --accent: #2b6f69;
  --accent-strong: #1e4e49;
  --shadow: 0 30px 60px rgba(12, 12, 12, 0.12);
}

.home-page {
  background: radial-gradient(circle at top right, #f0ebe2 0%, #f8f6f2 50%, #f2efe9 100%);
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.home-page::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto 50%;
  height: 380px;
  width: 380px;
  border-radius: 50%;
  background: rgba(43, 111, 105, 0.12);
  filter: blur(0);
  transform: translateX(-20%);
  z-index: 0;
}

.home-page::after {
  content: "";
  position: absolute;
  inset: auto auto -120px -120px;
  height: 320px;
  width: 320px;
  border-radius: 30% 70% 70% 30%;
  background: rgba(43, 111, 105, 0.08);
  z-index: 0;
}

.home-page .container {
  position: relative;
  z-index: 1;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1.6rem, 3.8rem);
  margin-bottom: 1.5rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
}

.hero-meta {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2.5rem 0 2.8rem;
}

.hero-meta__architecture {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 1.5rem) / 2);
}

.hero-meta .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
}

.hero-meta p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 20px 35px rgba(43, 111, 105, 0.25);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 45px rgba(43, 111, 105, 0.3);
  color: #ffffff;
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header p {
  color: var(--muted);
  max-width: 620px;
}

.section-note {
  margin-top: 1.5rem;
  color: var(--muted);
  max-width: 720px;
}

.beliefs {
  background: var(--surface);
}

.beliefs-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.belief-card {
  padding: 1.8rem;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.belief-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.service-list li {
  padding: 1.2rem 1.6rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--surface-strong);
}

.brands {
  background: linear-gradient(120deg, #f8f6f2 0%, #f0ede7 100%);
}

.brands-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.brand-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--surface-strong);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  min-height: 120px;
}

.brand-logo {
  width: 160px;
  height: 64px;
  object-fit: contain;
}

.brand-name {
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--accent-strong);
  margin-top: auto;
  padding-top: 0.5rem;
}

.split-headline span {
  display: block;
}

.brand-love {
  margin-top: 1.5rem;
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
}

.global .language-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.language-strip span {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--accent-strong);
  font-weight: 600;
  text-transform: lowercase;
}

.language-marquee {
  overflow: hidden;
  background: var(--surface-strong);
  border-radius: 999px;
  padding: 0.5rem 0;
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
}

.language-track {
  display: inline-flex;
  gap: 1.5rem;
  padding: 0 1.5rem;
  animation: marquee-scroll 18s linear infinite;
  font-weight: 600;
  color: var(--accent-strong);
  flex-shrink: 0;
  min-width: 100%;
}

.language-track span {
  min-width: 80px;
  text-align: center;
}

.partners-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.partners-grid span {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--surface-strong);
}

.partners-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact {
  padding-bottom: 6rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--accent-strong);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: 22px;
  box-shadow: 0 30px 50px rgba(30, 78, 73, 0.4);
}

.contact-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-card .cta-button {
  background: #ffffff;
  color: var(--accent-strong);
  box-shadow: none;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-track {
    animation: none;
  }
}

@media (min-width: 768px) {
  .contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 4.5rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-meta__architecture {
    width: 100%;
  }
}

.page-shell {
  background: radial-gradient(circle at top left, #f2efe9 0%, #f8f6f2 60%, #f4f1ec 100%);
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  padding-bottom: 4rem;
}

.page-hero {
  padding: 4.5rem 0 3rem;
}

.page-hero .eyebrow {
  margin-bottom: 1rem;
}

.page-hero .lede {
  max-width: 720px;
}

.page-section {
  padding: 3rem 0;
}

.speaking-table td {
  vertical-align: middle;
  text-align: center;
}
.auth-page {
  padding: clamp(2rem, 6vw, 4.5rem) 1rem;
  color: var(--ink, #1b1b1b);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: clamp(1.25rem, 5vw, 2.25rem);
  background: #fff;
  border: 1px solid #e6e1da;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(27, 27, 27, 0.06);
  text-align: left;
}

.auth-header { margin-bottom: 1.75rem; }
.auth-eyebrow {
  color: var(--accent, #2b6f69);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.auth-header h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.65rem, 4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0 0 0.75rem;
}
.auth-header > p:last-child { color: var(--muted, #4b4b4b); margin: 0; }
.auth-form { display: grid; gap: 1.15rem; }
.auth-field { display: grid; gap: 0.4rem; }
.auth-field label, .auth-checkbox label { font-size: 0.95rem; font-weight: 600; }
.auth-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #c9c8c3;
  border-radius: 8px;
  background: #fff;
  color: #1b1b1b;
  font: inherit;
  font-size: 1rem;
}
.auth-field .field_with_errors { display: contents; }
.auth-field .field_with_errors input { border-color: #a63232; }
.auth-page :is(input, a, button):focus-visible {
  outline: 3px solid #2b6f69;
  outline-offset: 3px;
}
.auth-hint { color: #595959; font-size: 0.85rem; margin: 0; }
.auth-checkbox { display: flex; align-items: center; gap: 0.5rem; }
.auth-checkbox input { width: 1rem; height: 1rem; accent-color: #2b6f69; }
.auth-submit {
  width: 100%;
  min-height: 46px;
  border: 1px solid #2b6f69;
  border-radius: 8px;
  background: #2b6f69;
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
}
.auth-submit:hover { background: #1e4e49; border-color: #1e4e49; }
.auth-submit:disabled { opacity: 0.65; cursor: wait; }
.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e6e1da;
  font-size: 0.9rem;
}
.auth-links a { color: #1e4e49; text-decoration: underline; text-underline-offset: 3px; }
.auth-errors {
  padding: 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e8baba;
  border-radius: 8px;
  background: #fff5f5;
  color: #822727;
  overflow-wrap: anywhere;
}
.auth-errors h2 { font-size: 1rem; line-height: 1.4; margin: 0 0 0.5rem; }
.auth-errors ul { margin: 0; padding-left: 1.2rem; font-size: 0.9rem; }
