@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}


/* Global Style Start*/
.button-style {
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 15px;
    background-color: #20282D;
    color: #fff;
    z-index: 1;
    border: none;
}
.button-style:hover {
    color: #000;
}

/* background animation layer */
.button-style::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: #F2F2F2;
    border-radius: 15px;
    z-index: -1;
    transition: height 0.4s ease;
}

/* Hover effect - red rises from bottom */
.button-style:hover::before {
    height: 100%;
}
 /* white bg btn */
.white-button-style {
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 15px;
    background-color: #fff;
    color: #20282D;
    z-index: 1;
    border: none;
}
.white-button-style:hover {
    color: #fff;
}

/* background animation layer */
.white-button-style::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: #20282D;
    border-radius: 15px;
    z-index: -1;
    transition: height 0.4s ease;
    border: none;
}

/* Hover effect - red rises from bottom */
.white-button-style:hover::before {
    height: 100%;
}

.small-title {
    font-size: 16px;
    color: #000000;
    display: flex;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 2px;
}
.main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.35;
}

/* Global Style Start*/


nav {
  position: fixed;
  width: 100%;          
  background: #fff;
  padding: 15px 15%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  z-index: 99;
}
nav .logo {
  display: flex;
  align-items: center;
}
nav .logo img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}
nav .logo h1 {
  font-size: 1.1rem;
  background: linear-gradient(to right, #b927fc 0%, #2c64fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
}
nav ul li {
  margin-top: 10px;
  margin-left: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 110%;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
}
nav ul li .dropdown-menu {
    position: absolute; 
    z-index: 1000;      
    top: 100%;         
    left: 0;
}
.nav-dropdown-style li{
    margin: 0;
}

nav ul li a:hover {
  background-color: #f5f5f5;
}
nav ul li a.active {
  background-color: #f5f5f5!important;
}
.menubar .dropdown-menu {
    display: none;
    background: #fff;
    padding: 0;
    margin: 0;
}

.menubar .dropdown-menu.show {
    display: block;
}

.right-part i {
    font-size: 22px;
    padding: 10px;
    background-color: #F2F2F2;
    border-radius: 15px;
}

/* Dropdown hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #ddd;
  min-width: 160px;
  z-index: 999;
}

.dropdown-menu li a {
  padding: 10px 15px;
  white-space: nowrap;
}

/* SHOW ON HOVER */
.dropdown:hover > .dropdown-menu {
  display: block;
}


.dropdown-menu li a:hover {
  background: #f1f1f1;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 1px;
  background-color: #1f1f1f;
  display: block;
  margin: 7px auto;
  transition: all 0.3s ease-in-out;
}
.hamburger-active {
  transition: all 0.3s ease-in-out;
  transition-delay: 0.6s;
  transform: rotate(45deg);
}

.hamburger-active .line:nth-child(2) {
  width: 0px;
}

.hamburger-active .line:nth-child(1),
.hamburger-active .line:nth-child(3) {
  transition-delay: 0.3s;
}

.hamburger-active .line:nth-child(1) {
  transform: translateY(12px);
}

.hamburger-active .line:nth-child(3) {
  transform: translateY(-5px) rotate(90deg);
}

.menubar {
  position: fixed;
  top: 0;
  left: -60%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 60%;
  height: 100vh;
  padding: 20% 0;
  background: rgba(255, 255, 255);
  transition: all 0.5s ease-in;
  z-index: 9999;
}
.menubar.active {
  left: 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menubar ul {
  padding: 0;
  list-style: none;
  margin-top: 35px;
}
.menubar ul li {
  margin-bottom: 18px;
}

.menubar ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
}

.menubar ul li a:hover {
  background-color: #f5f5f5;
}
@media screen and (max-width: 975px) {
  .hamburger {
    display: block;
  }
  nav ul {
    display: none;
  }
  .only-desktop {
    display: none;
  }
}
@media (min-width: 975px) and (max-width: 1340px) {
    nav{
      padding: 15px 2%;
    }
}

/* Nav Sidebar Start */
   /* Overlay Black shadow*/
  #overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.5);
      display: none;
      z-index: 998;
  }

  /* Right sidebar modal */
  #rightSidebar {
      position: fixed;
      top: 0;
      right: -350px; /* Hidden initially */
      width: 350px;
      height: 100vh;
      background: #fff;
      box-shadow: -2px 0 10px rgba(0,0,0,0.2);
      transition: 0.5s ease;
      z-index: 99999;
  }

  /* When open */
  #rightSidebar.active {
      right: 0;
  }

  #overlay.active {
      display: block;
  }
  /* Button Style */
  .nav-sidebar-button {
      border: none;
      background-color: #c0bebe;
      padding: 10px 15px;
      border-radius: 10px;
  }
  .close-icon i {
      font-size: 30px;
      cursor: pointer;
  }
  .quote-logo {
    height: 60px;
  }
  .sidebar-contact-content {
      display: flex;
      gap: 15px;
  }
  @media (max-width: 790px) {
  .quote-logo {
    height: 50px;
  }
}
/* Nav Sidebar End */
/* Middle Contact Button Start */
  .floating-btn {
    position: fixed;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    background: #0043b5;
    color: #fff;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  }
  /* Overlay */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.767);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 9998;
}

