* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: rgb(23, 147, 212);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: rgb(23, 147, 212);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgb(23, 147, 212) 0%,
    rgb(86, 180, 239) 100%
  );
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 60px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 900;
}

.highlight {
  color: rgb(255, 213, 170);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  background-color: white;
  color: rgb(23, 147, 212);
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s;
  border: 2px solid white;
}

.btn:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-2px);
}

/* Section Styling */
section {
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: rgb(23, 147, 212);
  font-weight: 900;
}

/* About Section */
.about {
  background-color: #f9f9f9;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.skill-item {
  background-color: rgb(23, 147, 212);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 500;
}

/* Projects Section */
.projects {
  background-color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.project-image {
  height: 150px;
  background-color: rgb(225, 232, 239);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(1.5); /* try 1.1 – 1.25 */
}

.placeholder-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #999;
  font-weight: 700;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.3rem;
}

.project-info p {
  color: #666;
  margin-bottom: 1rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  color: rgb(23, 147, 212);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.project-link:hover {
  color: rgb(248, 117, 86);
}

/* Contact Section */
.contact {
  background-color: #f9f9f9;
}

.contact-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: #555;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input {
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: rgb(23, 147, 212);
}

.form-textarea {
  resize: vertical;
}

.contact-form .btn {
  background-color: rgb(23, 147, 212);
  color: white;
  border: 2px solid rgb(23, 147, 212);
  cursor: pointer;
  padding: 1rem 2rem;
}

.contact-form .btn:hover {
  background-color: transparent;
  color: rgb(23, 147, 212);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item h4 {
  color: rgb(23, 147, 212);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-item p {
  color: #666;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 2rem;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: rgb(23, 147, 212);
}

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

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

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