:root {
  --primary: #ff8d0b;
  --bg: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: #313131;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
              url("../img/gambar1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0));
}


.hero::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(0deg, rgba(1, 1, 3, 1) 8%, rgba(255, 255, 255, 0) 50%);
}

.hero .mask-container {
  position: absolute;
  /* background: salmon; */
  inset: 0;
  -webkit-mask-image: url('../img/header-bg.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  -webkit-mask-position: center;
}

.hero .content {
  padding: 1.4rem 7%;
  /* max-width: 60rem; */
  width: 100%;
  text-align: center;
  position: fixed;
  top: 130px;
}

.hero .content h1 {
  font-size: 5rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Adds a subtle shadow */
}

.hero .content h2 {
  color: var(--primary);
  font-size: 3.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Adds a subtle shadow */
}

.hero .content p {
  font-size: 2rem;
  margin-top: 2rem;
  line-height: 1.4;
  mix-blend-mode: difference;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
  color: #fff;
}


.hero .content .cta {
  margin-top: 2rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}
.slider{
  width: 1300px;
  max-width: 100vw;
  height: 700px;
  margin: auto;
  position: relative;
  overflow: hidden;
}
.slider .list{
  position: absolute;
  width: max-content;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  transition: 1s;
}
.slider .list img{
  width: 1300px;
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
}
.slider .buttons {
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
}
.slider .buttons button{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff5;
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
}
.slider .buttons button:hover {
  background-color:#4e4e4e;

}

.slider .dots{
  position: absolute;
  bottom: 10px;
  left: 0;
  color: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.slider .dots li{
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 10px;
  border-radius: 20px;
  transition: 0.5s;
}
.slider .dots li.active{
  width: 30px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: #ffffffc9; /* White background */
  border-bottom: 1px solid #ddd; /* Soft border */
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Soft shadow */
}

/* Logo */
.navbar .navbar-logo img {
  width: 10rem;
  height: auto;
  mix-blend-mode: multiply; /* Helps blend black & blue logo */
}

/* Navbar Links */
.navbar .navbar-nav a {
  color: #222; /* Dark text for readability */
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
  transition: color 0.3s ease-in-out;
}

.navbar .navbar-nav a:hover {
  color: var(--primary, #007bff); /* Primary color on hover */
}

/* Underline effect */
.navbar .navbar-nav a::after {
  content: '';
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary, #007bff);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}


.navbar .navbar-extra a {
  color:  #222;;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}


/* Responsive Design */
#hamburger-menu {
  display: none;
}

/* Search Form */
.navbar .search-form {
  position: absolute;
  top: 100%;
  right: 5%;
  background: #fff;
  width: 280px;
  height: 40px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease-in-out;
}

.navbar .search-form.active {
  transform: scaleY(1);
}

.navbar .search-form input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 1rem;
}

.navbar .search-form label {
  padding: 0 10px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--primary);
}


/* 🔹 Shopping Cart Button Styles */
#shopping-cart-button {
  position: relative;
}

#shopping-cart-button .quantity-badge {
  display: inline-block;
  padding: 3px 7px;
  background-color: red;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  font-size: 0.8rem;
  position: absolute;
  top: -5px;
  right: -10px;
  min-width: 18px;
  text-align: center;
}

/* 🔹 Shopping Cart Panel */
.shopping-cart {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 26rem;
  max-width: 90vw;
  padding: 1.5rem;
  background: #fff;
  color: #333;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  border-left: 3px solid #f0f0f0;
}

.shopping-cart.active {
  transform: translateX(0);
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.2);
}

/* 🔹 Shopping Cart Items */
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.cart-item img {
  height: 3rem;
  width: 3rem;
  border-radius: 6px;
  object-fit: cover;
}

/* 🔹 Item Details */
.cart-item .item-detail {
  flex-grow: 1;
  padding-left: 10px;
}

.shopping-cart h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
  text-transform: uppercase;
}

.shopping-cart h4 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
}

/* 🔹 Product Features */
.product-features {
  list-style: none;
  padding: 0;
  margin: 4px 0;
  font-size: 0.85rem;
  color: #666;
}

