:root {
  --color-primary: #0C2B3F;
  --color-secondary: #86959F;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--color-primary);
}

body {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  margin: 0;
  padding: 0;
  margin-bottom: 2rem;
  font-weight: 500;

}

h1 {
  font-size: 3.5rem;
  line-height: 4.5rem;
}

p {
  font-size: 15px;
  line-height: 25px;
  margin-bottom: 2rem;
}

h2.small-caps {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12rem;
  color: var(--color-primary);
  border-bottom: 2px solid #efefef;
  padding-bottom: 1rem;
  display: inline-block;
}

.logo {
  width: 50px;
  display: block;
  pointer-events: none;
  padding: 10px;
}

.logo-full {
  width: 200px;
  display: block;
  pointer-events: none;
}

.scroll-container-container {
  width: 100%;
  overflow: hidden;
}

.scroll-container {
  opacity: 0;
  transition: opacity 1s;
  margin-left: -5%;
  width: 110%;
}

.loaded {
  opacity: 1;
}

.small-container,
.medium-container,
.container {
  max-width: 800px;
  margin: auto;
  width: 90%;
  padding: 2rem 0;
  animation: fadeInRise 1s ease-out forwards;
}

.medium-container {
  max-width: 1100px;
}

.container {
  max-width: 1200px;
}

.no-animation {
  animation: none;
}

.footer-cta {
  padding: 2rem 0;
  background-color: var(--color-primary);
  color: white;
}

.footer-cta-small {
  padding: 0.5rem 0;
}

.footer-cta .container {
  padding: 0;
}

.footer-cta h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.footer-cta .button {
  margin: 0;
  white-space: nowrap;
  background-color: white;
  color: var(--color-primary);
}

.footer-cta .button:hover {
  background-color: var(--color-secondary);
  color: white;
}

@media (max-width: 1250px) {
  .footer-cta .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1rem 0;
  }
}

