@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');

:root {
  --primary-color: #eb1010;
  --secondary-color: #1c3fa8;
  --dark-color: #002240;
  --light-color: #f4f4f4;
  --success-color: #5cb85c;
  --error-color: #d9534f;
}

/* General Styles */
body {
  color: #333;
  background-color: var(--light-color);
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* Pushes footer to the bottom */
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  color: var(--success-color);
}

/* Custom Input Styling */
.input-custom {
  font-weight: 600; /* Increase font weight */
  font-size: 16px; /* Slightly larger text */
  padding: 12px; /* Increase padding for better UX */
  border: 2px solid #ccc; /* Add a subtle border */
  border-radius: 6px; /* Slightly rounded edges */
  transition: all 0.3s ease-in-out;
}

.input-custom::placeholder {
  font-weight: 500; /* Medium font weight for placeholders */
  color: #777; /* Soft gray */
}

.input-custom:focus {
  border-color: #007bff; /* Highlight color */
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
  outline: none;
}

/* Navbar */
.navbar {
  background-color: var(--primary-color);
  color: #fff;
}

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

.navbar-nav .nav-link {
  font-size: 1.1rem;
  margin-left: 15px;
}

.navbar-nav .nav-link:hover {
  color: var(--success-color);
}

/* Showcase */
.showcase {
  background-color: var(--primary-color);
  color: #fff;
  position: relative;
}

.showcase h1 {
  font-size: 40px;
}

.showcase p {
  margin: 20px 0;
}

.showcase::before,
.showcase::after {
  content: '';
  position: absolute;
  height: 100px;
  bottom: -70px;
  right: 0;
  left: 0;
  background: #fff;
  transform: skewY(-3deg);
  -webkit-transform: skewY(-3deg);
  -moz-transform: skewY(-3deg);
  -ms-transform: skewY(-3deg);
}

/* Stats */
.stats {
  padding-top: 100px;
}

.stats-heading {
  max-width: 500px;
  margin: auto;
}


/* Contact Page Styles */
.contact-page .card {
  border: none;
  border-radius: 10px;
}

.contact-page .input-custom {
  font-weight: 600;
  font-size: 16px;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}

.contact-page .input-custom:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
  outline: none;
}

.contact-page .list-unstyled li {
  font-size: 16px;
  color: #333;
}

.contact-page .list-unstyled i {
  color: var(--primary-color);
  width: 20px;
}

/* Products Page */
.table-hover tbody tr {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.table-hover tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(45deg, #007bff, #0056b3);
  border: none;
  transition: transform 0.2s ease-in-out;
}

.btn-primary:hover {
  transform: translateY(-2px);
}
/* Animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromTop {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .showcase {
    height: auto;
  }

  .showcase-text {
    text-align: center;
    margin-top: 40px;
  }

  .showcase-form {
    justify-self: center;
    margin: auto;
  }
}

@media (max-width: 500px) {
  .navbar {
    height: auto;
  }

  .navbar .flex {
    flex-direction: column;
  }

  .navbar ul {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1);
  }

  .showcase-form {
    width: 100%;
    max-width: 300px;
  }
}

