/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #007bff;
  padding: 15px 20px;
  color: white;
}
/* ------------------ NAVBAR STYLING ------------------ */
/* --- BASIC NAVBAR --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0a192f;
  padding: 15px 30px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-left: 80px;
}

.nav-links {
  display: flex;
  gap: 5px;
  /* margin-right: 50px; */
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-right: 15px;
}

/* --- MENU BUTTON --- */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* --- RESPONSIVE STYLE --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0a192f;
    position: absolute;
    top: 60px;
    right: 30px;
    width: 200px;
    padding: 20px;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin-bottom: 10px;
  }
}

/* Hero Section */
.hero {
  background-color: #e9f2ff;
  padding: 60px 20px;
}
.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-text {
  flex: 1;
  min-width: 250px;
}
.hero-text h2 {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.btn {
  background-color: #007bff;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #0056b3;
}
.hero-img {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.hero-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(20, 200, 236, 0.569);
 
}
.hero-img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Sections */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}
.section h2 {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 20px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.skill-box {
  background-color: white;
  border: 2px solid #007bff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  color: #007bff;
  transition: all 0.3s ease;
  cursor: default;
}
.skill-box:hover {
  background-color: #007bff;
  color: white;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.project-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.project-card h3 {
  color: #007bff;
  margin-bottom: 10px;
}
.project-card p {
  margin-bottom: 10px;
}
.project-card a {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
}
.project-card:hover {
  transform: scale(1.05);
}
.contact-info p {
  font-size: 1.1rem;
  margin: 8px 0;
}
.contact-info a {
  color: #007bff;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
footer {
  text-align: center;
  padding: 15px 10px;
  background-color: #007bff;
  color: white;
  margin-top: 40px;
}
/*emailcontent*/
#contact {
  padding: 50px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

#contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
}

#contact input,
#contact textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
}

#contact button {
  padding: 12px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#contact button:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }
}
.footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

.footer .social-icons {
  margin-top: 10px;
}

.footer .social-icons a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer .social-icons a i {
  margin-right: 8px;
  font-size: 18px;
}

.footer .social-icons a:hover {
  color: #00bcd4;
}
