@import url(https://db.onlinewebfonts.com/c/ae238c3ee498c52a23aab0d9f5e94d6b?family=dana-fanum+regular);

/* Start Global Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "dana-fanum regular";
  text-decoration: none;
  scroll-behavior: smooth;
  outline: none;
}

:root {
  --bg-color: #1e3a8a;
  --second-bg-color: #e1b373;
  --text-color: #fff;
  --main-color: #ffd700;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  background: rgb(26, 26, 26);
  background: linear-gradient(
    98deg,
    rgba(26, 26, 26, 1) 0%,
    rgb(22, 1, 93) 100%
  );
  color: var(--text-color);
  min-height: 100vh;
  margin: 0;
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

/* End Global Variables */

/* Start Header */
.header {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 11%;
  padding: 3rem;
  display: flex;
  background: rgba(255, 255, 255, 0.052);
  border: 3px solid rgba(255, 255, 255, 0.171);
  box-shadow: 0 0 10px rgba(215, 214, 214, 0.022);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3.8rem;
  color: #1e3a8a;
  font-weight: 600;
}

.logo span {
  color: var(--second-bg-color);
}

.logo {
  font-size: 3.8rem;
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
}

.logo span {
  color: var(--second-bg-color);
}

.navbar {
  margin-left: 8rem;
}

.navbar a {
  font-size: 3rem;
  color: var(--text-color);
  margin-right: 7rem;
  transition: 0.3s;
  text-decoration: none;
}

.navbar a:hover {
  color: var(--second-bg-color);
}

#login {
  cursor: pointer;
  position: relative;
  padding: 8px 18px;
  font-size: 16px;
  color: var(--text-color);
  border: 2px solid var(--bg-color);
  border-radius: 34px;
  background-color: var(--bg-color);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

#login a {
  text-decoration: none;
  color: var(--text-color);
}

#login::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: var(--second-bg-color);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

#login:hover::before {
  scale: 3;
}

#login:hover {
  color: #212121;
  scale: 1.1;
  border: 2px solid var(--second-bg-color);
  box-shadow: 0 0px 20px var(--second-bg-color);
}

#login:active {
  scale: 1;
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
  position: relative;
  z-index: 102;
  cursor: pointer;
  transition: all 0.3s ease;
}

#login-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

/* Start Cart Styles */
.cart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21rem;
  padding-top: 15rem;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 133px);
}

.cart-items-section {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 0;
}

.cart-item {
  background: rgba(14, 14, 45, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  width: 120%;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cart-item-details {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex: 1;
  justify-content: flex-start;
  width: 100%;
}

.product-info {
  text-align: left;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  position: relative;
}

.duration-info {
  font-size: 1.2rem;
  color: var(--second-bg-color);
  margin-top: 2.5rem;
}

.product-row {
  position: absolute;
  margin-top: 1.3rem;
  font-size: 1.4rem;
  color: var(--text-color);
}

.product-row::before {
  content: "";
  display: inline-block;
  -moz-font-feature-settings: "ss02";
  -webkit-font-feature-settings: "ss02";
  font-feature-settings: "ss02";
  font-size: 0.75rem;
  margin-left: 0.75rem;
  position: absolute;
  text-align: center;
  height: 17px;
  width: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.product-name {
  font-size: 1.6rem;
  color: var(--text-color);
  font-weight: 500;
  white-space: nowrap;
}

.product-code {
  font-size: 1.2rem;
  color: var(--second-bg-color);
  margin-top: 0.5rem;
}

.price {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-left: auto;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.original-price {
  text-decoration: line-through;
  color: #666;
  font-size: 1.2rem;
}

.discounted-price {
  color: #4caf50;
}

.discount-badge {
  background-color: #4caf50;
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
  font-size: 1.1rem;
  margin-right: 1rem;
}

.quantity {
  font-size: 1.4rem;
  color: var(--text-color);
  white-space: nowrap;
}

.cart-actions {
  display: flex;
  gap: 1rem;
  margin-left: 2rem;
}

.cart-actions i {
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
}

.cart-actions i:hover {
  color: var(--second-bg-color);
}

.cart-summary {
  background: rgba(14, 14, 45, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 2.5rem;
  height: fit-content;
  width: 350px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 120px;
  margin-top: 7rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: #fff;
}

.total-price {
  color: #ffd700;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.discount-code {
  margin: 2rem 0;
}

.discount-code input {
  width: 100%;
  background: rgba(14, 14, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: #fff;
  font-size: 1.4rem;
}

.discount-code input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cart-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cart-btn {
  padding: 1.2rem;
  border-radius: 12px;
  font-size: 1.4rem;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-weight: 500;
}

.checkout-btn {
  background: linear-gradient(135deg, #1a4fff, #1e3a8a);
  color: #fff;
  border: none;
}

.add-service-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1948px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 1800px) {
  html {
    font-size: 53%;
  }

  .header {
    width: 76%;
  }

  .navbar a {
    font-size: 2.6rem;
    margin-right: 5rem;
  }
}

@media (max-width: 1600px) {
  .header {
    position: absolute;
    top: 4rem;
    width: 98%;
  }
}

@media (max-width: 991px) {
  section {
    padding: 10rem 3% 2rem;
  }

  #menu-icon {
    display: block;
  }

  .header {
    position: fixed;
    top: 3rem;
    padding: 2rem 3%;
    background: rgba(26, 26, 26, 0.345);
    backdrop-filter: blur(20px);
  }

  #menu-icon {
    display: block;
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
  }

  #login {
    display: none;
  }
  .navbar {
    position: fixed;
    top: -24px;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.808);
    transition: 0.5s ease;
    z-index: 999;
  }

  .navbar.active {
    z-index: 1000;
  }

  .navbar.active {
    right: -4%;
  }

  .navbar a {
    display: block;
    font-size: 1.8rem;
    margin: 1.5rem 0;
    padding: 1rem 3rem;
    text-align: right;
    color: var(--text-color);
  }

  .navbar a:hover {
    color: var(--second-bg-color);
  }

  .menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .home {
    flex-direction: column;
  }

  .navbar .logo {
    margin-bottom: 3rem;
    order: -1;
  }

  #login-icon {
    position: relative;
    top: 0.5rem;
    display: block;
  }

  .logo {
    font-size: 3.8rem;
    color: #1e3a8a;
    font-weight: 600;
    /* margin-bottom: 3rem; */
    text-align: center;
    width: 100%;
  }

  #menu-icon {
    display: block;
  }

  #menu-icon.bx-x {
    position: fixed;
    top: 5px;

    z-index: 1001;
  }

  .cart-container {
    position: relative;
  }
}

