/* Custom CSS for rounded corners */

/* Equivalent to Tailwind's rounded-2xl - Adjusted for consistency */
.custom-rounded-2xl {
  border-radius: 0.75rem; /* 12px */
}

/* Equivalent to Tailwind's rounded-t-2xl (top corners) - Adjusted for consistency */
.custom-rounded-t-2xl {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

/* Equivalent to Tailwind's rounded-b-2xl (bottom corners) - Adjusted for consistency */
.custom-rounded-b-2xl {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

/* Equivalent to Tailwind's rounded-full - Remains the same */
.custom-rounded-full {
  border-radius: 9999px; /* A very large value to ensure full rounding */
}

/* Equivalent to Tailwind's rounded-lg - Adjusted for consistency */
.custom-rounded-lg {
  border-radius: 0.75rem; /* 12px */
}

/* Custom CSS for shadows */

/* Equivalent to Tailwind's shadow-lg */
.custom-shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Equivalent to Tailwind's shadow-xl (slightly more pronounced) */
.custom-shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Equivalent to Tailwind's shadow-sm (subtle shadow) */
.custom-shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Curved Corners Styling - Already 12px, good! */
.curved-rectangle {
  border-radius: 12px !important; /* Ensure same curve everywhere */
}

/* Applying to modal content container - Already 12px, good! */
.modal-content-container {
  border-radius: 12px !important; /* Match curve with .curved-rectangle */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Stronger shadow for modal */
}

/* Styling for individual product cards within the modal - Already 12px, good! */
.modal-product-card {
  border-radius: 12px !important; /* Match curve with .curved-rectangle */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for definition */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-product-card:hover {
  transform: translateY(-3px); /* Slight lift on hover */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Styles for individual feedback cards - Adjusted to 12px */
.feedback-card {
  background: rgba(30, 30, 30, 0.5);
  border: 1.5px solid black; /* Reverted to black border */
  box-shadow: none;
  border-radius: 12px; /* Adjusted from 10px to 12px */
  color: white; /* Ensures text color within the card is white */
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* Added hover transition */
}

.feedback-card:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow on hover */
}

/* Text color within the feedback cards */
.feedback-card p,
/* Targeting p within feedback-card */
.feedback-card strong {
  /* Targeting strong within feedback-card */
  color: white;
}

/* Star image styling - Adjusted for smaller size and horizontal arrangement */
.star-img {
  width: 16px; /* Smaller star size (adjust as needed, e.g., 20px, 24px) */
  height: 16px; /* Maintain aspect ratio */
  vertical-align: middle; /* Aligns stars with surrounding text */
  margin-right: 1px; /* Small space between individual star icons */
  display: inline-block; /* Crucial for horizontal alignment of stars */
}

.show-more-button {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border: none;
  border-radius: 12px !important; /* Reverted to 30px, but changed to 12px for consistency */
  box-shadow: 0 4px 15px rgba(101, 41, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  font-size: 1.1rem;
}

/* Hover effects for the "Show more" button */
.show-more-button:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
  box-shadow: 0 6px 20px rgba(101, 41, 255, 0.7); /* Enhance shadow on hover */
}

/* Base modern button style */
.modern-btn-style {
  background-color: rgba(255, 255, 255, 0.05) !important; /* Force background */
  border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Force border */
  border-radius: 12px !important; /* Rounded corners */
  font-size: 0.78rem !important; /* Consistent font size */
  font-weight: 500 !important;
  padding: 0.4rem 0.8rem !important; /* Padding inside the button */
  height: 38px !important; /* Fixed height for consistency */
  color: #e2e8f0 !important; /* Light text color */
  cursor: pointer;
  transition: all 0.2s ease; /* Smooth transitions for hover effects */
  display: inline-flex !important; /* Use inline-flex for proper alignment of icon/text */
  align-items: center !important;
  justify-content: center !important; /* Center content horizontally */
  font-family: inherit;
  text-decoration: none; /* Remove underline for links */
  white-space: nowrap; /* Prevent text wrapping */
}

.modern-btn-style:hover {
  background-color: rgba(0, 123, 255, 0.15) !important; /* Blue transparent background on hover */
  color: #007bff !important; /* Blue text color on hover */
  transform: scale(1.05); /* Slight scale up on hover */
  border-color: rgba(0, 123, 255, 0.3) !important; /* Blue border on hover */
}

.modern-btn-style i {
  transition: transform 0.4s ease; /* Smooth icon rotation */
  margin-right: 0.5rem; /* Space between icon and text */
}

/* Specific adjustment for buttons that are icons-only to center the icon */
.modern-btn-style.icon-only i {
  margin-right: 0; /* No margin if it's icon only */
}

.modern-btn-style:hover i {
  transform: rotate(360deg);
}

/* Styling for the cart badge */
.modern-btn-style .badge {
  background-color: #dc3545; /* Red background for badge */
  color: #e2e8f0; /* Light text for badge */
  font-size: 0.625rem; /* Smaller font size for badge */
  line-height: 1;
  padding: 0.2em 0.5em;
  border-radius: 0.5rem; /* Keeping this smaller as it's a badge */
  margin-left: 0.25rem; /* Space from icon/text */
  position: static; /* Reset from absolute for normal flow */
  transform: none; /* Reset transforms */
}

/* Currency Selector specific styling for the SELECT element itself - Adjusted for consistency */
/* Merged original inline styles with modern-btn-style values where applicable */
.currency-selector-select {
  width: 78px !important; /* Original width */
  height: 40px !important; /* Original height */
  padding: 0.4rem 0.8rem !important; /* Adjusted padding from modern-btn-style */
  padding-right: 25px !important; /* Ensure space for native arrow */
  background-color: rgba(255, 255, 255, 0.05) !important; /* Keep the transparent dark background */
  border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Keep border */
  border-radius: 0.75rem !important; /* Adjusted from 0.375rem to 0.75rem (12px) */
  color: #e2e8f0 !important; /* Keep the light text color */
  font-size: 0.78rem !important; /* Match font size to modern-btn-style */
  font-weight: 500 !important; /* Match font weight */
  cursor: pointer;
}

.currency-selector-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3); /* Focus ring */
}

/* Styling for the options within the select (limited control, but helps) */
.currency-selector-select option {
  background-color: #1a202c; /* Dark background for options */
  color: #e2e8f0; /* Light text for options */
  padding: 8px 12px; /* Add some padding */
}

/* Hide the hamburger button on large screens */
@media (min-width: 1024px) {
  /* Corresponds to Tailwind's 'lg' breakpoint */
  .modern-toggle-btn {
    display: none !important;
  }
}

/* Ensure desktop navigation and buttons are visible */
.lg\:block-flex {
  /* New utility class to ensure flex display on large screens */
  display: flex !important;
}

/* Style for regular navigation links (non-button) */
.nav-link-text-only {
  color: #e2e8f0; /* Light color */
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  height: 38px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.nav-link-text-only:hover {
  color: #007bff;
  transform: scale(1.05);
}

.nav-link-text-only::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #007bff;
  transition: width 0.3s ease-in-out;
}

.nav-link-text-only:hover::after {
  width: 100%;
}

.nav-link-text-only i {
  transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
  font-size: 1rem;
  color: #ffffff;
  margin-right: 0.5rem;
}

.nav-link-text-only:hover i {
  transform: rotate(360deg) scale(1.2);
  color: #007bff;
  text-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}

/* New rule for the shop logo to make it a curved rectangle - Adjusted to 12px */
.shop-logo {
  border-radius: 12px; /* Adjusted from 10px to 12px */
}

/* Base container styling, derived from money-making-section - Adjusted to 12px */
.features-section-container {
  background-color: rgba(26, 26, 26, 0.2); /* Dark background with 80% transparency */
  padding: 35px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  border: 2px solid #00ff88;
  border-radius: 12px; /* Adjusted from 10px to 12px */
  max-width: 90vw; /* Extends width to user screen */
  margin: 50px auto;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  position: relative;
  overflow: hidden;
}

/* Background grid pattern */
.features-section-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(0deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
  opacity: 0.3;
}

.features-section-container > * {
  position: relative;
  z-index: 1;
}

/* Title styling with gradient */
.features-section-container h1 {
  background: linear-gradient(to right, #00ff88, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback */
  font-size: 2.4em;
  margin-bottom: 15px;
  font-weight: 900; /* Bolder title */
}

/* Horizontal rule under title */
.features-section-container hr {
  width: 100%;
  border: none; /* Remove default border */
  border-top: 2px solid #00ff88; /* Green border */
  margin-top: 10px;
  margin-bottom: 30px; /* Space below hr */
  max-width: 200px; /* Limit width of the hr */
  margin-left: auto;
  margin-right: auto;
}

/* Container for feature cards */
.feature-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Gap between cards */
  justify-content: center; /* Center cards if not filling row */
  width: 100%;
}

/* Individual feature card styling, similar to buttons - Already 12px, good! */
/* Applying styles to the div that contains the feature content */
.feature-card-content {
  background-color: rgba(40, 40, 40, 0.7); /* Slightly darker, semi-transparent background for cards */
  border: 2px solid transparent; /* Default transparent border */
  border-radius: 12px; /* Adjusted to a more curved rectangle shape */
  padding: 25px; /* Padding inside cards */
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative; /* For glint effect */
  overflow: hidden; /* For glint effect */
  height: 100%; /* Ensure content fills the parent div */
  display: flex; /* Use flexbox for vertical alignment */
  flex-direction: column; /* Stack children vertically */
  justify-content: center; /* Center content vertically */
}

.feature-card-content:hover {
  transform: translateY(-8px); /* Lift on hover */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* More pronounced shadow */
  background-color: rgba(60, 60, 60, 0.8); /* Slightly lighter on hover */
}

/* Glint effect for feature cards */
.feature-card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.feature-card-content:hover::before {
  left: 125%;
}

.feature-card-content img {
  margin-bottom: 15px;
  width: 48px; /* Icon size */
  height: 48px;
  display: block; /* Ensure it takes its own line */
  margin-left: auto; /* Center image */
  margin-right: auto;
}

.feature-card-content h4 {
  color: #00ffff; /* Aqua color for feature titles */
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 8px;
}

.feature-card-content p {
  font-size: 0.9em;
  color: #cccccc;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .feature-card {
    flex: 1 1 calc(50% - 20px); /* 2 cards per row on medium screens */
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .features-section-container h1 {
    font-size: 1.8em;
  }

  .features-section-container p {
    font-size: 1em;
  }

  .feature-card {
    flex: 1 1 100%; /* 1 card per row on small screens */
    max-width: 100%;
    padding: 20px;
  }

  .feature-card h4 {
    font-size: 1.1em;
  }

  .feature-card p {
    font-size: 0.85em;
  }
}

/* Glint Effect Styling */
.glint-effect {
  position: relative;
  overflow: hidden;
  /* Optional: Add a subtle box-shadow for consistency, if not handled by existing classes */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Added background-color for smooth transition */
}

.glint-effect:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Slightly more pronounced shadow on hover */
  transform: translateY(-3px) scale(1.02); /* Slight lift and scale for 3D effect */
}

