/* Design 2 Stylesheet */
:root {
  --primary-blue: #0040a1;      /* Logo/Header Brand Blue */
  --button-blue: #1358b4;       /* Primary Action Royal Blue */
  --footer-blue: #0750b1;       /* Footer Solid Blue */
  --text-dark: #111827;
  --text-gray: #4b5563;
  --text-light: #9ca3af;
  --bg-light: #f9fafb;
  --bg-ice: #f8fbfe;            /* Ice Blue Section Background */
  --bg-gray: #f3f4f6;
  --white: #ffffff;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Poppins', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Header Section */
.announcement-bar {
  background-color: #f3f4f6;
  font-size: 12px;
  color: var(--text-gray);
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.announcement-container,
.header-main-container,
.nav-row-container,
.hero-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

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

.announcement-links a {
  color: var(--text-gray);
  text-decoration: none;
  margin-left: 16px;
  transition: var(--transition);
}

.announcement-links a:hover {
  color: var(--primary-blue);
}

/* Main Header */
.header-main-container {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo-link {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--primary-blue) !important;
  letter-spacing: -1px;
}

/* Search Bar styling */
.search-bar-wrap {
  flex-grow: 1;
  max-width: 540px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 48px 12px 20px;
  border-radius: 100px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  background-color: #f9fafb;
  transition: var(--transition);
  outline: none;
}

.search-input:focus {
  border-color: var(--primary-blue);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 64, 161, 0.1);
}

.search-icon-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Header Actions */
.header-actions-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-gray);
  font-size: 11px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.header-action-item:hover {
  color: var(--primary-blue);
}

.header-action-icon {
  margin-bottom: 4px;
  color: #1f2937;
  transition: var(--transition);
}

.header-action-item:hover .header-action-icon {
  color: var(--primary-blue);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--button-blue);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* Header Navigation Bar */
.nav-row-container {
  border-top: 1px solid #f3f4f6;
}

.navbar-nav-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 0;
}

.navbar-nav-row a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
  padding: 6px 0;
  position: relative;
  transition: var(--transition);
}

.navbar-nav-row a:hover {
  color: var(--primary-blue);
}

.navbar-nav-row a.active {
  color: var(--primary-blue);
}

.navbar-nav-row a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
}

/* Hero Carousel Section */
.hero-carousel-section {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
}

.hero-carousel .carousel-item {
  position: relative;
  min-height: 580px;
  background-color: #ffffff;
}

.hero-carousel .hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  z-index: 1;
}

