* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  z-index: 100;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #222;
}

nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #333;
  position: relative;
  font-size: 20px;
  transition: color 0.3s;
}

nav a:hover {
  color: #007bff;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #007bff;
  left: 0;
  bottom: -5px;
  transition: width 0.7s;
}

nav a:hover::after {
  width: 100%;
}

section {
  padding: 80px 40px;
  text-align: center;
  scroll-margin-top: 80px;
}

.about-wrapper {
  display: flex;
  margin-top: -30px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
  margin-left: 55px;
}

.about-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 2px;
  color: #222;
}

.about-text p {
  font-size: 1.58rem;
  margin-bottom: 20px;
  color: #444;
  line-height: 2.0;
}

.about-image {
  flex: 1;
  min-width: 350px;
}

.about-image img {
  width: 450px;
  max-width: 400px;
  border-radius: 10px;
  margin-left: 28px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill-item img {
  margin-top: 10px;
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.skill-item img:hover {
  transform: scale(1.1);
}

#skills p {
  font-size: 20px;
  font-weight: 500;
}

.project-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  width: 550px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.project-buttons {
  display: inline-block;
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.project-buttons:hover {
  color: #004f99;
  text-decoration: underline;
}

#services ul {
  font-size: 1.7rem;
  font-weight: 500;
  list-style: none;
  color: #6a6a6a;
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form input, form textarea {
  padding: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

form button {
  padding: 18px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #0056b3;
}

footer {
  background: #f2f2f2;
  text-align: center;
  padding: 30px;
  font-size: 18px;
  color: #555;
}

h2 {
  font-size: 2.0rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
}
h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.menu a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #374151;
  transition: color 0.3s;
}

.menu a:hover {
  color: #2563eb;
}
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 100;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.menu a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #374151;
  transition: color 0.3s;
}

.menu a:hover {
  color: #2563eb;
}

.hamburger {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #374151;
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 16rem;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.7s ease-in-out;
  z-index: 150;
  padding-top: 4rem;
}

.mobile-menu.slide-in {
  transform: translateX(0);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  padding: 1rem 2rem;
}

.mobile-links a {
  text-decoration: none;
  color: #111827;
  font-size: 1.3rem;
  transition: color 0.7s;
}

.mobile-links a:hover {
  color: #2563eb;
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  z-index: 140;
}

.overlay.hidden {
  display: none;
  pointer-events: none;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  opacity: 25%;
  background: none;
  border: none;
  cursor: pointer;
}

.social {
  margin-top: -5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.social a {
  font-size: 1.3rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social a:hover {
  transform: scale(1.1);
}

.social a.linkedin:hover {
  color: #0077b5;
}

.social a .github:hover {
  color: #111;
}

.social a .twitter:hover {
  color: #1da1f2;
}

.contact_message {
  margin-top: 10px;
  font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 15px 30px;
  }

  .about-text {
    margin-left: 0;
  }

  .about-text h1 {
    font-size: 2.5rem;
  }

  .logo {
    font-size: 18px;
    font-weight: bold;
    color: #222;
  }  

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    display: none;
    position: absolute;
    top: 80px;
    right: 30px;
    background: white;
    gap: 20px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    z-index: 200;
  }

  footer p {
    font-size: 0.9rem;
    padding: 1px 5px;
  }

  .hamburger {
    display: block;
  }

  .about-text p {
    font-size: 1.38rem;
    line-height: 1.7;
  }

  .about-image {
    margin-left: -35px;
  }

  .about-image img {
    width: 350px;
    max-width: 280px;
    margin-top: 20px;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }  
  #services ul {
    font-size: 1.4rem;
    
  }
  .social a {
    font-size: 1rem;
  }
  
}


