/* Novolyst Life Sciences - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #527c88;
  --primary-dark: #3a5962;
  --primary-light: #eef5f7;
  --accent-color: #0d9488;
  --accent-blue: #0284c7;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(82, 124, 136, 0.08);
  --shadow-lg: 0 10px 25px rgba(82, 124, 136, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-main);
  line-height: 1.3;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary-color);
}

.btn-white:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Topbar */
.topbar {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-contact a {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-contact a:hover {
  opacity: 0.85;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-social a {
  color: #ffffff;
  font-size: 0.9rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.topbar-social a:hover {
  background: #ffffff;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-dark);
}

/* Theme Toggle Button */
.theme-toggle {
  background: rgba(82, 124, 136, 0.1);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: rotate(15deg);
}

/* Dark Mode Theme Rules */
body.dark-mode {
  --bg-light: #121e23;
  --bg-card: #1a2930;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --border-color: #2a3d46;
  --primary-dark: #121e23;
  background-color: #0f171a;
  color: var(--text-main);
}

body.dark-mode .site-header {
  background-color: #152228;
  border-bottom: 1px solid #2a3d46;
}

body.dark-mode .topbar {
  background-color: #0d1518;
}

body.dark-mode .product-card,
body.dark-mode .testimonial-card,
body.dark-mode .specialty-card,
body.dark-mode .contact-card,
body.dark-mode .accordion-item,
body.dark-mode .modal-card,
body.dark-mode .deliver-card,
body.dark-mode article {
  background-color: #1a2930;
  border-color: #2a3d46;
  color: #e2e8f0;
}

body.dark-mode .product-image-wrap {
  background-color: #121e23;
}

body.dark-mode .form-control {
  background-color: #121e23;
  border-color: #2a3d46;
  color: #ffffff;
}

body.dark-mode .form-control::placeholder {
  color: #64748b;
}

body.dark-mode .nav-link {
  color: #e2e8f0;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
  color: #94d2bd;
}

body.dark-mode .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #94d2bd;
  border-color: #2a3d46;
}

body.dark-mode .theme-toggle:hover {
  background: #94d2bd;
  color: #0f171a;
}

body.dark-mode .page-header {
  background: linear-gradient(135deg, #121e23 0%, #0d1518 100%);
}

body.dark-mode .popular-products,
body.dark-mode .testimonials,
body.dark-mode .faq-section {
  background-color: #0f171a !important;
}

body.dark-mode .section-title,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 {
  color: #ffffff;
}

body.dark-mode .product-title {
  color: #ffffff;
}

body.dark-mode .accordion-header {
  background-color: #1a2930;
  color: #ffffff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section & Hero Slider */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  background-color: var(--primary-dark);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  padding: 6rem 0 7rem;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-slide .hero-content {
  transform: translateY(20px);
  transition: transform 0.8s ease-out 0.2s;
  max-width: 650px;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: #ffffff;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.prev-arrow {
  left: 20px;
}

.next-arrow {
  right: 20px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
  background: #ffffff;
  width: 32px;
  border-radius: 10px;
}

.hero-subtitle {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94d2bd;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title span {
  font-weight: 300;
}

.hero-description {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  font-weight: 300;
}


/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  position: relative;
}

.section-title strong {
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* About Teaser */
.about-teaser {
  padding: 5rem 0;
  background-color: #ffffff;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.teaser-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.teaser-image:hover img {
  transform: scale(1.03);
}

.teaser-text h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.teaser-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Medicines We Deliver Section */
.medicines-deliver-section {
  padding: 5.5rem 0;
  background-color: var(--bg-light);
}

.medicines-deliver-grid {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

.deliver-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.deliver-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  gap: 1.25rem;
}

.deliver-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.deliver-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: rgba(82, 124, 136, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.deliver-card:hover .deliver-icon {
  background: var(--primary-color);
  color: #ffffff;
}

.deliver-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.deliver-content h3 a {
  color: var(--primary-dark);
}

.deliver-content h3 a:hover {
  color: var(--primary-color);
}

.deliver-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.deliver-center-img {
  text-align: center;
  align-self: flex-end;
}

.deliver-center-img img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}

@media (max-width: 992px) {
  .medicines-deliver-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .deliver-center-img {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Specialties Section */
.specialties {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

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

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

.specialty-card {
  background-color: #ffffff;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.specialty-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.specialty-card:hover .specialty-icon {
  background-color: var(--primary-color);
  color: #ffffff;
}

.specialty-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.specialty-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Hotline Banner */
.hotline-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 2.5rem 0;
}

.hotline-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hotline-text p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.hotline-text h2 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
}

.hotline-number {
  text-align: right;
}

.hotline-number span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  display: block;
  margin-bottom: 0.2rem;
}

.hotline-number a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  transition: var(--transition);
}

.hotline-number a:hover {
  color: #94d2bd;
}

@media (max-width: 768px) {
  .hotline-flex {
    flex-direction: column;
    text-align: center;
  }
  .hotline-number {
    text-align: center;
  }
  .hotline-number a {
    font-size: 1.35rem;
  }
}

/* Products Section */
.popular-products {
  padding: 5.5rem 0;
  background-color: #ffffff;
}

.product-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(82, 124, 136, 0.3);
}

.product-image-wrap {
  width: 100%;
  height: 220px;
  background-color: #f1f5f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-image-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}

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

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.product-category {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-action {
  margin-top: auto;
}

/* FAQ & Accordion Section */
.faq-section {
  padding: 5.5rem 0;
  background-color: var(--bg-light);
}

.accordion {
  max-width: 850px;
  margin: 0 auto;
}

.accordion-item {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--primary-color);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background-color: var(--primary-color);
  color: #ffffff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.accordion-item.active .accordion-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Testimonials Section & Horizontal Slider */
.testimonials {
  padding: 5rem 0;
  background-color: #ffffff;
}

.testimonials-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
  scroll-snap-align: start;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 100%;
  }
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #ffffff;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-arrow:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.prev-testimonial {
  left: -22px;
}

.next-testimonial {
  right: -22px;
}

@media (max-width: 768px) {
  .prev-testimonial { left: 0; }
  .next-testimonial { right: 0; }
}

.testimonial-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.author-info h4 {
  font-size: 1rem;
  color: var(--primary-dark);

  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 4.5rem 0;
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #94d2bd;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.site-footer {
  background-color: #1a252b;
  color: #94a3b8;
  padding-top: 4.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-brand p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
  background-color: #24383e;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-bottom-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom-grid p {
    text-align: center !important;
  }
}


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

/* Page Header (Subpages) */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: #ffffff;
  font-size: 2.75rem;
  font-weight: 700;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Product Filter Buttons */
.product-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

/* Form Styles */
.contact-form {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(82, 124, 136, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }

  .main-nav.open {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }

  .topbar-contact span:not(:first-child) {
    display: none;
  }

  .hotline-flex {
    flex-direction: column;
    text-align: center;
  }

  .hotline-number {
    text-align: center;
  }

  .grid-4, .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Floating Quick Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp {
  background-color: #25D366;
}

.floating-whatsapp:hover {
  background-color: #128C7E;
}

.floating-products {
  background-color: var(--primary-color);
}

.floating-products:hover {
  background-color: var(--primary-dark);
}

#backToTop {
  opacity: 0;
  visibility: hidden;
  background-color: #1e293b;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}
