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

:root {
  /* Primary Blue Theme */
  --primary-blue: #0052cc;
  --primary-blue-light: #1a66ff;
  --primary-blue-dark: #003d99;
  --primary-blue-lighter: #e6f0ff;

  /* Neutral Colors */
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --border-light: #f0f0f0;

  /* Accent Colors */
  --success-green: #27ae60;
  --accent-blue: #0099ff;

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light-blue: #f5f9ff;
  --bg-light-gray: #f9f9f9;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

/* Typography & Sizing */
.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--primary-blue);
}

.brand-logo {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  text-align: center;
  line-height: 40px;
  margin-right: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.2);
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

/* Navigation Styling */
.navbar {
  background-color: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
  transition: color 0.3s ease, background-color 0.3s ease;
  position: relative;
  display: inline-block;
}

.nav-link:hover {
  color: var(--primary-blue) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

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

/* Hero Section Styling */
.hero-section {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, #003366 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

.hero-section::before {
  /* enhanced background with subtle pattern */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(26, 102, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 61, 153, 0.05);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.98;
  line-height: 1.6;
  font-weight: 500;
}

/* Button Styling */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  border: none;
  color: white;
  font-weight: 700;
  padding: 0.875rem 2.25rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.35);
}

.btn-primary:active {
  transform: translateY(0px);
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.25);
}

.btn-secondary {
  background-color: var(--bg-light-gray);
  border: 2px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.875rem 2.25rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
}

.btn-secondary:hover {
  background-color: var(--primary-blue-lighter);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  background-color: transparent;
  font-weight: 600;
  padding: 0.875rem 2.25rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
}

/* Feature Cards */
.feature-card {
  padding: 2.5rem 2rem;
  background-color: var(--bg-white);
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  /* added top accent bar for visual interest */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.feature-card:hover {
  box-shadow: 0 12px 32px rgba(0, 82, 204, 0.12);
  transform: translateY(-8px);
  border-color: var(--primary-blue);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Category Cards */
.category-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card,
.product-category-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.category-card:hover,
.product-category-card:hover {
  box-shadow: 0 12px 28px rgba(0, 82, 204, 0.15);
}

.category-card img,
.product-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-overlay,
.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 61, 153, 0.95), rgba(0, 82, 204, 0.4), transparent);
  color: white;
  padding: 2.5rem 1.5rem;
  text-align: left;
  transform: translateY(30px);
  transition: all 0.3s ease;
}

.category-link:hover .category-overlay,
.category-link:hover .category-info,
.category-link:hover img {
  transform: scale(1.08);
}

.category-link:hover .category-overlay,
.category-link:hover .category-info {
  transform: translateY(0);
}

.category-overlay h3,
.category-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.category-overlay p,
.category-info p {
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.5;
}

.category-info .arrow {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.category-link:hover .arrow {
  opacity: 1;
  right: 1rem;
}

/* Page Headers */
.page-header {
  border-bottom: 2px solid var(--primary-blue-lighter);
  background: linear-gradient(135deg, var(--bg-light-blue) 0%, var(--bg-white) 100%);
  padding: 2rem 0;
}

.page-header h1 {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Product Cards */
.product-card {
  background-color: var(--bg-white);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 16px 40px rgba(0, 82, 204, 0.18);
  transform: translateY(-8px);
  border-color: var(--primary-blue-light);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h4 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.product-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

.product-features {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  background-color: var(--primary-blue-lighter);
  color: var(--primary-blue);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid rgba(0, 82, 204, 0.2);
  transition: all 0.3s ease;
}

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

/* Why Choose Us Cards */
.why-card {
  padding: 2rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(90deg, var(--primary-blue), transparent);
  transition: height 0.3s ease;
}

.why-card:hover {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-blue-lighter) 100%);
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.12);
}

.why-card:hover::before {
  height: 3px;
}

.why-card h4 {
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.why-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Value Lists */
.value-list {
  list-style: none;
}

.value-list li {
  padding: 1rem 0;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: padding-left 0.3s ease;
}

.value-list li:before {
  /* added checkmark styling */
  content: "✓";
  color: var(--success-green);
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.value-list li:last-child {
  border-bottom: none;
}

.value-list strong {
  color: var(--primary-blue);
  font-weight: 700;
}

/* Info Cards */
.info-card {
  padding: 2rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.1);
  transform: translateY(-4px);
}

.info-card h4 {
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact Information */
.contact-info {
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-blue-lighter) 0%, var(--bg-light-blue) 100%);
  border-radius: 8px;
  border: 2px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.contact-info:hover {
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.15);
  transform: translateY(-2px);
}

.contact-info h5 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--primary-blue-dark);
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  background-color: var(--bg-light-gray);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-form:hover {
  border-color: var(--primary-blue-lighter);
  background-color: var(--bg-light-blue);
}

.contact-form .form-group label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  display: block;
}

.contact-form .form-control {
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 0.875rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
  background-color: var(--bg-white);
}

.contact-form .form-control::placeholder {
  color: #999;
}

.custom-checkbox .custom-control-label {
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 500;
}

.custom-checkbox .custom-control-label a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.custom-checkbox .custom-control-label a:hover {
  color: var(--primary-blue-dark);
  text-decoration: underline;
}

/* Thank You Page */
.thank-you-container {
  padding: 4rem 0;
  text-align: center;
}

.thank-you-container h1 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.thank-you-container .lead {
  color: var(--text-dark);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--success-green);
  margin-bottom: 1.5rem;
  animation: bounce 0.6s ease-out;
}

@keyframes bounce {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 16px rgba(0, 82, 204, 0.25);
  z-index: 1000;
  display: block;
  border-top: 2px solid var(--accent-blue);
}

.cookie-consent.hidden {
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.95;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-buttons .btn {
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
}

.cookie-buttons .btn-accept {
  background-color: var(--accent-blue);
  color: white;
}

.cookie-buttons .btn-accept:hover {
  background-color: white;
  color: var(--primary-blue);
}

.cookie-buttons .btn-decline {
  background-color: transparent;
  border: 1.5px solid white;
  color: white;
}

.cookie-buttons .btn-decline:hover {
  background-color: white;
  color: var(--primary-blue);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
  color: white;
  margin-top: 4rem;
  border-top: 3px solid var(--accent-blue);
  transition: all 0.3s ease;
}

footer h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  text-decoration: none;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

.text-white-50 {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

footer a:hover .text-white-50 {
  opacity: 1;
}

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

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

  .hero-section {
    height: 300px;
  }

  .cookie-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-buttons .btn {
    flex: 1;
    min-width: 120px;
  }

  .category-card,
  .product-category-card {
    height: 200px;
  }

  .category-overlay,
  .category-info {
    padding: 1.5rem 1rem;
  }

  .category-overlay h3,
  .category-info h3 {
    font-size: 1.25rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  footer {
    text-align: center;
  }

  .col-md-6 {
    text-align: center;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .nav-link {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    font-size: 0.9rem;
  }

  .feature-card {
    margin-bottom: 1rem;
    padding: 1.5rem 1rem;
  }

  .product-card img {
    height: 150px;
  }

  .cookie-text p {
    font-size: 0.85rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .why-card {
    margin-bottom: 1rem;
  }
}
