/* Custom CSS for red and black theme with Bootstrap */
:root {
  --primary-red: #fc1817;
  --secondary-red: #9b1717;
  --dark-black: #000000;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
}
body {
  font-family: "Roboto Serif", serif;
}

/* Primary color overrides */
.btn-primary {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.btn-primary:hover {
  background-color: var(--secondary-red);
  border-color: var(--secondary-red);
}

.btn-outline-primary {
  color: var(--primary-red);
  border-color: var(--primary-red);
}

.btn-outline-primary:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.text-primary {
  color: var(--primary-red) !important;
}

.navbar-brand {
  width: 150px;
  height: auto;
}
.navbar-brand img {
  width: 100%;
  height: auto;
}

.nav-link:hover {
  color: var(--primary-red) !important;
}

.section {
  padding: 80px 0;
}
/* Hero section styling */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* client section  */
.partners-section {
  background-color: #000000;
}
.partner-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  height: 100px;
}
.partner-item img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}
/* Owl Carousel Customizations */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  font-size: 2em;
  color: #ffffff;
  background: none;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.owl-carousel .owl-nav button.owl-prev {
  left: -30px;
}
.owl-carousel .owl-nav button.owl-next {
  right: -30px;
}
.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}
.owl-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
}
.owl-carousel .owl-dot span {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  display: block;
  transition: background 0.3s ease;
}
.owl-carousel .owl-dot.active span {
  background: #333;
}
@media (max-width: 600px) {
  .partners-section h2 {
    font-size: 2em;
  }
  .partner-item {
    height: 120px;
  }
  .partner-item img {
    max-height: 80px;
  }
}

/* Service cards */

.service-card {
  transition: all 0.3s ease;
  border: 2px solid transparent !important;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red) !important;
  box-shadow: 0 10px 30px rgba(200, 16, 46, 0.1) !important;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(200, 16, 46, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-red);
}

.service-card:hover .service-icon {
  background: rgba(200, 16, 46, 0.2);
}

/* why choose  */
.why-choose-us {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}
.why-choose-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.why-choose-img img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.text-red {
  color: #fc1817;
}

/* case study section  */
.case-study-item {
  background: #fff;
  border-radius: 10px;
  border: 2px solid transparent;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: left;
  height: 100%;
}
.case-study-item:hover {
  border: 2px solid #fc1817;
  transform: translateY(-5px);
}
.case-study-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.case-study-item .metrics i {
  color: #fc1817;
  margin-right: 8px;
}

/* Stats section */
.section-border {
  border: 2px solid #fc1817;
  border-radius: 20px;
}
.stat-item {
  padding: 2rem 1rem;
}

/* Contact section */
.contact-info i {
  width: 20px;
  text-align: center;
}

/* Form styling */
.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
}

/* Footer */
footer a:hover {
  color: var(--primary-red) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  section {
    padding: 40px;
  }
  .hero-section {
    min-height: 60vh;
    padding: 3rem 0;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Additional hover effects */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
}
