:root {
  --primary: #09344b;
  --secondary: #7db82a;
  --light: #ffffff;
  --dark: #333333;
  --gray: #f5f5f5;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

/* Header & Navigation */
header {
  background-color: var(--primary);
  color: var(--light);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 0 1rem;
}

.logo img {
  height: 80px;
  background-color: white;
  border-radius: 10px;
  transition: var(--transition);
}

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

.navbar-nav .nav-link {
  color: var(--light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  border-radius: 4px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  color: var(--light);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 4px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="rgba%28255, 255, 255, 1%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
  width: 1.5em;
  height: 1.5em;
}

/* Carousel */
.carousel-item {
  height: 70vh;
  min-height: 400px;
  background: no-repeat center center scroll;
  background-size: cover;
  position: relative;
}


.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.carousel-caption {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(9, 52, 75, 0.45);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-primary {
  background-color: var(--primary);
  color: var(--light);
}

.section-secondary {
  background-color: var(--secondary);
  color: var(--light);
}

.section-light {
  background-color: var(--light);
  color: var(--dark);
}

.section-gray {
  background-color: var(--gray);
  color: var(--dark);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background-color: var(--secondary);
}

.section-light .section-title::after,
.section-gray .section-title::after {
  background-color: var(--primary);
}

/* Cards */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

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

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: #072a3d;
  border-color: #072a3d;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(9, 52, 75, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: #6ca324;
  border-color: #6ca324;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(125, 184, 42, 0.3);
}

.btn-outline-light {
  color: var(--light);
  border-color: var(--light);
}

.btn-outline-light:hover {
  background-color: var(--light);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Forms */
.form-control {
  border-radius: 4px;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  transition: var(--transition);
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(9, 52, 75, 0.25);
  border-color: var(--primary);
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--light);
  padding: 3rem 0;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 1rem;
  color: var(--secondary);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Products Page */
.product-card {
  margin-bottom: 2rem;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-img {
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.product-body {
  padding: 1.5rem;
  background-color: var(--light);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.product-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--secondary);
  color: var(--light);
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.product-features {
  margin-bottom: 1.5rem;
}

.product-features li {
  margin-bottom: 0.5rem;
}

/* Category Pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.category-pill {
  padding: 0.5rem 1.5rem;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.category-pill:hover,
.category-pill.active {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
  .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    outline: none !important;
    box-shadow: none !important;
  }

  .navbar-toggler:focus,
  .navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
  }

  .navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="rgba%28255, 255, 255, 1%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
  }

  .navbar-collapse {
    background-color: var(--primary);
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .navbar-nav {
    padding: 0.5rem 0;
  }

  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 4px;
  }

  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .carousel-item {
    height: 60vh;
  }

  .carousel-caption {
    max-width: 90%;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    height: 50vh;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .card-img-top {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .logo img {
    height: 60px;
  }

  .carousel-item {
    height: 40vh;
  }

  .carousel-caption {
    padding: 1rem;
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.5rem 1rem;
  }
}