@media (max-width: 768px) {
  .cart-container {
    flex-direction: column;
    padding: 12rem 2rem 2rem;
    margin-top: 20px;
    align-items: center;
    justify-items: center;
    left: 0;
    right: 0;
  }

  .cart-title {
    margin-bottom: 0;
  }

  .cart-items-section,
  .cart-summary {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
    align-items: center;
  }

  .cart-item {
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 1.5rem;
    text-align: center;
    width: 46rem;
  }

  .cart-item-details {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .product-info {
    width: 100%;
    min-width: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-row {
    position: absolute;
    margin-top: 2rem;
    left: 7rem;
    text-align: center;
    width: 100%;
  }

  .product-name,
  .product-code {
    text-align: center;
    width: 100%;
  }

  .cart-actions {
    width: 100%;
    justify-content: center;
    margin: 0;
  }

  .price,
  .quantity {
    font-size: 1.6rem;
    text-align: center;
    width: 100%;
  }

  .cart-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cart-btn {
    padding: 1.5rem;
    font-size: 1.6rem;
  }

  .cart-title {
    font-size: 1.8rem;
    margin-bottom: 0;
  }

  .cart-subtitle {
    font-size: 1.3rem;
  }

  .cart-summary {
    width: 100%;
    max-width: 500px;
    position: relative;
    top: -89px;
  }
}

@media (max-width: 480px) {
  /* .cart-container {
    padding: 1rem;
  } */

  .price-row {
    font-size: 1.3rem;
  }

  .discount-code input {
    padding: 1.2rem;
    font-size: 1.3rem;
  }
  .cart-item {
    width: 40rem;
  }
}

@media (max-width: 380px) {
  .cart-item {
    width: 38rem;
  }
}

.cart-title {
  color: #fff;
  font-size: 2rem;
}

.cart-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
}

.empty-cart-message {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  text-align: center;
}

.empty-cart-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.empty-cart-content h2 {
  color: var(--text-color);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: var(--bg-color);
  color: var(--text-color);
  border-radius: 8px;
  font-size: 1.6rem;
  transition: 0.3s;
}

.home-btn:hover {
  background: var(--second-bg-color);
  transform: scale(1.05);
}

.home-btn i {
  font-size: 2rem;
}

.order-details {
  margin: 2rem 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.order-details-title {
  font-size: 1.6rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  font-size: 1.3rem;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(14, 14, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: #fff;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--second-bg-color);
  box-shadow: 0 0 0 2px rgba(225, 179, 115, 0.1);
}

.form-group input[readonly] {
  background: rgba(14, 14, 45, 0.8);
  cursor: not-allowed;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.service-details {
  background: rgba(14, 14, 45, 0.4);
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
}

.service-details h3 {
  color: var(--second-bg-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-item.description {
  grid-column: 1 / -1;
}

.detail-label {
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.8;
}

.detail-value {
  color: var(--second-bg-color);
  font-size: 1.1rem;
  word-break: break-word;
}
