@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --gold: #A48149;
  --gray: #DEDEDC;
  --blue: #0E2843;
  --black: #000000;
  --white: #FFFFFF;
  --red: #ff5959;
}
* {
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0px;
  margin: 0px;
  overflow-x: hidden;
}
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  cursor: pointer;
  animation: bobbing 3s ease-in-out infinite;
  transition: transform 0.2s ease;
  width: 50px;
  background-color: transparent;
}
#myBtn img{
  height: 40px;
  width: 40px;
}


#myBtn:hover {
  transform: scale(1.05);
}
@keyframes bobbing {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

.goldenline {
  border: none;
  height: 5px;
  width: 100%;
  background-color: var(--gold);
  margin: 0;
  z-index: 10;
}
.bg1 {
  z-index: -1;
  position: absolute;
  top: 0px;
  display: block;
  height: 84px;
  width: 100%;
  background-image: url("../images/cornerseethoughlinesleft34.png");
  background-color: rgba(222, 222, 220, 1);
  background-blend-mode: overlay;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.header_section {
  position: relative;
  z-index: 10;
  justify-self: center;
  height: 84px;
  display: grid;
  width: 100%;
  max-width: 1400px;
  grid-template-columns: repeat(2, 1fr);
}
.logo {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  margin: 16px auto auto 30px;
}
h1 {
  font-family: "Lora", sans-serif;
  padding: 0px 0px;
  margin: 0px;
}
.mobile-break{
  display: none;
}
.logo div {
  display: inline-block;
}
.logo img {
  height: 50px;
  vertical-align: bottom;
}
.navi {
  justify-self: end;
}
.hamburgerMenu {
  display: none;
}
.navi ul {
  text-transform: capitalize;
  list-style: none;
  font-size: 20px;
  padding: 0px;
  margin: 18px 0px auto auto;
  justify-self: end;
}
.navi ul li {
  display: inline-block;
  margin: 0px;
  position: relative;
  padding: 14px 30px;
  transition: color 0.3s ease;
}
.navi ul li:after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transform: translateX(-50%);
  transition: width 0.4s ease;
}
.navi ul li:hover {
  color: var(--gold);
}
.navi ul li:hover::after {
  width: 80%;
}
.navi ul li:focus,
.navi ul li:visited {
  outline: none;
  color: var(--black);
}
a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}
.hero_section {
  z-index: -2;
  display: flex;
  position: relative;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.95) 30%, rgba(255, 0, 0, 0)), url("../images/hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--blue);
  min-height: calc(100vh - 88px);
  width: 100%;
  padding: 0px;
  margin: 0px auto;
  animation: heroBackgroundMove 8s ease-in-out forwards;
  overflow: hidden;
}
@keyframes heroBackgroundMove {
  0% {
    background-position: center center;
    transform: scale(1.2);
  }
  100% {
    background-position: right center;
    transform: scale(1);
  }
}
.hero_section p {
  color: var(--white);
}
.hero_section span {
  color: var(--gold);
}
.slogan {
  font-size: 60px;
  justify-self: start;
  margin: 0px;
}
#slogan {
  margin-top: 170px;
  margin-left: 60px;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 1.2s ease-out 1.5s forwards;
}
@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#slogan2 {
  margin-top: 8px;
  margin-left: 124px;
}
#catchy {
  margin-top: 24px;
  margin-left: 130px;
  font-size: 20px;
}
#submit{
    position: relative;
  z-index: 5;
  border: none;
  height: 54px;
  width: 300px;
  display: flex;
  background-color: var(--gold);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 10px;
}
#button1 {
    position: relative;
  z-index: 5;
  border: none;
  height: 54px;
  width: 300px;
  display: flex;
  background-color: var(--gold);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 10px;
  position: absolute;
  width: 320px;
  top: 600px;
  left: 40%;
}
button img {
  padding-left: 10px;
  padding-top: 0px;
  width: auto;
  height: 18px;
}
.fancy-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, opacity 0.2s ease;
  outline: none;
}
.fancy-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
}
.fancy-button:hover::before {
  animation: shine 0.9s ease forwards;
}
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
.fancy-button:active {
  transform: scale(0.98);
}
.fancy-button .spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: spin 0.8s linear infinite;
  opacity: 0;
  transition: opacity 0.15s ease;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.fancy-button.loading {
  pointer-events: none;
  opacity: 0.85;
}
.fancy-button.loading .spinner {
  opacity: 1;
}
.fancy-button.loading .label {
  opacity: 0.6;
}
.fancy-button.success {
  background-color: #65a30d;
  color: #fff;
}
.anchor{
    display: block;
    position: relative;
    top: -200px;
    visibility: hidden;
}
.fancy-button.error {
  background-color: #dc2626;
  color: #fff;
}
#box2 {
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
  box-sizing: border-box;
  padding: 0px;
}
#box1 {
  width: 100%;
  box-sizing: border-box;
  padding: 0px;
  text-align: left;
}
.mission_section {
  z-index: -3;
  background-image: url("../images/cornerseethoughlinesleft34.png");
  background-color: rgba(222, 222, 220, 1);
  background-blend-mode: overlay;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  justify-self: center;
  background-color: var(--gray);
  height: auto;
  width: 100%;
}
#mission_columns {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.stats {
  justify-self: center;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.stats span {
  margin-top: 5px;
}
#idstats {
  justify-self: start;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-right: 100px;
  margin-top: 25px;
}
h2 {
  font-size: 40px;
  color: var(--gold);
  margin: 0px;
  justify-self: flex-end;
  margin-right: 16px;
}
#kogemust {
  color: var(--black);
}
.h2left {
  justify-self: flex-start;
}
.mission_left {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
}
.mission_left img {
  width: 600px;
  position: absolute;
  margin-top: 192px;
  z-index: 1;
}
.mission_right {
  margin-top: 45px;
  margin-left: 20px;
}
.mission_right img {
  width: 200px;
}
#about1 {
  margin-top: 60px;
}
#signed {
  margin-top: 80px;
}
#signed p {
  margin: 0px;
}
.product_section {
  position: relative;
  background-image: url("../images/seethoughlines50.png");
  background-color: rgba(14, 40, 67, 1);
  background-blend-mode: overlay;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--blue);
  height: 1100px;
  width: auto;
}
#question {
  margin-top: 200px;
  text-align: center;
  color: var(--white);
}
.timeline-wrapper {
  top: 50px;
  border: none;
  padding: 40px 20px 20px;
  position: relative;
  max-width: 1100px;
  margin: auto;
}
.timeline-line {
  position: absolute;
  height: 4px;
  background: var(--gold);
  left: 0;
  right: 0;
  top: 83%;
  transform: translateY(-50%);
}
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.phase {
  text-align: center;
  width: 25%;
  position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: scale(1) translateY(-0px);
}
.phase-title {
  margin-bottom: 5px;
  color: var(--white);

}
.phase:hover{
  transform: scale(1.2) translateY(-7px);
}
.phase-sub {
  color: var(--gold);
  font-weight: bold;
}
.dot {
  width: 16px;
  height: 16px;
  background-color: var(--gold);
  border-radius: 50%;
  margin: 30px auto 0;
  position: relative;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.5);
  border-width: 5px;
}
.arrow-right {
  position: absolute;
  top: 83%;
  width: 20px;
  height: 20px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  right: 1px;
  transform: translateY(-50%) rotate(45deg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 100px 50px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: scale(1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.slideshow {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 1s ease, transform 1s ease;
  z-index: 0;
}
.slideshow img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.card-content {
  position: relative;
  z-index: 2;
  /* ensures card text stays above slideshow */
  padding: 1em;
  height: 150px;
  width: auto;
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  text-align: center;
  color: var(--white);
}
.card-content h3 {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.card-content p {
  font-size: 0.95em;
  color: var(--white);
}
.partners_section {
  background-color: var(--gray);
  z-index: -10;
  display: block;
  width: 100%;
  background-image: url("../images/slantedseethoughlines8.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
   margin-bottom: 0px;
}
.goldenline_thick {
  border: none;
  height: 8px;
  width: 100%;
  background-color: var(--gold);
  margin: 0;
  z-index: 10;
}
.partners_logo {
  position: relative;
  margin: 50px auto;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  padding: 0 20px;

}
.partners_logo img {
  max-width: 300px;
  width: auto;
  height: 100px;
  object-fit: contain;
  padding: 10px;
}
.goldenline_thin {
  border: none;
  height: 4px;
  width: 100%;
  background-color: var(--gold);
  margin: 4px 0px;
  z-index: 10;
}
.contact_section {
  margin-top: -8px;
  background-image: url("../images/stiltsblur100.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--blue);
  height: auto;
  width: auto;
}
.form-wrapper {
  padding: 50px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}
.contact-form {
  background-color: var(--blue);
  padding: 30px;
  border-radius: 12px;
  flex: 1;
  color: var(--white);
}
.contact-form h2 {
  font-size: 24px;
  margin-bottom: 10px;
  justify-self: start;
}
.contact-form p {
  margin-top: 0px;
  margin-bottom: 25px;
  color: var(--white);
}
input,
textarea {
  padding: 12px 15px;
  margin: 0px;
  margin-bottom: 4px;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  width: 95%;
  display: flex;
  justify-self: center;
}
input:invalid,
textarea:invalid {
  border: 1px solid var(--red);
}
.error-msg {
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.contact-info h3 {
  margin-top: 0;
}
.contact-info p {
  color: #cbd5e1;
  margin-bottom: 10px;
}
.success-msg {
  color: #22c55e;
  text-align: center;
  margin-top: 10px;
}
.fail-msg {
  color: #ef4444;
  text-align: center;
  margin-top: 10px;
}
#submit {
  width: 100%;
  color: var(--white);
}
.field {
  margin-bottom: 10px;
}
#message{
    resize: none;
}
.field input {
  line-height: 1.5;
  font-size: 14px;
}
.contact-info {
  background-image: url("../images/cornerseethoughlinesrightbottom50.png");
  background-color: rgba(14, 40, 67, 1);
  background-blend-mode: overlay;
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--blue);
  padding: 80px;
  border-radius: 12px;
  flex: 1;
  max-width: 350px;
  color: var(--white);
  font-size: 1.1rem;
}
.footer_section {
  background-image: url("../images/slantedseethoughlines.png");
  background-color: rgba(222, 222, 220, 1);
  background-blend-mode: overlay;
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--gray);
  height: auto;
  width: auto;
  padding: 20px;
  padding-bottom: 100px;
}
.sections {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin: 10px auto;
  max-width: 1200px;
}
.social-media {
  display: flex;
  justify-content: right;
  gap: 8px;
}
.social-media img {
  height: 50px;
}
footer {
  width: 100%;
  position: absolute;
  bottom: 0px;
  padding: 20px 0 0 0;
  justify-self: center;
  color: #858585;
  text-align: center;
}
.footer_logo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 16px;
  margin: 0px auto;
  max-width: 1200px;
  color: var(--gold);
}
.error-msg {
  color: red;
  font-size: 0.9em;
  margin-top: 5px;
  display: block;
}
.mobile-timeline{
  display: none;
}
#button3{
  display: none;
}
.navbar{
  display: none;
}
@media (max-width: 1400px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 30px;
    margin: 100px 50px;
  }

  .product_section {
    height: 1500px;
  }
}
@media (max-width: 1300px) {
  .navi {
    display: none;
  }

      .navbar {
            display: contents;
    }
    .menu {
  background-image: url("../images/cornerseethoughlinesleft34.png");
  background-color: rgba(222, 222, 220, 1);
  background-blend-mode: overlay;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      display: none;
      flex-direction: column;
      animation: slideDown 0.3s ease forwards;
    }

    .menu a {
      color: var(--black);
      padding: 1rem;
      text-decoration: none;
      text-align: end;
      padding-right: 30px;
      border-top: 1px solid var(--gold);
    }

    .menu a:hover {
      background: var(--gold);
    }

    .menu.show {
      display: flex;
    }

    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }



      .header_section{
    grid-template-columns: 3fr 1fr;
  }
  .hamburgerMenu {
    display: flex;
    flex-direction: column;
    width: 54px;
    height: 62px;
    justify-content: space-evenly;
    align-items: center;
    border: 0px solid var(--gold);
    border-radius: 10px;
    justify-self: end;
    margin: auto 20px auto auto;
  }
  .line {
    height: 3px;
    width: 100%;
    border-radius: 10px;
    background-color: var(--gold);
  }
}
  @media (max-width: 770px) {
    .mobile-break{
      display: inline;
    }
    h1{
      font-size: 1.3em;
      word-break: break-all;
    }
    .logo{
      display: flex;
      gap: 5px;
      align-items: flex-start;
    }
    .slogan {
      display: block;
  font-size: 30px;
  justify-self: center;
  text-align: center;
  margin: 0px;
    }
#slogan {
  margin-left: 0px;
  margin-top: 120px;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 1.2s ease-out 1.5s forwards;
}
@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#slogan2 {
  margin-left: 0;
}
#catchy {
  text-align: center;
  margin-left: 0;
  font-size: 14px;
}
#button1 {
 display: none;
}
#mission_columns {
  justify-self: center;
  grid-template-columns: 1fr;
}
.mission_left{
  display: none;
}
.mission_right {
 margin: 0;
 padding: 20px 5%;
}
.mission_right img {
  width: 150px;
}
#about1 {
  margin-top: 20px;
}
#signed {
  margin-top: 0px;
}
#signed p {
  margin: 0px;
}
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 50px 20px;
  }
  .sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 10px auto;
  max-width: 1200px;
}
.timeline-wrapper{
  display: none;
}
.mobile-timeline{
  display: flex;
  justify-content: center;
}
.mobile-timeline img{
  width: 80%;
  max-width: 400px;
}
#question {
display: none;
}
.product_section{
  height: 2500px;
}
#button3{
  position: absolute;
  display: block;
  justify-self: center;
  top: 450px;
  z-index: 5;
  border: none;
  height: 54px;
  width: 300px;
  display: flex;
  background-color: var(--gold);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 10px;
  left: 0;
  right: 0;
  margin: auto;

}
.contact-info {
  padding: 15px;
}
.form-wrapper {
  padding: 50px 10px;
}
.footer_section {
  padding-bottom: 150px;
  }
}