/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;

  
}

body {
   background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-y: auto;
  /* overflow-x: hidden; */
   margin: 0;
}


/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease; 
}

#preloader.fade-out {
  opacity: 0;
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #007acc;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover {
  background-color: #17202a;
}



/* ✅ Topbar Styles */
.topbar {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: #eee;
    font-size: 0.9rem;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.topbar-left span {
  margin-right: 20px;
}

.topbar-left i {
  margin-right: 8px;
  color: #ff6600;
}

.topbar-right a.social-icon {
  color: #ccc;
  margin-left: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.topbar-right a.social-icon:hover {
  color: #ff6600;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .topbar-left, .topbar-right {
    font-size: 0.85rem;
  }
}



/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 28px;
    /* background-color: rgba(0, 0, 0, 0.3); */
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: #e8f8f5 !important;
}

.navbar.scrolled .logo {
  color: #222;
}

.navbar.scrolled nav ul li a {
  color: #222;
}


.navbar.scrolled nav ul li a:hover,
.navbar.scrolled nav ul li a.active {
  color: #007acc;
}



.rotating-logo {
  width: 100px;
  animation: rotateLogo 2s linear infinite;
}

@keyframes rotateLogo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* হ্যামবার্গার আইকন ডিফল্ট লুক আউট */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  margin-right: 30px;
}


@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 80px;
    right: 0;
    width: 200px;
    padding: 20px 0;
    border-radius: 0 0 0 10px;
  }

  nav ul.active {
    display: flex;
  }
}



/* Logo in Navbar */
.navbar .logo img {
    height: 100px;
    width: 100px;
    margin-left: 30px;
    margin-top: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 50px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  font-family: "Josefin Sans", sans-serif

}

nav ul li a:hover,
nav ul li a.active {
  color: #007acc;
}



/* Hero Slider Container */
.hero-slider {
  position: relative;
  width: 100%;
  height: 670px;
  overflow: hidden;
}

/* Slides */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Background Videos */
.slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slide Content */
.hero-content {
  position: absolute;
  top: 200px;
  left: 80px;
  color: #fff;
  width: 600px;
  z-index: 2;
  /* text-shadow: 1px 1px 10px rgba(31, 30, 30, 0.7); */
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
   font-family: "Josefin Sans", sans-serif !important; 
   color: #f4d03f;
   text-shadow: 1px 1px 0 #000, 2px 2px 3px #555;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #dbf35e;
    font-weight: 600;
}
.hero-btn {
  padding: 12px 28px;
  border: 2px solid white;
  background: transparent;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.hero-btn:hover {
  background-color: #ff6600;
  border-color: #ff6600;
  color: #fff;
}


@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
  }
  .hero-content {
    width: 90%;
    left: 5%;
    top: 150px;
  }
  .hero-content h1 {
    font-size: 2rem !important;
  }
  .section-subtitle {
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .testimonial-card {
    width: 90% !important;
    margin: 0 auto !important;
  }
  #scrollTopBtn {
    bottom: 20px !important;
    right: 20px !important;
    padding: 10px !important;
  }
}


/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.dot {
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
    background: #03ed8e;
}

/* Typing Cursor */
.typing-text .cursor {
  display: inline-block;
  width: 15px;
  background-color: #ec7063;
  animation: blink 0.7s infinite;
  margin-left: 3px;
  height: 1.2em;
  vertical-align: bottom;
}


/* Scroll Indicator Floating */
.scroll-indicator {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.scroll-indicator .extra{
  font-size: 30px;
  color: #fdfefe;
  
}

.scroll-indicator p {
  font-size: 1.1rem;
    color: #f4d03f;
  font-weight: bold;
  animation: glowText 1.8s infinite alternate;
}

.scroll-indicator .arrow {
    font-size: 4rem;
    color: #f4d03f;
    margin-top: 6px;
    animation: blinkArrow 1.2s infinite;
    text-shadow: 1px 1px 0 #000, 2px 2px 3px #555;
}

/* Text Glow */
@keyframes glowText {
  0% {
    text-shadow: 0 0 5px #252323, 0 0 10px #272525;
  }
  100% {
    text-shadow: 0 0 15px #242525, 0 0 30px #1e1f20;
  }
}

/* Arrow Bounce/Blink */
@keyframes blinkArrow {
  0%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateY(8px);
  }
}

