/* Reset basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
  }
  
  .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Top header */
  .top-header {
    background-color: #0d5c73;
    color: white;
    padding: 8px 0;
    font-size: 14px;
  }
  
  .contact-info span {
    margin-right: 20px;
  }
  
  .social-icons a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
  }
  
  /* Main sticky header */
  .main-header {
    background-color: white;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 40px;
    margin-right: 10px;
  }
  
  .nav-links a {
    margin-left: 20px;
    color: #111;
    text-decoration: none;
    font-weight: 500;
  }
  
  .nav-links a.active {
    color: #f05c40;
  }
  
ul.contact_detail.list_none.text-center.text-md-left {
    display: flex;
    gap: 2rem;
    color: black;
}
ul.contact_detail.list_none.text-center.text-md-left li {
  list-style: none;
}
ul.contact_detail.list_none.text-center.text-md-left li a{
  color: white;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensure images fill space */
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
  z-index: 0;
}

/* Shadow overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

/* Hero text */
.hero-content {
  position: relative;
  z-index: 2; /* above background + overlay */
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
  animation: fadeIn 1s ease;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* extra shadow */
}

.hero-content p {
  font-size: 1.5em;
  opacity: 0.95;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6); /* extra shadow */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-60%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  z-index: 1;
}

/* Hero text */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.5em;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

/* Slider buttons */
.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}


.hero-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.hero-btn.left {
  left: 20px;
}

.hero-btn.right {
  right: 20px;
}




.contact-section {
  padding: 60px 20px;
  text-align: center;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
  gap: 30px;
}

form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 15px;
  border-radius: 25px;
  border: 1px solid #ddd;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

form textarea {
  resize: none;
  height: 120px;
}

form button {
  background-color: #ff6b4a;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #e95a3d;
}

/* ======= abouth us ====== */


.features-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 50px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: #ff6f5e;
  color: white;
  border-radius: 16px;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.card.blue {
  background: #2d74f7;
}

.card h3 {
  font-size: 1.3rem;
  margin: 20px 0 10px;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: #fdfdfd;
}

.card .icon {
  font-size: 2.2rem;
}

/* Scroll-triggered animation */
.card.animate-visible {
  opacity: 1;
  transform: translateY(0);
}


.container.feature-container {
  flex-direction: column;
}





.about-section {
  padding: 80px 20px;
  background: #fff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text,
.about-video {
  flex: 1 1 500px;
  opacity: 0;
  transition: all 0.8s ease-out;
}

.about-text {
  transform: translateX(-50px);
}

.about-video {
  transform: translateX(50px);
}

.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #444;
}

.about-text h3 {
  margin-top: 20px;
  font-weight: 600;
}

.about-text .highlight {
  font-size: 3rem;
  color: #ff5a5f;
  font-weight: bold;
}

.video-thumbnail {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-thumbnail img {
  width: 100%;
  display: block;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ff5a5f;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  padding: 15px;
  color: white;
  cursor: pointer;
  z-index: 2;
}

/* Video Popup */
.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

#closePopup {
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* ✅ Responsive Fix */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 60px;
    text-align: center;
  }

  .about-text,
  .about-video {
    transform: none;
    opacity: 1;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text .highlight {
    font-size: 2.5rem;
  }
  nav.nav-links{
    display: none;
  }
  .main-header.sticky {
    position: fixed;
    width: 100%;
  }
  .top-header {
    display: none;
  }
  .hero-btn{
    font-size: 1rem;
  }
  .hero-btn.right {
    right: 3px;
  }
  .hero-btn.left {
    left: 3px;
  }
  .about-video{
    flex: 1 1;
  }
  body {  
    overflow-x: hidden;
  }
}


/* ==== dark mode enanble == */


/* Dark mode root styles */
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

/* Optional: dark mode for containers */
body.dark-mode .container,
body.dark-mode .main-header,
body.dark-mode .top-header,
body.dark-mode .nav-links a,
body.dark-mode footer {
  background-color: #1e1e1e !important;
  color: #ffffff !important;
}

/* Invert icons if needed */
body.dark-mode img,
body.dark-mode .logo img {
  filter: brightness(0.8);
}

/* Navbar link color override */
body.dark-mode .nav-links a {
  color: #fff;
}

/* Example button styling */
.dark-mode-toggle {
  background: transparent;
  color: #fff;
  font-size: 20px;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

/* Optional: dark mode form fields or sections */
body.dark-mode input,
body.dark-mode textarea {
  background-color: #333;
  color: #fff;
  border: 1px solid #555;
}






/* Loader full screen overlay */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d1117; /* Dark background */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s;
}

/* Spinner animation */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ffffff30;
  border-top-color: #00bcd4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

/* Loading text */
#loader p {
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  animation: fadeIn 1s ease-in-out infinite alternate;
}

/* Animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}


/* ============== hero text ------- */
.hero-fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* When .show class is added */
.hero-fade-up.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}