/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-color: #7964ef;
  --primary-light: #8855dd;
  --secondary-color: #333333;
  --text-color: #ffffff;
  --text-secondary: #cccccc;
  --background-dark: #111111;
  --background-light: #222222;
  --accent-color: #ff6b6b;
  --header-bg: rgba(89, 60, 220, 0.11);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", serif;
  background-color: var(--background-dark);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  transition: background-color 0.3s;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  text-align: center;
  transition: background-color 0.3s;
  margin-left: 5px;
}

.btn-secondary:hover {
  /* background-color: rgba(255, 255, 255, 0.1); */
  background-color: var(--primary-light);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
}

.highlight {
  color: var(--primary-color);
}

.highlight-purple {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 35px;
}

/* Header Styles */
header {
  background-color: var(--header-bg);
  backdrop-filter: blur(10px); /* Blurry effect */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 75px; /* Same as headerOffset in JS */
}

.header-black {
  background-color: rgba(0, 0, 0, 0.493) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px); /* Blurry effect */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  background-color: var(--primary-color);
  color: var(--text-color);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-weight: 700;
  margin-right: 5px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
}

nav ul {
  display: flex;
}

nav ul li {
  margin: 0 15px;
  position: relative;
}

nav ul li a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s, background-color 0.3s, padding 0.3s,
    border-radius 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
  background-color: var(--primary-color);
  color: var(--text-color);
  border-radius: 50px;
  padding: 4px 30px;
}

/* Modal Overlay (non-fixed) */
.modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

