html, body {
  background-color: #ffffff;
}
.about-interest-mg
{
    margin-top: 2rem;
    
}
.resume-btn {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
  padding: 0.6em 1.2em;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.resume-btn:hover {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
}

.icon.major {
   width: 2.5rem !important;
  height: 2.5rem !important;
  line-height: 2.5rem !important;
  overflow: hidden; 
}

.icon.major img{
    width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Project */
.project-card {
    width: 100%;
    max-width: 400px; /* or whatever size your layout uses */
    margin: 0 auto;
}

/* Only wrap the image */
.image-container {
    position: relative;
    overflow: hidden;
}
.image-container img {
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

/* Hover ONLY affects the image overlay */
.image-container:hover .project-overlay {
    opacity: 1;
}

.overlay-btn {
    background: white;
    color: black;
    font-size: 1.6rem;
    padding: 0;
    line-height: 0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s;
    pointer-events: auto;
}




.overlay-btn:hover {
    transform: scale(1.2);
}

.project-icons {
  display: flex;          /* makes them horizontal */
  gap: 10px;              /* spacing between icons */
  margin: 10px 0;
  justify-content:center;
}

.icon-btn {
  font-size: 1.5rem;      /* adjust icon size */
  text-decoration: none;  
  cursor: pointer;
  
}
a{
  align-content: center !important;
} 
.github-link {
  color: inherit;              /* keep original text color */
  text-decoration: none;       /* remove underline */
  display: inline-block;       /* needed for transform */
  transition: transform 0.2s, color 0.2s; /* smooth movement and color change */
}

.github-link:hover {
  transform: scale(1.2);       /* make it 20% bigger on hover */
  
}


/* Form fields styling */
.split.style1 form input,
.split.style1 form textarea {
  background-color: #fff;   /* white background */
  color: #000 !important;              /* black text */
  border: 2px solid #000;   /* black border */
  padding: 0.5em;
  border-radius: 4px;
}

/* Placeholder text color */
.split.style1 form input::placeholder,
.split.style1 form textarea::placeholder {
  color: #555; /* dark gray placeholder */
}

/* Submit button styling */
.split.style1 form button.submit {
  background-color: #fff;  /* white background */
  color: #000;             /* black text */
  border: 2px solid #000;  /* black border */
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease; /* smooth hover effect */
}

/* Hover effect: reverse colors */
.split.style1 form button.submit:hover {
  background-color: #000;  /* black background */
  color: #fff;             /* white text */
}
.footer-contact {
  display: flex;
  justify-content: space-between; /* left, center, right */
  flex-wrap: wrap; /* ensures it works on mobile */
  margin-bottom: 1.5em;
  gap: 1em;
  color: white;
  font-size: 1rem;
}

.footer-contact .footer-item {
  flex: 1; /* each item takes equal space */
  min-width: 150px; /* ensures it doesn’t get too small on mobile */
  display: flex;
    justify-content: center;
}

.footer-contact .footer-item h3 {
  margin-bottom: 0.3em;
  font-size: 1rem;
}

.footer-contact .footer-item ul.icons {
  display: flex;
  gap: 0.5em;
  padding: 0;
  list-style: none;
  justify-content: center;
}
/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 100000;
}


/* Media query for smaller screens */
@media (max-width: 768px) {
    .about-row {
        flex-direction: column;
    }

    .about-column1,
    .about-column2 {
       margin-left: 0 !important;
    }
    .footer-contact {
        flex-direction: column;
        align-items: center;
    }
    .menu{
        flex-direction: column;
        text-align: center;
    }
    #intro::before {
      position: inherit !important;
    }
}