.contact-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal */
.modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 40%;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    z-index: 10000;
    display: none;
    pointer-events: none;
    transition: 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-box.active {
    display: block;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.close {
    float: right;
    cursor: pointer;
    font-size: 35px;
    font-weight: bold;
}
.modal-contact-title {
  text-align: center;
  padding-bottom: 15px;
}
.form-content {
  display: flex;
  gap: 15px;
}
.form-row {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.modal-content input,
.modal-content textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 1000px) {
  .modal-box  {
      width: 90%;
  }
}

/* Middle Contact Button End  */
/* Herro Section Start */
.hero-section {
    /* height: 600px; */
    width: 100%;
    padding-top: 80px;
}

.hero-part .item {
    transition: opacity 6s ease-in-out;  /* ধীরে opacity কমছে ও বাড়ছে */
} 

.slider-card img{
    width: 100%;
    height: auto;
    display: block;
}

.slider-card {
    position: relative;
    width: 100%;
}

.slider-buttons{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 100px;
    pointer-events: none;
}

.slider-buttons button {
    border: none;
    pointer-events: all; /* button clickable */
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}
.slider-buttons button:hover {
    background-color: rgba(0,0,0,0.8);
}
/* Herro Section End */

/* About section start */
.about-section {
  margin-top: 50px;
}
.about-left-part {
    display: flex;
    justify-content: center;
    max-width: 490px;
    margin: auto;
    position: relative;
}
.about-left-part img {
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}
.about-right-content {
    position: absolute;
    right: -63px;
    bottom: 40px;
    max-width: 211px;
    animation: jump-2 5s linear infinite;
}
/*for anymation */
@keyframes jump-2 {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}
.about-left-content {
    padding: 50px 33px;
    background: #0043b5;
    color: #fff;
    position: absolute;
    top: 50px;
    left: -75px;
    text-align: center;
    border-radius: 15px;
}

.about-right-part {
  margin-top: 50px;
}
.about-right-middle-content {
    padding-top: 35px;
}
.single-check {
  display: flex;
  gap: 15px;
}

.about-right-bottom {
  display: flex;
  gap: 15px;
  margin-top: 35px;
}
.about-right-bottom i {
    height: 55px;
    width: 55px;
    border-radius: 50px;
    background: #20282D;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
  .about-left-content {
      padding: 20px 20px;
      top: 30px;
      left: 5px;
  }
  .about-section {
    margin-top: 15px;
  }
  .about-right-content {
    right: 5px;
    bottom: 15px;
    max-width: 170px;
  }
  .small-title {
    margin-bottom: 7px;
  }
  .main-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
  }
  .about-right-part {
    margin-top: 30px;
  }
  .about-right-middle-content {
    padding-top: 15px;
  }
}

@media (min-width: 991px) and (max-width: 1400px) {
  .about-left-content {
    padding: 11px 15px;
    top: 26px;
    left: 8px;
  }
  .about-right-content {
    right: 5px;
    bottom: 15px;
  }
  .about-section {
    margin-top: 30px;
  }
  .main-title {
    font-size: 35px;
  }
}
/* About section end */

