:root {
  --primary: #4caf50; /* Forest Green */
  --lightPrimary: #81c784; /* Mint Green */
}
* {
  font-family: "Inter", serif;
}

body,
html {
  padding: 0px;
  margin: 0px;
  min-width: 350px;
  overflow-x: hidden;
  scroll-behavior: smooth;
 
}
a {
  text-decoration: none !important;
}
.navbar {
  background: #ccc;
  padding: 15px;
  position: sticky;
  top: 0;
  
  z-index: 1;
}

.nav_item {
  font-weight: bold;
  padding: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease; /* Transition background and color */
}

.nav_item a { /* Style the <a> tag within .nav_item */
  color: var(--primary); 
  padding: 5px 10px; 
  border-radius: 5px;
  text-decoration: none; /
  transition: color 0.3s ease; 
}

.nav_item:hover {
  background-color: var(--lightPrimary); /* Background on hover */
}

.nav_item a:hover {
  color: white; /* Text color on hover */
}

.nav_item.active a { /* Style for the active/current page */
  color: white;
  background-color: var(--primary);
}
.flex_container {
  display: flex;
}
.justifier_navbar {
  justify-content: space-between;
}
.profile_picture {
  height: 300px;
  width: 300px;

  border-radius: 50%;
  background: url("../images/pp.jpg");
  background-size: cover;
  background-position: center;
}
.divider {
  height: 2px;
  background: #e7e7e7e7;
  max-width: 500px;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}
.Intro_text {
  font-size: 16px;
  line-height: 20px;
}
.rounded_card {
  padding: 20px;
  background: #f4f0f0;
  border-radius: 20px;

  box-shadow: 2px 2px 5px 5px #e7e7e7;
  cursor: pointer;
  margin: 20px auto;
  box-sizing: border-box;
  width: (100%-40px);
}
.rounded_card:hover {
  background: #e7e7e7;
}

.Main_button {
  margin-top: 10px;
  padding: 12px 20px; /* Reduced padding for a more compact size */
  background: #4caf50;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  border-radius: 8px; /* Slightly reduced radius */
  border: none;
  font-size: 14px; /* Adjusted for better proportions */
  transition: transform 0.2s ease-in-out, background 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.Main_button:hover {
  transform: scale(1.03); /* Slightly reduced scaling */
  background: #4551a0; /* Slightly darker green on hover */
}

/* Arrow Effect */
.Main_button::after {
  content: " →"; /* Default arrow */
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.Main_button:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

.logo_design {
  font-size: 15px;
  font-style: italic;
  font-weight: bold;
  padding: 5px;
  border: 1px dashed var(--lightPrimary);
  background-color: var(--primary);
  color: #ccc;
  letter-spacing: 3px;
}
.Primary_banner {
  background: var(--primary);
  padding: 30px;
  margin-top: 20px;
}
.contact_pictures {
  border-radius: 50%;
  height: 250px;
  width: 250px;
  background: url(./../images/Contact.jpg);
  background-size: cover;
  background-position: center;
}
input,
textarea {
  border: 1px solid #e7e7e7;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
}
::placeholder {
  font-size: 14px; /* Smaller font size */
  font-family: "Arial", sans-serif;
  color: #666; /* Gray color for placeholder */
  font-style: italic;
}
footer {
  background-color: #333;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 100%;
  position: relative;
  bottom: 0;
}
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between icons */
}

.footer-icons a {
  color: white;
  text-decoration: none;
  font-size: 30px; /* Icon size */
  transition: color 0.3s ease-in-out;
}
/*<!-- Wrapper for the skills grid -->*/
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
  width: 90%; /* Makes it responsive */
  cursor: pointer;
  max-width: 900px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: auto;
  margin-left: auto;
}

/*Individual skill box*/
.skill-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f3f3f3;
  border: 2px solid #e9e5e5;
  border-radius: 10px;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.skill-icon {
  width: 40px;
  height: 40px;
}
.skill-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.skill-box p {
  font-size: 20px; /* Text size */
  font-weight: bold; /* Bold text */
  color: #333; /* Dark text for readability */
  text-align: center; /* Center-aligns the text */
}

* {
  box-sizing: border-box;
}
.skill-box span {
  font-size: 12px;
}
.container {
  background:#f5f5f5;;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  width: 60%;
  margin: auto;
}

.title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}

.education {
  text-align: left;
  margin-top: 15px;
}

.education h3 {
  margin-bottom: 5px;
}

.education p {
  margin: 2px 0;
  color: #333;
}

.container:hover{
  background-color:#f9f9f9;
  cursor: pointer;
}
/* Wrapper to center everything */
.projects-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Style for the heading */
.projects-heading {
  text-align: center;
  font-size: 28px;
  margin: 30px 0;
}

/* Flexbox container for project cards */
.project-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Aligns items at the top */
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px; /* Adjust based on your layout */
  margin: auto;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 420px; /* Reduce this to remove excess space */
}

.card img {
  width: 100%;
  border-radius: 5px;
  height: 160px; /* Reduce height to save space */
  object-fit: cover;
}

.card h2 {
  margin: 8px 0;
  font-size: 16px;
  font-weight: bold;
}

.card p {
  font-size: 13px;
  color: #555;
  flex-grow: 1; /* Ensures text occupies available space */
  margin-bottom: 10px;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.btn {
  text-decoration: none;
  padding: 8px 12px; /* Reduce padding to shrink buttons */
  border-radius: 5px;
  font-size: 13px;
  text-align: center;
  width: 47%;
}

.github {
  background: #24292e;
  color: white;
}

.github:hover {
  background: #181a1b;
}

.live-demo {
  background: #007bff;
  color: white;
}

.live-demo:hover {
  background: #0056b3;
}

}
