/* Base Styles */
body {
  font-family: "Urbanist", sans-serif;
}

.navbar-brand img {
  width: 80px;
  height: 40px;
}

.navbar,
.navbar-nav,
.nav-item {
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-weight: bold;
}

.navbar .nav-link,
.navbar .dropdown-item {
  color: #0b173b !important;
}

.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
  color: #084dca !important;
}

/* Hero Section */
.hero-section {
  background-image: url("../images/background.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;
  min-height: 200px;
  position: relative;
  color: white;
  background-color: #1a1a1a;
}

.hero-heading {
  font-size: 2.7rem;
}

.text-highlight {
  color: white;
}

/* Contact Button */
.contact-btn-wrapper {
  display: inline-block;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14% 100%);
  background-color: #007bff;
  color: #fff !important;
  font-weight: 500;
  border: none;
  padding: 20px 70px 20px 180px;
  transition: all 0.3s ease-in-out;
  line-height: 1;
  text-decoration: none;
}

.contact-btn-wrapper a {
  border-radius: 25px;
  background-color: #fff;
  padding: 20px 17px;
  margin: 10px 0;
  text-decoration: none;
}

.contact-nav-btn a {
  text-decoration: none;
}

.contact-nav-btn:hover {
  background-color: #002733;
  color: #fff;
}

/* Dropdown Customization */
.navbar .dropdown-toggle::after {
  display: none !important;
}

.custom-dropdown {
  min-width: 500px;
  width: 450px;
}

.dropdown-columns {
  display: flex;
  gap: 2rem;
}

.dropdown-col {
  flex: 1;
}

.dropdown-col .dropdown-item {
  padding: 0.25rem 0;
  white-space: normal;
}

.dropdown-menu {
  background-color: #fff !important;
  border-bottom-right-radius: 25px !important;
  overflow: hidden !important;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Feature Card */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.feature-icon {
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(-5deg);
}

/* Custom Section */
.custom-section-para p {
  font-size: 12pt;
}

.why-redix-img img {
  border-top-right-radius: 0;
}

/* Section Styling */
.section-heading {
  font-weight: bold;
  margin-bottom: 20px;
}

.section-main-heading {
  color: #0d5ff9;
}

.section-button {
  background-color: #0d5ff9;
  font-size: 12pt;
  padding: 7px 20px;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
}

.section-button:hover {
  background-color: #002733;
  color: #fff;
}

.heading-small {
  font-size: 1.2rem;
  font-weight: bold;
}

.para-small {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 10px;
}

/* Clients Section */
.first-row,
.second-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.column {
  width: 48%;
}

.rounded-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-box {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}

.image-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-box .box-content {
  position: absolute;
  bottom: 250px;
  left: -186px;
  width: 107%;
  font-size: 0.9rem;
  background-color: #fff;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  color: #333;
  line-height: 1.6;
  z-index: 2;
}

.image-box .box-content a {
  color: #0d5ff9;
  text-decoration: none;
}

.image-box .box-content a:hover {
  text-decoration: underline;
}

.img-rounded-10 {
  border-radius: 10px;
}

/* Footer */
footer {
  background: #002733 !important;
  color: #ffffff !important;
}

.footer-heading {
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 2px solid #0d6efd;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-link {
  color: #dddddd;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer h6 {
  font-size: 1rem;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-section {
    background-image: url("background.png");
    background-repeat: no-repeat;
    background-position: 90% 50%, bottom right;
    background-size: 100% 100%;
  }
}

@media (max-width: 768px) {
  .navbar {
    align-items: center !important;
  }

  .navbar-collapse {
    justify-content: center !important;
    text-align: center;
  }

  .navbar-nav {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
  }

  .navbar-toggler {
    margin: 0 auto 10px;
  }

  .contact-btn-wrapper {
    padding: 0;
    clip-path: none;
    width: 100%;
    text-align: center;
  }

  .contact-btn-wrapper a {
    padding: 15px 30px;
    display: inline-block;
    width: auto;
    margin: 10px auto;
  }

  .navbar-logo {
    text-align: center;
    width: 100%;
    margin: 10px 60px 10px 0;
    padding: 0;
  }

  .navbar-logo a {
    display: inline-block;
  }

  .image-box {
    max-width: 100%;
  }

  .image-box .box-content {
    font-size: 0.85rem;
    width: 100%;
    bottom: -20px;
    left: revert-layer;
  }

  footer ul {
    padding-left: 0;
  }

  .footer-heading,
  .footer-link {
    text-align: center !important;
    display: block;
    margin-bottom: 6px;
  }
}

/* iPhone 16 Portrait (approx. 390px width) */
@media only screen and (max-width: 420px) {
  .hero-heading {
    font-size: 1.8rem;
  }

  .contact-btn-wrapper {
    padding: 0;
    clip-path: none;
    width: 100%;
    text-align: center;
  }

  .contact-btn-wrapper a {
    padding: 12px 20px;
    font-size: 0.95rem;
    margin: 10px auto;
    display: inline-block;
  }

  .image-box .box-content {
    font-size: 0.8rem;
    padding: 10px;
    bottom: -10px;
    left: 0;
    width: 100%;
  }

  .navbar-nav {
    font-size: 15px;
  }
}

/* iPhone 16 Landscape (approx. 844px width) */
@media only screen and (max-width: 900px) and (orientation: landscape) {
  .hero-heading {
    font-size: 2.2rem;
  }

  .navbar-nav {
    flex-direction: row !important;
    justify-content: space-around;
    padding: 10px 0;
  }

  .dropdown-columns {
    flex-direction: column;
    gap: 1rem;
  }

  .custom-dropdown {
    width: 100%;
    min-width: unset;
  }

  .image-box .box-content {
    width: 100%;
    bottom: 0;
    font-size: 0.9rem;
    padding: 10px;
  }
}
