html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: "Inter", sans-serif;
  background-color: rgb(30, 42, 68);
  color: #e0e0e0;
  overflow-x: hidden;
}
header {
  background-color: #263559;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1;
}
.header {
  display: flex;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
}
.logo img {
  filter: brightness(0) saturate(100%) invert(90%) sepia(10%) saturate(500%) hue-rotate(160deg) brightness(100%) contrast(100%);
  height: 70px;
  width: auto;
}
.nav a {
  color: #e0e0e0;
  margin: 0 15px;
  text-decoration: none;
}
.nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.lets-talk {
  background-color: #00bcd4;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  color: #e0e0e0;
}
.lets-talk:hover {
  background-color: #0097a7;
  color: #e0e0e0;
}
#menu-bar {
  display: none;
}
#close-bar {
  fill: #e0e0e0;
  display: none;
}
#hero {
  padding: 0;
  margin: 10rem 0;
  width: 100%;
  z-index: 1;
}
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-description {
  width: 600px;
}
.hero-img {
  height: 500px;
  width: 500px;
}
#hero .desktop-hero-img {
  height: 100%;
  width: 100%;
}
.hero-img .mobile-hero-img {
  display: none;
}
.tech-img {
  height: 100vh;
  width: auto;
}
.tech-img img {
  position: absolute;
  right: 0;
  height: 100%;
  width: 50%;
  z-index: -1;
}
#hero h1 {
  overflow: hidden;
  white-space: nowrap;
  animation: fadeInScale 1.5s ease-out, typing 3s steps(40, end);
}
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes typing {
  from {
    width: 100%;
  }
  to {
    width: 100%;
  }
}
h1 {
  font-size: 2.5rem;
  color: #00bcd4;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
h1 .name {
  color: #e0e0e0;
  display: block;
}
#hero h3 {
  background-color: #263559;
  color: #e0e0e0;
  border-radius: 0.3rem;
  display: inline-block;
  padding: 0.3rem;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
#hero p {
  font-size: 1.1em;
  margin-bottom: 2rem;
}
.button {
  background-color: #00bcd4;
  padding: 10px 20px;
  border: none;
  border-radius: 1.2rem;
  color: #e0e0e0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.button a {
  text-decoration: none;
}
.button a:visited {
  color: #e0e0e0;
}
.button:hover {
  background-color: #0097a7;
}
.button svg {
  height: 20px;
  width: auto;
}
.social {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.social-items {
  display: flex;
  gap: 0.5rem;
}
.social a svg {
  fill: #00bcd4;
  height: 40px;
  width: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  padding: 0.3rem;
}
#AboutMe {
  margin-bottom: 5rem;
}
.aboutMe-section {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
#AboutMe h2 {
  color: #00bcd4;
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-align: center;
}
.details {
  flex-basis: 100%;
}
.details p {
  margin-bottom: 1rem;
  line-height: 1.5;
  letter-spacing: 1px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #00bcd4;
}
.stat-suffix {
  font-size: 1.5rem;
}
.stat-label {
  font-size: 1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 2rem;
  gap: 2rem;
}
.stat {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}
.myservice {
  flex-basis: 100%;
  justify-self: center;
  text-align: center;
}
.myservice div {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.myservice svg {
  fill: #00bcd4;
  height: 44px;
  width: auto;
}
.myservice div:nth-child(2) {
  margin-bottom: 2rem;
}
.myservice div {
  border: 1px solid #e0e0e080;
  padding: 2rem;
  width: fit-content;
  margin: 0 auto;
}
.myservice div:hover {
  border: 1px solid #00bcd4;
}
#project-container {
  margin-bottom: 10rem;
}
.project-section {
  max-width: 1200px;
  margin: 0 auto;
}
#project-container h2 {
  margin-bottom: 2rem;
}
.project-img-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.project-img-container img {
  border-radius: 0.8rem;
  height: 200px;
  width: 281px;
}
.project {
  background-color: #263559;
  border: 1px solid #e0e0e080;
  border-radius: 0.8rem;
  padding: 1rem;
}
.mortgage-img {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}
button {
  background-color: #00bcd4;
  color: #e0e0e0;
  font-weight: 600;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.8rem;
  cursor: pointer;
}
button:hover {
  background-color: #0097a7;
}
.mobile-btn {
  display: none;
}
#project-container h3 {
  margin-bottom: 1rem;
}
#skill {
  margin-bottom: 10rem;
}
.skill-icon {
  width: 50px;
}
.html {
  fill: #f1662a;
}
.css {
  fill: #663399;
}
.js {
  fill: #f5de19;
}
.skill-header {
  text-align: center;
  padding: 40px 0;
}
.skill-header h1 {
  color: #e0e0e0;
  margin: 0;
  font-size: 2.5em;
  margin-bottom: 2rem;
}
.skill-header p {
  color: #e0e0e0;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.card {
  background-color: #263559;
  width: 300px;
  padding: 20px;
  border-radius: 10px;
}
.card h3 {
  margin: 10px 0;
}
.card p {
  color: #e0e0e0;
  font-size: 0.9em;
}
.container {
  max-width: 1200px;
  padding: 0 2rem;
  margin: 0 auto;
  margin-bottom: 5rem;
}
.section-title {
  color: #00bcd4;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.testimonials-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}
.testimonial-card {
  background-color: #263559;
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 188, 212, 0.12);
  padding: 2rem 2rem 1.5rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.4,2,.3,1);
}
.testimonial-content {
  text-align: center;
  line-height: 1.9;
}
.testimonial-image {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.testimonial-image img {
  width: 100px;
  height: 100px;
  border-radius: 10%;
  object-fit: cover;
  border: 4px solid #00bcd4;
  background-color: #e0e0e0;
}
h3 {
  text-transform: uppercase;
}
.container span {
  display: block;
}
#contact {
  background-color: #1e2a44;
  padding: 5rem 5rem 7rem;
}
.contact-section {
  display: flex;
  gap: 10rem;
  max-width: 1200px;
  margin: 0 auto;
}
.getin-touch {
  background-color: #263559;
  border-radius: 0.8rem;
  border: 1px solid #767676;
  padding: 2rem;
  flex-basis: 100%;
}
.getin-touch h1 {
  color: #e0e0e080;
  font-size: 1rem;
  text-transform: uppercase;
}
.getin-touch h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
input {
  background-color:#1e2a44;
  color: #e0e0e0;
  border: 1px solid #767676;
  border-radius: 0.3rem;
  padding: 0.7rem 0 0.7rem 1rem;
}
#message {
  background-color: #1e2a44;
  color: #e0e0e0;
  border: 1px solid #767676;
  border-radius: 0.3rem;
  padding: 0.7rem 0 0.7rem 1rem;
  height: 100px;
}
label {
  margin-bottom: 0.5rem;
}
form {
  display: flex;
  row-gap: 1rem;
  flex-direction: column;
  margin-top: 1.5rem;
}
.form {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.form div {
  display: flex;
  flex-direction: column;
}
.name-container {
  flex-basis: 100%;
}
.email-container {
  flex-basis: 100%;
}
.subject {
  display: flex;
  flex-direction: column;
}
.error {
  color: hsl(0, 100%, 66%);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}
#contact-form input,
#contact-form textarea {
  border: 1px solid #767676;
  border-radius: 4px;
  padding: 0.8rem;
  width: 100%;
  margin-bottom: 1rem;
}
#contact-form input.error-border,
#contact-form textarea.error-border {
  border-color: hsl(0, 100%, 66%);
}
#submit {
  background-color:#1e2a44;
  color: #e0e0e0;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 0;
  cursor: pointer;
  border: none;
  border-radius: 0.3rem;
}
#submit:hover {
  background-color: rgba(30, 42, 68, 0.8);
}
hr {
  border: 1px solid #767676;
}
#details {
  padding: 2rem 0;
  flex-basis: 70%;
}
#details h2 {
  margin-bottom: 3.5rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.contact-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.icon {
  border: 1px solid #767676;
  border-radius: 0.3rem;
  fill: #e0e0e0;
  min-width: 50px;
  padding: 1rem;
}
.WIcon {
  display: flex;
  justify-content: center;
  padding: 0.7rem 0;
}
footer {
  background-color: #1e2a44;
}
.footer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-footer {
  filter: brightness(0) saturate(100%) invert(90%) sepia(10%) saturate(500%) hue-rotate(160deg) brightness(100%) contrast(100%);
  padding-top: 2rem;
  height: 100px;
  width: auto;
}
.logo-footer img {
  height: 100%;
}
.copyright {
  text-align: center;
  flex-basis: 100%;
}
footer .social a svg {
  border: 1px solid #767676;
  fill: #00bcd4;
}