.product-features li::before {
  content: "✔";
  color: #ff5722;
  font-weight: bold;
  margin-right: 8px; /* Add gap between the checkmark and text */
}

/* 🔹 Price & Quantity Wrapper */
.item-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff5722;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Align price left, quantity right */
  width: 100%;
}

/* 🔹 Price (Align Left) */
.item-price .price {
  flex-grow: 1;
  text-align: left;
}

/* 🔹 Quantity Controls (Align Right) */
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}


/* 🔹 Quantity Buttons */
.quantity-btn {
  background: #444;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 6px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.quantity-btn:hover {
  background: #ff5722;
}

/* 🔹 Quantity Number */
.quantity {
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  padding: 4px 10px;
  border-radius: 4px;
  text-align: center;
  background: #f8f8f8;
  min-width: 30px;
}

/* 🔹 Total Price */
.total-price {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  color: #222;
  margin-top: 1rem;
}

/* 🔹 Checkout Button */
.checkout-btn {
  width: 100%;
  padding: 12px;
  background: #ff5722;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease-in-out;
  margin-top: 1rem;
}

.checkout-btn:hover {
  background: #e64a19;
}

/* 🔹 Checkout Form */
.form-container {
  width: 100%;
  border-top: 2px solid #ddd;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.form-container h5 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.form-container label {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  text-align: center;
}

/* 🔹 Input Fields */
.form-container input {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* 🔹 Focus Effect for Inputs */
.form-container input:focus, 
#install-date:focus {
  border-color: var(--primary, #ff4500);
  box-shadow: 0 0 8px rgba(255, 69, 0, 0.3);
  outline: none;
}

/* 🔹 Checkout Button */
.form-container .checkout-button {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary, #ff4500), #e63e00);
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  font-size: 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-top: 1.5rem;
  box-shadow: 0 5px 10px rgba(255, 69, 0, 0.3);
}

/* 🔹 Hover Effect */
.form-container .checkout-button:hover {
  background: #e63e00;
  transform: scale(1.05);
}

/* 🔹 Disabled Checkout Button */
.form-container .checkout-button:disabled,
.form-container .checkout-button.disabled {
  background-color: #aaa;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

#install-date {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  -webkit-appearance: none; /* Fix iOS auto-resizing */
  appearance: none;
}

/* Style the default browser calendar icon */
#install-date::-webkit-calendar-picker-indicator {
  color: #ff4500; /* Change color */
  font-size: 1.3rem;
  cursor: pointer;
}

/* 🔹 Fix Checkout Button Scaling on iOS */
.form-container .checkout-button {
  font-size: 1.5rem; /* Ensure proper size on iOS */
  padding: 1.2rem;
  width: 100%;
}


/* 🔹 Responsive Design */
@media (max-width: 1024px) {
  .shopping-cart {
    width: 450px; /* Maintain 450px on larger tablets */
    max-width: 90vw;
  }
}

