/* ==============================
   RESET + GLOBAL
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==============================
   TOP BAR
============================== */
.top-bar {
  height: 45px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(
    -45deg,
    #c82333 0%,
    #c82333 50%,
    #1d3b70 50%,
    #1d3b70 100%
  );
}

/* ==============================
   NAVBAR + DROPDOWNS
============================== */
.navbar {
  background: #d8d5d5;
  padding: 12px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.navbar-nav {
  display: flex;
  gap: 20px;
}

.navbar-nav .nav-link {
  color: #222;
  font-weight: 500;
  padding: 6px 10px;
}

.navbar-nav .nav-link:hover {
  color: #c82333;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #e2e2e4;
  border-radius: 8px;
  margin-top: 10px;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(15, 15, 15, 0.767);
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
}

/* .hero {
  background: url("{% static 'img/banner/redonion.webp' %}") center / cover no-repeat;
  height: 70vh;
  
} */

/*==================hero======================*/

.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color:#fff;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}


.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(17, 17, 17, 0.7); /* semi-transparent overlay */
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .btn-get-started {
border: 2px solid rgb(224, 34, 59);
  color: var(--contrast-color);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
}

/* ==============================
   PRODUCT CARDS
============================== */
.product-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-container {
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-container:hover img {
  transform: scale(1.1);
}

.product-card .card-body {
  padding: 16px;
}

.product-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ==============================
   ABOUT SECTION
============================== */
.about-section {
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
  padding: 70px 25px;
  border-radius: 10px;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-img {
  flex: 1 1 350px;
  max-width: 450px;
  border-radius: 12px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.about-text {
  flex: 1 1 400px;
}

.about-title {
  color: #c82333;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.view-btn {
  background-color: #c82333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.view-btn:hover {
  background-color: #a30000;
}

/* ==============================
   FOOTER
============================== */
.footer {
  background-color: #111;
  padding: 50px 20px;
  color: #ddd;
}

.footer h5 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #fff;
}

.footer a {
  color: #bbb;
}

.footer a:hover {
  color: #ffc107 !important;
}

/* ==============================
   RESPONSIVE MEDIA QUERIES
============================== */
@media (max-width: 992px) {
  .image-container {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    margin-top: 20px;
  }

  .about-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .image-container {
    height: auto;
  }

  .product-card .card-body {
    padding: 12px;
  }

  .product-card .card-title {
    font-size: 1rem;
  }
}



#quote{
  background-color: #315197; /* Dark blue background similar to your image */
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
  margin: 0;
  padding: 20px;
}

.cards-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.quote-card {
  background-color: #d3d1cc;
  padding: 20px;
  width: 300px;
  border-radius: 0 50px 0 50px; /* Rounded top-right and bottom-left corners */
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  color: #222;
  position: relative;
}

.quote-card i {
  background-color: #ccc;
  color: #555;
  border-radius: 50%;
  padding: 10px;
  font-size: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

.quote-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.quote-card p {
  font-size: 0.95em;
  line-height: 1.5em;
}



/*=============testimonial===============*/

#testimonials {
  background-color: #f5f5f5; /* Light background */
  color: #333;
  padding: 80px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

#testimonials h2 {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #222;
}

.testimonial-carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  justify-content: center;
  position: relative;
}

.testimonial-card {
  background-color: #ffffff; /* Card color */
  padding: 30px 20px;
  border-radius: 15px;
  width: 300px;
  margin: 0 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.testimonial-card p {
  font-size: 0.95em;
  line-height: 1.5em;
  margin-bottom: 20px;
}

.testimonial-card h4 {
  font-size: 1.1em;
  margin-bottom: 5px;
  color: #0c1e44;
}

.testimonial-card span {
  font-size: 0.9em;
  color: #777;
}

/* Carousel buttons */
.testimonial-buttons {
  margin-top: 20px;
}

.testimonial-buttons button {
  background-color: #0c1e44;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.testimonial-buttons button:hover {
  background-color: #222f5a;
}

/*========home contact==========*/

/* Form box styling */
form .form-control, 
form .form-select, 
form textarea {
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .form-control, .form-select, textarea {
    font-size: 14px;
  }
  .btn {
    width: 100%;
  }
}
