/* main.css - Consolidated Styles for Eplug Media */

/* ===== ROOT VARIABLES & GLOBAL STYLES ===== */
:root {
  --primary-pink: #e83e8c;
  --primary-purple: #8A2BE2;
  --dark-bg: #1a1a2e;
  --light-bg: #f8f9fa;
  --gradient-primary: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
  --gradient-secondary: linear-gradient(135deg, #e91e63, #8A2BE2);
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
  --border-radius: 15px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* ===== UTILITY CLASSES ===== */
.sp {
  padding: 80px 0;
}

.sec-bg1 {
  background-color: #f9f9ff;
}

.mt-16 { margin-top: 16px; }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-50 { margin-bottom: 50px; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TYPOGRAPHY & HEADINGS ===== */
.heading1 {
  margin-bottom: 30px;
}

.heading1 .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 62, 140, 0.1);
  color: var(--primary-pink);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 15px;
}

.heading1 h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #1a1a2e;
}

.heading1 p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.theme-btn1 {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(232, 62, 140, 0.3);
  border: none;
  cursor: pointer;
}

.theme-btn1:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 62, 140, 0.4);
  color: white;
  text-decoration: none;
}

.btn-primary-custom {
  background: var(--gradient-primary);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(232, 62, 140, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(232, 62, 140, 0.4);
  color: white;
  text-decoration: none;
}

.btn-outline-custom {
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  text-decoration: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  color: white;
  padding: 120px 0 100px;
  background: linear-gradient(120deg, rgba(25, 12, 85, 0.9), rgba(110, 16, 110, 0.8)), url('../assets/img/bg/hero1-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-pink);
  top: -150px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-purple);
  bottom: 100px;
  left: -50px;
  animation: float 6s ease-in-out infinite 1s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: #6f42c1;
  top: 50%;
  right: 20%;
  animation: float 10s ease-in-out infinite 2s;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(232, 62, 140, 0.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 62, 140, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-cta-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.trust-badges {
  margin-top: 20px;
}

.trusted-by {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.badges-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.audit-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-weight: 600;
}

.audit-form-inner {
  display: flex;
  gap: 10px;
}

.input-group {
  display: flex;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 20px;
  color: white;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.btn-audit {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 15px 25px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-audit:hover {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
}

.hero-stats {
  margin-top: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
  min-width: 60px;
  display: inline-block;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
  transform: perspective(800px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition);
}

.hero-img:hover {
  transform: perspective(800px) rotateY(0) rotateX(0);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.element {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  animation: float 6s ease-in-out infinite;
}

.element-1 {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.element-2 {
  top: 60%;
  right: -10px;
  animation-delay: 2s;
}

.element-3 {
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

/* ===== EVENT TAG ===== */
.event-tag {
  position: relative;
  display: inline-block;
  margin: 30px 0;
}

.event-link {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-secondary);
  color: white;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 2;
  transition: var(--transition);
  animation: pulse 2s infinite, floating 6s ease-in-out infinite;
}

.event-link:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(233, 30, 99, 0.6);
  color: white;
  text-decoration: none;
}

.event-link i {
  margin-right: 12px;
  font-size: 1.4rem;
}

.floating-circles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatAround 20s linear infinite;
}

/* ===== ABOUT SECTION ===== */
.about1-box {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
}

.about1-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.about1-box.box1 {
  border-top: 4px solid var(--primary-pink);
}

.about1-box.box2 {
  border-top: 4px solid var(--primary-purple);
}

.about1-box.box3 {
  border-top: 4px solid #6f42c1;
}

.about1-box .top-heading h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.about1-box .top-heading p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.about1-box .bottom-heading h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Section Background Override */
.about-section,
#about,
.vl-about-area,
[class*="about"],
[class*="About"] {
  background-color: var(--light-bg) !important;
}

.about-container,
.about-content,
.about-wrapper {
  background-color: transparent !important;
}

.about-section *:not(a):not(.btn):not(.button) {
  background-color: transparent !important;
}

/* About Feature List */
.vl-about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.single-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.single-feature .icon {
  background: var(--gradient-secondary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.single-feature .text h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1a1a2e;
}

.single-feature .text p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.about-visual-content {
  position: relative;
  padding: 20px;
}

.about-main-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
}

.stats-grid-wrapper {
  position: relative;
  height: 100%;
}

.stats-box {
  position: absolute;
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  text-align: center;
  z-index: 2;
  width: 140px;
}

.stats-box h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 5px;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.stats-box p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  font-weight: 600;
}

/* Style for plus and percent signs */
.stats-box h3 .plus-sign,
.stats-box h3 .percent-sign {
  display: inline;
  margin-left: 1px;
  font-weight: 700;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  vertical-align: baseline;
}

/* ===== SERVICE CARDS ===== */
.service-modern-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.service-modern-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #e91e63, #8A2BE2);
}

.service-modern-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(138, 43, 226, 0.1));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #e91e63;
  font-size: 1.8rem;
}

.service-modern-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a2e;
}

