html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #2d3748;
  line-height: 1.6;
}

/* Hero Section Styling */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.3rem;
}

/* Product Section Headings */
#products h2 {
  color: #1a202c;
  margin-bottom: 1rem;
}

#products .lead {
  color: #718096;
  font-size: 1.15rem;
}

/* Product Cards Enhancement */
.row.mb-5 {
  transition: transform 0.3s ease;
}

.row.mb-5:hover {
  transform: translateY(-5px);
}

/* Product Images */
.img-fluid.rounded.shadow {
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid.rounded.shadow:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Product Headings */
h3.fw-bold {
  color: #2d3748;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h5.fw-bold {
  color: #4a5568;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h6.fw-bold {
  color: #2d3748;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

/* Lead Paragraphs */
p.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: #4a5568;
  line-height: 1.7;
}

/* Regular Paragraphs */
.col-md-7 p {
  color: #718096;
  line-height: 1.8;
}

/* List Styling */
ul {
  color: #4a5568;
}

ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

ol li {
  margin-bottom: 0.75rem;
  color: #4a5568;
}

ol li strong {
  color: #2d3748;
}

/* Button Styling */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Small Text */
.small {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.6;
}

/* Border Styling */
.border-bottom {
  border-color: #e2e8f0 !important;
}

/* Footer Styling */
.footer {
  background-color: #f7fafc;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1.1rem;
  }

  h3.fw-bold {
    font-size: 1.5rem;
  }

  .row.mb-5 .col-md-5,
  .row.mb-5 .col-md-7 {
    margin-bottom: 2rem;
  }
}

/* Icon/Emoji Spacing */
h6.fw-bold {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Smooth Animations */
* {
  transition: color 0.2s ease, background-color 0.2s ease;
}

a {
  color: #667eea;
  text-decoration: none;
}

a:hover {
  color: #764ba2;
}