/* ====================
   NEW STYLES FOR ENHANCED HOMEPAGE
   ==================== */

/* Steps Section */
@media(max-width:768px){
  section.hero{
    padding-top: 50px;
    height:auto;
  }
  .hero-image img{
    height: auto;
    width: 100%;
    border-radius: 10px;
  }
  .hero-cta{
    display: flex;
    flex-direction: column;
  }
  .btn-primary2{
    width:auto;
  }
  .adv-card2 .featured-badge{
    width: 100%;
  }
  .btn-primary1{
    width: 100%;
    font-size: 12px;
  }
  .advantage-content{
    text-align: center;
  }
  .adv-card1, .adv-card3, .adv-card4{
  border: none;
  box-shadow: var(--shadow);
  padding: 30px;
  padding-bottom: 40px;
  text-align: center;
}
.adv-card2{
  text-align: center;
}
  .hero-features span{
    font-size: 11px;
  }
  .ai-card{
    padding-bottom: 80px;
  }
}
section.hero{
  padding-top: 150px;
  padding-bottom: 50px;
}
.hero h1 span{
  color: #00356e;
}
.hero .subtitle{
  color: white;
}
.hero-content{
  align-items: center;
}
.feature-item i{
  color: #007bff;
}
.feature-item span{
  color: white;
}
.erp-cta{
  align-items: center;
}
.hero{
  background: linear-gradient(135deg, #007bff, #d9f5ff);
  height: auto;
}
.steps-section {
  padding: var(--space-3xl) 0;
  background-color: var(--light-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.step-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.step-card {
  background: var(--lighter-color);
  border-radius: var(--rounded-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  text-align: center;
}

.step-card.highlighted {
  box-shadow: var(--shadow);
  border: 2px solid #62cff4;
}
.step-card.highlighted .highlight-badge{
  border-radius:0px;
}
.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 auto var(--space-md);
}
.head-text-3 {
  font-size: 25px;
}
/* Enhanced Hero Styles */
.hero h1{
  color: white;
}
.hero-cta .btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: auto;
  background: white;
  color: #007bff;
}
.btn-secondary-home{
  border-radius: 18px;
  background-color: white;
  border: 1px solid #0c85c1;
  padding: 20px 20px;
  font-size: 18px;
  height: auto;
  width: 100%;
}

.hero-cta .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: var(--transition);
}

.hero-cta .btn-primary:hover::after {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Service Card Enhancements */
.service-card .service-icon i {
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  transform: scale(1.2);
  color: var(--primary-color);
}
.btn-primary1{
  background-color: #4caf51;
  padding: 10px 25px 10px 25px;
  border-radius: 20px;
  color: white;
}
.cta-note{
  padding: 20px;
}
.section-cta{
  height: 100px;
  width: 100%;
  padding: 80px 0px 0px 20px;
}
.btn-primary2{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #4CAF50;
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;

  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary2:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  .section-cta2 {
    padding: 24px 16px;
  }

  .section-cta2 .btn-primary2 {
    max-width: 320px;
    margin: 0 auto;
    height: 50px;
    font-size: 12px;
  }
}
.service-card{
  border: none;
}
.service-card.highlighted{
  border: 1px solid #62cff4;
}
.ai-card-chatgpt,
.ai-card-genai,
.ai-card-textanalysis {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;

  padding: 32px;
  padding-bottom: 40px;

  overflow: hidden;
  border: .5px solid #62cff4;
  box-shadow: var(--shadow);
}

.ai-card-footer-genai {
  align-self: end;
  z-index: 2;
}
.ai-card-genai{
  border-radius: 0 0 8px 8px;
}
.highlight-badge {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0; /* RTL-safe replacement for left */

  width: 100%;
  height: 36px;

  background: linear-gradient(135deg, #62cff4, #4caf50);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 0 0 8px 8px;
}
.section-cta2 {
  width: 100%;
  padding: 40px 0;
  height: auto;       /* ✅ IMPORTANT */
  text-align: center;
}
.adv-card1,
.adv-card2,
.adv-card3,
.adv-card4 {
  border: none;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid #62cff4;
  padding: 40px 0px;
  padding-bottom: 50px;
}
.adv-card2{
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.adv-card2 .featured-badge{
  margin-top: auto;  
  top: 23px;
  border-radius: 0px;
}
.advantage-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto;
  flex-shrink: 0;
}

/* INNER SHARED ICON WRAPPER (CRITICAL FIX) */
.icon-wrapper {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}
.advantage-icon i,
.advantage-icon svg {
  font-size: 22px;    /* or width/height for svg */
  display: block;
}
.advantage-content h3{
  font-size: 18px;
}
.advantage-content p{
  padding: 0px 30px;
}
.para{
  color: white;
}

/* FOOTER BASE */
.footer {
  background: linear-gradient(180deg, #0b1628 0%, #0a1222 100%);
  color: #cfd6e4;
  padding: 70px 0 25px;
  font-size: 14px;
}

/* CONTAINER */
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
}

/* LOGO + ABOUT */
.footer-about {
  margin-top: 18px;
  line-height: 1.6;
  color: #aeb7c6;
}

/* HEADINGS */
.footer h3 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* LISTS */
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #8fa3c8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer ul li a:hover {
  color: #4da3ff;
}

/* NEWSLETTER */
.newsletter {
  margin-top: 25px;
}

.newsletter-form {
  display: flex;
  margin-top: 10px;
  margin-right: 10px;
}
.footer-email {
  flex: 1;
  padding: 8px 10px;
  border-radius: 0;
  border: none;
  outline: none;
  font-size: 15px;
  height: 30px;
}

.footer-button {
  background: #ffffff;
  border: none;
  padding: 0 12px;
  cursor: pointer;
  border-radius: 0;
  height: 30px;
}

.footer-button i {
  color: #0b1628;
}

/* SOCIAL ICONS */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  width: 34px;
  height: 34px;
  background: #007bff;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: #4aa84a;
}

/* DIVIDER */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #8fa3c8;
}

/* BOTTOM LINKS */
.footer-links a {
  color: #8fa3c8;
  margin-left: 15px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-links a {
    margin-left: 0;
    margin-right: 10px;
  }
}
/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    align-items: center;
    text-align: center;
  }


}
/* Responsive Adjustments */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .step-card {
    padding: var(--space-lg);
  }
  
  
  .hero-cta {
    justify-content: center;
  }
}
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    margin: 0 auto;            /* 🔥 horizontal centering */
    max-width: 400px;
    text-align: left;
  }
}
/* Animation for AI Focus */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(12, 132, 192, 0.7); }
  70% { box-shadow: 0 0 20px 10px rgba(12, 132, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 132, 192, 0); }
}

.ai-focus {
  animation: pulse-glow 2s infinite;
  position: relative;
}

.ai-focus::before {
  content: 'AI-Powered';
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--secondary-color);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
}