/* Reset and body styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fefefe;
  padding-top: 70px; /* to make space for fixed navbar */
}
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
.navbar-left {
  font-weight: bold;
  font-size: 20px;
}
.navbar-right a {
  margin-left: 15px;
  font-size: 18px;
  color: #0077b5;
  transition: transform 0.3s ease;
}
.navbar-right a:hover {
  transform: scale(1.2);
}

/* About Section */
.about {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px 40px;
  text-align: center;
}
.about h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
}
.about p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #444;
}

/* Buttons */
.btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}
.btn {
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid #0077b5;
  color: #0077b5;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn:hover {
  background-color: #0077b5;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive Navbar */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar-left {
    margin-bottom: 10px;
  }
  .navbar-right a {
    margin-left: 0;
    margin-right: 10px;
  }
}
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin: 50px 0;
    margin-bottom: 100px;
    gap : 40px;
}
.hero-section .text{
    flex: 5;

}
.hero-section .text h2{
    font-size: 45px;
}
    .hero-section .text  .links{
        margin-top: 25px;
    }
   .hero-section .text  .links a{
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid var(--link-color);
    border: radius 5px; 
    margin: 10px;
    margin-bottom: 10px;
    transition: .1s;
   }
   .hero-section .text  .links a:hover{
    color: var(--text-color);
    border:2px  solid var(--text-color);

   }

/* Technical Skills Section */
.skills-section {
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 1000px;
  margin: auto;
}

.skills-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.skills-section .icon {
  margin-right: 10px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.skill-category {
  background: #f9f9f9;
  border-left: 5px solid #4a90e2;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.skill-category h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.skill-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-category li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1rem;
}

.skill-category li img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  object-fit: contain;
}



#projects {
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#projects h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.project {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  transition: transform 0.2s ease-in-out;
}

.project:hover {
  transform: scale(1.02);
}

.project h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #2a7ae2;
}

.project a {
  color: #2a7ae2;
  text-decoration: none;
}

.project a:hover {
  text-decoration: underline;
}

.project p {
  font-size: 14px;
  color: #555;
}

.project ul {
  padding-left: 20px;
  color: #444;
}

.project ul li {
  margin-bottom: 8px;
  font-size: 15px;
}
/* Contact Section */
/* CONTACT SECTION */
#contact {
  background-color: #f8f9fa; /* light gray background */
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

#contact h2 {
  font-size: 2rem;
  color: #212529;
  margin-bottom: 10px;
}

#contact p.description {
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 1rem;
}

.contact-links {
  margin-bottom: 30px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  margin: 8px 15px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-links a i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.contact-links a:hover {
  color: #0056b3;
}



/* Responsive */
@media (max-width: 600px) {
  .contact-form {
    padding: 20px;
  }

  .contact-links {
    flex-direction: column;
  }

  .contact-links a {
    display: block;
    margin: 10px auto;
  }
}





@media (max-width:850px){
    .hero-section .text h2{
        font-size: 35px;
    }
    
}
@media (max-width:740px){
    .hero-section{
        flex-direction: column-reverse;
    }
    .hero-section .headshot img {
       flex-direction: column-reverse;
    }


@media (max-width: 600px) {
    nav{
        padding: 0 20px;
    }
    nav.right a{
        font-size: 22px;
    }
    nav.right a:last-child{
        color: var(--text-color);
        background-color: transparent;
        padding: 0%;
    }
    nav.right a span{
        display: none;
    }
}
.hero-section {
    padding: 0 20px;
}
.hero-section .text h2{
    font-size: 30px;
}
.skills-section {
    padding: 0 20px;

}
