@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth;
}
body,
html {
  width: 100%;
  height: 100%;
}
/*
!commmon classes
*/
.container {
  max-width: 77%;
  margin: 0 auto;
  /* border: 1px solid red; */
}

.h1 {
  font-size: 35px;
  font-weight: 700;
}
.h2 {
  font-size: 30px;
  font-weight: 600;
}
.h3 {
  font-size: 25px;
}
.h4 {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.7);
}
.h5 {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.651);
  line-height: 30px;
}
.h6 {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.625);
  font-weight: 500;
}
.btn {
  border: 1.5px solid #fd6e0a;
  outline: none;
  background-color: #fd6e0a;
  color: white;
  padding: 8px 20px;
  font-size: 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover {
  border: 1.5px solid #fd6e0a;
  outline: none;
  background-color: white;
  color: black;
  transform: scale(1.03);
}
/*
!header style
*/

header {
  background-color: #fff8f3;
  background-image: url(../Images/developer.png);
  background-repeat: no-repeat;
  background-size: 80px;
  background-position: 2%;
  position: relative;
}
.nav-container {
  width: 100vw;

  position: fixed;
  z-index: 99;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff8f3;
}
.nav-inner-container {
  width: 90vw;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}
.nav-elements i {
  display: none;
}
span {
  color: #fd6e0a;
}
.nav-logo {
  font-size: 45px;
  font-weight: 800;
  display: flex;
  align-items: center;
}
.nav-elements {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 20px;
  font-weight: normal;
}
.nav-elements a {
  color: rgba(0, 0, 0, 0.637);
}
.nav-elements a {
  position: relative;
  color: rgba(0, 0, 0, 0.637);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Line effect */
.nav-elements a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 80%;
  height: 2px;
  background: #fd6e0a;
  transition: transform 0.3s ease;
}

.nav-elements a:hover {
  color: #000; /* darker on hover */
}

.nav-elements a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.hero-setion {
  padding-top: 150px;
  display: flex;
  height: 95vh;
  position: relative;
}
.hero-section-left {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  align-items: center;
}

.hero-section-left-container {
  display: flex;
  flex-direction: column;
  width: 70%;
  gap: 20px;
  margin-left: 30px;
}
.hero-section-right {
  background-image: url(../Images/hardy1.png), url(../Images/header_bg.png);
  width: 45%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
}
.buttons {
  display: flex;
  gap: 20px;
}
.hero-section-left-btn {
  background-color: white;
  color: #fd6e0a;
}
.hero-section-left-text {
  font-size: 45px;
  font-weight: 500;
}

.hero-section-left-title {
  font-size: 85px;
  font-weight: 700;
}

.hero-section-left-paragraph {
  font-size: 18;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.637);
}

/*
!Section-1 style
*/
.section-1 {
  width: 100%;
  padding: 200px 10%;

  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-1-inner-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

/* Profile Image */
.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(255, 145, 0, 0.86);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Title */
.section-1-title {
  font-size: 36px;
  font-weight: 800;
  color: black;
  margin-bottom: 20px;
}

/* Paragraph */
.section-1-paragraph {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: black;
}

.section-1-paragraph span {
  color: #fd6e0a;
  font-weight: 600;
}

/* Details */
.details-container {
  display: grid;
  gap: 12px;
  margin-bottom: 25px;
}

.details {
  display: flex;
  gap: 8px;
  font-size: 15px;
}

.label {
  font-weight: 600;
  color: #fd6e0a;
}

.answer {
  color: black;
}

/* Button */
.about-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(to right, #ff512f, #f09819);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
  transition: all 0.3s ease;
}

.about-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(255, 98, 0, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .section-1-inner-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    margin: 0 auto 20px;
  }
}

/*
!Section-2 style
*/

.section-2 {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 150px;
  padding: 150px 0px;
}
.section-2-title {
  text-align: center;
}
.section-2-paragraph {
  text-align: center;
  width: 60vw;
  margin: 0 auto;
}
.section-2-cards-container {
  display: flex;
  gap: 35px;
}
.card {
  display: flex;
  text-align: initial;
  flex-direction: column;
  gap: 20px;
  padding: 30px 40px;
  /* border: 1px solid rgba(0, 0, 0, 0.619); */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgb(0, 0, 0);
}
.card-name {
  font-weight: bold;
  color: black;
}

/*
!Section-3 style
*/
.section-3 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.section-3-title {
  text-align: center;
}
.section-3-sub-title {
  text-align: center;
  width: 50%;
  margin: 0 auto;
  margin-bottom: 50px;
}
.section-3-inner-container {
  display: flex;
  gap: 150px;
}
.section-3-inner-container-details-left-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section-3-inner-container-details-right-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section-3-details-container {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.section-3-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 20px;
  padding-right: 90px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.641);
}

.details-title {
  font-weight: 700;
}
.details-date {
  font-weight: 600;
}
.section-3-btn {
  align-self: center;
  margin-top: 30px;
}

/*
!My project style
*/

.projects-section {
  padding: 120px 20px;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ea9966 0%, #a26c4b87 100%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps image proportional */
  transition: transform 0.4s ease;
}

.project-image:hover .project-img {
  transform: scale(1.08); /* zoom effect on hover */
}

.project-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  transition: all 0.3s ease;
}

.project-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  transition: all 0.3s ease;
}

.project-card:hover .project-icon {
  transform: translate(-50%, -50%) scale(1.1);
}

.project-content {
  padding: 24px;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: #ea9b66;
}

.project-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-card:hover .tech-tag {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.project-links {
  display: flex;
  gap: 12px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.link-demo {
  background: #667eea;
  color: white;
}

.link-demo:hover {
  background: #5a67d8;
  transform: translateY(-2px);
}

.link-code {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.link-code:hover {
  background: #edf2f7;
  border-color: #cbd5e0;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .projects-section {
    padding: 60px 16px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-card {
    margin: 0 auto;
    max-width: 400px;
  }
}

/*
!Footer style
*/
footer {
  background-color: #fff8f3;
  padding-bottom: 20px;
}
.footer-inner-container {
  display: flex;
  gap: 50px;
  padding-bottom: 100px;
  margin-top: 100px;
  padding-top: 100px;
}
.footer-inner-container-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 150px;
}
.footer-inner-container-left-icons {
  display: flex;
  gap: 15px;
  color: #fd6e0a;
  font-size: 20px;
}
.footer-inner-container-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
form #text {
  padding: 15px 20px;
  outline: none;
  border: none;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.404);
}
.footer-paragraph {
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  
}
