@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --bg-main: #0A192F;
  --bg-secondary: #112240;
  --card-bg: #1f2a44;
  --accent: #7cf03d;
  --text-color: #ffffff;
}



/* nav style */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

body {
  
  font-family: "Arimo", sans-serif;
  font-style: normal;
  background: var(--bg-main);

  /* background: linear-gradient(135deg, #1f242d, #0A192F, #1E1A33); */
}

a {
  color: aliceblue;
  text-decoration: none;
}



.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 1.2s;
  color: white;


}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  transition: 0.3s;

}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: orange;
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Card Icon Size Fix */
.service-section .card-content i,
.service-section .card-content svg {
    width: 50px !important;
    height: 50px !important;
    font-size: 40px !important;
    color: #00d2ff !important;
    fill: #00d2ff !important;
    margin: 0 auto 20px auto !important;
    display: block !important;
}




@keyframes show-content {
  100% {
    visibility: visible;
    opacity: 1;
  }
}

.logo .img {
  width: 250px;
  height: 100px;
}

.navbar .logo {
  font-size: 30px;
  font-weight: 700;
  color: #7cf03d;
}

.navbar ul {
  display: flex;
}

.navbar ul li {
  list-style-type: none;
  margin-left: 35px;

}


.navbar ul li a {
  font-size: 20px;
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.navbar ul li:hover a,
.navbar ul li.active a {
  color: #7cf03d;
}

.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  height: auto;
  min-height: 100vh;
  padding: 60px 9% 0;
  width: 100%;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  color: #fff;
  background: var(--bg-main);
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 1.6s;
}


.home-info h1 {
  font-size: 55px;
}

.home-info h2 {
  display: inline-block;
  font-size: 32px;
  margin-top: -10px;
}

.home-info h2 span {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 0.7px #7cf03d;
  animation: display-text 16s linear infinite;
  animation-delay: calc(-4s * var(--i));
}

@keyframes display-text {

  0%,
  25% {
    opacity: 1;
    position: relative;
  }

  26%,
  100% {
    opacity: 0;
    position: absolute;
  }
}

.home-info h2 span::before {
  content: attr(data-text);
  position: absolute;
  width: 0;
  border-right: 2px solid #7cf03d;
  color: #7cf03d;
  white-space: nowrap;
  overflow: hidden;
  animation: fill-text 4s linear infinite;
}

@keyframes fill-text {

  10%,
  100% {
    width: 0;
  }

  70%,
  90% {
    width: 100%;
  }
}

.home-info p {
  font-size: 16px;
  margin: 10px 0 25px;
}

.home-info .btn-sci {
  display: flex;
  align-items: center;

 
}
input[type="submit"],
.hero-btn{
  display: inline-block;
  padding: 10px 18px;
  margin-top: 5px !important;
  background: #7cf03d;
  border: 2px solid #223318;
  border-radius: 40px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 0 10px #7cf03d;
  color: #bcc2cc;
  font-weight: 600;
  transition: 5s;
}
input[type="submit"]:hover,
.hero-btn:hover {
  background-color: transparent;
  color: #f1f3ef;
  
  box-shadow: none;
  transition: 0.5s ease;
}

.home-info .btn-sci .sci {
  margin-left: 20px;
}

.home-info .btn-sci .sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  
  border: 2px solid #7cf03d;
  border-radius: 50%;
  font-size: 20px;
  color: #7cf03d;
  margin: 0 8px;
  transition: 5s;
}

.home-info .btn-sci .sci a:hover {
  background: #7cf03d;
  color: #1f242d;
  box-shadow: 0 0 10px #7cf03d;
}

.home-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;

}

.home-img .img-box {
  position: relative;
  width: 60vmin;
  /* responsive size */
  aspect-ratio: 1/1;
  padding: 3px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;

}

.home-img .img-box::before,
.home-img .img-box::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(transparent 10%, #7cf03d 40%, transparent 60%);
  z-index: -1
}

.home-img .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
}

.home-img .img-box::before {
  animation: rotate-border 8s linear infinite;
}

.home-img .img-box::after {
  animation: rotate-border-reverse 8s linear infinite;
}

