/* Reset body padding that minima adds */
body {
  padding-top: 0 !important;
}

/* Navbar Transition Styles */
.navbar {
  transition: all 0.3s ease-in-out;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background-color: transparent !important;
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  height: 60px !important;
  z-index: 1030 !important;
}

/* Initial navbar state - fully transparent glassmorphism */
.navbar.mask-custom {
  background-color: transparent !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

/* Navbar hover state - enhanced frosted glass */
.navbar.mask-custom:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navbar pre-scroll state - white text with shadow for readability */
.navbar .nav-link,
.navbar .navbar-brand {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Navbar scrolled state */
.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-toggler-icon,
.navbar-scrolled .navbar-brand {
  color: #fafafa !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Generic mask-custom class for other elements */
.mask-custom {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.mask-custom-2 {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background-color: rgba(255, 255, 255, 0.15);
}

.contact-form-container {
  max-width: 400px;
  margin: 10px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.navbar-brand {
  font-size: 2.75rem;
  letter-spacing: 3px;
}

/* Enhanced navbar scrolled state with better contrast */
.navbar-scrolled {
  background-color: rgba(0, 0, 64, 0.85) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.navbar-scrolled .nav-link {
  color: #fafafa !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.navbar-scrolled .navbar-brand {
  color: #fdfdfd !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.navbar-scrolled .navbar-toggler-icon {
  filter: invert(1);
}

/* Smooth transition for all navbar elements */
.navbar,
.navbar .nav-link,
.navbar .navbar-brand,
.navbar .navbar-toggler-icon {
  transition: all 0.5s ease-in-out;
}

/* Mobile navbar improvements */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

/* Ensure navbar toggler is visible on transparent background */
.navbar.mask-custom .navbar-toggler {
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.navbar.mask-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile responsive navbar */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .navbar-toggler {
    margin-left: auto;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 0, 249, 250, 0.98);
    margin-top: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link {
    color: #f6f5f5 !important;
    padding: 10px 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-nav .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    padding-left: 10px;
  }
}

/* Base styles for body and layout */
* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
  /* Remove padding-top to allow hero section to be full height */
}

header {
  position: relative;
  z-index: 1030;
  /* Bootstrap navbar z-index */
}

/* Main content section */
main {
  padding-top: 0;
  /* Hero section will be full height */
  min-height: 100vh;
  /* Full viewport height */
}

/* Hero Section Styling */
.hero-section {
  height: 100vh;
  background-image: url('../img/theflag.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  /* Add overlay for better text readability */
  background-blend-mode: overlay;
  /* background-color: rgba(53, 56, 246, 0.919); */
}

/* Switch to blue background on smaller screens */
@media (max-width: 768px) {
  .hero-section {
    background-image: url('../img/bgblue01.jpg');
  }
}

.hero-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.hero-description, .hero-tagline {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-cta {
  margin-top: 2rem;
  font-size: 1.1rem;
  padding: 12px 30px;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive hero section */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description, .hero-tagline {
    font-size: 1rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* Services Section Styling */
.services-section {
  background-image: url('../img/theflag.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 50px;
  padding-bottom: 50px;
  /* Add overlay for better content readability */
  background-blend-mode: overlay;
  /* background-color: rgba(249, 249, 249, 0.9); */
}

/* Switch to blue background on smaller screens */
@media (max-width: 768px) {
  .services-section {
    background-image: url('../img/bgblue01.jpg');
  }
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 50px 0 20px;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="10" r="10" fill="url(%23a)"/><circle cx="80" cy="15" r="8" fill="url(%23a)"/></svg>');
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo-img {
  width: 120px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  text-align: center;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 15px 25px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: white;
}

.references {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.references a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: block;
  width: fit-content;
  backdrop-filter: blur(5px);
}

.references a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.social-links a i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.legal-links {
  margin-top: 10px;
  font-size: 0.85rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0 10px;
}

.legal-links a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.legal-links .separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .contact-link {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .social-links {
    gap: 12px;
  }

  .social-links a {
    font-size: 0.9rem;
    padding: 10px 15px;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px 0 15px;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-content {
    gap: 25px;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .contact-link {
    font-size: 0.95rem;
    padding: 10px 18px;
  }

  .references a,
  .social-links a {
    font-size: 0.85rem;
    padding: 8px 15px;
  }

  .social-links a {
    min-width: 110px;
  }
}

/* New Navbar Design Styles with Contact Card Effect */
.nav-icon-wrapper {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.nav-icon {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  padding: 5px;
}

.nav-icon:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-dropdown-modal {
  position: fixed;
  top: 70px;
  left: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-icon-wrapper:hover .nav-dropdown-modal {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin-bottom: 15px;
}

.nav-menu li:last-child {
  margin-bottom: 0;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: block;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  transform: translateX(5px);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Centered navbar brand */
.navbar-brand {
  position: relative !important;
  transform: none !important;
  margin: 0 auto;
  color: #faf9f9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 2rem;
  }

  .nav-icon {
    height: 35px;
  }

  .nav-dropdown-modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(5px);
  }

  /* Adjust text colors for mobile */
  .navbar.mask-custom .navbar-brand {
    color: #ffffff !important;
  }
}

/* Mobile Knight Icon Navigation Styles */
.brand-logo {
  transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
  .brand-text {
    display: none;
  }

  .brand-logo {
    margin-right: 0 !important;
    cursor: pointer;
  }

  .navbar-brand:hover .brand-logo {
    transform: scale(1.1) rotate(10deg);
  }
}

/* Mobile Nav Dropdown */
.mobile-nav-wrapper {
  position: relative;
}

.mobile-nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand:hover~.mobile-nav-wrapper .mobile-nav-dropdown,
.mobile-nav-wrapper:hover .mobile-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu li {
  margin-bottom: 10px;
}

.mobile-nav-menu li:last-child {
  margin-bottom: 0;
}

.mobile-nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mobile-nav-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Update navbar colors for frosted glass effect */
.navbar.mask-custom .nav-link,
.navbar.mask-custom .navbar-brand {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar.mask-custom:hover {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero and Services text colors for blue background */
.hero-title,
.hero-description,
.hero-tagline,
.hero-subtitle {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-section {
  color: #ffffff;
}

.services-section h1,
.services-section h2,
.services-section h3,
.services-section p {
  color: #ffffff;
}

/* Blog section text adjustments */
.blog-title,
.blog-subtitle {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

[aria-describedby="footnote-label"] {
  counter-increment: footnotes;
  text-decoration: none;
  color: inherit;
  cursor: default;
  outline: none;
}

[aria-describedby="footnote-label"]::after {
  content: " ["counter(footnotes) "]";
  font-size: 0.5em;
  margin-left: 2px;
  color: blueviolet;
  text-decoration: underline;

  cursor: pointer;
}

[aria-describedby="footnote-label"]:focus::after {
  outline: 2px solid blueviolet;
  outline-offset: 2px;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.5);
}

[aria-label="Back-to-content"] {
  font-size: 0.8em;
}

.p-text {
  text-align: center;
  font-size: .75em;
  padding-top: 150px;
}

/* Footer Company Links */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
  transform: translateX(3px);
}

/* Footer Footnotes Section */
.footer-footnotes {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footnotes-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footnotes-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: footnotes;
}

.footnotes-list li {
  color: #e0e0e0;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 2rem;
}

.footnote-marker {
  position: absolute;
  left: 0;
  color: #ffd700;
  font-weight: 600;
}

.footnote-backref {
  color: #89aadf;
  text-decoration: none;
  margin-left: 0.5rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footnote-backref:hover {
  color: #ffffff;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .footnotes-container {
    padding: 0 1rem;
  }

  .footnotes-title {
    font-size: 1rem;
  }

  .footnotes-list li {
    font-size: 0.85rem;
  }
}

/* Shop Page Styling */
.page-hero {
  padding-top: 80px;
  padding-bottom: 2rem;
  text-align: center;
  background-image: url('../img/theflag.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

/* Switch to blue background on smaller screens */
@media (max-width: 768px) {
  .page-hero {
    background-image: url('../img/bgblue01.jpg');
  }
}

.page-hero h1 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.page-hero .lead {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* Shop Content Section */
.section {
  background-image: url('../img/theflag.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

/* Switch to blue background on smaller screens for all sections */
@media (max-width: 768px) {
  .section {
    background-image: url('../img/bgblue01.jpg');
  }
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem 0;
}

/* Product Card */
.product-card {
  perspective: 1000px;
  height: 400px;
  position: relative;
  margin-bottom: 2rem; /* Add space between cards */
  z-index: 1;
}

.product-flip-container {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.product-card:hover .product-flip-container {
  transform: rotateY(180deg);
  z-index: 10; /* Bring flipped card to front */
}

.product-front,
.product-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-front {
  background: rgba(255, 255, 255, 0.1);
}

.product-back {
  background: rgba(255, 255, 255, 0.15);
  transform: rotateY(180deg);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

/* Product Image */
.product-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.product-card:hover .placeholder-img {
  opacity: 0.9;
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 64, 0.5));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 2rem;
}

.product-overlay h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.product-category {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Product Info (Back of Card) */
.product-info {
  width: 100%;
  color: white;
  text-align: left;
}

.product-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.product-description {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feature Tags */
.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

/* Pricing Section */
.product-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #D4AF37;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.turnaround {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Product CTA Button */
.product-cta {
  display: block;
  width: 100%;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, #D4AF37, #B8941F);
  color: #111111;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-shadow: none;
}

.product-cta:hover {
  background: linear-gradient(135deg, #E5C052, #D4AF37);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #111111;
  text-decoration: none;
}

/* Shop Info Section */
.shop-info-section {
  margin-top: 4rem;
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.info-card h3 {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.info-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
  }
  
  .product-card {
    height: 350px;
  }
  
  .product-back {
    padding: 1.5rem;
  }
  
  .product-info h3 {
    font-size: 1.3rem;
  }
  
  .product-description {
    font-size: 0.9rem;
  }
  
  .product-overlay h3 {
    font-size: 1.5rem;
  }
  
  .shop-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .page-hero {
    padding-top: 60px;
  }
}

@media (max-width: 480px) {
  .product-card {
    height: 320px;
  }
  
  .product-back {
    padding: 1rem;
  }
  
  .product-features {
    gap: 0.3rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }
  
  .product-pricing {
    padding: 0.8rem;
  }
  
  .price {
    font-size: 1.1rem;
  }
  
  .turnaround {
    font-size: 0.8rem;
  }
}
