/* ===== Navbar Base ===== */
header {
  position: relative;
  z-index: 1;
}
.custom-navbar {
  background: #C6FFF5;
  padding: 6px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1050;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
}

/* Subtle floating hover effect */
.custom-navbar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* Navbar links */
.navbar-nav .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  color: #037465;
  margin: 0 10px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

/* Icons above text */
.navbar-nav .nav-link i {
  font-size: 1.3rem;
  margin-bottom: 2px;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.navbar-nav .nav-link:hover i {
  transform: translateY(-2px) scale(1.1);
  color: #34b1a0ff;
}

.navbar-nav .nav-link:hover {
  color: #34b1a0ff;
}

/* Cart icon */
.nav-link .fa-shopping-cart {
  font-size: 1.25rem;
  color: #037465;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link:hover .fa-shopping-cart {
  transform: scale(1.15);
  color: #34b1a0ff;
}

/* Cart badge on top-right */
#cartBadge {
  font-size: 0.7rem;
  padding: 4px 6px;
  margin-top: -20px;
  margin-left: 10px;
}

/* ===== Profile Dropdown ===== */
.profile-dropdown {
  position: relative;
}

.profile-dropdown .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-dropdown .nav-link i {
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.profile-dropdown .profile-text {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Arrow on right */
.profile-dropdown .arrow-icon {
  font-size: 0.65rem;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.profile-dropdown.show .arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown menu */
.profile-dropdown .dropdown-menu {
  background: #C6FFF5;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
  margin-top: 8px;
  min-width: 180px;
  text-align: center;
  z-index: 2000;
  animation: dropdownFade 0.35s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Profile dropdown items - icon + text side by side */
.dropdown-item {
  display: flex;
  flex-direction: row; /* row for icon + text */
  align-items: center;
  gap: 10px; /* space between icon and text */
  color: #037465;
  font-weight: 600;
  padding: 6px 15px;
  transition: all 0.25s ease;
  border-radius: 8px;
}

.dropdown-item i {
  font-size: 1.1rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.dropdown-item:hover {
  background: rgba(52, 177, 160, 0.15);
  color: #34b1a0ff;
  transform: translateY(-2px);
}

.dropdown-item:hover i {
  color: #34b1a0ff;
  transform: translateY(-2px);
}

/* ===== Mobile Menu ===== */
@media (max-width: 991px) {
  /* Collapse menu width & styling */
  .navbar-collapse {
    background: #C6FFF5;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 15px;
    width: 220px;
    position: absolute;
    top: 60px;
    left: 10px; /* align left */
    z-index: 1050;
    transition: all 0.3s ease;
  }

  /* Menu links */
  .navbar-nav {
    text-align: left;
    flex-direction: column;
    gap: 12px;
  }

  .navbar-nav .nav-link {
    flex-direction: row;
    align-items: center;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .navbar-nav .nav-link i {
    margin-bottom: 0;
    margin-right: 10px;
  }
.dropdown-menu{
       box-shadow: 0 0 25px #037469, 0 5px 15px rgba(0,0,0,0.3);
  animation: glow 2.5s infinite alternate
}
  /* Profile dropdown arrow stays right */
  .profile-dropdown .profile-text {
    justify-content: space-between;
    width: 100%;
    
  }

  /* Profile dropdown items mobile */
  .dropdown-item {
    justify-content: flex-start; /* keep icon + text aligned left */
   ;
    
  }
}








/* ===== Body ===== */
body {
  margin: 0;
  padding: 0;
  background-color: #C6FFF5;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* Headings & Text */
.heading, .acc {
  font-weight: bold;
  text-align: center;
  line-height: 1.1;
  color: #037465;
}
.heading, .acc {
  margin-top: 10px;
}
.heading { font-size: 60px; }
.acc { font-size: 60px; }

.p1, .btntext {
  text-align: center;
  color: black;
  font-size: 1.2rem;
  margin-top: 20px;
  font-style: italic;
}

/* ===== Buttons ===== */
.btn, .btnst, .btncustomize, .requestbtn, .closebtn,.btnst-cart,.btncustomize-cart,.closebtn-cart {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #54f4dc, #1f6d5c);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: auto; /* button width fits text */
  min-width: 80px;
}
    .progress-container {
      display: flex;
      justify-content: space-between;
      margin-bottom: 1rem;
    }
    .progress-step {
      flex: 1;
      text-align: center;
      font-size: 0.9rem;
      color:#155724;
    }
    .progress-step.active{
      font-weight: bold;
      color:#155724;
    }
.btn:hover, .btnst:hover, .btncustomize:hover,
.requestbtn:hover, .closebtn:hover {
  background: #025a4d;
  color: #fff;
}

/* Modal last step fix */
.modal-footer .btn {
  width: auto;
  margin: 5px;
}

/* ===== Modal styling ===== */
.modal-dialog { margin: 1.75rem auto; }
.modal-dialog.modal-lg { max-width: 500px; }

.modal-content { border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.2); }
.modal-header { background:#037465; border-bottom: none; padding: 20px; text-align: center; }
.modal-title { font-weight: bold; font-size: 24px; color:white; }
.modal-body { padding: 20px; }
.modal-footer { padding: 20px; text-align: center; }

/* ===== Steps ===== */
.step label {
  display: block;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.step label { background-color: white; border:2px solid #037465;}
.step input[type="radio"] { display: none; }
.step input[type="radio"]:checked + span {
  background-color: #037465;
  border: 2px solid #037465;
  border-radius: 5px;
  display: inline-block;
  width: 100%;
  padding: 1px 10px;
}
.step label span { padding: 5px 10px; }

/* ===== Toast ===== */
#toast {
  position: fixed;
  top: 10%;
  right: 20px;
  z-index: 9999;
}
.toast-body {
  background-color: #037465;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
}

/* ===== Models Container ===== */
.models-container {
  display: grid;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.model-description {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.model-description h5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.model-description p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
}
.model-description p.expanded {
  -webkit-line-clamp: unset;
  font-weight: 600;
  color: #037465;
  background: #e0fff9;
  padding: 5px 10px;
  border-radius: 8px;
}
.model-description .btn {
  margin-top: 10px;
  width: auto;
  min-width: 80px;
}

/* Canvas inside models */
.models-container canvas {
  margin: 0 auto 10px auto;
}

/* ===== Responsive ===== */

/* Mobile */
@media (max-width: 599px) {
  .models-container { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0 20px; }
  .models-container canvas { width: 120px; height: 120px; }
  .heading, .acc { font-size: 36px; }
  .p1 { font-size: 1.2rem; }
}

/* Tablet */
@media (min-width: 600px) and (max-width: 991px) {
  .models-container { grid-template-columns: repeat(4, 1fr); gap: 25px; }
  .models-container canvas { width: 150px; height: 150px; }
  .heading, .acc { font-size: 48px; }
}

/* Desktop */
@media (min-width: 992px) {
  .models-container { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .models-container canvas { width: 200px; height: 200px; }
}

/* Large screens */
@media (min-width: 1200px) {
  .models-container canvas { width: 250px; height: 250px; }
  .model-description h5 { font-size: 1.4rem; }
  .model-description p { font-size: 1.1rem; }
}

/* Prevent horizontal scroll */
html, body { max-width: 100%; overflow-x: hidden; }


