/**
* Custom Revamp Styles
* Adds gradient/icon-based visuals and motion effects on top of style.css
*/

:root {
  --grad-1-start: #ef6603;
  --grad-1-end: #ff9f43;
  --grad-2-start: #0ea5a4;
  --grad-2-end: #2563eb;
  --grad-3-start: #6366f1;
  --grad-3-end: #ec4899;
}

/*--------------------------------------------------------------
# Keyframes
--------------------------------------------------------------*/
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -25px) scale(1.06); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(239, 102, 3, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(239, 102, 3, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 102, 3, 0); }
}

@keyframes countPop {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/*--------------------------------------------------------------
# Hero decoration (blobs + floating badges)
--------------------------------------------------------------*/
#heroCarousel {
  position: relative;
  z-index: 2;
}

.hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.35;
  animation: blobFloat 10s ease-in-out infinite;
}

.hero-blob-1 {
  width: 260px;
  height: 260px;
  top: 10%;
  left: 8%;
  background: linear-gradient(135deg, var(--grad-1-start), var(--grad-1-end));
}

.hero-blob-2 {
  width: 320px;
  height: 320px;
  bottom: 6%;
  right: 6%;
  background: linear-gradient(135deg, var(--grad-2-start), var(--grad-2-end));
  animation-delay: -3.5s;
}

.hero-blob-3 {
  width: 180px;
  height: 180px;
  top: 42%;
  left: 46%;
  background: linear-gradient(135deg, var(--grad-3-start), var(--grad-3-end));
  animation-delay: -6.5s;
  opacity: 0.25;
}

.hero-badge {
  position: absolute;
  transform: translate(calc(var(--mx, 0px) * var(--depth, 0)), calc(var(--my, 0px) * var(--depth, 0)));
  transition: transform 0.2s ease-out;
}

.hero-badge-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: "Raleway", sans-serif;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  animation: floatY 6s ease-in-out infinite;
}

.hero-badge i {
  font-size: 18px;
}

.hero-badge-1 { top: 20%; left: 7%; }
.hero-badge-1 .hero-badge-inner { animation-delay: 0s; }
.hero-badge-1 i { color: #ff9f43; }

.hero-badge-2 { top: 16%; right: 8%; }
.hero-badge-2 .hero-badge-inner { animation-delay: -2s; }
.hero-badge-2 i { color: #2dd4bf; }

.hero-badge-3 { bottom: 16%; left: 11%; }
.hero-badge-3 .hero-badge-inner { animation-delay: -4s; }
.hero-badge-3 i { color: #a78bfa; }

@media (max-width: 991px) {
  .hero-badge { display: none; }
  .hero-blob { opacity: 0.2; }
}

/*--------------------------------------------------------------
# About: credential badges + stats strip
--------------------------------------------------------------*/
.cred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.cred-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(239, 102, 3, 0.1), rgba(255, 159, 67, 0.1));
  color: var(--grad-1-start);
  border: 1px solid rgba(239, 102, 3, 0.25);
}

.cred-badges span i {
  font-size: 15px;
}

.about-stats {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 29px rgba(68, 88, 144, 0.12);
}

.about-stats .stat {
  flex: 1 1 0;
  min-width: 150px;
  text-align: center;
  padding: 28px 15px;
  background: #fff;
  position: relative;
}

.about-stats .stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: #eee;
}

.about-stats .stat .num {
  font-family: "Poppins", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #2a2c39;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
}

.about-stats .stat .num .suffix {
  font-size: 20px;
  color: var(--grad-1-start);
}

.about-stats .stat .label {
  font-size: 13px;
  color: #777;
  margin-top: 4px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .about-stats .stat + .stat::before { display: none; }
}

/*--------------------------------------------------------------
# Features: gradient tab icon circles
--------------------------------------------------------------*/
.tab-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  margin-right: 15px;
  background: linear-gradient(135deg, rgba(239, 102, 3, 0.12), rgba(255, 159, 67, 0.12));
  transition: 0.4s;
}

.features .nav-link .tab-icon-wrap i {
  font-size: 26px;
  padding-right: 0;
  color: var(--grad-1-start);
  transition: 0.4s;
}

.features .nav-link:hover .tab-icon-wrap {
  background: linear-gradient(135deg, var(--grad-1-start), var(--grad-1-end));
  transform: scale(1.08) rotate(-4deg);
}

.features .nav-link:hover .tab-icon-wrap i {
  color: #fff;
}

.features .nav-link.active .tab-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08) rotate(-4deg);
}

.features .nav-link.active .tab-icon-wrap i {
  color: #fff;
}

@media (max-width: 768px) {
  .tab-icon-wrap { width: 40px; height: 40px; min-width: 40px; margin-right: 0; }
  .features .nav-link .tab-icon-wrap i { font-size: 20px; }
}

@media (max-width: 575px) {
  .tab-icon-wrap { width: 34px; height: 34px; min-width: 34px; }
  .features .nav-link .tab-icon-wrap i { font-size: 16px; }
}

/*--------------------------------------------------------------
# Services: gradient icon circle + tilt + accent bar
--------------------------------------------------------------*/
.services .icon-box {
  padding: 15px 30px;
  will-change: transform;
}

.services .icon-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--grad-1-start), var(--grad-1-end));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.services .icon-box:hover::after {
  transform: scaleX(1);
}

.services .icon {
  left: 15px;
  top: calc(50% - 35px);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 8px 20px rgba(68, 88, 144, 0.18);
  transition: transform 0.4s ease;
}

.services .icon-box:hover .icon {
  transform: scale(1.08) rotate(-6deg);
}

.services .icon i {
  font-size: 30px !important;
  line-height: 1;
}

.services .title,
.services .description {
  margin-left: 100px;
}

/*--------------------------------------------------------------
# CTA: gradient button pulse + stats row
--------------------------------------------------------------*/
.cta .cta-btn {
  background: linear-gradient(135deg, var(--grad-1-start), var(--grad-1-end));
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite, pulseRing 2.6s ease-out infinite;
}

.cta .cta-btn:hover {
  animation: gradientShift 6s ease infinite;
  background: #fff;
}

.cta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-stats .stat {
  flex: 1 1 160px;
  text-align: center;
}

.cta-stats .stat .num {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
}

.cta-stats .stat .num .suffix {
  color: #ff9f43;
  font-size: 20px;
}

.cta-stats .stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/*--------------------------------------------------------------
# Count-up reveal
--------------------------------------------------------------*/
.stat.is-visible .num {
  animation: countPop 0.5s ease;
}

/*--------------------------------------------------------------
# Thank You modal
--------------------------------------------------------------*/
.thank-you-modal {
  border: none;
  border-radius: 14px;
  overflow: hidden;
}

.thank-you-modal .modal-body {
  padding: 44px 32px;
}

.thank-you-icon {
  font-size: 64px;
  line-height: 1;
  color: #4caf50;
  margin-bottom: 16px;
  animation: countPop 0.5s ease;
}

.thank-you-modal h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #2a2c39;
  margin-bottom: 10px;
}

.thank-you-modal p {
  color: #555974;
  margin-bottom: 24px;
}

.thank-you-modal .btn-close-modal {
  display: inline-block;
  border: none;
  border-radius: 50px;
  padding: 10px 32px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--grad-1-start), var(--grad-1-end));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thank-you-modal .btn-close-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 102, 3, 0.35);
}
