/* Global Styles */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f5f5f5;
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

/* Hero Section / Home Section */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/home-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  min-height: 85px;
  white-space: nowrap;
}

.hero__title .typed-cursor {
  color: #df0023;
  font-weight: 400;
  animation: blink 0.7s infinite;
}

.hero__line {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #df0023, #b7001c);
  margin: 0 auto 2rem;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(223, 0, 35, 0.5);
  animation: expandLine 0.8s ease-out 0.5s both;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #df0023, #b7001c);
  border: 2px solid #fff;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(223, 0, 35, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(223, 0, 35, 0.6);
  background: linear-gradient(135deg, #ff0028, #df0023);
  border-color: #fff;
}

.hero__button:active {
  transform: translateY(-1px);
}

.hero__button-icon {
  transition: transform 0.3s ease;
}

.hero__button:hover .hero__button-icon {
  transform: scale(1.2);
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  animation: fadeIn 0.3s ease-out;
}

.video-modal.active {
  display: block;
}

.video-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.video-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  z-index: 10000;
  animation: zoomInCentered 0.4s ease-out;
}

.video-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  font-size: 3rem;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.video-modal__close:hover {
  color: #df0023;
  transform: rotate(90deg);
}

.video-modal__player {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

@keyframes zoomInCentered {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8); /* Combine transforms */
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* Combine transforms */
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 120px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@media screen and (max-width: 968px) {
  .hero__title {
    font-size: 2.5rem;
    min-height: 65px;
    white-space: nowrap;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .hero__button {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .video-modal__content {
    width: 95%;
  }

  .video-modal__close {
    top: -45px;
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 576px) {
  .hero__title {
    font-size: 1.6rem;
    min-height: auto;
    white-space: normal;
  }

  .hero__line {
    width: 80px;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__button {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media screen and (max-height: 500px) {
  .video-modal__content {
    width: 85%;
    max-height: 90vh;
  }

  .video-modal__player {
    max-height: 80vh;
  }
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 8rem 1rem 8rem;
}

.section__header {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 600;
  color: #000;
}

/* Login and Register Separate Page */

.login-container {
  padding-top: 14rem;
  padding-bottom: 14rem;
}

.register-container {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

@media (max-width: 768px) {
  .login-container {
    padding-top: 14rem;
    padding-bottom: 22rem;
  }

  .register-container {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

@media (max-width: 600px) {
  .login_title,
  .register_title,
  .login_svg,
  .register_svg,
  .login_paragraph,
  .register_paragraph {
    display: none !important;
  }
}

/* Navigation Bar */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 270px;
  margin: 16px;
  border-radius: 16px;
  background: #fff;
  height: calc(100vh - 32px);
  transition: all 0.4s ease;
  z-index: 9999;
}

.sidebar.collapsed {
  width: 85px;
}

.sidebar .sidebar-header {
  display: flex;
  position: relative;
  padding: 25px 20px;
  align-items: center;
  justify-content: space-between;
}

.sidebar-header .header-logo img {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
}

.sidebar-header .toggler {
  height: 35px;
  width: 35px;
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  background: #fff;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: 0.4s ease;
}

.sidebar-header .sidebar-toggler {
  position: absolute;
  right: 20px;
}

.sidebar-header .menu-toggler {
  display: none;
}

.sidebar.collapsed .sidebar-header .toggler {
  transform: translate(-4px, 65px);
}

.sidebar-header .toggler:hover {
  color: #fff;
  background: #df0023;
}

.sidebar-header .toggler span {
  font-size: 1.75rem;
  transition: 0.4s ease;
}

.sidebar.collapsed .sidebar-header .toggler span {
  transform: rotate(180deg);
}

.sidebar-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0 15px;
  flex-direction: column;
  transform: translateY(15px);
  transition: 0.4s ease;
}

.sidebar.collapsed .sidebar-nav .primary-nav {
  transform: translateY(65px);
}

.sidebar-nav .nav-link {
  color: #000;
  display: flex;
  gap: 12px;
  white-space: nowrap;
  border-radius: 8px;
  padding: 12px 15px;
  align-items: center;
  text-decoration: none;
  transition: 0.4s ease;
}

.sidebar.collapsed .sidebar-nav .nav-link {
  border-radius: 12px;
}

.sidebar .sidebar-nav .nav-link .nav-label {
  transition: opacity 0.3s ease;
}

.sidebar.collapsed .sidebar-nav .nav-link .nav-label {
  opacity: 0;
  pointer-events: none;
}

.sidebar-nav .nav-link:hover {
  color: #fff;
  background: #df0023;
}

.sidebar-nav .nav-item {
  position: relative;
}

.sidebar-nav .nav-tooltip {
  position: absolute;
  top: -10px;
  opacity: 0;
  color: #fff;
  display: none;
  pointer-events: none;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  background: #df0023;
  left: calc(100% + 25px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: 0s;
}

.sidebar.collapsed .sidebar-nav .nav-tooltip {
  display: block;
}

.sidebar-nav .nav-item:hover .nav-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(50%);
  transition: all 0.4s ease;
}

.sidebar-nav .secondary-nav {
  position: absolute;
  bottom: 30px;
  width: 100%;
}

@media (max-width: 1024px) {
  .sidebar {
    height: 56px;
    margin: 13px;
    overflow-y: hidden;
    scrollbar-width: none;
    width: calc(100% - 26px);
    max-height: calc(100vh - 26px);
  }

  .sidebar.menu-active {
    overflow-y: auto;
  }

  .sidebar .sidebar-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-radius: 16px;
    background: #fff;
    padding: 8px 10px;
  }

  .sidebar-header .header-logo img {
    width: 40px;
    height: 40px;
  }

  .sidebar-header .sidebar-toggler,
  .sidebar-nav .nav-item:hover .nav-tooltip {
    display: none;
  }

  .sidebar-header .menu-toggler {
    display: flex;
    height: 30px;
    width: 30px;
  }

  .sidebar-header .menu-toggler span {
    font-size: 1.3rem;
  }

  .sidebar .sidebar-nav .nav-list {
    padding: 0 10px;
  }

  .sidebar-nav .nav-link {
    gap: 10px;
    padding: 10px;
    font-size: 0.94rem;
  }

  .sidebar-nav .nav-link .nav-icon {
    font-size: 1.37rem;
  }

  .sidebar-nav .secondary-nav {
    position: relative;
    bottom: 0;
    margin: 40px 0 30px;
  }
}

/* About Homepage */

.about-page-section {
  padding: 8rem 0;
}

.about-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (max-width: 768px) {
  .about-page-container {
    margin-top: 4rem;
  }
}

.about-page-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

.about-page-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #df0023, #b7001c);
  margin: 0 0 2rem 0;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(223, 0, 35, 0.3);
}

.about-page-content p {
  color: #000;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-page-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-page-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.about-page-cert-btn {
  background: linear-gradient(135deg, #df0023, #b7001c);
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(223, 0, 35, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-page-cert-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(223, 0, 35, 0.5);
  background: linear-gradient(135deg, #ff0028, #df0023);
}

.about-page-cert-btn i {
  margin-left: 8px;
}

.about-page-stats-section {
  padding-bottom: 8rem;
  background: #f5f5f5;
}

.about-page-stat-card {
  background: #fff;
  border: none;
  border-radius: 15px;
  padding: 2.5rem 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
  text-align: center;
}

.about-page-stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(223, 0, 35, 0.15);
}

.about-page-stat-icon {
  font-size: 3rem;
  color: #df0023;
  margin-bottom: 1.5rem;
}

.about-page-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.about-page-stat-label {
  color: #000;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
}

.about-page-modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.about-page-modal-header {
  border: none;
  padding: 1rem 1.5rem;
}

.about-page-modal-header .btn-close {
  filter: brightness(0);
}

.about-page-modal-body {
  padding: 2rem;
}

.about-page-cert-card {
  border: none;
  box-shadow: none;
  text-align: center;
}

.about-page-cert-card img {
  width: 60%;
  margin: 0 auto 1.5rem;
}

.about-page-cert-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

.about-page-cert-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #df0023, #b7001c);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(223, 0, 35, 0.3);
}

.about-page-cert-text {
  color: #000;
  line-height: 1.8;
  font-size: 1.05rem;
}

@media (max-width: 992px) {
  .about-page-content h2,
  .about-page-stats-title h2 {
    font-size: 2rem;
  }

  .about-page-stat-number {
    font-size: 2.5rem;
  }

  .about-page-stat-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .about-page-section {
    padding: 3rem 0;
  }

  .about-page-stats-section {
    padding: 3rem 0;
  }

  .about-page-content h2,
  .about-page-stats-title h2 {
    font-size: 1.8rem;
  }

  .about-page-content p {
    font-size: 1rem;
  }

  .about-page-stat-card {
    padding: 2rem 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .about-page-cert-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .about-page-cert-card img {
    width: 70%;
  }

  .about-page-cert-title {
    font-size: 1.5rem;
  }

  .about-page-cert-text {
    font-size: 0.95rem;
  }
}

/* Services Homepage */

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #df0023, #b7001c);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(223, 0, 35, 0.3);
}

.section-title p {
  color: darkgray;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.service__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service__card {
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.4s ease;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.service__card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 80px;
  height: 80px;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #df0023, #ff1744);
  border-radius: 50%;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(223, 0, 35, 0.3);
}

.service__card h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
}

.service__card p {
  color: #000;
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-section {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

.about-content .title-underline {
  margin: 0 0 2rem 0;
}

.about-content p {
  color: #000;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.why-section {
  padding: 5rem 0;
}

.why-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

.why-content .title-underline {
  margin: 0 0 2rem 0;
}

.why-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.why-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.why-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(223, 0, 35, 0.1);
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #df0023;
  background: linear-gradient(135deg, var(#df0023), var(#b7001c));
  border-radius: 10px;
  width: 80px;
  height: 80px;
}

.why-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.why-text p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Featured products */

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #df0023, #b7001c);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(223, 0, 35, 0.3);
}

.section-title p {
  color: darkgray;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.wrapper {
  max-width: 1100px;
  padding: 20px 10px;
  margin: 0 auto 35px;
  overflow: hidden;
}

.wrapper .card {
  background: #fff;
  display: flex;
  height: auto;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.wrapper .card:hover {
  transform: translateY(-10px);
}

.card .card-image {
  position: relative;
}

.card .card-image img {
  width: 100%;
  padding: 10px;
  border-radius: 22px;
  object-fit: contain; 
  aspect-ratio: 16 / 9;  
}

.card .card-image .card-tag {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 0.75rem;
  color: #fff;
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #df0023;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 25px 25px;
}

.card .card-content .card-title {
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.card .card-content .card-text {
  color: #000;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-card .card-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  padding-top: 15px;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.card-price span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.wrapper .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  opacity: 1;
  overflow: hidden;
  position: relative;
  background: #df0023;
}

.wrapper .swiper-pagination-bullet-active {
  background: #df0023;
}

.wrapper .swiper-pagination-bullet-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #df0023;
  transform-origin: left center;
  transform: scaleX(0);
  animation: autoplay-loading 5s linear forwards;
}

.container:hover .wrapper .swiper-pagination-bullet-active::before {
  animation-play-state: paused;
}

@keyframes autoplay-loading {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.wrapper :where(.swiper-button-prev, .swiper-button-next) {
  color: #df0023;
  margin-top: -35px;
  transition: all 0.3s ease;
}

.wrapper :where(.swiper-button-prev, .swiper-button-next):hover {
  color: #df0023;
}

@media (max-width: 992px) {
  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .wrapper :where(.swiper-button-prev, .swiper-button-next) {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .service__grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-content h2,
  .why-content h2 {
    font-size: 2rem;
  }

  .wrapper {
    margin: 0 10px 25px;
  }

  .wrapper :where(.swiper-button-prev, .swiper-button-next) {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .why-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .why-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

.wrapper .swiper-button-prev,
.wrapper .swiper-button-next {
  color: #df0023;
}

.wrapper .swiper-button-prev::after,
.wrapper .swiper-button-next::after {
  color: #df0023;
}

/* Footer Section */

.social-media-wrapper a {
  font-size: 1.6rem;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.social-media-wrapper .fa-facebook {
  color: #1877f2;
}

.social-media-wrapper .fa-instagram {
  color: #e4405f;
}

/* Locations Separate Page */

.pharmacy-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.card-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pharmacy-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #df0023;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(223, 0, 35, 0.3);
}

.card-content {
  padding: 30px;
}

.pharmacy-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.info-section {
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #df0023 0%, #b8001c 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-icon i {
  color: white;
  font-size: 1.1rem;
}

.info-text {
  flex: 1;
}

.info-label {
  font-size: 0.85rem;
  color: #7f8c8d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.info-value {
  color: #2c3e50;
  font-size: 1rem;
  line-height: 1.5;
}

.working-hours {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.working-hours .hours-title {
  font-weight: 700;
  color: #856404;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: #856404;
}

.street-view-btn {
  width: 100%;
  background: linear-gradient(135deg, #df0023 0%, #b8001c 100%);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(223, 0, 35, 0.3);
}

.street-view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(223, 0, 35, 0.4);
  color: #fff;
}

.street-view-btn i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .pharmacy-name {
    font-size: 1.5rem;
  }
}

/* Privacy Policy Separate Page */

.policy-section:not(:last-child) {
  border-bottom: 1px solid #dee2e6;
}

.toc-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.toc-link:hover {
  color: #df0023;
}

/* Testimonials Homepage */

.testimonial-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.25rem;
  color: #000;
  margin-bottom: 20px;
}

#writeReviewBtn,
#submitReviewBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #df0023, #b7001c);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(223, 0, 35, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 990px) {
  #writeReviewBtn,
  #submitReviewBtn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    gap: 0.4rem;
  }
}

@media (max-width: 768px) {
  #writeReviewBtn,
  #submitReviewBtn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h5 {
  margin-bottom: 0;
  font-weight: bold;
  color: #000;
}

.author-info p {
  font-size: 0.9rem;
  color: #000;
}

.carousel-item {
  padding: 50px 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.carousel-indicators [data-bs-target] {
  background-color: #000;
}

.carousel-indicators .active {
  background-color: #df0023;
}

.card-img-fixed {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (max-width: 990px) {
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

/* Contact Us Separate Page */

.contact-container {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

@media (max-width: 768px) {
  .contact-container {
    padding-top: 12rem;
    padding-bottom: 16rem;
  }
}

@media (max-width: 900px) {
  .contact-container {
    padding-top: 16rem;
    padding-bottom: 16rem;
  }
}

/* Shop Seperate Page */

@media (max-width: 990px) {
    #product-card-title {
        font-size: 1rem;
    }
    
    #product-name {
        font-size: 1.2rem;
    }
}

.details-container {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

@media (min-width: 768px) {
  .details-container {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
}

@media (min-width: 1024px) {
  .details-container {
    padding-top: 16rem;
    padding-bottom: 16rem;
  }
}

.category-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.category-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.category-hero .container {
  position: relative;
  z-index: 2;
}

.product-cart-img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  object-position: center;
}

.product-details-img-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Shopping Cart Seperate Page */

.cart-item img {
  max-width: 100px;
  height: auto;
}

.quantity-input {
  width: 50px;
}

.cart-summary {
  background-color: #fff;
  border-radius: 10px;
}

.continue-shopping-btn {
  border: 1px solid #df0023;
  color: #000;
  background: #fff;
  transition: 0.7s all ease;
}

.continue-shopping-btn:hover {
  background: #df0023;
  color: #fff;
}

.custom-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 350px;
  max-width: 90%;
  padding: 20px 30px;
  background-color: #d4edda;
  color: #000;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  text-align: center;
  font-size: 18px;
}

.custom-toast h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 10px;
}

.custom-toast .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #000;
}

/* Write a Review Homepage */

.rating-container {
  padding: 2rem;
}

.star-rating {
  direction: rtl;
  display: inline-block;
  padding: 20px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  color: lightgray;
  cursor: pointer;
  font-size: 30px;
  padding: 5px;
  transition: all 0.3s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: gold;
}

.rating-title {
  color: #000;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.rating-feedback,
#location-feedback {
  margin-top: 1.5rem;
  color: #636e72;
}

.submit-rating {
  background: #df0023;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  color: #fff;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.7s ease;
}

.submit-rating:hover {
  background: #000;
  color: #fff;
}

/* Shop Categories Separate Page */

.tile {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35));
}

.tile:hover img {
  transform: scale(1.05);
}

.tile-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0.5rem;
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.35rem);
}

/* Admin Dashboard Separate Page */

.table {
  border: 2x solid #ddd !important;
  border-radius: 8px;
}

.table td,
.table th {
  border: 2px solid #ddd;
  padding: 8px;
}

.nav-tabs .nav-link {
  color: #000;
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 8px 8px 0 0;
  transition: 0.2s ease-in-out;
}

.nav-tabs .nav-link:hover {
  background-color: #f8f9fa;
}

.nav-tabs .nav-link.active {
  background-color: #ffffff !important;
  border-bottom: 2px solid #df0023 !important;
  font-weight: 600;
}

.card.metric {
  border-left: 4px solid #df0023;
  transition: transform 0.7s ease;
}

.card.metric:hover {
  transform: translateY(-2px);
}

.metric .card-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #df0023;
}

.metric .value {
  font-size: 1.75rem;
  font-weight: 700;
}

#review_card {
  border-radius: 0.7rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review_title {
  font-size: 2rem;
  font-weight: 600;
}

/* Profile Dashboard Separate Page */

.profile-sidebar {
  background: linear-gradient(135deg, #df0023 0%, #fff 100%);
}

.nav-pills .nav-link {
  color: #df0023;
  border-radius: 10px;
  padding: 12px 20px;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background-color: #f8f9fa;
}

.nav-pills .nav-link.active {
  background-color: #fff;
  color: #df0023;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-header {
  background: #df0023;
  height: 150px;
  border-radius: 15px;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border: 4px solid #fff;
  margin-top: -60px;
  background-color: #fff;
}

.form-switch .form-check-input {
  width: 3em;
  height: 1.5em;
  margin-left: -3.5em;
}

.activity-item {
  border-left: 2px solid #e9ecef;
  padding-left: 20px;
  position: relative;
}

.activity-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #df0023;
  position: absolute;
  left: -7px;
  top: 5px;
}

.info-box {
  border: 2px solid #ddd;
  background: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 15px;
}
