/* ==== General Reset ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: sans-serif;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
        transform: rotateZ(45deg);
        perspective: 1000px;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        color: #ff416c;
      }
        .loader:before,
        .loader:after {
          content: '';
          display: block;
          position: absolute;
          top: 0;
          left: 0;
          width: inherit;
          height: inherit;
          border-radius: 50%;
          transform: rotateX(70deg);
          animation: 1s spin linear infinite;
        }
        .loader:after {
          color: #8e2de2;
          transform: rotateY(70deg);
          animation-delay: .4s;
        }

      @keyframes rotate {
        0% {
          transform: translate(-50%, -50%) rotateZ(0deg);
        }
        100% {
          transform: translate(-50%, -50%) rotateZ(360deg);
        }
      }

      @keyframes rotateccw {
        0% {
          transform: translate(-50%, -50%) rotate(0deg);
        }
        100% {
          transform: translate(-50%, -50%) rotate(-360deg);
        }
      }

      @keyframes spin {
        0%,
        100% {
          box-shadow: .2em 0px 0 0px currentcolor;
        }
        12% {
          box-shadow: .2em .2em 0 0 currentcolor;
        }
        25% {
          box-shadow: 0 .2em 0 0px currentcolor;
        }
        37% {
          box-shadow: -.2em .2em 0 0 currentcolor;
        }
        50% {
          box-shadow: -.2em 0 0 0 currentcolor;
        }
        62% {
          box-shadow: -.2em -.2em 0 0 currentcolor;
        }
        75% {
          box-shadow: 0px -.2em 0 0 currentcolor;
        }
        87% {
          box-shadow: .2em -.2em 0 0 currentcolor;
        }
      }



/* ==== Header Fixed with Glass Effect ==== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  flex-wrap: wrap;

  background-color: #1e1e1e;
  transition: all 0.3s ease;

  border-bottom: none;
  box-shadow: none;
}

.main-header.scrolled {
  background-color: rgba(121, 120, 120, 0.85);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ==== Logo ==== */

.logo img {
  width: 200px;
  height: auto;
}

/* For tablets and smaller devices */
@media (max-width: 768px) {
  .logo img {
    width: 120px;
    height: auto;
  
  }
}

/* For very small mobile screens */
@media (max-width: 480px) {
  .logo img {
    width: 120px;
  }
}


/* ==== NAV WRAPPER (Glass Effect Box) ==== */
.nav-wrapper {
  display: flex;
  background: rgba(41, 41, 41, 0.582);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 0px 35px;
  justify-content: center;
  align-items: center; 

  /* Border */
  border: 2px solid rgba(255, 255, 255, 0.3);

  /* Bubble-style 3D shadow - all sides */
  box-shadow: 
    inset 3px 3px 8px rgba(255, 255, 255, 0.5),     /* Top-left inner light */
    inset -3px -3px 8px rgba(255, 255, 255, 0.5),    /* Bottom-right inner light */
    inset 3px -3px 8px rgba(255, 255, 255, 0.5),     /* Bottom-left inner light */
    inset -3px 3px 8px rgba(255, 255, 255, 0.5),     /* Top-right inner light */
    0 0 15px rgba(114, 9, 183, 0.4),
   
    0 0 5px rgba(255, 255, 255, 0.2);                /* Outer white shine */
}




/* ==== Center Navigation ==== */
.nav-center {
  display: flex;
  gap: 20px;
  font-weight: bold;

}

