/* EV AI specific styles */
.ev-ai-section {
  background-color: #121212;
  padding: 50px 0;  /* Changed from negative margin to positive padding */
}
/* Adjust sub_page styling */
.sub_page {
  background-color: #121212;
  min-height: auto;  /* Changed from 100vh */
}
/* Override layout padding for this page specifically */
.service_section.layout_padding.ev-ai-section {
  padding-top: 50px !important;  /* Changed from 0 to positive padding */
  padding-bottom: 50px;
}
/* Adjust hero area for sub_page */
.sub_page .hero_area {
  min-height: auto;
}


.service_section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Adjust heading container spacing */
.ev-ai-section .heading_container {
  margin: 0 0 40px 0;
  padding-top: 20px;  /* Added some padding at the top */
}


.ev-ai-section .detail-box {
    padding: 30px; 
    background: #121212;
    margin: 15px auto;
    max-width: 1200px;
    width: 100%;
}

.ev-ai-section .detail-box h3 {
    color: #ffd700;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.ev-ai-section .detail-box p {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

/* Adjusted bullet points styling */
.ev-ai-section .detail-box ul {
    list-style: none;
    padding-left: 0;  /* Changed from 20px */
    margin: 25px 0;
}

.ev-ai-section .detail-box ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;  /* Changed from center */
}

.ev-ai-section .detail-box ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-size: 20px;
    line-height: 1.2;
    margin-left: 150px;  /* Removed 110px margin */
}

.ev-ai-container {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 60px;  /* Reduced from 100px */
   padding: 30px 0;
   width: 100%;
}

.ev-ai-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 30px;
   width: 100%;
   max-width: 1000px;
   margin: 0 auto;
}

/* Rest of your styles remain the same */
.ev-ai-box {
  width: 900px;
  background-color: #121212 !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  border: 2px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Keep the rest of your existing styles... */

/* Added responsive improvements */
@media (max-width: 1200px) {
  .ev-ai-box, 
  .ev-ai-description {
    width: 90%;
  }
  
  .ev-ai-box .img-box {
    height: 600px;
  }
}

@media (max-width: 992px) {
  .ev-ai-container {
    gap: 40px;  /* Further reduced gap for smaller screens */
  }
  
  .ev-ai-section {
    padding: 30px 0;  /* Reduced padding for smaller screens */
  }
}

/* Update Dropdown menu styling */
.dropdown-menu {
  background-color: #5f5f5f !important;
  border: none;
  margin-top: 0;
  padding: 0 !important;
  width: 200px !important;  /* Increased from 180px to 200px */
  left: 50% !important;
  transform: translateX(-50%) !important;
  overflow: hidden !important;
  border-radius: 35px !important;
  min-width: unset !important;
}

/* Make sure the parent container is properly sized */
.nav-item.dropdown {
  display: inline-block;
  position: relative;
}

.dropdown-item {
  color: #ffd700 !important;
  padding: 7px 20px;
  font-size: 14px;
  text-transform: uppercase;
  background-color: #5f5f5f !important;
  text-align: center;
  border-radius: 0 !important;
  white-space: nowrap;  /* Ensure text doesn't wrap */
  width: 100%;  /* Ensure item takes full width */
}

/* Specific styling for Partner dropdown */
#solutionsDropdown + .dropdown-menu {
  width: 200px !important;  /* Match the width above */
  left: 50% !important;
  transform: translateX(-50%) !important;
}


/* Update the ev-ai-description styling */
.ev-ai-description {
  text-align: center;
  width: 900px;
  padding: 30px;
  background-color: rgba(18, 18, 18, 0.95);
  border-radius: 10px;
  margin-top: 20px;  /* Add space between image and description */
}

.ev-ai-description h4 {
  color: #ffd700;
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
}

.ev-ai-description p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: center;
}

/* Update the features list styling */
.ev-ai-description .features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ev-ai-description .features li {
  color: #ffffff;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;  /* Changed to left alignment */
  margin-bottom: 15px;
}

.ev-ai-description .features li:before {
  content: "•";
  color: #ffd700;
  position: absolute;
  left: 0;
  font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .ev-ai-description {
    width: 90%;
  }
}