*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: black;
  color: #e7e7e7;
  min-height: 100vh;
  line-height: 1.5;

}

/* GRADIENT AND LAYER BLUR EFFECT */
.image-gradient{
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.5;
  z-index: -1;

}

.layer-blur{
  height: 0;
  width: 3rem;
  position: absolute;
  top: 20%;
  right: 0;
  box-shadow: 0 0 700px white;
  rotate: -30deg;
  z-index: -1;
}

/* CONTAINER */

.container{
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

/* HEADER */

header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5rem;
  
}

header h1{
  margin: 0;
  font-size: 3rem;
  font-weight: 300;
}

nav{
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-left: -5%;
}

nav a{
  font-size: 1rem;
  letter-spacing: 0.1rem;
  transition: color 0.2s ease;
  text-decoration: none;
  color: inherit;
  z-index: 999;
}

nav a:hover{
  color: #a7a7a7;
}

.btn-signing{
  background-color:#a7a7a7 ;
  color: black;
  padding: 0.8rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
  cursor: pointer;
  z-index: 999;
}

.btn-signing:hover{
  background-color: white;
}

/* MAIN CONTENT */
main{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(90vh - 6rem);
}

.content{
  max-width: 40rem;
  margin-left: 10%;
  z-index: 999;
}

.tag-box{
  position: relative;
  width: 18rem;
  height: 2.5rem;
  border-radius: 50px;
  background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
  background-size: 200%;
  animation: animationGradient 2.5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient {
  to{
    background-position: 200%;
  }
}


.tag-box .tag{
  position: absolute;
  inset: 3px 3px 3px 3px;
  background-color: black;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s ease;
  cursor: pointer;
}

.tag-box .tag:hover{
  color:#5300a0 ;

}


.container h1{
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  margin: 2rem 0;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);

}

.description{
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  max-height: 35rem;
  color: gray;
}

.button{
  display: flex;
  gap: 1rem;
  margin-top:3rem ;
}

.btn-get-started{
  text-decoration: none;
  border: 1px solid #2a2a2a;
  padding: 0.7rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background-color 0.2s ease;
}

.btn-get-started:hover{
  background-color: #1a1a1a;
}

.btn-signing-main{
  text-decoration: none;
  background-color: lightgray;
  color: black;
  padding: 0.6rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background-color 0.2s ease;
}

.btn-signing-main:hover{
  background-color: gray;
}

.robot-3d{
  position: absolute;
  top: 0;
  right: -20%;
}

/* SHOWING MY SIMPLE PROJECTS */

/* Container */
.my-projects-section {
    padding: 60px 0;
    background: transparent; /* আপনার মেইন ওয়েবসাইটের ব্যাকগ্রাউন্ডই থাকবে */
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: inherit; /* আপনার মেইন সাইটের টেক্সট কালার নিবে */
    letter-spacing: 1px;
}

/* Grid: 3 Items in 1 Line */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card Style (No Border, Only Shadow for Depth) */
.project-card {
    text-decoration: none; /* লিঙ্ক আন্ডারলাইন সরাতে */
    display: block;
    background: #ffffff; /* কার্ডের ভেতর সাদা থাকবে */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}

/* Hover Effect: হালকা জুম */
.project-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Mac-style Browser Dots */
.browser-header {
    background: #f1f1f1;
    padding: 8px 12px;
    display: flex;
    gap: 5px;
}

.dot { height: 8px; width: 8px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

/* Project Image (No Scroll) */
.image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ইমেজ অটোমেটিক ফিট হবে, স্ক্রল আসবে না */
    transition: 0.5s;
}

.project-info {
    padding: 15px;
    text-align: center;
}

.project-info h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

/* TABLET RESPONSIVE */
@media (max-width:1300px){
  header{
    padding: 1rem 0.5rem;
  }

  .content{
    margin-top: 85%;
  }

  .robot-3d{
    scale: 0.8;
    top: -20%;
    right: 2%;
  }
} 

/* MOBILE RESPONSIVE */
  @media (max-width:768px) {
    header{
      padding: 1rem 0.1rem;
    }

    nav{
      display: none;
    }

    .header h1{
      font-size: 2rem;
    }

    .btn-signing{
      padding:0.6rem 1.5rem ;
    }

    .container{
      margin-top:25rem;
    }

    .robot-3d{
      scale: 0.5;
      top: -25%;
      right: 0;
    }

    .content{
      max-width: 30rem;
      margin-left: 10%;
    }

    .tag-box{
      width: 12rem;
    }

    .content h1{
      font-size:2.5rem;

    }

    .description{
      font-size: 1rem;
    }

    .btn-get-started{
      font-size: 0.8rem;
      padding: 0.8rem 1.2rem;
    }

    .btn-signing-main{
      font-size: 0.8rem;
      padding: 0.5rem 2rem;
    }
  }

  /* PROJECTS RESPONSIVE */

  /* Responsive Design */
@media (max-width: 992px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .project-grid { grid-template-columns: repeat(1, 1fr); }
}

