/* Custom CSS for Ensefy Website */
:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --accent-color: #8a2be2;
  --dark-bg: #1a1a1a;
  --darker-bg: #121212;
  --card-bg: #252525;
  --text-light: #f8f9fa;
  --text-muted: #c0c0c0;
  --cyber-glow: 0 0 15px rgba(106, 17, 203, 0.5);
  --cyber-glow-strong: 0 0 25px rgba(106, 17, 203, 0.8);
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding-top: 70px;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Enhanced navbar with cyberpunk effects */
.navbar {
  background-color: #121212;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(106, 17, 203, 0.2);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(106, 17, 203, 0.5);
}

.navbar-brand {
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.75rem;
  text-shadow: var(--cyber-glow);
}

.nav-link {
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
  color: var(--accent-color) !important;
  text-shadow: var(--cyber-glow);
  transform: translateY(-2px);
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: var(--cyber-glow);
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 12px 30px;
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(106, 17, 203, 0.4), var(--cyber-glow-strong);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  padding: 8px 20px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-outline-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-outline-primary:hover::before {
  left: 100%;
}

.btn-outline-primary:hover {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4), var(--cyber-glow);
  transform: translateY(-2px);
}

/* Enhanced hero section with cyber effects */
.hero-section {
  background: url('assets/background.png') no-repeat center center / cover;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
filter: brightness(1.3);
}

#waterCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
  mix-blend-mode: overlay;
  opacity: 0.6;
  animation: waterRipple 10s ease-in-out infinite;
}

@keyframes waterRipple {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.6;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(106, 17, 203, 0.15) 0%, rgba(106, 17, 203, 0) 70%);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(26, 26, 26, 0.6), rgba(26, 26, 26, 0.8)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(106, 17, 203, 0.1) 2px,
      rgba(106, 17, 203, 0.1) 4px
    );
  z-index: 1;
}

.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, rgba(106, 17, 203, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(106, 17, 203, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
  animation: gridMove 20s linear infinite;
}

.cyber-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cyber-dots::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: var(--cyber-glow);
  animation: pulseDot 3s ease-in-out infinite alternate;
}

.cyber-dots::after {
  content: "";
  position: absolute;
  top: 80%;
  left: 90%;
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  box-shadow: var(--cyber-glow);
  animation: pulseDot 4s ease-in-out infinite alternate;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-section h1 {
  background: linear-gradient(90deg, var(--text-light), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
  position: relative;
}

.hero-section h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  box-shadow: var(--cyber-glow);
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Enhanced services section */
.services-section {
  background-color: var(--darker-bg);
  padding: 6rem 0;
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(106, 17, 203, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(37, 117, 252, 0.1) 0%, transparent 20%);
  z-index: 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  box-shadow: var(--cyber-glow);
}

.service-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(106, 17, 203, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(106, 17, 203, 0.1), transparent);
  transition: height 0.4s ease;
  z-index: -1;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), var(--cyber-glow);
  border-color: rgba(106, 17, 203, 0.3);
}

.icon-wrapper {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
  position: relative;
  overflow: hidden;
}

.icon-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  transform: rotate(30deg);
  transition: all 0.6s ease;
}

.service-card:hover .icon-wrapper::before {
  transform: rotate(30deg) translate(20%, 20%);
}

.service-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(106, 17, 203, 0.6), var(--cyber-glow-strong);
}

.service-icon {
  font-size: 2.5rem;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 1;
}

/* Enhanced features section */
.features-section {
  background-color: var(--dark-bg);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 49%, rgba(106, 17, 203, 0.05) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(106, 17, 203, 0.05) 50%, transparent 51%);
  background-size: 30px 30px;
  z-index: 0;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 1px solid rgba(106, 17, 203, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
  z-index: -1;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: rgba(106, 17, 203, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), var(--cyber-glow);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(10deg);
  text-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
}

/* Enhanced transformation section */
.transformation-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.transformation-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
  z-index: 0;
}

.transformation-section h2 {
  text-align: center;
  width: 100%;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.transformation-section .btn {
  padding: 15px 40px;
  font-weight: 600;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.transformation-section .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), var(--cyber-glow-strong);
}

/* Enhanced partner section */
.partner-section {
  background-color: var(--darker-bg);
  padding: 6rem 0;
  position: relative;
}

.partner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at center, rgba(37, 117, 252, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.partner-card {
  background-color: var(--card-bg);
  padding: 40px 25px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(106, 17, 203, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  z-index: 1;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: var(--cyber-glow);
  z-index: -1;
}

.partner-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
  z-index: -1;
}

.partner-card:hover::after {
  left: 100%;
}

.partner-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(106, 17, 203, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), var(--cyber-glow);
}

.card-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.partner-card:hover .card-icon {
  transform: scale(1.2) rotate(10deg);
  text-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
}