@media (max-width: 768px) {
  .shopping-cart {
    width: 100%; /* Full width on small tablets */
    padding: 1rem;
  }

  .cart-item {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .cart-item img {
    height: 3.5rem;
    width: 3.5rem;
  }

  .item-price {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .quantity-control {
    justify-content: flex-end;
  }

  .quantity-btn {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .quantity {
    font-size: 0.9rem;
    min-width: 26px;
  }

  .checkout-btn {
    font-size: 1rem;
    padding: 10px;
  }
}
/* 🔹 For Mobile (450px and below) */
@media (max-width: 450px) {
  .shopping-cart {
    width: 100%; /* Full-screen width */
    padding: 1.5rem; /* Increased padding for better spacing */
    text-align: center;
  }

  .shopping-cart h3 {
    font-size: 2rem; /* Bigger text */
    font-weight: bold;
  }

  .shopping-cart h4 {
    font-size: 2rem; /* Even larger for emphasis */
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
  }

  .total-price {
    font-size: 2rem; /* Bigger total price text */
    font-weight: bold;
    color: #222;
    margin-top: 1.5rem;
  }

  .checkout-btn {
    font-size: 1.5rem; /* Larger checkout button text */
    padding: 14px;
  }

  /* 🔹 Product Features */
  .product-features {
    font-size: 1rem;
    color: #666;
    list-style: none; /* Remove default bullets */
    justify-content: center; /* Center items properly */
    padding: 0;
    text-align: center;
  }

  .product-features li {
    display: flex;
    align-items: center;
    justify-content: center; /* Center items properly */
    gap: 8px; /* Add spacing */
    margin-bottom: 5px;
  }

  .product-features li::before {
    content: "✔";
    color: #ff5722;
    font-weight: bold;
    font-size: 1.2rem;
  }
  .quantity-control {
    justify-content: flex-end;
  }

  .quantity-btn {
    width: 24px;
    height: 24px;
    font-size: 1.5rem;
  }

  .quantity {
    font-size: 1.5rem;
    min-width: 26px;
  }
}


/* About Section */
.about,
.pakej,
.products,
.contact {
  padding: 8rem 7% 1.4rem;
}

.about h2,
.contact h2,
.pakej h2,
.products h2,
.contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span,
.pakej h2 span,
.products h2 span,
.contact h2 span {
  color: var(--primary);
}

.about .row {
  display: flex;
  justify-content: center; /* Center the content within the row */
}
.about .row .about-img {
  flex: 1 1 20rem;
  text-align: center;
}
.about .row .about-img img {
  width: 70%;
  height: 50%;
  border-radius: 50%;
  height: 24rem;
  object-fit: cover;
  object-position: center;
}
.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}
.about .row .content h3 {
  margin-top: 1rem;
  font-size: 5rem;
}
.about .row .content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

/* Menu Section */
.products h2,
.contact h2 {
  margin-bottom: 1rem;
}
.pakej p,
.products p,
.contact p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
  font-size:1.5rem;
}

.menu .row .menu-card {
  text-align: center;
  padding-bottom: 4rem;
}

.menu .row .menu-card img {
  border-radius: 50%;
  width: 80%;
}

.menu .row .menu-card .menu-card-title {
  margin: 1rem auto 0.5rem;
}

:root {
  --primary: #007bff;
  --secondary: #ff3b2f;
  --dark: #222;
  --light-gray: #f5f5f5;
  --border-radius: 12px;
  --transition: all 0.3s ease-in-out;
}

/* General Styles */
.products {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--light-gray);
}

.products h2 {
  color: #fff;
}

.products p {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Product Grid */
.products .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 3rem;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border: 1px solid #ddd;
  position: relative;
  width: 100%;
  max-width: 350px;
  overflow: hidden;
  border: 1px solid #eee;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.product-image {
  padding: 1rem;
  background: #fafafa;
  border-radius: var(--border-radius);
}

.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

/* Product Name */
.product-content h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Features List */
.product-features {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  color: #777;
  text-align: center;
  margin: 1rem 0;
}

.product-features li {
  padding: 5px 0;
}

/* Star Ratings */
.product-stars {
  margin: 0.8rem 0;
}

.product-stars i {
  color: #ffaa00;
  font-size: 1.6rem;
}

/* Price */
.products-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 0.8rem;
}

.products-price .current-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.products-price .previous-price {
  font-size: 1.4rem;
  color: #888;
  text-decoration: line-through;
  font-weight: 500;
}

/* Optional: Add a subtle discount badge */
.discount-badge {
  background: var(--secondary);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  margin-top: 5px;
  display: inline-block;
}


/* Add to Cart Button */
.add-to-cart-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 1rem;
}

.add-to-cart-btn i {
  font-size: 1.2rem;
}

.add-to-cart-btn:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .products {
    padding: 3rem 1rem;
  }

  .product-card {
    max-width: 90%;
  }

  .product-content h3 {
    font-size: 1.3rem;
  }

  .products-price {
    font-size: 1.3rem;
  }

  .add-to-cart-btn {
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
  }
}
/* Products Section End*/

/* Styling for each service item */

/* Servis Kami Section */
#package {
  position: relative; /* Ensures child elements (overlay & text) work properly */
  background: url('../products/db.png') no-repeat center center;
  background-size: cover;
  padding: 50px 0; /* Adjust padding as needed */
  color: white; /* Ensure text is readable */
  text-align: center;
  overflow: hidden;
}

