/* AI Consultancy Specific Styles */
/* =========================
   MOBILE BACKGROUND IMAGE
========================= */
@media (max-width: 768px) {
  section.ai-hero{
    height: auto;
    padding-top: 100px!important;
    padding-bottom: 40px !important;
  }
  .highlight-badge{
    width: 100%;
  }
  .hero-cta{
    display: flex;
    flex-direction: column;
  }
  .hero-image img{
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}
.hero-content{
  align-items: center;
}
.ai-hero .btn-primary{
  background-color: #ffffff;
  color: #0066cc;
}
.feature-item i{
  color: #ffffff;
}
.ai-hero {
  background: linear-gradient(135deg, #007bff, #d9f5ff);
  color: white;
  padding-top: 200px;
  padding-bottom: 100px;
  height: auto;
}

.ai-badge {
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}
.subtitle{
  color:white
}
.btn-secondary {
  background-color: white;
  color: #0066cc;
  border: 1px solid #0066cc;
  padding: 8px;
  border-radius: 20px;
}

.btn-secondary:hover {
  background-color: #0066cc;
  color:white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ai-card1, .ai-card2, .ai-card3, .ai-card4{
  box-shadow: var(--shadow);
  padding: 30px;
  border: 1px solid #62cff4;
  border-radius: 10px;
  margin-top: 20px;
}
.ai-card2{
  position: relative;
}
.head-div{
  display: flex;
  align-items: center;
}
.ai-card2.highlight-badge {
  padding: 3px 0px 0px 25px;
  background-color: #57b657;
  color: white;
  height: 30px;
  width: 150px;
  position: absolute;
}
.ai-head{
  font-size: 20px;
}
.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ai-feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative;
}

.ai-feature-card:hover {
  transform: translateY(-5px);
}

.ai-feature-icon {
  font-size: 2.5rem;
  color: #4a6cf7;
  margin-bottom: 1rem;
}

.ai-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Card */
.ai-service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);

  display: grid;
  grid-template-rows: 120px 1fr; /* header | body */

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Header (same height for all) */
.ai-service-header {
  color: white;
  padding: 1.5rem;
  text-align: center;

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

/* Header color variants */
.header-blue {
  background-color: #4a6cf7;
}

.header-green {
  background-color: var(--secondary-dark);
}

.header-orange {
  background-color: var(--accent-color);
}

/* Body */
.ai-service-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

/* List */
.ai-service-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.ai-service-body li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.2rem;
}

.ai-service-body li::before {
  content: "•";
  color: #4a6cf7;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Button always at bottom */
.ai-service-body a,
.ai-service-body button {
  margin-top: auto;
}
.ai-applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ai-application-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
}

.application-icon {
  font-size: 2.5rem;
  color: #4a6cf7;
  margin-bottom: 1rem;
}

.ai-application-card h3 {
  margin-bottom: 1rem;
}

.ai-application-card ul {
  text-align: left;
  margin-top: 1rem;
}

.ai-application-card li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: .5rem;
  color: #000000;
  
}


.tool-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 32px; /* 🔥 forces same height everywhere */
}

.tool-header {
  margin: 10;
  white-space: nowrap;
  font-size: 25px;
}
/* =========================
   MIDJOURNEY PRO CARD
========================= */

/* Card container (for badge positioning) */
.ai-tool-card.highlighted {
  position: relative;
  padding-bottom: 30px;
  border: 2px solid #c7f2a7;
}

/* Creative Favorite badge (top-right) */


/* Optional hover emphasis for Midjourney card */
.ai-tool-card.highlighted:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(76, 175, 80, 0.25);
}

/* Ensure body layout remains stable */
.ai-tool-card.highlighted .ai-tool-body {
  display: flex;
  flex-direction: column;
}

/* Button stays at bottom */
.ai-tool-card.highlighted .ai-tool-body a,
.ai-tool-card.highlighted .ai-tool-body button {
  margin-top: auto;
}

/* Invisible badge for alignment */
.highlight-badge1.placeholder {
  visibility: hidden; /* keeps space but hides badge */
}
.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ai-tool-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative;
  border: 2px solid #c7f2a7;
}

.ai-tool-card:hover {
  transform: translateY(-5px);
}

.ai-tool-logo {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.ai-tool-logo img {
  max-height: 80px;
  width: auto;
}

.ai-tool-body {
  padding: 1.5rem;
  font-size: 14px;
}

.ai-tool-feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.ai-tool-feature i {
  color: #4a6cf7;
  margin-right: 0.5rem;
  margin-left: 10px;
}
.highlight-badge1{
  height: 30px;
  width: 200px;
  padding-top: 10px;
  background-color: #57b657;
  color: white;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Individual step */
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Step number */
.step-number {
  background: #4a6cf7;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

/* Content card */
.step-content {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  flex-grow: 1;
}

/* Header row */
.process-head-div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.process-head-div h3 {
  margin: 0;
}

/* Description */
.step-content p {
  margin: 0.2rem 0 0 0;
  line-height: 1.6;
}
.cta-content p{
  color:white;
}
/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .step-content {
    padding: 1.25rem;
  }

  .process-head-div {
    gap: 0.5rem;
  }

  .step-content p {
    margin-top: 0.5rem;
  }
}

/* =========================
   SMALL MOBILE (PHONES)
========================= */
@media (max-width: 480px) {
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .step-content {
    padding: 1rem;
  }

  .process-head-div h3 {
    font-size: 1rem;
  }

  .step-content p {
    font-size: 0.9rem;
  }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  .ai-hero .hero-content {
    flex-direction: column;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-content {
    width: 100%;
  }
}

/* RTL Specific Styles for AI Consultancy */
html[dir="rtl"] body {
  text-align: right;
  direction: rtl;
}

/* Navigation */
html[dir="rtl"] .nav-links ul {
  padding-right: 0;
}

html[dir="rtl"] .dropdown-content {
  right: 0;
  left: auto;
  text-align: right;
}

/* Hero Section */
html[dir="rtl"] .hero-content {
  flex-direction: row-reverse;
}

/* Feature Cards */
html[dir="rtl"] .ai-feature-card li:before,
html[dir="rtl"] .ai-application-card li:before {
  right: 0;
  left: auto;
  padding-right: 1.5rem;
  padding-left: 0;
}

/* Process Steps */
html[dir="rtl"] .process-step {
  flex-direction: row-reverse;
}

/* Form Elements */
html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group textarea,
html[dir="rtl"] .form-group select {
  text-align: right;
}

/* Buttons */
html[dir="rtl"] .btn-primary i,
html[dir="rtl"] .btn-secondary i {
  margin-right: 0.5rem;
  margin-left: 0;
  transform: rotate(180deg);
}

/* Footer */
html[dir="rtl"] .footer-grid {
  direction: rtl;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  html[dir="rtl"] .hero-content {
    flex-direction: column;
  }
  
  html[dir="rtl"] .process-step {
    flex-direction: column-reverse;
  }
}
.info-content a,p{
  font-size: 12px;
}
.info-content h3{
  font-size: 20px;
}
.info-icon{
  height: 40px;
  width: 40px;
}