/* Hidden after scroll */
.scroll-indicator.hidden {
  opacity: 0;
}


/* Experience Section */
.experience-section {
  background: #e8f8f5;
  padding: 100px 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.experience-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.experience-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.experience-left {
  flex: 1 1 50%;
}

.experience-left h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.experience-left h2 span {
  color: #007acc;
  font-size: 5rem;
}

.experience-left h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 8px;
  background: linear-gradient(90deg, #007acc, #00c2ff);
  border-radius: 4px;
  transition: width 2s ease;
}

.experience-section.visible .experience-left h2::after {
  width: 418px;
}

.experience-left p {
  margin-bottom: 30px;
}

.features {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.feature {
  text-align: center;
}

.feature i {
  color: #007acc;
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 1.2rem;
}

/* Right side (stats) */
.experience-right {
  flex: 1 1 40%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-box {
  text-align: center;
}

.circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 8px solid transparent;
  border-top: 8px solid #007acc;
  background: #fff;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  color: #007acc;
  font-weight: bold;
  position: relative;
  transition: transform 1s ease;
}

.circle span {
  font-size: 1.4rem;
  color: #007acc;
}

/* Responsive */
@media (max-width: 768px) {
  .experience-container {
    flex-direction: column;
    text-align: center;
  }
  .features {
    flex-direction: column;
  }
}


/* New: Services Section */
.services {
  background-color: #111;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.services h2 {
  color: #007acc;
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.service-box {
  border: 1px solid #333;
  padding: 40px 20px;
}

.service-box i {
  font-size: 2.5rem;
  color: #007acc;
  margin-bottom: 20px;
}

.service-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.service-box p {
  font-size: 0.95rem;
  color: #ccc;
}


/* About Us Section */
.about-us-section {
  padding: 100px 20px;
  background-color: #e8f8f5;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  /* flex-wrap: wrap; */
  gap: 40px;
  align-items: center;
}

.about-left {
  flex: 1 1 50%;
}

.about-left img {
  width: 100%;
  border-radius: 10px;
}

.about-right {
  flex: 1 1 50%;
}

.about-right h2 {
  font-size: 2.5rem;
  color: #007acc;
  margin-bottom: 10px;
  text-align: left;
}

.about-right hr {
  width: 80px;
  height: 3px;
  background-color: #007acc;
  border: none;
  margin: 10px 0 20px 0;
}

.about-right p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.about-lists {
  display: flex;
  gap: 40px;
}

.about-lists ul {
  list-style: none;
  padding: 0;
}

.about-lists ul li {
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  font-size: 1rem;
  color: #333;
}


/* Modal styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.video-modal video {
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


/* Responsive */
@media (max-width: 768px) {
  .container,
  .about-container {
    flex-direction: column;
  }
  .features {
    flex-direction: column;
    align-items: center;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  nav ul {
    flex-direction: column;
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 80px;
    right: 0;
    width: 200px;
    display: none;
  }
}


/* ========== Owner / Our Partner Section ========== */
.our-team-section {
  padding: 100px 20px;
  background: #e8f8f5;
  text-align: center;
}

.our-team-section h2 {
  font-size: 2.7rem;
  margin-bottom: 10px;
  color: #007acc;
  font-weight: bold;
}

.our-team-section hr {
  width: 80px;
  height: 3px;
  background-color: #007acc;
  border: none;
  margin: 10px auto 40px;
  border-radius: 5px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-card {
  position: relative;
  background-color: white;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

 .team-card:hover {
  transform: translateY(-10px);
} 

.team-card img {
  width: 100%;
  border-radius: 12px 12px 0 0;
}

/* Overlay Styles */
.overlay-team {
    position: absolute;
    top: 371px;
    left: 0px;
    width: 100%;
    height: 88px;
    background-color: #007acc;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    /* flex-wrap: wrap; */
    align-items: center;
    gap: 15px;
    transition: top 0.4s ease-in-out;
    border-radius: 6px 0 0 10px;
    /* z-index: 2; */
    opacity: 0;
}
.team-card:hover .overlay-team {
  top: 300px;
  opacity: 1;
}

.overlay-team a {
  color: white;
  font-size: 1.4rem;
  background: rgba(255,255,255,0.15);
  padding: 12px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.overlay-team a:hover {
  background: rgba(255,255,255,0.35);
}

.team-card .info {
  background-color: #007acc;
  padding: 15px;
  color: white;
  border-radius: 0 0 12px 12px;
}

.team-card .info h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.team-card .info p {
  margin: 5px 0 0;
  font-size: 0.95rem;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }
}



.product-section {
  background: #e8f8f5;
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  color: #007acc;
  margin-bottom: 10px;
}
.section-line {
  width: 80px;
  margin: 0 auto 20px;
  border: 3px solid #00aaff;
  border-radius: 3px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 50px;
    width: 697px;
    margin-left: 267px;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.product-card {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 123, 200, 0.1);
  border-radius: 10px;
  width: 300px;
  padding: 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.product-card h3 {
  color: #007acc;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.product-card p {
  font-size: 0.95rem;
  color: #666;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 123, 200, 0.2);
}

/* View All Hidden initially */
.hidden-product {
  display: none;
}

/* Button */
.product-btn-wrap {
  margin-top: 40px;
}
.product-btn {
  padding: 12px 30px;
  background-color: #007acc;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
  cursor: pointer;
}
.product-btn:hover {
  background-color: #005f99;
}

/* Hover Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 122, 204, 0.7);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}
.product-card:hover .overlay {
  opacity: 1;
}
.details-btn {
  padding: 10px 20px;
  background: #fff;
  border: none;
  color: #007acc;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

/* Popup Style */
.product-popup {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
}
.popup-content img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}
.popup-content h3 {
  color: #007acc;
  margin-bottom: 10px;
}
.popup-content p {
  margin-bottom: 20px;
}
.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #444;
  cursor: pointer;
}



.testimonial-slider {
    padding: 0 20px 46px 20px;
    text-align: center;
    overflow: hidden;
    position: relative;
  background: #e8f8f5;
   
}

.testimonial-slider h5 {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 23px;
}
.testimonial-slider h2 {
    font-size: 2.7rem;
    margin-bottom: 10px;
    color: #007acc;
    font-weight: bold;
}


.testimonial-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 300px;
  opacity: 0.3;
  transform: scale(0.95);
  transition: 0.5s ease;
}
.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
}
.testimonial-card p {
  color: #555;
  font-size: 15px;
  margin: 20px 0;
}
.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-icon {
  background: #28a745;
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  display: inline-block;
  margin-top: -20px;
}
.testimonial-client {
  font-weight: bold;
  color: #222;
}
.testimonial-profession {
  font-style: italic;
  color: gray;
}
.testimonial-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.testimonial-slider:hover .testimonial-arrows {
  opacity: 1;
  pointer-events: auto;
}
.testimonial-arrows i {
  font-size: 24px;
  color: #7fe0b1;
  cursor: pointer;
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-slider.animated {
  animation: slideInUp 1s ease-in-out;
}



/* ✅ Footer Styles */
.footer {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  padding: 60px 20px 0px; /* Bottom padding কমানো হয়েছে */
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0;
}



.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-about, .footer-links, .footer-contact {
  flex: 1 1 300px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 15px;
}

.footer h4 {
  color: #ff6600;
  margin-bottom: 15px;
}

.footer p, .footer li, .footer a {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-contact p i {
  margin-right: 10px;
  color: #28b463;
}

.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    padding: 10px 0;
}



/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-about, .footer-links, .footer-contact {
    flex: 1 1 100%;
  }
}
