/* AEO / GEO Landing Page Custom Styles
================================================== */

/* Hero section adjustments */
@media (max-width: 768px) {
  .hero-btn {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-btn .btn {
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
  }
  
  .techwix-hero-section {
    padding: 60px 0 !important;
  }
  
  .hero-content h2.title {
    font-size: 32px !important;
  }
}

/* Responsive adjustments for 4-box grid */
@media (max-width: 768px) {
  .row[style*="display: flex"] .col-md-3 {
    width: calc(50% - 20px);
    flex: none;
  }
}

@media (max-width: 480px) {
  .row[style*="display: flex"] .col-md-3 {
    width: 100%;
    flex: none;
  }
}

/* Card hover effects */
.os-card {
  transition: all 0.3s ease;
}

.os-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.os-card-1 {
  background: #e2e1e1;
}

.os-card-2 {
  background: #e9e9e9;
}

.os-card:hover .os-number {
  color: #ffffff;
}

.os-card:hover .os-title {
  color: #ffffff;
}

.os-card:hover p {
  color: #ffffff !important;
}

/* Number styling */
.os-number {
  font-weight: 700;
  color: #dd3f03;
  line-height: 1;
  transition: color 0.3s ease;
}

/* CTA section responsive */
@media (max-width: 768px) {
  .cta-wrap {
    padding: 40px 30px !important;
  }
  
  .cta-wrap .title {
    font-size: 28px !important;
  }
  
  .cta-wrap h3 {
    font-size: 24px !important;
  }
  
  .cta-wrap .hero-btn {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-wrap .hero-btn .btn {
    margin: 0 !important;
  }
}

/* Image responsiveness */
.about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Remove orange square shape from about section */
.about-img-warp-3 .shape-1 {
  display: none;
}

/* Ensure proper spacing */
.about-list-item {
  margin-bottom: 12px;
}

.about-list-item:last-child {
  margin-bottom: 0;
}


/* AEO / GEO Landing Page - Mobile Responsive Fixes
================================================== */

/* Fix for AEO + GEO cards on mobile */
@media (max-width: 767px) {
    /* Target the existing grid containers - exact match to your inline style */
    .os-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    .os-grid[style*="repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Fix for the requirements boxes - exact match */
    .row[style*="display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;"] {
        flex-direction: column !important;
    }
    
    .row[style*="display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;"] [class*="col-md-3"] {
        width: 100% !important;
        margin-bottom: 20px;
        flex: none !important;
        min-width: auto !important;
    }
}

/* Tablet adjustments - optional */
@media (max-width: 1024px) and (min-width: 768px) {
    .os-grid[style*="repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Hero buttons fix on mobile */
@media (max-width: 767px) {
    .hero-btn {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btn .btn-services {
        margin-left: 0 !important;
    }
}

/* Remove any unwanted orange shapes */
.about-img-warp-3 .shape-1 {
    display: none;
}


/* AEO / GEO Landing Page Custom Styles
================================================== */

/* Hero section adjustments */
@media (max-width: 768px) {
  .hero-btn {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-btn .btn {
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
  }
  
  .techwix-hero-section {
    padding: 60px 0 !important;
  }
  
  .hero-content h2.title {
    font-size: 32px !important;
  }
}

/* Responsive adjustments for 4-box grid */
@media (max-width: 768px) {
  .row[style*="display: flex"] .col-md-3 {
    width: calc(50% - 20px);
    flex: none;
  }
}

@media (max-width: 480px) {
  .row[style*="display: flex"] .col-md-3 {
    width: 100%;
    flex: none;
  }
}

/* Card hover effects */
.os-card {
  transition: all 0.3s ease;
}

.os-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.os-card-1 {
  background: #e2e1e1;
}

.os-card-2 {
  background: #e9e9e9;
}

.os-card:hover .os-number {
  color: #ffffff;
}

.os-card:hover .os-title {
  color: #ffffff;
}

.os-card:hover p {
  color: #ffffff !important;
}

/* Number styling */
.os-number {
  font-weight: 700;
  color: #dd3f03;
  line-height: 1;
  transition: color 0.3s ease;
}

/* CTA section responsive */
@media (max-width: 768px) {
  .cta-wrap {
    padding: 40px 30px !important;
  }
  
  .cta-wrap .title {
    font-size: 28px !important;
  }
  
  .cta-wrap h3 {
    font-size: 24px !important;
  }
  
  .cta-wrap .hero-btn {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-wrap .hero-btn .btn {
    margin: 0 !important;
  }
}

/* Image responsiveness */
.about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Remove orange square shape from about section */
.about-img-warp-3 .shape-1 {
  display: none;
}

/* Ensure proper spacing */
.about-list-item {
  margin-bottom: 12px;
}

.about-list-item:last-child {
  margin-bottom: 0;
}

/* AEO / GEO Landing Page - Mobile Responsive Fixes
================================================== */

/* Fix for AEO + GEO cards on mobile */
@media (max-width: 767px) {
    /* Target the existing grid containers - exact match to your inline style */
    .os-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    .os-grid[style*="repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Fix for the requirements boxes - exact match */
    .row[style*="display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;"] {
        flex-direction: column !important;
    }
    
    .row[style*="display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;"] [class*="col-md-3"] {
        width: 100% !important;
        margin-bottom: 20px;
        flex: none !important;
        min-width: auto !important;
    }
}

/* Tablet adjustments - optional */
@media (max-width: 1024px) and (min-width: 768px) {
    .os-grid[style*="repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Hero buttons fix on mobile */
@media (max-width: 767px) {
    .hero-btn {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btn .btn-services {
        margin-left: 0 !important;
    }
}

/* Remove any unwanted orange shapes */
.about-img-warp-3 .shape-1 {
    display: none;
}