* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body {
  background-color: #5f7ed485;
  transition: 0.3s;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 5px 30px;
  background-color: #000000bd;
  box-shadow: 1px 4px 2px 0px rgba(0, 0, 0, 0.4);
}

nav .links {
  transition: 0.3s;
  display: flex;
  gap: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 5px 10px;
}
/* nav .links :hover{
  color: #a5785cf9;

} */

#navLinks a.active {
  color: #ff9800; /* Highlight color */
  font-weight: bold;
  border-bottom: 2px solid #ff9800;
}



/* logo */
nav .name {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2196f3;
  font-style: italic;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 1px 1px 3px 2px #2196f3a1;
  padding: 5px 10px;
  border-radius: 4px;
}

.mobile-menu-icon {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* nav responsive */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 10px 20px;
  }

  .mobile-menu-icon {
    display: block;
    cursor: pointer;
  }

  nav .links {
    display: none;
    flex-direction:row;
    width: 100%;
    background-color: #595e6ee0;
    margin-top: 20px;
    border-radius: 7px;

  }

  nav .links.show {
    display: flex;
    opacity: 1;
  }

  nav .links a {
    padding: 10px;
    text-align: center;
    width: 100%;
    color: white;
  }
 nav .theme-toggler{
    display: none;
  }
}




/* dark mode  */
body.dark-mode {
  background-color: #121212;
  color: white;
}

.theme-toggler span {
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
}
nav .theme-toggler {
  color: #fff;
}
.theme-toggler span.active {
  opacity: 1;
}


body.dark-mode {
  background-color: #121212;
  color: white;
}

.theme-toggler span {
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
}
nav .theme-toggler {
  color: #fff;
}
.theme-toggler span.active {
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

/* container css */
.container {
  display: grid;
  align-items: center;
  justify-content: center;
}

.container .img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  background: #000;
}
.container .img-bottom h5,
h3,
p {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container .img-bottom h5 {
  font-size: 1rem;
}

.container .img-bottom h3 {
  font-size: 25px;
}
.container .img-bottom p {
  max-width: 70%;
  margin: auto;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 20px;
}
.img-bottom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  gap: 17px;
}
.img-bottom-btn button {
  border: none;
  outline: none;
  background-color: #141a34;
  color: #fff;
  border-radius: 30px;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.4);
}
.img-bottom-btn a {
  text-decoration: none;
}
.img-bottom-btn button:hover {
  background-color: #06468be9;
  transition: 0.3s;
  box-shadow: 0px 4px 2px 0px rgba(0, 0, 0, 0.4);
}

/* About Sections */
.about-container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.about-container h3 {
  text-align: center;
  font-size: 2rem;
  margin: 35px;
  text-decoration: underline;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.about-container-img img {
  width: 250px;
  height: 337px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px #aaa;
}

.about-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-container-para p {
  font-size: 15px;
  line-height: 1.5;
  /* margin: 0 0 20px 0; */
}

.about-container-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.about-container-card .card {
  background: linear-gradient(to bottom right, #7bb8bf, #effad6);
  flex: 1;
  min-width: 200px;
  padding: 34px;
  border-radius: 10px;
  box-shadow: 0 0 8px #404a5a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-container-card .card:hover {
  transform: scale(1.03);
}

/* project section */
.project-section {
  text-align: center;
  padding: 40px 20px;
}

.project-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.project-section p {
  font-size: 18px;
  margin-bottom: 40px;
}

.project-section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.project {
  position: relative;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inside-project {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to bottom right, #7bb8bfe6, #effad6);
  width: 100%;
  padding: 10px;
  text-align: center;
}
.inside-project a {
  color: #141a34;
  text-decoration: none;
}
.inside-project a i {
  margin-top: 10px;
  font-size: 22px;
}

.inside-project h3 {
  margin: 0;
  font-size: 18px;
}

.project:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* optional glow on hover */
}

/* scroll animation */
.scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}
.scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* get in touch */
.get-in-touch {
  padding: 50px 20px;
  text-align: center;
}

.get-in-touch h2 {
  font-size: 32px;
  margin-bottom: 10px;
  text-decoration: underline;
}

.get-in-touch p {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  width: 90%;
  max-width: 500px;
  margin: 0 auto; /* Center horizontally */
  padding: 40px 25px 20px;
  background-color: hsla(0, 0%, 100%, 0.872);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

button {
  margin-top: 20px;
  border: none;
  outline: none;
  background-color: #141a34;
  color: #fff;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #06468be9;
}

/* footer */
footer {
  /* margin: 50px 0 50px 0; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #bbc3db85;
  box-shadow: -1px -1px 3px 2px rgba(0, 0, 0, 0.3);
}
.footer-container-link ul {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.footer-container-link ul a {
  text-decoration: none;
  color: #141a34;
}
.footer-container-link i {
  font-size: 1.2rem;
}