/* Add semi-transparent overlay for better text visibility */
#package::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay (adjust opacity as needed) */
  z-index: 1;
}

/* Make sure text is above the overlay */
#package h2, #package .row {
  position: relative;
  z-index: 2;
}

/* Icon, Title, and Text Styling */
.kenapa {
  text-align: center;
  margin-bottom: 3rem; /* Adds spacing between items */
}

/* Icon Styling */
.kenapa i {
  font-size: 5rem; /* Larger icons */
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-block;
}

/* Title Styling */
.kenapa h3 {
  font-size:1.8rem; /* Bold and clear */
  font-weight: 600;
  color: #fff; /* White text to contrast with dark overlay */
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Text Styling */
.kenapa p {
  font-size: 1.5rem; /* Larger text for readability */
  color: #ddd; /* Light gray text for better contrast */
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  #package h2 {
    font-size: 2.2rem;
  }
  .kenapa i {
    font-size: 4rem;
  }
  .kenapa h3 {
    font-size: 2rem;
  }
  .kenapa p {
    font-size: 1.5rem;
  }
}

/* Harga Pendawaian Elektrik Section */
.harga {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

.harga h2 {
  font-size: 2.5rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
}
.products h2 {
  color:fff;
}
.harga h2 span,
.products h2 span {
  color: var(--primary);
}

.harga p {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 20px;
}

.harga ul {
  text-align: center;
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.harga ul li {
  font-size: 1.5rem;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  
}

.harga ul li strong {
  color: var(--primary);
}

.harga p em {
  font-size: 1rem;
  color: #888;
}

/* Row - Flexbox Layout */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Adjust space between items */
}

/* Individual Service Box */
.kenapa {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s ease-in-out;
  width: 280px; /* Consistent size */
  max-width: 90%;
}

.kenapa:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Icons */
.kenapa i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 15px;
  display: inline-block;
  transition: 0.3s ease;
}

.kenapa:hover i {
  color: #333;
}

/* Titles */
.kenapa h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

/* Description Text */
.kenapa p {
  font-size: 1.5rem;
  color: #666;
  line-height: 1.6;
}


/* Contact Section */
.contact {
  background-color: #313131;
  color: #fff;
}

.contact h2 {
  color: #fff;
}
.contact p {
  color: #ddd;
  font-weight: 1rem;
  font-style: italic;
}

.contact p span {
  color:var(--primary);
}
/* Dark Mode Styling */
.products {
  background-color: #313131;
  color: #fff;
}

/* Contact Section Layout */
.contact .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  background-color: #222;
  border-radius: 10px;
  overflow: hidden;
  align-items: stretch; /* Pastikan semua elemen dalam satu ketinggian */
}

/* Map Section */
.contact .row .map {
  flex: 1 1 50%;
  width: 100%;
  height: 350px;
  border: none;
  object-fit: cover;
}

/* Form Section */
.contact .row form {
  flex: 1 1 50%;
  padding: 3rem;
  text-align: center;
}

/* Input Group */
.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  background-color: #1d1d1d;
  border: 1px solid #444;
  padding: 1rem;
  border-radius: 8px;
}

.contact .row form .input-group input,
.contact .row form .input-group textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  background: none;
  color: #ddd;
  border: none;
  outline: none;
}

/* Textarea Styling */
.contact .input-group textarea {
  resize: none;
  height: 120px;
  border-radius: 8px;
}

