/* header section css */
.header-section {
  background: linear-gradient(90deg, #1d1f33, #2c2f4d);
  /* background: #1d1f33; */
}

/* Highlight active menu item */
.nav-link.active,
.nav-link:hover {
  background-color: #0d6efd;
  color: white !important;
  border-radius: 5px;
}

.ai-kaddora{
  font-size: 40px;
  font-weight: bold;
  background: linear-gradient(90deg, #ff6a00, #ee0979, #00c6ff, #7d2ae8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;


  /* font-size: 100%;
  font-weight: bold;
  background: linear-gradient(270deg, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 5s linear infinite; */
}

/* front page css */
.front-page {
  background: linear-gradient(
    135deg,
    #1d1f33,
    #2c2f4d,
    #3b82f6,
    #2c2f4d,
    #1d1f33,
    #3b82f6,
    #2c2f4d,
    #1d1f33
  );
  color: #ffffff;
  padding-top: 7rem;
  padding-bottom: 3rem;
  /* margin: 50px; */
}

.gradient-text {
  background: linear-gradient(to right, #3b82f6, #2c2f4d, #1d1f33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-image img {
  max-height: 15rem;
}

.hero-image {
  gap: 10;
}

.gradient-btn {
  background: linear-gradient(90deg, #8e2de2, #4facfe);
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.gradient-btn:hover {
  opacity: 1;
  transform: scale(1.08);
  color: white;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25); /* stronger on hover */
}

.custom-input {
  border: 2px solid #2c2f4d;
  transition: 0.3s ease-in-out;
}

.custom-input:hover,
.custom-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 20px #3b82f6;
}

/* card css */
/* bg-gradient text-white h-100 shadow border-0 */

.custom-card {
  background: linear-gradient(to right, #3b82f6, #2c2f4d);
}

/* footer css */
.footer-page {
  background: linear-gradient(90deg, #1d1f33, #2c2f4d);
  color: #e5e7eb;
  text-decoration: none;
}
.text-style {
  color: #e5e7eb;
  text-decoration: none;
}

.text-style :hover {
  color: #d6b5ff;
}

.feature-grid {
  padding: 0 10%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: minmax(300px, auto);
  gap: 20px;
}

.feature-card {
  border-radius: 20px;
  background: linear-gradient(to bottom right, #2c2f4d, #4f46e5);
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: scale(1.02);
  background: linear-gradient(to bottom right, #4f46e5, #2c2f4d);
}

.feature-card.large {
  grid-row: span 2;
  grid-column: span 2;
}

.feature-card.medium {
  grid-row: span 1;
  grid-column: span 2;
}

.feature-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  z-index: 1;
}

.feature-card h5 {
  font-weight: bold;
  z-index: 2;
  margin-top: auto;
}

.feature-card p {
  z-index: 2;
  font-size: 0.9rem;
  font-weight: 700;
}

.section-title {
  text-align: center;
  margin: 40px 0 10px;
}

.feature-grid img {
  width: 100%;
  height: 100%;
}

.card-overlay {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(70%); /* Dim the image for better text visibility */
}

.card-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 0 10px;
  z-index: 2;
}

.card-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card-text p {
  font-size: 0.9rem;
}

.count-trusted {
  background: linear-gradient(135deg, #1d1f33, #3b82f6);
  color: whitesmoke;
}

a.text-white:hover {
  color: #0d6efd !important; /* Bootstrap primary color on hover */
  transition: color 0.3s ease;
}

.hover-header li:hover {
  /* background-color: #ffffff; */
  text-decoration: #000000 !important;
  box-shadow: 5px 12px 24px rgb(244, 240, 240);
}

/* Enable dropdown on hover */
.navbar-nav .dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0;
  animation: fadeIn 0.3s ease-in-out;
}

.dropdown-item {
  color: whitesmoke;
}

.dropdown-item:hover {
  color: gold;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu {
  background: radial-gradient(#1d1f33, #2c2f4d, #3b82f6);
}

.dropdown-menu .dropdown-item:hover {
  background-color: transparent !important;
  color: gold; /* example hover text color */
  font-weight: 800;
  font-size: large;
  text-decoration: underline;
}

.footer-page {
  position: relative;
  overflow: hidden; /* ensures images don't affect layout */
  background-color: #111; /* or your preferred footer bg */
}

/* Left Decorative Image */
.footer-decor-left {
  position: absolute;
  bottom: 0;
  left: -50px; /* half outside */
  height: 150px; /* adjust as needed */
  z-index: 1;
}

/* Right Decorative Image */
.footer-decor-right {
  position: absolute;
  bottom: 0;
  right: -30px; /* half outside */
  height: 150px; /* adjust as needed */
  z-index: 1;
}

/* tools and demos css */
.tools-section {
  background: linear-gradient(
    135deg,
    #1d1f33,
    #2c2f4d,
    #3b82f6,
    #2c2f4d,
    #1d1f33,
    #3b82f6,
    #2c2f4d,
    #1d1f33
  );
}

/* pricing page css */
.pricing-card {
  background-color: #1e1e2f;
  border-radius: 10px;
  padding: 30px;
  transition: 0.3s ease-in-out;
}

.pricing-card:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
}

.btn-outline-light:hover {
  background: white;
  color: black;
}
