@font-face {
  font-family: 'Inter';
  src: url('./properties/font/Inter/Inter-VariableFont_opsz\,wght.ttf') format('truetype'),
       url('./fonts/Inter-Regular.woff2') format('woff2'),
       url('./fonts/Inter-Regular.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Special Gothic';
  src: url('./properties/font/SpecialGothic/SpecialGothic-Regular.ttf') format('truetype'),
       url('./fonts/SpecialGothic-Regular.woff2') format('woff2'),
       url('./fonts/SpecialGothic-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Special Gothic', sans-serif;
  background: linear-gradient(to bottom, #4C6176 0%, #485369 35%, #394359 67%, #121A2C 100%);
  color: #E2F7FA;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  background: url('./properties//image/dark-corporate-building\(1\).jpg') no-repeat center center/cover;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  height: 50vh;
}

.profile-card {
  top: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0;
  display: flex;
  align-items: center;
  max-width: 800px;
  width: 100%;
  height: 280px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  gap: 2rem;
  margin: 0 auto;
  overflow: visible;

}

.profile-img {
  width: 50%;
  height: auto;
  overflow: visible;
  transform: translateY(-18%);
  top: 50%;
  left: -80px;
  z-index: 3;
}

.profile-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.text-section {
  flex: 1;
  padding: 2rem;
  text-align: center;
}

.name {
  font-family: 'Inter', sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 1px;
}

.name span {
  font-family: 'Inter', sans-serif;
  display: block;
  color: #f5c048;
  font-size: 5.5rem;
}

.roles {
  margin-top: 7rem;
  font-size: 1.43rem;
  letter-spacing: 1px;
  color: #e0e0e0;
  text-align: center;
  width: 100%;
}

.footer {
  background-color: transparent;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .navigation a:hover {
  color: #AAD7FF;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.navigation {
  font-size: 1rem;
  letter-spacing: 1px;
  color: #bfcde0;

  border: 1px solid rgba(255, 255, 255, 0.167);
  border-top-right-radius: 45px;
  border-bottom-right-radius: 45px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0.2rem 1.2rem;
  display: inline-block;                 
  backdrop-filter: blur(5px);
  background-color: rgba(255, 255, 255, 0.05);
  height: 70px;

  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: flex-start;
  gap: 2px;

  position: relative;   /* or absolute/fixed, if needed */
  left: 0;
  margin-left: 0;
  transform: translateX(-40px);
}

.navigation p {
  z-index: 2;
  transform: translateY(0%);
}

.navigation a {
  color: #bfcde0;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 0 1rem 0rem;
  text-align: center;
}

.navigation p,
.navigation a {
  margin-top: 0.4rem;
  line-height: 1.2;
  padding-left: 2rem;
}

.socials {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
}

.socials a {
  display: inline-block;
}

.socials #email {
  width: 45px;
  height: 45px;
  padding: 5px;
  color: #bfcde0;
}

.socials #linkedin {
  width: 45px;
  height: 45px;
  padding: 5px;
  color: #bfcde0;
}

.socials #ig {
  width: 45px;
  height: 45px; 
  padding: 5px;
  color: #bfcde0;
}

/* Tablets - 1 */
@media (max-width: 895px){

  .profile-img {
    width: 50%;
    position: absolute;
    left: -10px;
    transform: translateY(-72%);
  }

  .profile-img img {
  width: 95%;
}

  .text-section{
    transform: translateX(20%);
  }

  .navigation p{
    transform: translateY(0%);
  }
 
}

/* Tablets - 2*/
@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 4rem 1rem;
  }

  .profile-card {
    top: 30px;
    flex-direction: column;
    width: 95%;
    height: 177px;
    padding: 0 1rem 2rem;
    margin-top: 100px;
  }

  .profile-img {
    width: 195px;
    position: absolute;
    left: 10px;
    transform: translateY(-78%);
  }

  .text-section {
    width: 100%;
    padding-top: 120px;
    padding-bottom: 1rem;
    text-align: right;
    right: 100px;
    transform: translateY(-35.5%);
  }

  .name {
    font-size: 3.5rem;
  }

  .name span {
    font-size: 3.5rem;
  }

  .roles {
    margin-top: 2.4rem;
    font-size: 1rem;
  }

  .footer {
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
  }

  .navigation {
    font-size: 0.8rem;
    padding: 0.2rem 1rem;
    height: auto;
    position: relative;
    left: 0;
    margin-left: 0;
    transform: translateX(-35px);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 45px;
    border-bottom-right-radius: 45px;
    align-items: flex-start;
  }
  
  .navigation a {
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .socials {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .profile-card {
    width: 75%;
    margin-top: 80px;
    height: 160px;
  }

  .profile-img {
    width: 190px;
    top: 104px;
    left: -4px;
  }

  .text-section {
    padding-top: 55px;
    transform: translateX(10%);
  }

  .name {
    font-size: 1.8rem;
  }

  .name span {
    font-size: 1.8rem;
  }

  .roles {
    display: flex;
    flex-wrap: wrap;
    width: 86%;
    font-size: 0.8rem;
    padding: 0.5rem;

  }

  .socials #email,
  .socials #linkedin,
  .socials #ig {
    width: 30px;
    height: 30px;
  }

  .navigation {
    font-size: 0.6rem;
    padding: 0.2rem 1rem;
    height: auto;
    position: relative;
    left: 0;
    margin-left: 0;
    transform: translateX(-35px);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 45px;
    border-bottom-right-radius: 45px;
    align-items: flex-start;
  }
  
  .navigation p{
    transform: translateY(0%);
  }
  .navigation a {
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .socials {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
  }
}

@media (max-width: 435px){
  .profile-card {
    width: 85%;
    margin-top: 80px;
    height: 160px;
  }

  .navigation p{
    transform: translateY(0%);
  }
  .navigation a {
    margin-bottom: 1rem;
    text-align: left;
  }
}

@media (max-width: 395px) {
 
  .profile-card {
    width: 95%;
    margin-top: 80px;
    height: 160px;
  }
  .navigation p{
    transform: translateY(0%);
  }
  .navigation a {
    margin-bottom: 1rem;
    text-align: left;
  }
}

