@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(to right, #ffffff, #fed7ad);
  overflow-x: hidden;
}

/* Navigation */
nav {
  width: 100%;
  height: 10vh;
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  position: relative;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: black;
}

.logo span {
  color: rgb(109, 67, 0);
  text-shadow: 0 0 10px rgb(109, 67, 0);
}

.links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.links a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: black;
  position: relative;
  transition: color 0.3s;
}

.links a::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: rgb(109, 67, 0);
  transition: width 0.3s;
}

.links a:hover::before {
  width: 100%;
}

.links a:hover {
  color: rgb(109, 67, 0);
}

.hamburg, .cancel {
  display: none;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 2rem;
  cursor: pointer;
}

.dropdown {
  position: absolute;
  top: 0;
  width: 100%;
  transform: translateY(-500px);
  backdrop-filter: brightness(40%) blur(3px);
  box-shadow: 0 0 20px black;
  transition: 0.3s ease;
  z-index: 100;
}

.dropdown .links {
  flex-direction: column;
  text-align: center;
}

.dropdown .links a {
  color: white;
  padding: 15px 0;
}

.dropdown .links a:hover {
  background: rgb(109, 67, 0);
}

.cancel {
  color: white;
}

/* Section Styling */
section {
  width: 100%;
  padding: 60px 20px;
}

/* Home Section */
.main-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 40px;
}

.image {
  width: 100%;
  max-width: 300px;
}

.image img {
  width: 100%;
  border-radius: 16px;
  border: 2px solid #e0e0e0;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  object-fit: cover;
  transition: transform 0.3s;
}

.image img:hover {
  transform: scale(1.03);
}

.content {
  max-width: 600px;
  color: black;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.content h1 span {
  color: rgb(109, 67, 0);
  text-shadow: 0 0 10px rgb(109, 67, 0);
}

.typewriter {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 10px;
}

.typing-text {
  color: rgb(109, 67, 0);
  border-right: 2px solid black;
  padding-left: 5px;
  white-space: nowrap;
}

.content p {
  margin: 20px 0;
  font-size: 1rem;
  line-height: 1.7;
}

.social-links i {
  font-size: 1.5rem;
  margin-right: 15px;
  color: rgb(109, 67, 0);
  transition: 0.3s;
}

.social-links i:hover {
  transform: scale(1.3);
  color: black;
}

.btn button {
  padding: 10px 25px;
  font-size: 1rem;
  font-weight: bold;
  background: rgb(109, 67, 0);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn button:hover {
  background: transparent;
  color: rgb(109, 67, 0);
  border: 2px solid rgb(109, 67, 0);
  box-shadow: 0 0 10px rgb(109, 67, 0);
}

/* About Section */
#about {
  background: linear-gradient(to right, #fff, #fbe6d4);
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 280px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #6d4300;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #333;
}

/* Skills Section */
#skills {
  background: #fff7ed;
}

#skills h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #6d4300;
  margin-bottom: 30px;
}

#skills ul {
  max-width: 800px;
  margin: 0 auto;
  list-style-type: disc;
  padding-left: 40px;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

#skills ul li {
  margin-bottom: 12px;
}

/* Projects */
#projects {
  background: #fff;
  padding: 60px 20px;
}

#projects h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #6d4300;
  margin-bottom: 40px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fef7f0;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: #6d4300;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
}

.project-card a {
  text-decoration: none;
  color: #6d4300;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.project-card a:hover {
  border-color: #6d4300;
}

/* Demos */
#demos {
  background: #fff7f0;
}

#demos h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #6d4300;
  margin-bottom: 20px;
}

#demos p {
  text-align: center;
  font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2.2rem;
  color: #6d4300;
  margin-bottom: 40px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #fef7f0;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  font-size: 1rem;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  font-size: 3rem;
  color: #d6a572;
  position: absolute;
  top: -20px;
  left: 20px;
}

.author {
  margin-top: 15px;
  font-weight: 500;
  color: #6d4300;
  font-size: 0.95rem;
}

/* Contact Section */
#contact {
  background: #fff8f2;
  padding: 60px 20px;
  text-align: center;
}

#contact h2 {
  font-size: 2.4rem;
  color: #6d4300;
  margin-bottom: 30px;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-container input,
.contact-container textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}

.contact-container input:focus,
.contact-container textarea:focus {
  border-color: #6d4300;
  outline: none;
}

.contact-container button {
  width: fit-content;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #6d4300;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-container button:hover {
  background-color: #8b5a1d;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  .links {
    display: none;
  }

  .hamburg {
    display: block;
  }

  .about-container,
  .main-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2,
  .testimonials-section h2,
  #skills h2 {
    font-size: 2rem;
  }

  #projects h2 {
    font-size: 2rem;
  }

  .project-card {
    padding: 20px;
  }

  .project-card h3 {
    font-size: 1.3rem;
  }
}

/* Responsive Contact Section */
@media (max-width: 600px) {
  .contact-container {
    padding: 20px;
  }

  #contact h2 {
    font-size: 2rem;
  }
}
.download-btn {
  display: inline-block;
  background-color: #6d4300;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
  background-color: transparent;
  color: #6d4300;
  border: 2px solid #6d4300;
  box-shadow: 0 0 10px #6d4300;
  transform: translateY(-2px);
}
