@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #0b1c3a; /* Deep Navy Blue */
  --secondary-color: #ff8c00; /* Vibrant Orange */
  --secondary-color-dark: #cc7000;
  --text-dark: #333;
  --text-light: #f4f4f4;
  --bg-light: #f9f9fa;
  --white: #ffffff;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header */
header {
  background-color: var(--primary-color);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 60px;
  border-radius: 12px; /* Logo with rounded corners */
  object-fit: cover;
  background-color: var(--white);
  padding: 2px;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--white);
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover {
  color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  min-width: 220px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-radius: var(--border-radius);
  z-index: 1000;
  flex-direction: column;
  padding: 10px 0;
  gap: 0;
}
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu a {
  padding: 10px 20px;
  display: block;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dropdown-menu li:last-child a {
  border-bottom: none;
}
.dropdown-menu a:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 5%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3668 100%);
  color: var(--white);
  min-height: 80vh;
}

.hero-text {
  flex: 1;
  padding-right: 40px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--secondary-color);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-text .features {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-text .feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: var(--border-radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--secondary-color-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
}

.hero-slider-container {
  flex: 1;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-slider {
  display: flex;
  width: 300%; /* 3 images */
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-slider img {
  width: 33.333%;
  height: 100%;
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero-slider-container {
    max-width: 100%;
    margin: 0 auto 30px;
  }
}

.slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--secondary-color);
  width: 24px;
  border-radius: 6px;
}

/* Sections Common */
section {
  padding: 80px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background-color: #f4f4f4;
  border-bottom: 2px solid var(--bg-light);
}

.product-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.product-excerpt {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.4;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-actions .btn {
  width: 100%;
  font-size: 0.95rem;
  padding: 10px;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* About Us & Why Choose Us */
.two-col {
  display: flex;
  align-items: center;
  gap: 50px;
}

.two-col.reverse {
  flex-direction: row-reverse;
}

.text-col, .img-col {
  flex: 1;
}

.img-col img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.text-col h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.text-col p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.features-list {
  margin-top: 20px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.features-list li i {
  color: var(--secondary-color);
}

/* Reviews */
.reviews-container {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) var(--bg-light);
}

.reviews-container::-webkit-scrollbar {
  height: 8px;
}

.reviews-container::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 4px;
}

.review-card {
  min-width: 300px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--secondary-color);
}

.stars {
  color: #FFD700;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
}

.reviewer {
  font-weight: 600;
  color: var(--primary-color);
}

/* Videos Section */
.videos-section {
  background-color: var(--primary-color);
  color: var(--white);
  overflow: hidden;
}

.videos-section .section-title {
  color: var(--white);
}

.video-scroller-wrap {
  width: 100%;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.video-scroller {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.video-scroller::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.video-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.video-nav-btn:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

#prevVideo { left: 15px; }
#nextVideo { right: 15px; }

.video-item {
  height: 500px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.video-item video {
  height: 100%;
  width: auto;
  display: block;
}

.video-item video:fullscreen {
  object-fit: contain;
  height: 100%;
  background: black;
}

.video-item video:-webkit-full-screen {
  object-fit: contain;
  height: 100%;
  background: black;
}

.video-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  padding: 5px 10px;
  border-radius: 20px;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.video-controls i {
  color: white;
  cursor: pointer;
  font-size: 18px;
}

/* Inquiry Form / CTA Section */
.inquiry-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d2347 50%, #091a33 100%);
  color: var(--white);
}

.inquiry-section .section-title {
  color: var(--white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 10px;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 200px; /* Adjust based on content */
}

/* Footer */
footer {
  background-color: #051024;
  color: #ccc;
  padding: 60px 5% 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-col p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-col p i {
  color: var(--secondary-color);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* Scroll Animations */
.animate-up {
  opacity: 0;
  visibility: hidden;
}
.animate-up.is-visible {
  animation: fadeUp 0.8s ease forwards;
  visibility: visible;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-left {
  opacity: 0;
  visibility: hidden;
}
.animate-left.is-visible {
  animation: fadeLeft 0.8s ease forwards;
  visibility: visible;
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-right {
  opacity: 0;
  visibility: hidden;
}
.animate-right.is-visible {
  animation: fadeRight 0.8s ease forwards;
  visibility: visible;
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fade {
  opacity: 0;
  visibility: hidden;
}
.animate-fade.is-visible {
  animation: fadeIn 0.8s ease forwards;
  visibility: visible;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 50px;
  }
  
  .hero-slider-container {
    margin-bottom: 30px;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .hero-text .features {
    justify-content: center;
  }
  
  .hero-slider-container {
    max-width: 100%;
    width: 100%;
  }

  .two-col, .two-col.reverse {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .features-list li {
    justify-content: center;
  }

  .two-col .text-col div[style*="display: flex"] {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
  }

  nav ul.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background-color: rgba(0,0,0,0.2);
    box-shadow: none;
    padding-left: 15px;
  }
  
  .dropdown.active .dropdown-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text .features {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-text .btn {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}