/* Enhanced newsletter section */
.newsletter-section {
  background-color: var(--darker-bg);
  padding: 6rem 0;
  position: relative;
  border-top: 1px solid rgba(106, 17, 203, 0.1);
  border-bottom: 1px solid rgba(106, 17, 203, 0.1);
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at center, rgba(106, 17, 203, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(106, 17, 203, 0.2);
}

.newsletter-section h2 {
  text-align: center;
  width: 100%;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
  color: var(--text-light);
}

.newsletter-section p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.newsletter-section .form-control {
  background-color: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(106, 17, 203, 0.3);
  color: var(--text-light);
  padding: 15px 25px;
  border-radius: 50px 0 0 50px;
  height: calc(2.5rem + 20px);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-section .form-control::placeholder {
  color: var(--text-light);
  opacity: 1;
}

.newsletter-section .form-control::-webkit-input-placeholder {
  color: var(--text-light);
  opacity: 1;
}

.newsletter-section .form-control::-moz-placeholder {
  color: var(--text-light);
  opacity: 1;
}

.newsletter-section .form-control:-ms-input-placeholder {
  color: var(--text-light);
  opacity: 1;
}

.newsletter-section .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(106, 17, 203, 0.25), var(--cyber-glow);
  transform: translateY(-2px);
}

.newsletter-section .input-group-text {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border: 1px solid rgba(106, 17, 203, 0.3);
  color: white;
  border-radius: 50px 0 0 50px;
  padding: 0 20px;
  height: calc(2.5rem + 20px);
}

.newsletter-section .input-group {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
}

.newsletter-section .btn {
  border-radius: 0 50px 50px 0;
  padding: 12px 25px;
  font-weight: 600;
  height: 100%;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .newsletter-content {
    padding: 2rem 1.5rem;
  }
  
  .newsletter-section .col-md-8,
  .newsletter-section .col-md-4 {
    padding: 5px;
    margin-bottom: 10px;
  }

  .newsletter-section .form-control,
  .newsletter-section .input-group-text {
    border-radius: 50px;
  }
  
  .newsletter-section .btn {
    border-radius: 50px;
    margin-top: 10px;
  }
}

/* Enhanced footer */
.footer-section {
  background-color: var(--darker-bg);
  color: var(--text-muted);
  border-top: 1px solid rgba(106, 17, 203, 0.1);
  padding-bottom: 2rem;
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 10px rgba(106, 17, 203, 0.5);
}

.footer-section h3,
.footer-section h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.footer-section h3::after,
.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 1px;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  position: relative;
}

.footer-section a::before {
  content: '▶';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--accent-color);
  font-size: 0.8rem;
}

.footer-section a:hover {
  color: var(--accent-color);
  transform: translateX(10px);
  padding-left: 10px;
}

.footer-section a:hover::before {
  opacity: 1;
  left: 0;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--card-bg);
  border-radius: 50%;
  margin-right: 12px;
  transition: all 0.3s ease;
  color: var(--text-light);
  font-size: 1.25rem;
  border: 1px solid rgba(106, 17, 203, 0.1);
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.social-icons a:hover::before {
  left: 100%;
}

.social-icons a:hover {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-5px) rotate(10deg);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4), var(--cyber-glow);
}

hr {
  color: rgba(106, 17, 203, 0.2);
  margin: 2.5rem 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(106, 17, 203, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(106, 17, 203, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(106, 17, 203, 0);
  }
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 30px);
  }
}

@keyframes pulseDot {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0.7;
  }
}

/* Enhanced responsive adjustments */
@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .nav-link {
    margin: 0.75rem 0;
  }
  
  .btn-primary {
    width: 100%;
    margin-top: 15px;
  }
  
  .newsletter-section .col-md-8,
  .newsletter-section .col-md-4 {
    padding: 5px;
    background-color: #1e1e1e;
    color: white; 
  }

  
  .newsletter-section .btn {
    margin-top: 10px;
  }
  
  .footer-section h3 {
    margin-top: 2rem;
  }
  
  .services-section,
  .features-section,
  .partner-section,
  .newsletter-section {
    padding: 4rem 0;
  }
  
  .transformation-section {
    padding: 4rem 0;
  }
  
  .transformation-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-section h1 {
    font-size: 2.1rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .services-section,
  .features-section,
  .partner-section,
  .newsletter-section {
    padding: 3rem 0;
  }
  
  .transformation-section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .newsletter-section h2 {
    font-size: 1.75rem;
  }
}

/* Center all section headings automatically */
section h2 {
  text-align: center;
  width: 100%;
}

section .section-title {
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  box-shadow: var(--cyber-glow);
}

.card-title {
  text-align: center;
}

.feature-card h3,
.partner-card h3 {
  text-align: center;
}
