
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 50px;
  background-color: #ffd2d2;
}

.hero-text {
  max-width: 50%;
}

.hero-container {
  position: relative;
  height: 0; 
}

.hero-img {
  position: absolute;
  top: -271px;
  left: -100px;
  transform: translateX(-300px); 
  width: 320px;

}

.hero-text h1 {
  font-size: 50px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.tags {
  margin: 20px 0;
  font-weight: bold;
  color: #1a1a1a;
}

.tags span {
  color: #de3c27;
  margin: 0 5px;
  height: 20px;
  width: 20px;
}

.hire-btn {
  background-color: #de3c27;
  color: white;
  padding: 10px 25px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

.scrolling-bar {
  background-color: #000;
  color: white;
  padding: 20px 0;
  white-space: nowrap;
  overflow: hidden;
  width: full;
  height: 20px;
}

.scrolling-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
  font-size: 40px;
  font-weight: bold;
  line-height: 20%;
}

.dot {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #de3c27;
  border-radius: 50%;
  margin: 0 20px;
}
header {
  background-color:  #ffd2d2;
  padding: 20px 50px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffd2d2;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000px;
  height: 90px;
}
body {
  padding-top: 60px;
  width: 100%;
}

.logo {
  font-size: 30px;
  font-weight: bold;
  color: #000000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  font-weight: bold;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links,
  .btn-download {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 15px;
  }

  #menu-toggle:checked ~ .nav-links,
  #menu-toggle:checked ~ .btn-download {
    display: flex;
  }

  .nav-links {
    gap: 10px;
  }

  .btn-download {
    text-align: center;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hide the checkbox */
#menu-toggle {
  display: none;
}

.btn-download {
  background-color: #de3c27;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}
body {
  font-family: "Fira Sans", sans-serif;
  font-weight: 900;
  font-style: bold;
}

.hero-text{
    margin-left: 99px;
}
.about-section {
  padding: 60px 10%;
  background: #f5f2ec;
  color: #333;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
  font-weight: 700;
}

.section-title span {
  color: #222;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  font-size: 16px;
  line-height: 1.8;
}

.skills {
  flex: 1;
  min-width: 300px;
}

.skill {
  margin-bottom: -30px;
}

.skill label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.progress-bar {
  background: #e2e2e2;
  border-radius: 4px;
  position: relative;
  height: 6px;
  overflow: hidden;
}

.who-i-am {
  background: #faf9f3;
  padding: 80px 60px;
  font-family: 'Arial', sans-serif;
}

.who-i-am h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
}

.who-i-am h2 span {
  font-weight: bold;
}

.who-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.who-text {
  flex: 1 1 45%;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

 .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
  }

  .about-text {
    flex: 1;
    min-width: 280px;
    font-size: 17px;
    line-height: 2;
    font-weight: 400;
    color: #333;
  }

  .skills {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .skill {
    flex: 1 1 45%;
  }

  .skill label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
  }

.progress-bar {
  background: #f0f0f0;
  height: 6px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.bar {
  height: 100%;
  width: 0;
  background: #ffb59a;
  position: relative;
  transition: width 2s ease;
}

.bar span {
  position: absolute;
  right: 0;
  top: -28px;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}

.bar.reveal span {
  opacity: 1;
  transform: translateY(0);
}

.what-i-do {
  padding: 60px 20px;
  background-color: #ffaaaa;
  color: white;
  text-align: center;
}

.what-i-do h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
}

.what-i-do .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.what-i-do .card {
  background-color: #e74c3c;
  display: flex;
  justify-content: space-between;
  padding: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.what-i-do .card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  width: 40%;
  text-align: left;
}

.what-i-do .card p {
  font-size: 15px;
  width: 55%;
  text-align: left;
  margin: 0;
  transition: opacity 0.3s ease;
}

.what-i-do .card:hover p {
  opacity: 0;
}
.stats {
  display: flex;
  justify-content: space-around;
  background: #ffcfcf;
  padding: 50px 20px;
  border-bottom: 2px solid #ff7878;
  text-align: center;
}

.stat-box {
  flex: 1;
}

.stat-box h2 {
  font-size: 48px;
  margin: 0;
  font-weight: bold;
  color: #111;
}

.stat-box p {
  margin-top: 10px;
  font-weight: 600;
  color: #444;
}

.my-works {
  background: #db3e2e;
  padding: 60px 20px;
  color: white;
  text-align: center;
  border: 2px solid #ff7878;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.work {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 300px;
  filter: grayscale(100%);
  transition: transform 0.3s, filter 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work:hover {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.work-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.work-content h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px;
}

.details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.year {
  font-weight: bold;
  font-size: 14px;
}
.info-boxes {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
  flex-wrap: wrap;
  background: #ff989871;
}

.info-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 400px;
  height: 330px;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.info-text {
  padding: 20px;
  text-align: center;
}

.info-text h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.info-text p {
  font-size: 14px;
  color: #666;
}
.section-title {
  width: 100%;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}
  .blog-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: auto;
  }

  .blog-item {
    position: relative;
    background: #fff;
    display: flex;
    height: 220px;
    overflow: hidden;
  }

  .blog-item img {
    width: 50%;
    object-fit: cover;
    filter: grayscale(100%);
  }

  .date-box {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    text-align: center;
    z-index: 1;
  }

  .date-box span {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
  }

  .date-box small {
    font-size: 0.8rem;
    text-transform: uppercase;
  }

  .content-box {
    background: #e74c3c;
    padding: 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
  }

  .content-box h3 {
    font-size: 1rem;
    margin: 0 0 10px;
    text-transform: uppercase;
  }

  .content-box p {
    font-size: 0.9rem;
    margin: 0;
  }

  .fa {
    margin-right: 5px;
  }

  @media (max-width: 768px) {
    .blog-container {
      grid-template-columns: 1fr;
    }
  }


  .what-i-do .card {
    flex-direction: column;
    align-items: flex-start;
  }
    .contact-section {
      max-width: 1200px;
      margin: auto;
      padding: 80px 20px;
      text-align: center;
    }

    .contact-section h2 {
      font-size: 40px;
      font-weight: 800;
      margin-bottom: 40px;
    }

    .contact-form {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 20px;
    }

    .form-left,
    .form-right {
      flex: 1;
      min-width: 210px;
    }
    .form-right {
  margin-left: 40px; 
}

    .contact-form label {
      font-weight: 600;
      display: block;
      margin: 15px 0 5px;
      text-align: left;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 16px;
    }

    .contact-form textarea {
      height: 180px;
      resize: none;
    }

    .contact-form button {
      margin-top: 20px;
      background: #ff7c7c;
      color: #fff;
      border: none;
      padding: 12px 25px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      
    }

    .contact-form button:hover {
      background: #333;
    }

    .footer {
      background: #ffbcbc;
      color: #fff;
      text-align: center;
      padding: 60px 20px 30px;
      position: relative;
    }
    .social-links {
      margin: 20px 0;
    }

    .social-links a {
      margin: 0 15px;
      color: #fff;
      text-decoration: none;
      font-weight: 600;
    }

@keyframes scroll-left {
 100% {
    transform: translateY(100%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 50px;
  background-color: #ffd2d2;
}

.hero-text {
  max-width: 50%;
  margin-left: 99px;
}

.hero-container {
  position: relative;
  height: 0; 
}

.hero-img {
  position: absolute;
  top: -271px;
  left: -100px;
  transform: translateX(-300px); 
  width: 320px;
}

.hero-text h1 {
  font-size: 50px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.tags {
  margin: 20px 0;
  font-weight: bold;
  color: #1a1a1a;
}

.tags span {
  color: #de3c27;
  margin: 0 5px;
  height: 20px;
  width: 20px;
}

.hire-btn {
  background-color: #de3c27;
  color: white;
  padding: 10px 25px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

.scrolling-bar {
  background-color: #000;
  color: white;
  padding: 20px 0;
  white-space: nowrap;
  overflow: hidden;
  width: full;
  height: 20px;
}

.scrolling-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
  font-size: 40px;
  font-weight: bold;
  line-height: 20%;
}

.dot {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #de3c27;
  border-radius: 50%;
  margin: 0 20px;
}

header {
  background-color:  #ffd2d2;
  padding: 20px 50px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffd2d2;
}

.logo {
  font-size: 30px;
  font-weight: bold;
  color: #000000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  font-weight: bold;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links,
  .btn-download {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 15px;
  }

  #menu-toggle:checked ~ .nav-links,
  #menu-toggle:checked ~ .btn-download {
    display: flex;
  }

  .nav-links {
    gap: 10px;
  }

  .btn-download {
    text-align: center;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hide the checkbox */
#menu-toggle {
  display: none;
}

.btn-download {
  background-color: #de3c27;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

body {
  font-family: "Fira Sans", sans-serif;
  font-weight: 900;
  font-style: bold;
}

.about-section {
  padding: 60px 10%;
  background: #f5f2ec;
  color: #333;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
  font-weight: 700;
}

.section-title span {
  color: #222;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.about-text {
  flex: 1;
  min-width: 280px;
  font-size: 17px;
  line-height: 2;
  font-weight: 400;
  color: #333;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  flex: 1 1 45%;
}

.skill {
  margin-bottom: -30px;
  flex: 1 1 45%;
}

.skill label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

.progress-bar {
  background: #f0f0f0;
  height: 6px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.bar {
  height: 100%;
  width: 0;
  background: #ffb59a;
  position: relative;
  transition: width 2s ease;
}

.bar span {
  position: absolute;
  right: 0;
  top: -28px;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}

.bar.reveal span {
  opacity: 1;
  transform: translateY(0);
}

.who-i-am {
  background: #faf9f3;
  padding: 80px 60px;
  font-family: 'Arial', sans-serif;
}

.who-i-am h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
}

.who-i-am h2 span {
  font-weight: bold;
}

.who-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.who-text {
  flex: 1 1 45%;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.what-i-do {
  padding: 60px 20px;
  background-color: #ffaaaa;
  color: white;
  text-align: center;
}

.what-i-do h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
}

.what-i-do .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.what-i-do .card {
  background-color: #e74c3c;
  display: flex;
  justify-content: space-between;
  padding: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.what-i-do .card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  width: 40%;
  text-align: left;
}

.what-i-do .card p {
  font-size: 15px;
  width: 55%;
  text-align: left;
  margin: 0;
  transition: opacity 0.3s ease;
}

.what-i-do .card:hover p {
  opacity: 0;
}

.stats {
  display: flex;
  justify-content: space-around;
  background: #ffcfcf;
  padding: 50px 20px;
  border-bottom: 2px solid #ff7878;
  text-align: center;
}

.stat-box {
  flex: 1;
}

.stat-box h2 {
  font-size: 48px;
  margin: 0;
  font-weight: bold;
  color: #111;
}

.stat-box p {
  margin-top: 10px;
  font-weight: 600;
  color: #444;
}

.my-works {
  background: #db3e2e;
  padding: 60px 20px;
  color: white;
  text-align: center;
  border: 2px solid #ff7878;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.work {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 300px;
  filter: grayscale(100%);
  transition: transform 0.3s, filter 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work:hover {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.work-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.work-content h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px;
}

.details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.year {
  font-weight: bold;
  font-size: 14px;
}

.info-boxes {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
  flex-wrap: wrap;
  background: #ff989871;
}

.info-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 400px;
  height: 330px;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.info-text {
  padding: 20px;
  text-align: center;
}

.info-text h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.info-text p {
  font-size: 14px;
  color: #666;
}

.section-title {
  width: 100%;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.blog-item {
  position: relative;
  background: #fff;
  display: flex;
  height: 220px;
  overflow: hidden;
}

.blog-item img {
  width: 50%;
  object-fit: cover;
  filter: grayscale(100%);
}

.date-box {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #000;
  color: #fff;
  padding: 5px 10px;
  text-align: center;
  z-index: 1;
}

.date-box span {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
}

.date-box small {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.content-box {
  background: #e74c3c;
  padding: 20px;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.content-box h3 {
  font-size: 1rem;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.content-box p {
  font-size: 0.9rem;
  margin: 0;
}

.fa {
  margin-right: 5px;
}

@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
  }
}

.what-i-do .card {
  flex-direction: column;
  align-items: flex-start;
}

.contact-section {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.form-left,
.form-right {
  flex: 1;
  min-width: 210px;
}

.form-right {
  margin-left: 40px; 
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin: 15px 0 5px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form textarea {
  height: 180px;
  resize: none;
}

.contact-form button {
  margin-top: 20px;
  background: #ff7c7c;
  color: white;
  border: none;
  padding: 12px 30px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #de3c27;
}

.footer {
  background-color: #de3c27;
  color: white;
  padding: 25px 0;
  text-align: center;
  font-weight: 700;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 40px 20px;
  }

  .hero-text {
    max-width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-img {
    position: relative;
    top: 0;
    left: 0;
    transform: translateX(0);
    width: 250px;
    margin: 20px auto 0;
  }

  .nav-links {
    gap: 15px;
  }

  .skills, .about-content, .who-container, .what-i-do .grid {
    flex-direction: column;
  }

  .what-i-do .grid {
    grid-template-columns: 1fr !important;
  }

  .contact-form {
    flex-direction: column;
  }

  .form-right {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero {
    padding: 30px 15px;
  }

  .hero-img {
    width: 180px;
  }

  .nav-links {
    gap: 10px;
  }

  .what-i-do .card h3 {
    font-size: 18px;
  }

  .what-i-do .card p {
    font-size: 14px;
  }

  .contact-form {
    flex-direction: column;
  }

  .form-right {
    margin-left: 0;
  }
}