/* Modern FAQ Card Hover Effect */
.modern-faq-card-hover {
  position: relative;
  overflow: hidden;
  /* Needed for the border animation */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 1; /* Ensure border animation is above other content */
}

.modern-faq-card-hover:hover {
  transform: translateY(-5px); /* Lift the card slightly */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* More pronounced shadow */
  border-color: rgba(0, 123, 255, 0.5); /* Subtle blue border on hover */
}

/* Expanding Border Effect for Modern FAQ Card - Already 12px, good! */
.modern-faq-card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px !important; /* Match card border-radius */
  border: 2px solid transparent; /* Start with transparent border */
  background: linear-gradient(45deg, #007bff, #00c6ff) border-box; /* Blue gradient for the border */
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  transition: all 0.3s ease;
  opacity: 0; /* Hidden by default */
  transform: scale(0.98); /* Slightly smaller to give 'expansion' feel */
}

.modern-faq-card-hover:hover::before {
  opacity: 1; /* Show on hover */
  transform: scale(1); /* Expand to full size */
}

/* Ensure the button content is layered correctly */
.modern-faq-card-hover .faq-button-content {
  position: relative;
  z-index: 2; /* Keep content above the pseudo-element border */
}

/* New: Footer specific styles - Already 12px, good! */
.modern-footer {
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow upwards */
}

.modern-social-icon {
  /* Existing `size-8 flex *:m-auto rounded-full` handles initial shape */
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.modern-social-icon:hover {
  transform: translateY(-2px) scale(1.1); /* Slight lift and enlarge */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
  background-color: rgba(255, 255, 255, 0.1); /* Subtle background change */
}