.nav-center a {
  position: relative;
  padding: 10px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;

  background: linear-gradient(to left, #8e2de2, #ff416c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}


.nav-center a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff416c;
  transition: all 0.3s ease;
}

.nav-center a:hover::after {
  width: 80%;
}

/* ==== Hire Me Button ==== */
.hire-btn a {
  color: #fff;
  padding: 8px 25px;
  border-radius: 15px 0px 15px 0px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(114, 9, 183, 0.6);
  border: 2px solid transparent;

  background-image: 
  linear-gradient(to right, #8e2de2, #ff416c),
  linear-gradient(to right, #8e2de2, #ff416c);
  background-origin: border-box;
  background-clip: content-box, border-box;

  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  background-color: transparent;
}

/* Hover effect: fully transparent with glass look */
.hire-btn a:hover {
  background-image: none;
  background-color: rgba(255, 255, 255, 0.05); /* very light transparent */
  color: #fff !important;
  border: 2px solid #8e2de2;
  box-shadow: 0 0 25px rgba(114, 9, 183, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Active state */
.hire-btn a:active {
  opacity: 0.9;
  transform: scale(0.98);
}



/* ==== Offcanvas Menu ==== */
.offcanvas-menu {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease-out, opacity 0.2s ease-out;
  width: 100%;
  max-width: 260px;
  height: 100vh;
  background-color: #5c5c5b;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  z-index: 9999;
  overflow-y: auto;
  box-sizing: border-box;
  will-change: transform;
}

.offcanvas-menu.active {
  transform: translateX(0);
}

.close-btn {
  align-self: flex-end;
  font-size: 24px;
  color: #ff416c;
  cursor: pointer;
  margin-bottom: 20px;
}

.offcanvas-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.offcanvas-nav a {
  color: #8e2de2;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  background-color: #ffffff;
  padding: 12px 15px;
  border-radius: 10px;
  transition: background 0.3s;
}

.offcanvas-nav a:hover {
  background-color: #444;
  color: #8e2de2;
}

.offcanvas-nav .hire-link {
  background: linear-gradient(to right, #8e2de2, #ff416c);
  color: #fffffe;
  text-align: center;
}

.offcanvas-nav .hire-link:hover {
  background: linear-gradient(to right,#ff416c,  #8e2de2);
  color: #fff;
}

/* ==== Menu Icon ==== */
#menuToggle i {
  font-size: 32px;
  width: 32px;
  height: 32px;

  background: linear-gradient(to right, #a966d6, #ff416c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}


/* ==== Responsive Visibility ==== */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
}

@media (min-width: 769px) {
  .desktop-only {
    display: block !important;
  }
  .mobile-only {
    display: none !important;
  }
}

/* ==== Space below fixed header ==== */
body > main,
#home,
section {
  padding-top: 100px; /* Match header height */
}










/* Footer Design */
.footer {
  background-color: #000;
  background-image: url('/assets/footerbg.jpg');
  background-size: cover;              
  background-repeat: no-repeat;
  background-position: center center;

  color: #fff;
  padding: 40px 100px 0px 100px;
  font-family: sans-serif;

  position: relative;
  z-index: 1;
  overflow: hidden;
  
}


.footer00::before {
  content: "";
  position: absolute;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: rgba(114, 9, 183, 0.3);

  filter: blur(200px);
  z-index: -1;
}

.footer00::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: rgba(114, 9, 183, 0.3);

  filter: blur(200px); /* Blur আরও বাড়ানো হলো */
  z-index: -1;
}

.footer-about {
  background: transparent;
  color: #fff;
  padding-right: 15px;
  margin-right: 30px;
  font-family: sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 20;
}

.footer-container > div {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}



.footer h3 {
  color: #8e2de2;
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}



.footer a {
  position: relative;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #ff416c;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer a:hover {
  color: #fdfdfd;
}

.footer a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
}


/* Popup Overlay */
.custom-popup {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* overlay dark */
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Popup Box */
.popup-content {
  background: #5c5c5b;
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-align: center;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #cf4646;
  cursor: pointer;
}




/* social-icons */
.social-icons {
margin-top: 15px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 10px 0px 10px 0px;
  background-color: #333;
  color: #fff;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: linear-gradient(to right, #a966d6, #ff416c);
  color: #fff;
}


.subscribe-form {
  display: flex;
  align-items: center;
  justify-content: left;
}

.subscribe-form input[type="email"] {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #8e2de2;
  border-right: none;
  border-radius: 15px 0 0 15px;
  outline: none;
  background-color: transparent;
  color: #fff;
  width: 130px;
}

.subscribe-form button {
  padding: 6px 12px;
  font-size: 14px;
  background: linear-gradient(to right, #a966d6, #ff416c);
  color: white;
  border: 1px solid #8e2de2;
  border-radius: 0 15px 15px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-form button:hover {
  background-color: #8e2de2;
}




/* Footer Up Arrow*/
#scrollToTopCircle {
  position: fixed;
  bottom: 35px;
  left: 100px;
  width: 48px;  
  height: 48px;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 50%;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

#scrollToTopCircle:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

#scrollToTopCircle i {
  position: absolute;
  font-size: 16px;   
  color: #8e2de2;
  pointer-events: none;
}

/* Circle SVG */
.circular-chart {
  width: 48px;
  height: 48px;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: #ff416c;
  stroke-width: 2;
}

.circle {
  fill: none;
  stroke: #8e2de2;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s ease;
}

/* ✅ Responsive: Even smaller on mobile */
@media (max-width: 480px) {
  #scrollToTopCircle {
    width: 38px;
    height: 38px;
    bottom: 10px;
    left: 18px;
  }

  .circular-chart {
    width: 38px;
    height: 38px;
  }

  #scrollToTopCircle i {
    font-size: 14px;
  }
}



/* Whatsup*/
#whatsappButton {
  position: fixed;
  bottom: 35px;
  right: 100px;
  width: 48px;
  height: 48px;
  z-index: 999;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

#whatsappButton:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

#whatsappButton i {
  position: absolute;
  font-size: 20px;
  color: #04ca6e; /* WhatsApp green */
  pointer-events: none;
}

#whatsappButton .circular-chart {
  width: 48px;
  height: 48px;
  transform: rotate(-90deg);
}

#whatsappButton .circle-bg {
  fill: none;
  stroke: #ddd;
  stroke-width: 2;
}

#whatsappButton .circle {
  fill: none;
  stroke: #04ca6e;
  stroke-width: 2.5;
  stroke-linecap: round;
}


@media (max-width: 480px) {
  #whatsappButton {
    width: 38px;
    height: 38px;
    bottom: 10px;
    right: 18px;
  }

  #whatsappButton .circular-chart {
    width: 38px;
    height: 38px;
  }

  #whatsappButton i {
    font-size: 14px;
  }
}

