/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@import url('https://fonts.googleapis.com/css?family=Poppins:900,500,400,700|Inter:700');
@import url('https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css');

* {
  -webkit-font-smoothing: antialiased;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  color: white;
  background: black;
  font-family: 'Poppins', Helvetica;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 32px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.button a {
  color: black;
}

/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1340px;
  min-width: 1124px;
  height: 100vh;
  margin: 0 auto;
  gap: 64px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  padding: 64px;
}

@media (max-width: 1024px) {
  .container {
  }
}

@media (max-width: 768px) {
  .container {
  }
}

@media (max-width: 480px) {
  .container {
  }
}

header {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

header .menu {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  gap: 56px;
  position: relative;
}

a {
  color: #ffffff;
  font-family: 'Poppins', Helvetica;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 32px;
  position: relative;
  white-space: nowrap;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

header #logo a {
  color: #ffffff;
  font-family: 'Poppins', Helvetica;
  font-size: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 32px;
  white-space: nowrap;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  gap: 16px;
  position: relative;
}

.menu a.links:hover {
  border-bottom: 2px solid #d4fa5a;
}

.button {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #d4fa5a;
  color: black;
  border-radius: 40px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  gap: 10px;
  height: 54px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0px 32px;
  position: relative;
  font-family: 'Poppins', Helvetica;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.button:hover {
  opacity: 80%;
}

section {
  margin: 54px 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

section#hero div {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 32px;
  position: relative;
  max-width: 644px;
}

#hero .title {
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  color: #ffffff;
  font-family: 'Poppins', Helvetica;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 80px;
  position: relative;
}

#hero .button {
  margin-top: 32px;
}

#roles {
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  color: white;
  font-family: 'Poppins', Helvetica;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 32px;
  margin-top: -1px;
  position: relative;
}

#roles {
  color: #defc7d;
  font-weight: 500;
}

#roles .slash {
  color: #ffffff;
}

.companies {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 32px;
  position: relative;
  margin: 0 auto;
}

.companies .title {
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  color: #ffffff;
  font-family: 'Poppins', Helvetica;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 32px;
  margin-top: -1px;
  position: relative;
  text-align: center;
}

.companies .logos {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  gap: 84px;
  opacity: 0.7;
  position: relative;
  width: 100%;
}

.case-studies {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 56px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

h2 {
  color: #ffffff;
  font-family: 'Poppins', Helvetica;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: normal;
  width: 1337px;
  margin-top: 64px;
}

.case-studies .study {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  gap: 54px;
  max-width: 1337px;
  width: 100%;
}

.case-studies .study .text {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 32px;
  position: relative;
  width: 700px;
}

.case-studies .button {
  margin-top: 24px;
}

.study.even {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  border-top: 1px solid #989898;
  padding-top: 54px;
}

h3 {
  font-family: 'Poppins', Helvetica;
  font-size: 45px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 56px;
}

.footer {
  -ms-flex-item-align: stretch !important;
  -ms-grid-row-align: stretch !important;
  align-self: stretch !important;
  -webkit-box-flex: 0 !important;
  -ms-flex: 0 0 auto !important;
  flex: 0 0 auto !important;
  width: 100%t;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-color: #989898;
  border-top-style: solid;
  border-top-width: 1px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 24px;
  position: relative;
  color: #ffffff;
  font-family: 'Poppins', Helvetica;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 32px;
  position: relative;
  white-space: nowrap;
}

.footer a:hover {
  color: #d4fa5a;
}

.footer .left {
  height: 32px;
  position: relative;
  width: 233px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
}

/* Updated Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal:target {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.modal-content {
  position: relative;
  z-index: 1;
  background-color: #000;
  padding: 48px;
  border: 1px solid #d4fa5a;
  border-radius: 5px;
  max-width: 500px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 14px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.modal-content a.linkedin {
  font-size: 20px;
  color: #d4fa5a;
}

.modal-content p {
  text-align: center;
}

.modal-content h4 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* New styles for the close button */
.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #d4fa5a;
  background: none;
  border: none;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* New styles for the copy button */
#copyEmail {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
  vertical-align: middle;
}

#copyEmail svg {
  width: 24px;
  height: 24px;
  color: #d4fa5a; /* Adjust color as needed */
}

#copyEmail:hover svg {
  color: #fff; /* Adjust hover color as needed */
}

#email {
  vertical-align: middle;
}

/* Ensure other elements don't overlap the modal */
body {
  position: relative;
}

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

/* Added styles */
.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

/* Password Modal Styles */
.password-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 300px;
  margin: 20px 0;
}

.password-input {
  padding: 12px;
  border: 1px solid #d4fa5a;
  border-radius: 4px;
  background: transparent;
  color: white;
  font-size: 16px;
  width: 100%;
}

.password-input:focus {
  outline: none;
  border-color: #fff;
}

.password-input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.password-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.password-input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.password-input::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.password-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.password-error {
  color: #ff4444;
  font-size: 14px;
  margin-top: 8px;
}

/* Existing modal styles remain unchanged */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal:target {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.modal-content {
  position: relative;
  z-index: 1;
  background-color: #000;
  padding: 48px;
  border: 1px solid #d4fa5a;
  border-radius: 5px;
  max-width: 500px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 14px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* About section styles */
.about-section {
  margin: 0;
}

.about-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 64px;
  margin-bottom: 120px;
}

.about-text {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.about-image {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.about-image img {
  width: 350px;
  height: 350px;
  border-radius: 8px;
  -o-object-fit: cover;
  object-fit: cover;
}

.roles-title {
  color: #d4fa5a;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 32px;
}

.roles-title .slash {
  color: #ffffff;
  margin: 0 8px;
}

.about-description {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 24px;
}

.expertise {
  margin-top: 120px;
}

.expertise-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 32px 1fr 32px 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.expertise-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.about-section h2 {
  margin-bottom: 32px;
}

.expertise-card p {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.8;
}

/* Responsive styles */

@media (max-width: 1024px) {
  html {
    min-width: 320px;
    margin: 0 auto;
  }

  .container {
    padding: 32px;
    min-width: 320px;
  }

  .menu {
    margin-left: 40px;
  }

  #hero img {
    max-width: 300px;
    margin-bottom: 32px;
  }

  .case-studies .study .text,
  section#hero div,
  img,
  .case-studies {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
  }

  h2 {
    text-align: center;
    width: auto;
  }

  #hero {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }

  #hero > div {
    margin-bottom: 2rem;
  }

  .study {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }

  .study.even {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .study img {
    max-width: 360px;
  }

  .study .text {
    margin-bottom: 2rem;
  }
  .about-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }

  .about-image img {
    width: 300px;
    height: 300px;
  }

  section {
    margin: 0;
  }

  .expertise-grid {
    -ms-grid-columns: (1fr) [2];
    grid-template-columns: repeat(2, 1fr);
  }
}