.service-modern-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.service-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #555;
}

.service-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #e91e63;
  font-weight: bold;
}

.service-link {
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.service-link:hover {
  color: #8A2BE2;
  gap: 12px;
  text-decoration: none;
}

/* ===== CASE STUDIES ===== */
.case-study-highlight {
  background: linear-gradient(to right, #f9f3f7, #f0eaf8);
  border-radius: 20px;
  padding: 50px;
  margin: 30px 0;
}

.case-study-content {
  padding-right: 30px;
}

.case-study-industry {
  display: inline-block;
  background: var(--gradient-secondary);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.case-study-desc {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 20px 0;
}

.results-stats {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.results-stats .stat {
  text-align: center;
  flex: 1;
}

.results-stats .stat h4 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 5px;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.results-stats .stat h4 .small {
  font-size: 1.5rem;
}

.results-stats .stat p {
  font-size: 0.85rem;
  color: #666;
  font-weight: 600;
  margin: 0;
}

.case-study-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.case-study-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.case-study-highlight:hover .case-study-image img {
  transform: scale(1.03);
}

.image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: #e91e63;
}

/* Mini Case Study Cards */
.case-study-card-mini {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
}

.case-study-card-mini:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.cs-image {
  height: 180px;
  overflow: hidden;
}

.cs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card-mini:hover .cs-image img {
  transform: scale(1.1);
}

.cs-content {
  padding: 25px;
}

.cs-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8A2BE2;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: block;
}

.cs-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #1a1a2e;
}

.cs-result-badge {
  display: inline-block;
  background: rgba(233, 30, 99, 0.1);
  color: #e91e63;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cs-link {
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.cs-link:hover {
  color: #8A2BE2;
  gap: 12px;
  text-decoration: none;
}

/* CTA Card Style */
.cta-card {
  background: var(--gradient-secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.csc-cta-content {
  padding: 30px;
}

.csc-cta-content h4 {
  color: white;
  margin-bottom: 15px;
}

.csc-cta-content p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 25px;
}

/* ===== PORTFOLIO & EVENTS ===== */
.portfolio-events-section {
  background: linear-gradient(to bottom, #ffffff, #f9f9ff);
  position: relative;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.portfolio-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.portfolio-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-secondary);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-content {
  padding: 25px;
}

.portfolio-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a2e;
  line-height: 1.4;
}

.portfolio-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.portfolio-link:hover {
  color: #8A2BE2;
  gap: 12px;
  text-decoration: none;
}

/* Kilifi Conference */
.kilifi-conference {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(138, 43, 226, 0.05));
  border-radius: 20px;
  padding: 50px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.kilifi-conference:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #e91e63, #8A2BE2);
}

.kilifi-content {
  position: relative;
  z-index: 2;
}

.kilifi-badge {
  display: inline-block;
  background: var(--gradient-secondary);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.kilifi-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1a1a2e;
  line-height: 1.3;
}

.kilifi-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

.kilifi-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(138, 43, 226, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e91e63;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-text h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1a1a2e;
}

.highlight-text p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.kilifi-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.kilifi-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.kilifi-conference:hover .kilifi-image img {
  transform: scale(1.03);
}

.kilifi-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.kilifi-stat {
  text-align: center;
}

.kilifi-stat h4 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 5px;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kilifi-stat p {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
  margin: 0;
}

/* ===== VIDEO SECTION ===== */
.dynamic-video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(138, 43, 226, 0.2);
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
}

.dynamic-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.dynamic-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(25, 12, 85, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.dynamic-video-overlay:hover {
  background: rgba(25, 12, 85, 0.75);
}

.dynamic-video-overlay:hover .play-icon {
  transform: scale(1.1);
}

.play-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
  transition: var(--transition);
}

.play-icon i {
  margin-left: 5px;
}

.overlay-text h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.overlay-text p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.video-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: none;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-playing .dynamic-video-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-playing .video-controls {
  display: flex;
}

/* ===== TESTIMONIALS ===== */
.modern-testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-slider-container {
  position: relative;
  padding: 0 40px;
}

.modern-testimonial-slider {
  padding: 30px 10px 60px;
}

.premium-testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(138, 43, 226, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.05);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.premium-testimonial-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #e91e63, #8A2BE2);
}