/* Modal Content (appears from the top) */
.modal-content {
  background: #fff;
  margin: 20px auto; /* reduced top margin so it starts near the top */
  padding: 20px;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  transform: translateY(-20px) scale(0.8);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-content h2 {
  color: var(--primary-color);
}

.modal.open .modal-content {
  transform: translateY(0) scale(1);
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: #333;
}

/* Form Fields */
form label {
  display: block;
  margin: 10px 0 5px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form textarea:focus {
  border-color: #66afe9;
  box-shadow: 0 0 5px rgba(102, 175, 233, 0.5);
  outline: none;
}

form button {
  padding: 10px 20px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

/* Hero Section */
.hero {
  padding: 60px 0;
  background-color: var(--background-dark);
  position: relative;
  overflow: hidden;
  height: 580px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-content {
  max-width: 500px;
  z-index: 2;
}

.hero-content h3 {
  font-size: 59px;
  font-weight: 100;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 30px;
  width: 48%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.slider-controls {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 480px;
  left: 50%;
  transform: translateX(-50%);
}

.prev,
.next {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}

.slider-dots {
  display: flex;
  margin: 0 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-secondary);
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background-color: var(--primary-color);
}

/* Core Features Section */
.core-features {
  padding: 80px 0;
  background-color: white;
  color: var(--secondary-color);
}

.features-showcase {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.features-list {
  width: 30%;
}

.tablet-showcase {
  width: 26%;
  text-align: center;
}

.tablet-showcase img {
  max-width: 100%;
  height: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.feature-icon {
  width: 65px;
  height: 65px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.left-list .feature-icon {
  margin-right: 0;
  margin-left: 15px;
}

.feature-icon img {
  width: inherit;
  height: inherit;
}

.feature-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.left-list .feature-text h4 {
  text-align: right;
}

.feature-text p {
  font-size: 14px;
  color: #666;
}

.left-list {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
}

/* Shop Now Section */
.shop-now {
  padding: 80px 0;
  background-color: white;
  color: var(--secondary-color);
}

.product-showcase {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.product-gallery {
  width: 45%;
}

.main-product-image {
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.main-product-image img {
  width: 100%;
  height: auto;
}

.product-thumbnails {
  display: flex;
  justify-content: space-between;
}

.product-thumbnails img {
  width: 22%;
  border: 1px solid #eee;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.product-thumbnails img:hover {
  transform: scale(1.05);
}

.product-thumbnails img.active {
  border-color: var(--primary-color);
}

.product-details {
  width: 50%;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.stars {
  color: #ffc107;
  margin-right: 10px;
}

.review-count {
  font-size: 14px;
  color: #666;
}

.product-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 15px;
}

.product-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.color-options {
  display: flex;
  margin-top: 10px;
}

.color-option {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
  border: 2px solid transparent;
}

.color-option.white {
  background-color: #fff;
  border: 1px solid #ddd;
}

.color-option.black {
  background-color: #333;
}

.color-option.purple {
  background-color: var(--primary-color);
}

.color-option.active {
  border-color: var(--primary-color);
}

.product-actions {
  display: flex;
  margin-bottom: 30px;
}

.product-actions button {
  margin-right: 15px;
}

.customer-review {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 5px;
}

.review-text {
  font-size: 14px;
  font-style: italic;
  color: #666;
  margin-top: 10px;
}

.product-specs {
  margin-top: 40px;
}

.specs-dropdown {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.specs-dropdown summary {
  padding: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.3s;
  font-size: 20px;
}

.specs-dropdown summary i {
  color: #666;
  font-size: 16px;
  transition: transform 0.3s;
}

.specs-dropdown[open] summary i {
  transform: rotate(180deg);
}

.specs-content {
  padding: 20px;
}

/* Zikr S1 Promo Section */
.zikr-s1-promo {
  padding: 80px 0;
  background: linear-gradient(to right, #e6e6ff, #f0f0ff);
}

.zikr-s1-promo .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.promo-image {
  width: 45%;
}

.promo-image img {
  width: 100%;
  height: auto;
}

.promo-content {
  width: 45%;
  text-align: center;
}

.promo-title {
  font-size: 82px;
  font-weight: 550;
  color: var(--secondary-color);
}

.promo-subtitle {
  font-size: 44px;
  font-weight: bold;
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
  background-color: var(--text-color);
}

.benefits .section-title {
  margin-bottom: 60px;
}

.benefits .benefits-second-title {
  font-weight: 300;
  font-size: 30px;
  line-height: 0.6;
  color: var(--background-dark);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item {
  margin-bottom: 15px;
  background-color: var(--background-light);
  border-radius: 10px;
  overflow: hidden;
}

.benefit-header {
  display: flex;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  position: relative;
  background: var(--text-color);
  color: var(--background-dark);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  /* background-color: var(--primary-color); */
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
}

.benefit-icon i {
  color: white;
  font-size: 16px;
}

.benefit-header h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.benefit-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px 0 80px;
  background: var(--text-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

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

.benefit-content p {
  margin: 0;
  margin-left: 30px;
  font-size: 14px;
  color: var(--background-dark);
  line-height: 1.6;
}

/* Why Buy Section */
.why-buy {
  padding: 80px 0;
  background-color: var(--text-color);
}

.why-buy .section-title {
  margin-bottom: 60px;
  text-align: center;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.reason-card {
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(102, 51, 204, 0.2);
}

.reason-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.reason-text {
  font-size: 14px;
  color: var(--background-dark);
  line-height: 1.6;
}

.reasons-grid {
  grid-template-areas:
    "card1 card2 card3"
    "card4 card5 card6";
}

.reason-card:nth-child(1) {
  grid-area: card1;
}
.reason-card:nth-child(2) {
  grid-area: card2;
}
.reason-card:nth-child(3) {
  grid-area: card3;
}
.reason-card:nth-child(4) {
  grid-area: card4;
}
.reason-card:nth-child(5) {
  grid-area: card5;
}
.reason-card:nth-child(6) {
  grid-area: card6;
}

@media (max-width: 992px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "card1 card2"
      "card3 card4"
      "card5 card6";
  }
}

@media (max-width: 576px) {
  .reasons-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "card1"
      "card2"
      "card3"
      "card4"
      "card5"
      "card6";
  }
}

/* Top section with icons */
.info-section {
  background-color: var(--background-light);
  color: white;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.info-item {
  display: inline-flex; /* Allows items to stay inline */
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 30%; /* Adjust based on the layout */
  min-width: 250px; /* Ensures proper spacing */
}

.icon-circle {
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.icon {
  width: 40px;
  height: 40px;
  fill: var(--primary-color);
}

.info-title {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.info-text {
  font-size: 14px;
  line-height: 1.5;
  width: 80%;
}

/* Bottom section with product */
.product-section {
  display: flex;
  justify-content: center;
  padding: 60px 40px;
  background-color: #f0f0f0;
}

.product-section .container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.product-text,
.product-image {
  display: inline-flex;
  flex-direction: column;
  align-items: start;
  text-align: left;
  width: 48%; /* Ensures side-by-side layout */
  min-width: 300px;
}

.product-image {
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
}

.product-title {
  font-size: 42px;
  color: #1a2a4a;
  margin-bottom: 10px;
  font-weight: bold;
}

.product-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.shop-button {
  background-color: #1a2a4a;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
  }
}

/* Video Section */
.video-section {
  height: 100vh;
  padding: 2rem 0;
}

.video-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.video-item iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
}

/* footer */
footer {
  background-color: var(--primary-light); /* Dark modern background */
  color: #ecf0f1; /* Light text color */
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  flex-wrap: nowrap; /* Prevents wrapping */
}

.footer-column {
  flex: 1;
  min-width: 0;
  text-align: center; /* Center content inside each column */
}

.footer-column:first-child {
  text-align: left; /* Logo aligned to the left */
}

.footer-column:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Vertically center content */
  justify-content: flex-end; /* Keep it to the right */
  text-align: center;
}

.footer-column:last-child h3 {
  margin-right: 31px;
}

.footer-logo {
  max-width: 150px;
  height: auto;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  overflow: hidden;
}

.whatsapp-float img {
  width: 70%;
  height: 70%;
  -o-object-fit: contain;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