@keyframes rotate-border {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate-border-reverse {
  100% {
    transform: rotate(-360deg);
  }
}

.home-img .img-item img {
  width: 85%;
  border-radius: 50%;
  z-index: 1;
  mix-blend-mode: lighten;
  transition: transform 0.4s ease;
}

.home-img .img-item img:hover {
  transform: scale(1.05);
}

.home-img .img-box .img-item {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  border-radius: 50%;
  border: 1px solid #1f242d;
  display: flex;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.home-img .img-box img {
  position: absolute;
  display: block;
  width: 85%;
  object-fit: cover;
  mix-blend-mode: lighten;
}

.bars-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: -1;
}

.bars-animation .bar {
  width: 100%;
  height: 100%;
  background: #1f242d;

  transform: translateY(-100%);
  animation: show-bars 0.5s ease-in-out forwards;

  animation-delay: calc(0.1s * var(--i));
}

@keyframes show-bars {
  100% {
    transform: translateY(0%);
  }
}



.resume {
  margin: 20px;
  min-height: 100%;
  padding-bottom: 40px;
}

.resume-title {
  margin: 10px;
  color: azure;
  text-align: center;
}

.divider {
  display: flex;
  align-items: center;
  margin: 20px auto;
  width: 60%;
  ;
}

.divider::before {
  flex: 1;
  content: "";
  padding: 3px;
  background-color: #64ffda;

  margin: 5px;
}

.divider::after {
  flex: 1;
  content: "";
  padding: 3px;
  background-color: #64ffda;
  margin: 5px;
}

.nav-item {
  margin: 20px;
  margin-right: 15px;
  display: inline-block;
  padding: 10px 30px;
  cursor: pointer;
  background: #1e1a33;
  border: 2px solid #7cf03d;
  border-radius: 40px;
  font-size: 16px;
  box-shadow: 0 0 10px #7cf03d;
  color: #ffffff;
  font-weight: 600;
  transition: 5s;
}

.nav-item a {
  text-decoration: none;
  color: inherit;
}

.nav-item:hover {
  background: transparent;
  background: linear-gradient(90deg, #ff2e97, #7a1fff);
  box-shadow: none;
  transition: 0.3s ease;
}

.resume-nav ul {
  display: flex;
  justify-content: center;
}

.resume-nav ul li {
  font-size: 20px;
  font-weight: 600;
  font-family: open-sans-normal;
  list-style-type: none;
}

.resume-body {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  gap: 20px;
}

.resume-item-box {
  width: 520px;
  height: 300px;
  background: #112240;
  border: 1px solid #64ffda;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
  color: #ccd6f6;
  /* Default text color */
  transition: 0.4s;
}

.resume-item-box:hover {
  box-shadow: 0 0 25px rgba(100, 255, 218, 0.5);
  transform: translateY(-5px);
}

.resume-item-info {
  margin: 40px 10px;
  color: #ccd6f6;
  padding: 20px;
  font-weight: 600;
  font-size: 20px;
  text-align: left;
}




/* Section portfolio */
.portfolio {
  padding: 80px 8%;
  background: #0a192f;
}

section {
  padding: 80px 8%;
}

.portfolio-heading {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
  color: #fff;
}

/* Grid Layout */
.portfolio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Project Card */
.portfolio-box {
width: 450px;
  height: 400px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.portfolio-box img {
  width: 100%;
  display: block;
  transition: 0.4s;
}
.livebtn{
    display: inline-block;
    border: 1px skyblue solid;
    border-radius: 5px 20px;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 10px;
    background-color: #0d2b4c;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover Layer */
.portfolio-layer {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(100%);
  transition: 0.4s;
  text-align: center;
  padding: 20px;
}

.portfolio-box:hover img {
  transform: scale(1.1);
}

.portfolio-box:hover .portfolio-layer {
  transform: translateY(0);
}

.portfolio-layer h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.portfolio-layer p {
  font-size: 14px;
  margin-bottom: 15px;
}

.portfolio-layer a {
  color: #7cf03d;
  font-size: 20px;
}




/* =====================
   RESPONSIVE
===================== */
/* ðŸ”¥ MOBILE FIX */
@media (max-width:768px) {

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0e2342;

    flex-direction: column;
    align-items: center;

    max-height: 0;
    /* ðŸ”¥ important */
    overflow: hidden;

    transition: max-height 0.4s ease;
  }

  .nav-links li {
    padding: 15px 0;
  }

  .nav-links.active {
    max-height: 500px;
  }

  .menu-icon {
    display: block;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
    margin:5px;
  }
   .portfolio-box{
    width: 350px;
    height: 300px;
    
    }
}

/* Mobile */
@media (max-width: 576px) {
  .portfolio-container {
    grid-template-columns: 1fr;
    margin:5px;
  }
  .portfolio-box{
    width: 300px;
    height: 300px;
    
    }
    .portfolio-layer h4 {
      margin: 10px;
    }

  .section-title {
    font-size: 28px;
  }
}

/*responsive */
@media (max-width: 992px) {
  .resume-body {
    flex-direction: column;
    align-items: center;
    margin: 0 20px

  }

  .resume-item-box {
    width: 100%;
    height: 50%;
    padding: 5px;
    margin: 2px;
    margin-bottom: 20px;

  }

  .resume-item-info {
    font-size: 18px;
  }
}



.bars {
  display: inline;
}

.embedded-content {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

}

.about-section {
  width: 100%;
  padding: 80px 8%;

}

.about-section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-weight: 800;
  font-size: 50px;
}

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.about-container {
  background: #007bff;
}

.img-part {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-img-box {
  width: 280px;
  height: 400px;
  padding: 10px;
  background: #121f35;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(100, 255, 218, 0.2);
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.about-info {
  flex: 1;
  min-width: 300px;

}

/* --- Name and Title --- */
.intro-text {
  font-size: 22px;
  font-weight: 600;
}

.about-name {
  color: #7cf03d;
  /* Blue color for the name */
  font-weight: 600;
  font-size: 28px;
  
}

.about-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #007bff;

}

/* --- Detail Rows (Experience, Age, Location, etc.) --- */
.detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

.detail-item {
  flex: 1;
  min-width: 150px;
}

.detail-item.full-width {
  flex-basis: 60%;
  /* For longer items like email */
}

.detail-label {
  font-size: 0.9em;
  color: #666;
  margin: 0;
}

.detail-value {
  font-weight: 600;

  margin: 5px 0 0;
}

/* --- Bio Text --- */
.bio-text {
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

/* --- Skills List (Bullet Points) --- */


.skills-list {
  list-style: none;
  /* Remove default bullet */
  margin-top: 15px;
  padding-left: 20px;
}

.skills-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.skills-list li::before {
  content: "â€“";
  /* Custom bullet (em-dash or hyphen) */
  position: absolute;
  left: 0;
  color: #8a8989;
  font-weight: 700;
}

footer {
  width: 100%;
  padding: 20px 15px;
  background: var(--bg-secondary);
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  box-sizing: border-box;
}



/* Tablet */
@media (max-width: 768px) {
  footer {
    font-size: 18px;
    padding: 18px 12px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  footer {
    font-size: 16px;
    padding: 15px 10px;
  }
}

@media screen and (max-width: 576px) {
  .home {
    flex-direction: column-reverse;
    text-align: center;
    height: auto;
    padding: 100px 4% 30px;
  }


  .home-info h1 {
    font-size: 26px;
  }

  .home-info h2 {
    font-size: 18px;
  }

  .home-info p {
    font-size: 14px;
  }

  .home-img .img-box {
    width: 70vw;
  }

  .btn {
    padding: 7px 18px;
    font-size: 13px;
  }

  .resume-nav ul {
    flex-wrap: wrap;
    align-items: center;
  }

  .resume-nav ul li {
    font-size: 15px;
    font-weight: 400;
    list-style-type: none;
  }


}



@media (max-width:768px) {
  .home {
    flex-direction: column-reverse;
    text-align: center;
    height: auto;
    padding: 120px 5% 40px;
  }

  .home-info h1 {
    font-size: 32px;
  }

  .home-info h2 {
    font-size: 20px;
  }

  .home-img .img-box {
    width: 60vw;
  }

  .btn {
    padding: 8px 22px;
    font-size: 14px;
  }

  .home-info .btn-sci {
    flex-direction: column-reverse;
    gap: 20px;
    align-items: center;
  }

  .home-info .btn-sci .sci a {
    font-size: 18px;
    padding: 6px;
  }
}

/* Prevent Header/Footer Flexbox from squeezing Elementor Canvas */
body {
    display: block !important;
}

.site-main, 
#primary, 
.elementor-page {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    clear: both !important;
}
/* Elementor Content Area Full Width Fix */
.elementor-115,
.elementor-section-wrap,
.elementor-location-header,
.site-main,
#primary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Fix Elementor Inner Container width */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px; 
}

.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
}
/* Fix Header Overlap & Flex Conflict */
header, 
.site-header, 
.site-header-wrapper {
    position: relative !important;
    width: 100% !important;
    display: block !important;
    clear: both !important;
    z-index: 999;
}

/* Fix Elementor Page Container & Remove unwanted borders */
.site-main, 
#primary, 
.elementor,
.elementor-location-header {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    clear: both !important;
}
/* Remove Theme Container Constraint for Elementor */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force Parent Containers to 100% Width */
.site-main,
#primary,
#main,
.site-content,
.elementor,
.elementor-editor-active .elementor {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Elementor Flex Container Full Stretch */
.e-con, 
.e-parent {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}
.header-area, header {
    position: relative;
    z-index: 9999 !important;
    width: 100%;
}
/* ১. ফুটার এবং তার ভেতরের সব ডিভ ও ট্যাগের ব্যাকগ্রাউন্ড এক করে দেওয়া */
footer.site-footer,
footer.site-footer .footer-content,
footer.site-footer p {
    background-color: var(--bg-main) !important;
    background: var(--bg-main) !important;
    color: var(--text-color) !important;
}