.hero-carousel .hero-overlay {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  background: linear-gradient(90deg, #ffffff 35%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 75%);
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero-carousel .carousel-indicators {
  margin-bottom: 20px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--button-blue);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  border: none;
}

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

.hero-sub {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--button-blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-sub::before {
  content: '';
  width: 40px;
  height: 2px;
  background-color: var(--button-blue);
}

.hero-title-h2 {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-title-h2 span {
  color: var(--button-blue);
}

.hero-desc-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-btn-primary {
  background-color: var(--button-blue) !important;
  color: var(--white) !important;
  border: 1px solid var(--button-blue) !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-primary:hover {
  background-color: #0d4694 !important;
  border-color: #0d4694 !important;
  transform: translateY(-1px);
}

.hero-btn-outline {
  background-color: transparent !important;
  color: var(--button-blue) !important;
  border: 1px solid var(--button-blue) !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-outline:hover {
  background-color: rgba(19, 88, 180, 0.04) !important;
  transform: translateY(-1px);
}

/* Hero features bullet list (two-line text layout with light blue background box) */
.hero-bullets-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(19, 88, 180, 0.08);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-bullet-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(19, 88, 180, 0.08);
  color: var(--button-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-bullet-icon-box svg {
  width: 18px;
  height: 18px;
}

.hero-bullet-text-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.hero-bullet-word-1,
.hero-bullet-word-2 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Feature Bar Section */
.feature-bar-section {
  background-color: #f5f5f5;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.feature-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #e5edfa;
  color: var(--button-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-box-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.feature-box-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Printing Services Section */
.services-card-wrap {
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  text-decoration: none;
  display: block;
}

.services-card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 88, 180, 0.2);
}

.services-card-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 16px;
  background-color: var(--bg-light);
}

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

.services-card-wrap:hover .services-card-img {
  transform: scale(1.03);
}

.services-card-title-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
  transition: var(--transition);
}

.services-card-wrap:hover .services-card-title-text {
  color: var(--button-blue);
}

/* Popular Products Section */
.popular-card {
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.popular-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(19, 88, 180, 0.15);
}

.popular-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--bg-light);
}

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

.popular-card:hover .popular-img {
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  color: var(--white);
}

.badge-blue {
  background-color: var(--primary-blue);
}

.badge-red {
  background-color: #ef4444;
}

.popular-content-wrap {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.popular-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.popular-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.popular-price-text {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 0;
}

.popular-price-text span {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
}

.popular-price-text del {
  color: var(--text-light);
  margin-left: 6px;
  font-size: 12px;
}

/* Why Choose Us Section (Grid matching design layout exactly) */
.why-choose-section {
  background: radial-gradient(circle at right center, #eef5ff 0%, #ffffff 80%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.why-title-line {
  width: 40px;
  height: 3px;
  background-color: var(--button-blue);
  margin-bottom: 24px;
}

.why-feature-col-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  height: 100%;
}

.why-feature-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--button-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.why-feature-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.why-feature-col-desc {
  font-size: 10px;
  color: var(--text-gray);
  line-height: 1.45;
  margin-bottom: 12px;
}

.why-feature-blue-line {
  width: 20px;
  height: 3px;
  background-color: var(--button-blue);
  border-radius: 2px;
  margin: auto auto 0 auto;
}

@media (min-width: 992px) {
  .why-feature-col-wrapper:not(:last-child) {
    border-right: 1px solid rgba(19, 88, 180, 0.15);
  }
}

/* Why Choose Us 4 Product vertical cards */
.why-choose-cards-wrap {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Dots Grid Background on Left Side of Why Choose Us */
.why-dots-grid {
  position: absolute;
  top: 40px;
  left: 20px;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(rgba(19, 88, 180, 0.12) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.8;
  pointer-events: none;
}

.choose-vertical-card {
  background-color: var(--white);
  border: 1px solid #eef2f6;
  border-radius: 20px;
  padding: 24px 16px 16px 16px;
  width: 100%;
  max-width: 170px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.choose-vertical-card:nth-child(1),
.choose-vertical-card:nth-child(3) {
  margin-top: 30px;
}

.choose-vertical-card:nth-child(2),
.choose-vertical-card:nth-child(4) {
  margin-top: -10px;
}

.choose-vertical-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.choose-card-top-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--button-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid var(--white);
  box-shadow: 0 4px 10px rgba(19, 88, 180, 0.15);
}

.choose-card-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 16px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.choose-card-img-wrap {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafbfc;
}

.choose-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonial-card-v2 {
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.testimonial-card-v2:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 88, 180, 0.1);
}

.stars-container {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  margin-bottom: 16px;
}

.testimonial-quote-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-divider {
  border-top: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.testimonial-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.testimonial-author-title {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Newsletter Section (Full Light Gray Background) */
.newsletter-section {
  background-color: #f0f0f0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 60px 0;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.newsletter-desc {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 0;
}

.newsletter-input-field {
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  outline: none;
  background-color: var(--white);
  transition: var(--transition);
}

.newsletter-input-field:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 64, 161, 0.1);
}

.newsletter-submit-btn {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
  border: none !important;
  font-weight: 600;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  transition: var(--transition);
}

.newsletter-submit-btn:hover {
  background-color: #02317a !important;
}

/* Footer Section */
footer {
  background-color: var(--footer-blue);
  color: #e5e7eb;
  padding: 80px 0 40px 0;
}

.footer-logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-description-text {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 340px;
  margin-bottom: 24px;
}

.social-circle-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-circle-link:hover {
  background-color: var(--white);
  color: var(--footer-blue);
  border-color: var(--white);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer-list-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list-links li {
  margin-bottom: 12px;
}

.footer-list-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

.footer-list-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-credit-line {
  font-size: 12px;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Sections padding */
.section-padding-v2 {
  padding: 80px 0;
}

.section-header-v2 {
  margin-bottom: 48px;
}

.section-main-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Prevent background image overlapping text on medium viewports */
@media (max-width: 1440px) {
  .hero-carousel .carousel-item {
    background-position: calc(100% + 120px) bottom;
  }
}

/* Responsive Media Queries (Mobile & Webview) */
@media (max-width: 767.98px) {
  .announcement-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .announcement-links {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .announcement-links a {
    margin: 0 10px;
  }

  .header-main-container {
    flex-direction: column;
    padding: 1rem;
    gap: 16px;
    align-items: stretch;
  }

  .brand-logo-link {
    text-align: center;
    font-size: 28px;
  }

  .search-bar-wrap {
    max-width: 100%;
  }

  .header-actions-wrap {
    justify-content: center;
    gap: 32px;
  }

  .navbar-nav-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 8px 0;
  }

  /* Reset hero layout on mobile browser */
  .hero-carousel-section {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-carousel .carousel-item {
    min-height: auto;
    display: flex;
    flex-direction: column-reverse;
    background-color: #ffffff;
  }

  .hero-carousel .hero-bg-img {
    position: relative;
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center center;
    z-index: 1;
    display: block;
    margin-top: 24px;
  }

  .hero-carousel .hero-overlay {
    position: relative;
    background: #ffffff;
    padding: 30px 0;
    min-height: auto;
    z-index: 2;
    display: block;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-title-h2 {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
  }

  .hero-desc-text {
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-bullets-wrap {
    justify-content: center;
    gap: 12px;
  }

  .why-choose-cards-wrap {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .choose-vertical-card {
    width: 45%;
    max-width: 150px;
    margin-top: 20px !important;
    min-height: auto;
  }

  .newsletter-section {
    padding: 40px 0;
    text-align: center;
  }

  .newsletter-desc {
    margin-bottom: 20px;
  }

  .footer-description-text {
    max-width: 100% !important;
    word-wrap: break-word;
    white-space: normal;
  }

  footer {
    padding: 40px 0 20px 0;
    text-align: center;
  }

  .footer-col-title {
    margin-top: 32px;
    margin-bottom: 16px;
  }

  .footer-description-text {
    margin-left: auto;
    margin-right: auto;
  }

  .social-circle-link {
    margin: 0 auto;
  }

  .footer-credit-line {
    justify-content: center;
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
  }
}
