.introduction-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 100px 40px 60px;
  background: linear-gradient(to right, #f8f8f8, #eaf0ff);
}

.introduction-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.introduction-text h1 {
  font-size: 2.5em;
  color: #222;
  margin-bottom: 10px;
}

.introduction-text h2 {
  font-size: 1.8em;
  color: #007BFF;
  margin-bottom: 20px;
}

.introduction-text p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 30px;
}

.introduction-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  font-size: 1em;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.primary-btn {
  background: #007BFF;
  color: white;
}

.primary-btn:hover {
  background: #0056b3;
}

.secondary-btn {
  background: white;
  color: #007BFF;
  border: 2px solid #007BFF;
}

.secondary-btn:hover {
  background: #e6f0ff;
}

.introduction-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  margin-top: 30px;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #94a0d4;
  margin: 0;
  padding: 0;
}
/*----------START OF CONTACT SECTION-------------*/
.contact-section {
  max-width: 800px;
  margin: 60px auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#contact-info {
  padding: 60px 20px;
  background: #fefefe;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 10px;
}

.contact-section p {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
  width: 100%;
}

.contact-card {
  background: #f0f8ff;
  padding: 25px;
  border-radius: 16px;
  width: 100%;
  text-align: center;
  transition: 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  max-width: 100%;
  flex: 1 1 100%;
}

.contact-card:hover {
  background: #e0f0ff;
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card i {
  font-size: 2.2em;
  color: #007BFF;
  margin-bottom: 15px;
}

.contact-card span {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.contact-card a, .contact-card p {
  color: #444;
  text-decoration: none;
  font-size: 0.95em;
}

.contact-card a:hover {
  text-decoration: underline;
}
/* ===============END OF CONTACT SECTION=============*/

/*+++++++++++++++++++++++PROJECTS+++++++++++++++++++*/
#projects {
  padding: 60px 20px;
  background: #fefefe;
  text-align: center;
}

#projects h2 {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: #222;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  width: 300px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 20px;
  text-align: left;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.project-card h3 {
  margin: 0 0 10px;
  color: #0077cc;
}

.project-card p {
  margin: 8px 0;
  color: #444;
}

.project-card a {
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

.project-card a:hover {
  text-decoration: underline;
}
.tech-tags {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags span {
  background: #e0f0ff;
  color: #0077cc;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8em;
}
.project-links {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.project-links a {
  padding: 8px 16px;
  border-radius: 30px;
  background: #0077cc;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  transition: background 0.3s ease;
}

.project-links a:hover {
  background: #005fa3;
}

/* =======================END OF PROJECT========================== */

/* ======================START OF SKILLS SECTION================= */
.skills-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.skills-section h2 {
  font-size: 2.3em;
  color: #007BFF;
  margin-bottom: 40px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.skill-card {
  background: white;
  width: 120px;
  height: 120px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.skill-card i {
  font-size: 2.2em;
  color: #007BFF;
  margin-bottom: 10px;
}

.skill-card span {
  font-weight: 500;
  color: #333;
  font-size: 0.95em;
}
/* ==============END OF SKILLS SECTION=================== */


.profile-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  background: #f2f2f2;
  text-align: left;
  flex-wrap: wrap;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.profile-text h1 {
  font-size: 2em;
  color: #222;
  margin-bottom: 10px;
}

.profile-text p {
  font-size: 1.1em;
  color: #444;
  max-width: 500px;
}
/* ------------------------START OF SOCIAL ICONS------------------ */
.social-icons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons a {
  font-size: 1.8em;
  color: #007BFF;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #0056b3;
  transform: scale(1.2);
}
/* -------------------END OF SOCIAL ICONS-------------------- */
html{
  scroll-behavior:smooth;
}

/* ---------------START OF NAV SECTION---------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 220px;
  background: linear-gradient(to bottom, #333, #444);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 30px;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
}

.logo {
  color: white;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1em;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
  text-align: center;
}

.nav-links a:hover {
  background: #007BFF;
}

/* ------------------END OF NAV SECTION---------------- */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

main, section {
  margin-left: 240px; 
  padding: 40px;
}


@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }

  .profile-text h1 {
    font-size: 1.6em;
  }

  .profile-text p {
    font-size: 1em;
    max-width: 90%;
    margin: 0 auto;
  }

@media (min-width: 600px) {
  .contact-info {
    flex: 1 1 220px;
    max-width: 220px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 20px;
  }

  .contact-section h2 {
    font-size: 1.8em;
  }

  .contact-section p {
    font-size: 1em;
  }
}

}