.cta-description {
  max-width: 600px;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

.map-background {
  background-image: url("../img/map.png");
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
  color: white;
}

a.button {
  color: #fff;
  background-color: var(--color-primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  margin: 1rem 0;
  display: inline-block;
  transition: background-color 0.5s;
  font-weight: 500;
  font-size: 14px;
}

a.button:hover {
  background-color: var(--color-secondary);
}

main {
  padding: 4rem 0;
  padding-bottom: 0;
}

.blog-post img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.blog-post li {
  padding-bottom: 10px;
}

.blog-post ul {
  padding-bottom: 10px;
}

.flex {
  display: flex;
}

.row {
  flex-direction: row;
  gap: 1rem;
}

.column {
  flex-direction: column;
  gap: 4rem;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: end;
}

.width-75 {
  width: 75%;
}

.width-50 {
  width: 50%;
}

.width-33 {
  width: 33%;
}

.grey-background {
  background-color: #f7f7f7;
  background: linear-gradient(to bottom, #f7f7f7, #ffffff);
}

.rounded {
  border-radius: 10px;
}

.full-width {
  width: 100%;
}

.gap-4 {
  gap: 4rem;
}


.gap-3 {
  gap: 3rem;
}


.gap-2 {
  gap: 2rem;
}

.gap-1 {
  gap: 1rem;
}

.gap-05 {
  gap: 0.5rem;
}

.gap-0 {
  gap: 0;
}

.align-right {
  text-align: right;
}

.align-left {
  margin-right: auto;
}

.swoosh-excerpt {
  padding: 0;
  margin: 0;
}

.swoosh-excerpt p {
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}


.padding-top-2 {
  padding-top: 2rem;
}

.padding-bottom-2 {
  padding-bottom: 2rem;
}

.padding-bottom-1 {
  padding-bottom: 1rem;
}

.no-margin-top {
  margin-top: 0;
}

.no-padding-top {
  padding-top: 0;
}

.padding-bottom-0 {
  padding-bottom: 0;
}

.padding-top-0 {
  padding-top: 0;
}

.margin-bottom-0 {
  margin-bottom: 0;
}

.margin-0 {
  margin: 0;
}

.align-end {
  align-items: flex-end;
}


.carousel img {
  height: 400px;
}

.carousel {
  padding: 2rem 0;
}

.carousel::-webkit-scrollbar {
  display: none;
}

hr {
  border: 0;
  border-top: 1px solid #f7f7f7;
  margin: 2rem 0;
}

section {
  padding: 4rem 0;
  margin: 2rem 0;
}

footer {
  background-color: #f7f7f7;
  padding: 5rem 0;
  padding-bottom: 0;

  font-size: 12px;
}

footer ul {
  list-style-type: none;
  font-size: 12px;
  padding: 0;
  margin: 0;
}

footer ul li.footer-title {

  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12rem;
  color: var(--color-primary);
  border-bottom: 2px solid #efefef;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  display: inline-block;
}

footer ul li {
  padding-bottom: 0.8rem;
}

footer ul li a {
  color: inherit;
  text-decoration: none;
}

footer ul li a:hover {
  text-decoration: underline;
}

footer .flex {
  align-items: start;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: start;
}

footer .block {
  width: 25%;
}

footer img {
  margin-bottom: 2rem;
}

ul.across {
  list-style-type: none;
  display: block;
}

ul.across li {
  display: inline-block;
  margin: 0;
  padding: 0;
  margin-right: 2rem;
}

ul.bunch {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-bottom: 2rem;
}

ul.bunch li {
  margin: 0;
  padding: 0;
  margin-bottom: 0.6rem;
}

.bunch-v {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.mobile {
  display: none;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin-right: 2rem;
}

nav ul li a {
  color: inherit;
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
}

nav ul li a.button {
  text-decoration: none;
}

form ul.bunch {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

form ul.bunch li.form-row {
  display: flex;
  gap: 1rem;
}

form ul.bunch li.form-row > * {
  flex: 1;
}

form ul.bunch li {
  margin-bottom: 1rem;
} 

form ul.bunch li label {
  display: block;
  margin-bottom: 0.5rem;
}

form ul.bunch li input,
form ul.bunch li select,
form ul.bunch li textarea {
  width: calc(100% - 1.6rem);
  padding: 0.8rem;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
}

form ul.bunch li input:focus,
form ul.bunch li select:focus,
form ul.bunch li textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

form ul.bunch li label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

form ul.bunch li button {
  border: none;
  cursor: pointer;
}

form ul.bunch li textarea {
  resize: vertical;
  min-height: 100px;
}

form ul.bunch li button.button {
  background-color: var(--color-primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  margin: 1rem 0;
  display: inline-block;
  transition: background-color 0.5s;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: white;
}

form ul.bunch li button.button:hover {
  background-color: var(--color-secondary);
}





.modal-box {
  padding: 2rem;
  border-radius: 10px;
}

.text-align-center {
  text-align: center;
}

/* Keyframes for fade and rise animation */
@keyframes fadeInRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Transitions */
.page-transition {
  animation: pageFade 0.3s ease-out;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.service-box {

    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 25%;
    margin-bottom: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;


}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-box-full-width {
  text-align: left;
  width: 100%;
  padding: 2rem 3rem;
}

.service-box-full-width p {
  padding: 0;
  margin: 0;
}

.service-icon {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.wrap {
    flex-wrap: wrap;
}

.width-25 {
    width: 25%;
}



.swoosh-container {
    position: relative;
    padding: 2rem 4rem;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    z-index:-1000;
    padding-top: 3rem;
}

.swoosh-effect {
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0.06;
    border-radius: 50%;
    top: -25%;
    left: -85%;
    animation: rotate 20s infinite linear;
    z-index:-100;
}

.swoosh-effect-2 {
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(-45deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0.05;
    border-radius: 50%;
    top: -25%;
    left: -35%;
    animation: rotate 15s infinite linear reverse;
    z-index:-100;
}

.swoosh-effect-3 {
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0.04;
    border-radius: 50%;
    top: -10%;
    left: -40%;
    animation: rotate 25s infinite linear;
    z-index:-100;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.underline-dark {
  border-bottom: 2px solid var(--color-primary) !important;
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1000;
  transition: transform 500ms;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-button.active {
  transform: rotate(180deg);
}

.mobile-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  transition: all 0.3s ease;
}

.mobile-menu-button span:first-child {
  top: 0;
}

.mobile-menu-button span:nth-child(2) {
  top: 9px;
}

.mobile-menu-button span:last-child {
  bottom: 0;
}

/* X animation states */
.mobile-menu-button.active span:first-child {
  transform: rotate(45deg);
  top: 9px;
}

.mobile-menu-button.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.active span:last-child {
  transform: rotate(-45deg);
  bottom: 9px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
  height: 100vh;
  background-color: white;
  padding: 4rem 5%;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
}

.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  margin: 2rem 0;
  text-align: center;
  display: block;
}

.mobile-menu ul li a {
  font-size: 1.2rem;
  text-decoration: none;
  display: block;
}

/* Update the existing media query */
@media (max-width: 1250px) {
  .mobile-menu-button {
    display: block;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 1250px) {
  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  .mobile-block {
    display: block;
  }

  .footer-title {
    padding-top: 20px;
  }

  .flex {
    display: block;
  }

  .flex-mobile {
    display: flex;
  }

  .flex-child {
    width: 100%;
  }

  .width-50,
  .width-25,
  .width-33 {
    width: 100%;
  }

  .service-box {
    padding: 1.5rem 5%;
    width: 90%;
  }

  .mobile-padding-bottom-2 {
    padding-bottom: 2rem;
  }

  ul.block-mobile li {
    display: block;
    margin: 0;
    margin-bottom: 1rem;
  }

  footer .block {
    width: 100%;
  }

  h1 {
    font-size: 2.5rem;
    line-height: 3.2rem;
  }
}

.blog-post-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 25%;
    margin-bottom: 2rem;
}

.post-title-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title-link:hover {
    color: var(--color-secondary);
}

.read-more {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--color-secondary);
}

@media (max-width: 1250px) {
    .blog-post-card {
        width: 80%;
        padding: 2rem 10%;
    }
}