/* Start custom CSS for html, class: .elementor-element-8ce3aaf */.anim-flip-grid {
  background: #ffffff;
  padding: 70px 0;
  text-align: center;
}

.anim-flip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.flip-card {
  background: transparent;
  width: 100%;
  height: 280px;
  perspective: 1000px; /* enables 3D flip */
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.flip-back {
  background: #5D3A6A; /* eggplant purple */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
  padding: 20px;
}
.flip-back h3 {
  margin-bottom: 8px;
}
.anim-h2 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #5D3A6A; /* eggplant purple */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

/* Underline accent */
.anim-h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #5D3A6A, #F3E8FF);
  border-radius: 2px;
}

/* Glow + subtle animation on hover */
.anim-h2:hover {
  color: #5D3A6A;
  text-shadow: 0 0 12px rgba(93,58,106,0.6);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Fade-in animation when scrolling into view */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim-h2 {
  animation: fadeInUp 1s ease forwards;
}
/* Flip Card Base */
.flip-card {
  background: transparent;
  width: 100%;
  height: 280px;
  perspective: 1000px; /* enables 3D flip */
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  overflow: hidden;
  border: 3px solid transparent; /* base border */
  transition: all 0.4s ease;
}

/* Front image */
.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Back side */
.flip-back {
  background: #5D3A6A; /* eggplant purple */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
  padding: 20px;
}

/* Glow effect on hover */
.flip-card:hover .flip-front,
.flip-card:hover .flip-back {
  border-color: #5D3A6A;
  box-shadow: 0 0 20px rgba(93,58,106,0.6);
  animation: glowPulse 1.5s infinite alternate;
}

/* Glow pulse animation */
@keyframes glowPulse {
  from { box-shadow: 0 0 10px rgba(93,58,106,0.4); }
  to   { box-shadow: 0 0 25px rgba(93,58,106,0.8); }
}
.anim-h2 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff; /* white text for contrast */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

/* Animated gradient background */
.anim-h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(270deg, #5D3A6A, #F3E8FF, #5D3A6A);
  background-size: 400% 400%;
  animation: gradientMove 6s ease infinite;
  z-index: -1;
  border-radius: 12px;
}

/* Gradient animation keyframes */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Glow on hover */
.anim-h2:hover {
  text-shadow: 0 0 12px rgba(255,255,255,0.8);
  transform: scale(1.05);
  transition: all 0.3s ease;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-c8ff97d */.anim-experience {
  background: #F3E8FF;
  padding: 70px 0;
}

.anim-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.anim-timeline-item {
  background: #fff;
  border-left: 6px solid #5D3A6A; /* eggplant purple accent */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.anim-timeline-item:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 18px rgba(93,58,106,0.25);
}

.anim-year {
  font-weight: 700;
  color: #5D3A6A;
  display: block;
  margin-bottom: 8px;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-3a65e74 */.anim-cta-section {
  background: #5D3A6A; /* eggplant purple */
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.anim-cta-section h2 {
  color: #fff;
  margin-bottom: 20px;
}

.anim-cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.anim-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.anim-btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.anim-primary {
  background: #F3E8FF;
  color: #5D3A6A;
}

.anim-secondary {
  background: transparent;
  border: 2px solid #F3E8FF;
  color: #F3E8FF;
}

.anim-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
}/* End custom CSS */