/* admin-solutions.css */
:root {
  --primary: #2c3e50 !important;
  --primary-dark: #1a252f !important;
  --secondary: #3498db !important;
  --accent: #2ecc71 !important;
  --accent-alt: #9b59b6 !important;
  --warning: #f39c12 !important;
  --light: #f8f9fa !important;
  --dark: #2c3e50 !important;
  --gray-light: #ecf0f1 !important;
  --gray: #7f8c8d !important;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  --font-main: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Section Header */
.section-header {
  position: relative;
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
  color: white;
  overflow: hidden;
  margin-top: 100px;
}

.section-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,70 Q50,40 100,70 L100,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  font-weight: 300;
}

/* Admin Service Cards */
.admin-service-card {
  background: white;
  border-radius: 1.2rem;
  padding: 2.8rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-left: 5px solid;
}

.admin-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.admin-service-card:hover::before {
  opacity: 1;
}

.admin-service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: white;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon-wrapper::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
  animation: pulse 2s infinite;
}

.admin-service-card.crm { border-left-color: #3498db; }
.admin-service-card.crm .service-icon-wrapper { background: linear-gradient(135deg, #3498db, #2980b9); }

.admin-service-card.executive { border-left-color: #9b59b6; }
.admin-service-card.executive .service-icon-wrapper { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

.admin-service-card.ecommerce { border-left-color: #e74c3c; }
.admin-service-card.ecommerce .service-icon-wrapper { background: linear-gradient(135deg, #e74c3c, #c0392b); }

.admin-service-card h3 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.service-features li {
  padding: 0.6rem 0;
  position: relative;
  padding-left: 2.2rem;
  font-size: 1.05rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Process Flow */
.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 3rem 0;
  position: relative;
}

.process-flow::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent-alt));
  z-index: 1;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--secondary);
  transition: var(--transition);
}

.process-step:hover .step-circle {
  transform: scale(1.1);
  background: var(--secondary);
  color: white;
}

.step-content {
  background: white;
  padding: 1.5rem;
  border-radius: 0.8rem;
  box-shadow: var(--shadow);
}

/* Stats Dashboard */
.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--secondary);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

/* Testimonial */
.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  margin: 2rem 0;
}

.testimonial-card::before {
  content: "❝";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: var(--gray-light);
  opacity: 0.5;
}

/* CTA Section */
.cta-admin {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
  margin: 0; /* Removed margin so it sits flush at the bottom */
  position: relative;
  overflow: hidden;
}

.cta-admin::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 Q50,100 100,0 L100,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
}

.btn-admin {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  margin-top: 2rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-admin:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 5s ease-in-out infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section-header { margin-top: 80px; }
  .admin-service-card { padding: 2.2rem; }
  .process-flow { flex-direction: column; }
  .process-flow::before { display: none; }
  .process-step { margin-bottom: 2rem; }
}

@media (max-width: 768px) {
  .section-header { padding: 4rem 0 3rem; }
  .service-icon-wrapper { width: 70px; height: 70px; font-size: 2rem; }
  .admin-service-card h3 { font-size: 1.6rem; }
}

/* Utility Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}