/* Submit Button */
.contact .row form .btn {
  margin-top: 2rem;
  padding: 1.2rem 3rem;
  font-size: 1.7rem;
  font-weight: bold;
  color: #ddd;
  background: linear-gradient(135deg, var(--primary), #ff3b2f);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.contact .row form .btn:hover {
  background: #ff3b2f;
  transform: scale(1.05);
}

/* Disabled Button */
.contact .row form .btn.disabled {
  background-color: #666;
  cursor: not-allowed;
}
body, main {
  margin: 0;
  padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact .row {
    flex-direction: column;
  }
  
  .contact .row .map {
    height: 300px;
  }

  .contact .row form {
    padding: 2rem;
  }
}

/* 🔹 Footer */
footer {
  background: linear-gradient(135deg, var(--primary), #003366);
  text-align: center;
  padding: 2rem 0;
  margin-top: 0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

/* 🔹 Social Icons */
footer .socials {
  padding: 1rem 0;
}

footer .socials a {
  color: #fff;
  margin: 0 1rem;
  font-size: 1.8rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

footer .socials a:hover {
  color: #ffdd57;
  transform: translateY(-5px);
}

/* 🔹 Quick Links */
footer .links {
  margin: 1.5rem 0;
}

footer .links a {
  color: #ddd;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

footer .links a:hover {
  color: #ffdd57;
  text-decoration: underline;
}

/* 🔹 Footer Credit */
footer .credit {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #bbb;
}

footer .credit a {
  color: #ffdd57;
  font-weight: 700;
  transition: color 0.3s ease;
}

footer .credit a:hover {
  color: #fff;
}

/* 🔹 Mobile Responsive */
@media (max-width: 768px) {
  footer {
    padding: 1.5rem 0;
  }

  footer .socials a {
    font-size: 1.5rem;
    margin: 0 0.8rem;
  }

  footer .links a {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  footer .credit {
    font-size: 0.8rem;
  }
}

/*----------------Thank You!---------------------*/
/* Improved "Thank You" Modal CSS */

/* Style the modal overlay */
.modalthanks {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

/* Style the modal container */
.modalthanks-container {
  background-color: #fefefe;
  color: #313131;
  padding: 1.2rem;
  border: 1px solid #666;
  max-width: 80%; /* Limit the width to a percentage of the viewport */
  animation: animateModal 0.5s;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

/* Modal Box */
/* 4 channel 2MP */
.modalthanks {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal b:hover{
color: var(--primary);
}

.modal-container {
  position: relative;
  background-color: #fefefe;
  color: var(--bg);
  margin: 13% auto;
  padding: 1.2rem;
  border: 1px solid#666;
  width: 80%;
  animation: animateModal 0.5s;
}

/* Modal animation */
@keyframes animateModal {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
.modal-container .close-icon {
  position: absolute;
  right: 1rem;
}
.modal-content {
  display: flex;
  flex-wrap: nowrap;
}
.modal-content img {
  height: 18rem;
  margin-right: 2rem;
  margin-bottom: 2rem;
}
.modal-content p {
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin-top: 1rem;
}
.modal .products-price a  {
  display: flex;
  gap: 1rem;
  width: 12rem;
  background-color: var(--primary);
  color: #fff;
  margin-top: 1rem;
  padding: 1rem 1.6rem;
}
.modal .product-stars  {
  margin-top: 1.5rem;
  color: var(--primary);
}
.modal .products-price {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 1.5rem;
}
.modal .products-price span {
  text-decoration: line-through;
  font-weight: 0.1rem;
  font-weight: normal;
}

/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 758px) {
  html {
    font-size: 62.5%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: #313131;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .navbar .search-form {
    width: 90%;
    right: 2rem;
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .about .row .content p {
    font-size: 1.6rem;
  }

  .menu p {
    font-size: 1.2rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row form {
    padding-top: 0;
  }

  .modal-content {
    flex-wrap: wrap;
  }
}

/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
/* Style the modal content */
.modalthanks-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* Add vertical spacing between elements */
}

.modalthanks-content img {
  height: auto; /* Adjust image height based on content */
  max-width: 30%; /* Ensure the image fits within the container */
  margin-bottom: 1rem; /* Add space below the image */
}

.modalthanks-content h3 {
  font-size: 2rem; /* Adjust the font size */
  font-weight: bold; /* Apply bold font weight */
  margin: 0; /* Reset margin to remove default spacing */
  color: var(--bg); /* Apply a custom color */
}

.modalthanks-content p {
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin: 0; /* Reset margin to remove default spacing */
}

/* Products Section */
.products .row {
  display: grid;
  gap: 1.5rem;
  justify-content: center; /* Center items horizontally */
  margin-top: 3rem; /* Adjust margin as needed */
}
.products p {
  font-size: 1rem;
  color: #fff;
}

.product-card {
  border: 1px solid #ddd;
  background-color: #ffffff;
  padding: 2rem; /* Increase padding to make the card bigger */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* Ensure product-icons are positioned relative to product-card */
  width: 100% !important;
  max-width: 100% !important;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.product-image {
  padding: 1rem 0;
}

.product-image img {
  /*max-width: 20rem;*/
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}


.product-content {
  margin-top: 1rem;
}

.product-content h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.product-stars {
  color: #f2b01e; /* Update with your star color */
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
}

.products-price p {
  font-size: 1.3rem;
  font-weight: bold;
  color: #000;
  margin-top: 2rem; /* Adjust top margin as needed */
}

.products-price .previous-price {
  color: #999;
  font-size: 2rem;
  text-decoration: line-through;
  margin-top: 0.1rem;
}


.add-to-cart-btn {
  background-color: var(--primary); /* Update with your primary color */
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none; /* Ensure button style without underline */
  margin-top: 1rem;
}

.add-to-cart-btn:hover {
  background-color: #4e4e4e; /* Update with a darker shade of your primary color */
}

@media screen and (max-width:768px){
  .slider {
    height: 400px;
  }
  .hero {
  height: 80vh;
  display: flex;
}
.hero .content .cta {
  margin-top: 2rem;
}
.products {
  padding: 4rem 
}
}

/* 🔹 Responsive Styles */
@media screen and (max-width: 768px) {
  .products h2 {
      font-size: 2rem;
  }

  .products p {
      font-size: 0.95rem;
  }

  .products .row {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 1 column on mobile */
  }

  .product-card {
      padding: 1.2rem;
      max-width: 320px;
  }

  .product-content h3 {
      font-size: 1.4rem;
  }

  .add-to-cart-btn {
      font-size: 0.85rem;
      padding: 0.7rem 1.2rem;
  }
}

.product-content {
  margin-top: 1rem;
}

@media screen and (max-width: 480px) {
  .products h2 {
      font-size: 2.5rem;
  }

  .products .row {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Smaller cards on very small screens */
  }

  .product-card {
      padding: 1.5rem;
      max-width: 280px;
  }

  .product-content h3 {
      font-size: 1.8rem;
  }
  .add-to-cart-btn {
      font-size: 1.8rem;
      padding: 0.6rem 1rem;
  }
  .products-price p {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
  }
  
  .products-price span {
    color: #999;
    font-size: 0.9rem;
    text-decoration: line-through;
  }
  
.add-to-cart-btn:hover {
  background-color: #4e4e4e; /* Update with a darker shade of your primary color */
}

}
/* Article Section */
.article-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.article-section h2 {
  color: #313131;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.article-section p {
  color: #666;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 30px;
}

.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 1rem;
}

/* Article Card */
.article-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 320px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.article-item:hover {
  transform: translateY(-5px);
}

.article-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.article-item h3 {
  color: #313131;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 15px 0 10px;
}

.article-item p {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Read More Button */
.article-item .read-more {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  background-color: var(--primary);
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  text-transform: uppercase;
  transition: background-color 0.3s ease-in-out;
}

.article-item .read-more:hover {
  background-color: #ff3b2f;
}

/* Responsive Design */
@media (max-width: 768px) {
  .article-item {
    width: 90%; /* Ensures it fits well on mobile */
  }

  .article-item img {
    height: 150px; /* Prevents overly large images */
    object-fit: cover;
  }

  .article-item h3 {
    font-size: 1.3rem; /* Adjusts title size */
    margin-bottom: 8px;
  }

  .article-item p {
    font-size: 1rem; /* Ensures readability */
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .article-item .read-more {
    font-size: 0.9rem; /* Matches button size with text */
    padding: 10px 18px;
  }

  .article-item .read-more:hover {
    background-color: #ff3b2f;
    transform: scale(1.05); /* Slight hover effect */
  }
}

/* Responsive Design for Extra Small Screens (e.g., Phones) */
@media (max-width: 480px) {
  .article-item {
    width: 100%;
    padding: 15px;
  }

  .article-item img {
    height: 130px;
  }

  .article-item h3 {
    font-size: 1.2rem;
  }

  .article-item p {
    font-size: 0.95rem;
  }

  .article-item .read-more {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}