/* Floating Buttons Container */
.floating-buttons {
  position: fixed;
  bottom: 35px;
  right: 100px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Base Button Style */
.floating-button {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-button:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: scale(1.1);
}

.floating-button i {
  position: absolute;
  font-size: 20px;
  pointer-events: none;
}

/* Circular Chart Style */
.floating-button .circular-chart {
  width: 48px;
  height: 48px;
  transform: rotate(-90deg);
}

.floating-button .circle-bg {
  fill: none;
  stroke: #ddd;
  stroke-width: 2;
}

.floating-button .circle {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* WhatsApp Button Specific */
.floating-button.whatsapp i {
  color: #04ca6e;
}

.floating-button.whatsapp .circle {
  stroke: #04ca6e;
}

/* Messenger Button Specific */
.floating-button.messenger i {
  color: #006aff;
}

.floating-button.messenger .circle {
  stroke: #006aff;
}

/* Call Button Specific */
.floating-button.call i {
  color: #ff416c;
}

.floating-button.call .circle {
  stroke: #ff416c;
}

/* Responsive Styles */
@media (max-width: 480px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  
  .floating-button {
    width: 38px;
    height: 38px;
  }
  
  .floating-button .circular-chart {
    width: 38px;
    height: 38px;
  }
  
  .floating-button i {
    font-size: 14px;
  }
}

/* At the bottom of your CSS */
body {
  overflow-x: hidden;
}