.premium-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 60px rgba(138, 43, 226, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
}

.client-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid #f0eaf8;
  flex-shrink: 0;
}

.client-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1a1a2e;
}

.client-info p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.client-rating {
  color: #FFD700;
  font-size: 0.9rem;
}

.quote-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(138, 43, 226, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e91e63;
  font-size: 1.2rem;
}

.testimonial-body {
  margin-bottom: 25px;
}

.testimonial-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  margin: 0;
  position: relative;
  padding-left: 25px;
}

.testimonial-body p:before {
  content: """;
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  color: rgba(138, 43, 226, 0.1);
  font-family: Arial, sans-serif;
  line-height: 1;
}

.testimonial-footer {
  border-top: 1px solid #f0eaf8;
  padding-top: 20px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(138, 43, 226, 0.1));
  color: #8A2BE2;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-light);
  color: #8A2BE2;
  transition: var(--transition);
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: bold;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--gradient-secondary);
  color: white;
  transform: scale(1.1);
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #d8d8d8;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--gradient-secondary);
  transform: scale(1.2);
}

.view-all-testimonials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8A2BE2;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
}

.view-all-testimonials:hover {
  color: #e91e63;
  gap: 15px;
  text-decoration: none;
}

/* ===== CLIENTS LOGO SECTION ===== */
.clients-logo-section {
  background: #faf7fd;
  position: relative;
}

.logo-marquee-container {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  margin-bottom: 40px;
  width: 100%;
}

.logo-marquee-container:before,
.logo-marquee-container:after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 100px;
  z-index: 2;
}

.logo-marquee-container:before {
  left: 0;
  background: linear-gradient(to right, #faf7fd 0%, transparent 100%);
}

.logo-marquee-container:after {
  right: 0;
  background: linear-gradient(to left, #faf7fd 0%, transparent 100%);
}

.logo-marquee {
  display: flex;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}

.logo-marquee:hover {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  margin: 0 30px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: var(--transition);
  filter: grayscale(100%);
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.logo-item img {
  max-width: 150px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.static-logo-grid {
  display: none;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes floatAround {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(var(--move-x), var(--move-y)) rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4);
  }
  50% {
    box-shadow: 0 10px 40px rgba(233, 30, 99, 0.7);
  }
  100% {
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4);
  }
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes sparkle {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(1);
    opacity: 0;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .heading1 h2 {
    font-size: 2rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .kilifi-highlights {
    grid-template-columns: 1fr;
  }
  
  .kilifi-stats {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .logo-item {
    margin: 0 25px;
  }
  
  .logo-item img {
    max-width: 130px;
    max-height: 50px;
  }
  
  .logo-marquee {
    animation-duration: 35s;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 60px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-cta-buttons {
    justify-content: center;
  }
  
  .audit-form-inner {
    flex-direction: column;
  }
  
  .input-group {
    flex-direction: column;
    border-radius: 15px;
  }
  
  .btn-audit {
    justify-content: center;
    border-radius: 15px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .hero-img {
    margin-top: 40px;
    transform: none;
  }
  
  .heading1 h2 {
    font-size: 1.8rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .kilifi-conference {
    padding: 30px;
  }
  
  .kilifi-content h3 {
    font-size: 1.8rem;
  }
  
  .kilifi-stats {
    gap: 20px;
  }
  
  .kilifi-stat h4 {
    font-size: 2rem;
  }
  
  .testimonial-slider-container {
    padding: 0 15px;
  }
  
  .premium-testimonial-card {
    padding: 25px;
  }
  
  .testimonial-header {
    flex-direction: column;
    text-align: center;
  }
  
  .client-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .quote-icon {
    position: relative;
    margin-top: 15px;
    align-self: center;
  }
  
  .testimonial-body p {
    padding-left: 0;
    text-align: center;
  }
  
  .testimonial-body p:before {
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
  }
  
  .swiper-button-next, .swiper-button-prev {
    display: none;
  }
  
  .logo-marquee-container {
    display: block;
    padding: 30px 0;
  }
  
  .logo-marquee-container:before,
  .logo-marquee-container:after {
    width: 60px;
  }
  
  .logo-item {
    margin: 0 20px;
    padding: 12px;
  }
  
  .logo-item img {
    max-width: 100px;
    max-height: 40px;
  }
  
  .logo-marquee {
    animation-duration: 30s;
  }
  
  .stats-box {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 10px auto;
    width: 100px;
  }
  
  .stats-grid-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .stats-box h3 {
    font-size: 1.7rem;
  }
  
  .results-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .results-stats .stat {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .results-stats .stat h4 {
    margin-bottom: 0;
    min-width: 80px;
  }
  
  .mobile-input-only {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .mobile-full-width {
    width: 100%;
  }
  
  .mobile-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .heading1 h2 {
    font-size: 1.6rem;
  }
  
  .about1-box .bottom-heading h3,
  .stat-number {
    font-size: 2rem;
  }
  
  .kilifi-conference {
    padding: 25px 20px;
  }
  
  .kilifi-content h3 {
    font-size: 1.6rem;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .logo-marquee-container:before,
  .logo-marquee-container:after {
    width: 40px;
  }
  
  .logo-item {
    margin: 0 15px;
    padding: 10px;
  }
  
  .logo-item img {
    max-width: 80px;
    max-height: 35px;
  }
  
  .logo-marquee {
    animation-duration: 25s;
  }
}

@media (max-width: 400px) {
  .logo-item {
    margin: 0 12px;
  }
  
  .logo-item img {
    max-width: 70px;
    max-height: 30px;
  }
  
  .logo-marquee {
    animation-duration: 22s;
  }
}

/* Logo and Mobile Spacing Fixes */
.vl-logo img, .vl-offcanvas-logo img {
  max-height: 50px;
  width: auto;
  transition: var(--transition);
}

.vl-offcanvas-logo img {
  max-height: 40px;
}

@media (max-width: 991px) {
  .vl-header-area2 .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .vl-logo img {
    max-height: 40px !important;
  }
}

/* Desktop - always show black logo */
.vl-header-area2.header-tranperent .black-logo {
  display: block !important;
}

.vl-header-area2.header-tranperent .white-logo {
  display: none !important;
}

/* Mobile - show white logo by default */
@media (max-width: 991px) {
  .vl-header-area2.header-tranperent .black-logo {
    display: none !important;
  }
  
  .vl-header-area2.header-tranperent .white-logo {
    display: block !important;
  }
}
@media (max-width: 991px) {
  .vl-header-action-item {
    position: absolute;
    right: 15px !important;
    top: 15px !important;
  }
}
/* =========================================
   FIXED MOBILE MENU ALIGNMENT & BEHAVIOR
   ========================================= */
.vl-header-action-item {
  position: absolute !important;
  right: 15px !important;
  top: 15px !important;
  left: auto !important;
  z-index: 9999 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
}

.vl-offcanvas-toggle {
  background: none !important;
  border: none !important;
  font-size: 28px !important;
  line-height: 1 !important;
  color: #000 !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, color 0.3s ease;
}

.vl-offcanvas-toggle:hover {
  color: #e83e8c !important;
  transform: scale(1.1);
}

/* --- Offcanvas animation and overlay --- */
.vl-offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 10px rgba(0,0,0,0.15);
  transition: right 0.4s ease;
  z-index: 9998;
}

.vl-offcanvas.active {
  right: 0 !important;
}

.vl-offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9997;
}

.vl-offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