/* Service section start */
.service-section {
  margin-top: 80px;
}
.container-fluid {
  width: 98% !important;
}
.service-part {
  margin: 0 80px;
}

.service-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-slider {
    /* background-color: #F9F9F9;  */
    padding: 35px 56px;
    margin-top: 40px;
    background-image: url("../image/service-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.service-slider-content {
   padding: 0 15px;
}
.service-slider-content h5 {
   font-size: 22px;
   font-weight: 700;
}

.service-slider-card {
    display: flex;
    align-items: flex-start;
    padding: 50px 50px 0;
    gap: 36px;
    text-decoration: none
}

.service-slider-card a{
    text-decoration: none;
    color: #000;
}
.service-slider-image img{
 color:#000;
}
.read-more-icon i{
    font-size: 18px;
    padding: 7px 9px;
    background: #000;
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
}
.read-more-icon {
    cursor: pointer;
}

@media (max-width: 767px) {
    .service-section {
        margin-top: 50px;
    }
    .service-slider {
        padding: 0px;
    }

    .service-part {
      margin: 0;
    }

    .service-slider-card {
        flex-direction: column; 
        padding: 25px;
        gap: 20px;
    }

    .service-slider-image img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .service-slider-content {
        padding: 0;
    }
}
/* @media (max-width: 576px) {
  .service-slider-card {
      padding: 20px !important;
  }
} */

@media (min-width: 768px) and (max-width: 991px) {
    .service-slider-card {
        padding: 35px;
        gap: 25px;
    }

    .service-slider-image img {
        width: 90px;
    }
}
/* Service section end */

/* Consultence Section strat */
.consultance-section {
  margin-top: 80px;
}
.consultence-text {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}
.consult-text-image img{
    padding: 10px;
    background-color: #ededed;
    border-radius: 50%;
}
.consultence-image {
    position: relative;
}
.large-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 5;
    max-width: 440px;
    margin-left: auto;
}
.large-image img{
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}
.small-image {
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translate(0%, -50%) translate3d(134.57px, 0.242px, 0px);
    max-width: 301px;
    z-index: 10;
}
.small-image img{
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

.consultence-button {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.consultence-button i{
    padding: 10px 15px;
    background-color: #dad2d2;
    border-radius: 50%;
    font-size: 20px;
}

@media (max-width: 767px) {
  .consultance-section {
    margin-top: 35px;
  }
  .consultence-content {
    margin-bottom: 20px;
  }
  .large-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 5;
    max-width: 100%; 
    margin-left: 0px;
  }
  .small-image img {
    max-width: 100%;
    height: 250px;
  }
}
/* Consultence Section End */

/* Middle Banner Section Strat */
.middle-banner {
  margin-top: 80px;
  background-image: url("../image/middle-banner.jpg");
  background-size: cover;       
  background-position: center;   
  background-repeat: no-repeat; 
  width: 100%;
  overflow-x: hidden; 
}
.middle-banner-content {
  padding: 80px 0;
}
.middle-bannder-title {
  font-size: 48px;
  line-height: 65px;
  color: #fff;
  text-shadow: 1px -1px 10px #000;
}
.middle-banner-button{
  margin-top: 30px;
  text-align: end;
}

@media (max-width: 576px) {
  .middle-bannder-title {
      font-size: 28px;
  }
  .middle-banner-button {
    text-align: center;
  }
  .middle-banner-content {
    padding: 50px 0;
  }
  .middle-banner {
    margin-top: 35px;
  }
}
/* Middle Banner Section End */

/* Testimonial Section Start */
  .testimonial-section {
    margin-top: 80px;
  }
  .testimonial-heading {
    margin-bottom: 40px;
  }
  .testimonial-content {
    background-color: #000433;
    border-radius: 25px;
  }
  .testimonial-left img{
      width: 100%;
      height: auto;
  }

  .testimonial-right {
    display: flex;
    flex-direction: column;
    justify-content: center;     /* vertical center */
    min-height: 100%;
    margin-left: 40px;
  }
  .testimonial-right p{
    font-size: 30px;
    line-height: 1.45;
    color: #fff;
    max-width: 90%;
  }
  .testimonial-maneger{
    margin-top: 40px;
  }
  .testimonial-maneger h6{
    font-size: 22px;
    line-height: 1.3;
    color: #FFF;
  }
  .testimonial-maneger p{
    font-size: 14px;
    color: #B3B7C1;
    margin-top: 20px;
  }


  @media (max-width: 576px) {
    .testimonial-section {
       margin-top: 35px;
    }
    .testimonial-content-style {
      flex-direction: column;
    }
  }
  @media (max-width: 767px) {
    .testimonial-left img{
      height: 100%;
      border-radius: 22px;
    }
    .testimonial-right p {
      font-size: 22px;
      margin-top: 30px;
    }
  }
  @media (min-width: 768px) and (max-width: 1200px) {
    .testimonial-right p{
    font-size: 16px;
  }
  }
/* Testimonial Section End */


/* Footer Section Start*/
.footrt-section {
  margin-top: 80px;
   background-image: url("../image/footer.jpg");
   padding: 80px 0 35px 0;
}
.footer-company {
  text-align: center;
  margin-top: 40px;
  padding: 0 10px;
}
.footer-company img{
  height: 100px;
}
.footer-part {
  /* background-color: #fff; */
  border-radius: 15px;
}
.footer-map iframe{
  border-radius: 15px;
  margin-top: 135px;
}

.footer-contact {
  padding: 40px 50px;
}
.footer-contact h1{
  color: #fff;
}
.footer-company-about {
  font-size: 22px;
  margin-top: 40px;
  color: #bebbbb;;
}
.footer-contact-part {
  margin-top: 40px;
  display: flex;
  gap: 25px;
}
.footer-icon {
  margin-top: 15px;
}
.footer-icon i{
  font-size: 20px;
  padding: 10px 12px;
  background-color: #F6F6F6;
  border-radius: 50%;
}
.footer-text span{
  font-size: 20px;
  color: #bebbbb;
}


.footer-copy-right {
  margin-top: 50px;
  border-top: 1px solid rgb(150, 143, 143);
}
.footer-copy-right-text {
  text-align: center;
  padding-top: 40px;
}
.footer-copy-right-text span{
  color: #fff;
  font-size: 16px;
}

@media (max-width: 790px) {
  .footrt-section {
    padding: 0px 0 30px 0;
    margin-top: 50px;
  }
  .footer-copy-right {
    margin-top: 0px;
  }
}
@media (max-width: 767px) {
  .footer-map iframe {
    border-radius: 15px;
    margin-top: 25px;
  }
  .footer-contact  {
    text-align: center;
  }
  .footer-contact-part {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    justify-content: center;
  }
}
/* Footer Section End*/

/* Ral Page */
.ral-page {
  height: 500px;
  width: 100%;
}
.ral-page img{
  height: 100%;
  width: 100%;
}
.product-section {
  margin-top: 80px;
}
.product-part-heading {
  text-align: center;
  margin-bottom: 45px;
}
.product-part-heading h2{
  font-size: 45px;
}
.product-part-heading p{
  font-size: 20px;
  line-height: 25px;
}

@media (max-width: 790px) {
  .ral-page {
    height: 300px;
    width: 100%;
  }
  .product-part-heading p {
    font-size: 16px;
    line-height: 22px;
  }
  .product-part-heading h2 {
    font-size: 35px;
  }
  .product-section {
    margin-top: 40px;
  }
}
.product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-align: center;
  /* margin: 20px; */
  position: relative;
  top: 0;
  margin-bottom: 20px;
}

.product-card img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #eee;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.product-card p {
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

/* Hover Effect */
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 35px rgba(0,0,0,0.2);
}

.product-card:hover img {
  transform: scale(1.05);
}



/* Modal Overlay */
.img-modal {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  transition: 0.3s ease;
}

/* Modal Image - FIXED VERSION */
.products-modal-content-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* max-width: 86%;
  max-height: 87vh; */
  width: 100%;
  height: 80%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  object-fit: contain; 
}

/* Close Button */
.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: #f1f1f1;
}