/* Base Styles */
:root {
  --primary-color: #232A69;
  --secondary-color: #6C6C6C;
  --text-color: #000000;
  --light-text: #FFFFFF;
  --light-bg: #FFFFFF;
  --border-color: #C4C4C4;
  --font-primary: 'Segoe UI', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  --font-tertiary: 'Lato', sans-serif;
  --font-heading: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-bg);
}

.app-container {
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-tertiary);
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: #2d3685;
}

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

.btn-secondary:hover {
  background-color: rgba(35, 42, 105, 0.1);
}

.btn-text {
  background-color: transparent;
  color: var(--primary-color);
  text-decoration: underline;
  padding: 1rem 0;
}

.btn-text:hover {
  color: #2d3685;
}

.img-fallback {
    background-color: #232A69;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 2rem;
    min-height: 100px;
    min-width: 100px;
}

/* Header Styles */
.header {
  background-color: var(--light-bg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 77px;
}
.column-img {
      width: 100%; /* Makes the image responsive to its container */
      max-width: 250px; /* Limits the maximum width for larger screens */
      height: auto; /* Maintains aspect ratio */
      border-radius: 12px; /* Adds rounded corners for a modern look */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Adds a subtle shadow for depth */
      display: block; /* Ensures the image is a block element */
      margin: 0 auto; /* Centers the image horizontally */
      transition: transform 0.3s ease; /* Smooth hover effect */
    }
	
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #2d3685;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

  .dropdown {
    position: relative;
    display: inline-block;
  }
  .dropdown-toggle {
    cursor: pointer;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid #ddd;
  }
  .dropdown-menu a {
    color: #232a69;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  .dropdown-menu a:hover {
    background-color: #f1f1f1;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .nav-link {
    color: #232a69;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  .nav-link:hover, .nav-link.active {
    color: #3a43a5;
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .cart-icon img {
    width: 28px;
    height: 28px;
  }

.cart-icon {
  display: flex;
  align-items: center;
}

.cart-icon img {
  width: 28px;
  height: 28px;
}

.cart-icon-link {
    text-decoration: none;
    color: inherit;
    position: relative;
    display: inline-block;
  }
  .cart-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  .cart-img {
    width: 24px; /* Adjust based on cart_icon.svg size */
    height: 24px;
    vertical-align: middle;
    transition: transform 0.2s;
  }
  .cart-count {
    background-color: #232A69;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -10px; /* Fine-tuned to align above the image */
    right: -10px; /* Fine-tuned to align to the right */
    transform: translate(50%, -50%); /* Center relative to position */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cart-icon-link:hover .cart-img {
    transform: scale(1.1); /* Slight zoom on hover */
  }
  .cart-preview {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 10px;
    border-radius: 5px;
  }
  .cart-icon-link:hover .cart-preview {
    display: block;
  }
  .cart-preview-item {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
  }
  .cart-preview-item:last-child {
    border-bottom: none;
  }
  .dropdown {
    position: relative;
    display: inline-block;
  }
  .dropdown-toggle {
    cursor: pointer;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  .dropdown-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  .dropdown-menu a:hover {
    background-color: #f1f1f1;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  @media (max-width: 600px) {
    .cart-count { top: -5px; right: -5px; font-size: 10px; padding: 1px 4px; }
    .cart-img { width: 20px; height: 20px; }
    .cart-preview { min-width: 150px; }
  }

/* Hero Section */
.hero {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2rem;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 80%;
  height: auto;
}

.subtitle {
  font-size: 1.625rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.description {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Section Styles */
.section {
  padding: 1rem 0;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Two Column Layout */
.two-columns {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.column-image, .column-content {
  flex: 1;
}

.column-content {
  text-align: left;
}

.column-content h2 {
  text-align: left;
  font-size: 24px;
  font-weight: bold;
}

.column-content .btn {
  margin-top: 1.5rem;
}

/* CTA Section */
.final-cta {
  text-align: center;
}

.cta-text {
  font-size: 1.25rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.cta-image {
  max-width: 1000px;
  margin: 0 auto;
}

/* Contact CTA */
.contact-cta {
  background-color: rgba(35, 42, 105, 0.5);
  padding: 3rem 0;
  margin-top: 2rem;
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-color);
}

.contact-content h2 {
  font-size: 2.125rem;
  margin-bottom: 1.5rem;
}

.contact-content p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 1.5rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 150px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h3 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-link, .footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: var(--light-text);
  text-decoration: underline;
}

.footer-address {
  text-decoration: none;
}

.footer-link img, .footer-address img {
  width: 16px;
  height: 16px;
}

.footer-copyright {
  text-align: center;
  font-size: 0.625rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Breadcrumb */
.breadcrumb {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 0;
}

.breadcrumb-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Contact Page Styles */
.contact-hero {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem;
  gap: 2rem;
  align-items: center;
}

.contact-hero-content {
  flex: 1;
  max-width: 600px;
}

.contact-hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px; /* Adds rounded corners for a modern look */

}

.contact-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.trading-hours {
  margin-top: 2rem;
  padding: 1rem;
  background-color: rgba(35, 42, 105, 0.05);
  border-radius: 8px;
}

.trading-hours h3 {
  font-weight: 700;
  font-style: italic;
  margin-bottom: 1rem;
}

.contact-info {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 4rem;
}

.branch-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.branch-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.branch-card h3 {
  font-weight: 700;
  font-style: italic;
  margin-bottom: 1rem;
}

.branch-image {
  width: 100%;
  height: auto;
  margin-top: 1.5rem;
  border-radius: 4px;
}

.contact-form {
  flex: 1;
}

.contact-form h2 {
  margin-bottom: 1rem;
}

.contact-form p {
  margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  font-family: var(--font-secondary);
  font-size: 1rem;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .two-columns {
    flex-direction: column;
  }
  
  .column-image {
    order: 1;
  }
  
  .column-content {
    order: 2;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-hero,
  .contact-container {
    flex-direction: column;
  }
  
  .contact-hero-content,
  .contact-hero-image {
    max-width: 100%;
  }
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-right {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Related Products Section Styles */
.related-products {
    padding: 4rem 0;
}

.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.product-card {
    flex: 1 1 calc(50% - 1rem);
    max-width: 300px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.card-image {
    width: 100%;
    padding-top: 66.67%; /* Aspect ratio 3:2 (300px wide x 200px tall) */
    position: relative;
    overflow: hidden;
}

.card-image img,
.card-image .img-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.img-fallback {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: bold;
    font-size: 1.5rem;
    min-height: 0;
    min-width: 0;
}

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-price {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: rgba(35, 42, 105, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .card-image {
        padding-top: 75%; /* Slightly taller aspect ratio for mobile */
    }

    .card-content h3 {
        font-size: 1.25rem;
    }

    .img-fallback {
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-card {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (min-width: 1025px) {
    .product-card {
        min-width: 250px;
    }
}

html {
      scroll-behavior: smooth;
    }
    #examples {
      scroll-margin-top: 77px;
    }
    /* Ensure the .glider itself behaves like a row of slides */
    .glider {
      display: flex;
      overflow: hidden;
      width: auto; /* Allow Glider to calculate width dynamically */
    }

    /* Each QR slide should behave like a block item */
    .glider a {
      flex: 0 0 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .glider img {
      max-width: 250px;
      height: auto;
      border-radius: 8px;
      border: 2px solid #ddd;
      background: #fff;
    }

    .glider img:hover {
      transform: scale(1.05);
    }

    /* Size the container so it doesn’t grow wider than needed */
    .example-qr-codes .glider-contain {
      max-width: 300px;
      margin: 0 auto;
      position: relative;
      overflow: visible; /* Ensure content isn’t clipped */
    }

    .example-qr-codes .glider {
      max-width: 100%; /* Match container width */
      margin: 0 auto;
    }

    /* Navigation buttons */
    .glider-prev, .glider-next {
      background: #f0f0f0;
      border: none;
      padding: 5px 10px;
      font-weight: bold;
      cursor: pointer;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
    }

    .glider-prev { left: 0; padding-left: 5px; }
    .glider-next { right: 0; padding-right: 5px; }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .glider img {
        max-width: 200px; /* Reduce image size on smaller screens */
      }
      .example-qr-codes .glider-contain {
        max-width: 250px; /* Adjust container for smaller screens */
      }
    }
	
	/* Add to the end of /style/styles.css */
.banner {
    width: 100%;
    margin-bottom: 20px;
}

.banner-image {
    width: 100%;
    height: auto;
    max-height: 414px; /* Match checkout.css .overlap-group height */
    object-fit: cover;
    border-radius: 8px;
}

.breadcrumb {
    font-size: 1.125rem;
    color: #262626;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

@media (max-width: 768px) {
    .banner-image {
        max-height: 200px;
    }
}