/* Custom Styles for IAConsultancy Redesign */

:root {
  --primary: #1a3c6e;
  --secondary: #e94e65;
  --light: #f8f9fa;
  --dark: #1a3c6e;
  --text-dark: #343a40;
  --shadow-primary: 0 10px 20px rgba(26, 60, 110, 0.15);
  --shadow-hover: 0 15px 30px rgba(26, 60, 110, 0.25);
}

/* Text Styles */
.text-primary-custom {
  color: #1a3c6e;
  font-weight: bold;
}

.text-secondary-custom {
  color: #e94e65;
  font-weight: bold;
}

/* Background Colors */
.bg-primary-custom {
  background: #1a3c6e;
}

.bg-secondary-custom {
  background: #e94e65;
}

.bg-light-custom {
  background: #f8f9fa;
}

/* Carousel Enhancements */
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(233, 78, 101, 0.7) !important;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(26, 60, 110, 0.9) !important;
  transform: scale(1.1);
}

/* Colorful Badge */
.colorful-badge {
  display: inline-block;
  position: relative;
  background: #e94e65;
  border-radius: 50px;
  padding: 8px 20px;
  box-shadow: var(--shadow-primary);
}

.colorful-badge .badge-text {
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

/* Button Glow Effect */
.btn-glow {
  background: #e94e65;
  border: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  box-shadow: 0 5px 15px rgba(233, 78, 101, 0.4);
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(233, 78, 101, 0.6);
  background: #d63b54 !important;
}

.btn-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(30deg);
  transition: all 0.5s ease;
}

.btn-glow:hover::after {
  transform: rotate(0deg);
}

/* About Section Enhancements */
.about-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow-primary);
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  filter: blur(20px);
}

.shape-1 {
  width: 150px;
  height: 150px;
  background: rgba(233, 78, 101, 0.3);
  top: -30px;
  left: -30px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 100px;
  height: 100px;
  background: rgba(26, 60, 110, 0.3);
  bottom: 30px;
  right: -20px;
  animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(15px, 15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 rgba(233, 78, 101, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(233, 78, 101, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(233, 78, 101, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(233, 78, 101, 0);
  }
}

/* service section  */
.service-item {
  transition: all 0.5s ease;
}

.hover-up:hover {
  transform: translateY(-10px);
}

.service-btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.service-item:hover .service-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Features Section Enhancements */
.icon-bg-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-primary);
}

.icon-bg-circle::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.5s ease;
}

.feature-item:hover .icon-bg-circle::before {
  opacity: 1;
}

.hover-float {
  transition: all 0.5s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hover-float:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.shadow-hover {
  transition: all 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: var(--shadow-hover);
}

/* Counter Section Enhancements */
.counter {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-primary);
  transition: all 0.5s ease;
}

.counter::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  background: #e94e65;
  bottom: 0;
  left: 0;
}

.counter-icon {
  font-size: 40px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  color: #e94e65;
}

.counter-value-container {
  position: relative;
  z-index: 1;
}

.counter-value {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  line-height: 40px;
  color: #1a3c6e;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Founder Profile Enhancements */
.founder-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: 8px;
}

.training-title-name {
  z-index: 2;
}

/* Testimonial Section Enhancements */
.bg-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-primary);
}

.testimonial-quote {
  opacity: 0.7;
}

.testimonial-img-container {
  box-shadow: var(--shadow-primary);
  overflow: hidden;
}

.border-custom {
  border: 3px solid #e94e65;
  background: white;
}

.student-name {
  font-weight: 600;
  color: #1a3c6e;
}

.student-details {
  color: #e94e65;
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .colorful-badge {
    padding: 6px 15px;
  }

  .colorful-badge .badge-text {
    font-size: 12px;
  }

  .icon-bg-circle {
    width: 80px;
    height: 80px;
  }

  .counter {
    margin-bottom: 20px;
  }
}

/* Navbar Styling to match Avantage theme */
.navbar {
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  max-height: 50px;
}

.navbar-nav .nav-link {
  color: #1a3c6e !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #e94e65 !important;
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #e94e65;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.navbar-nav .nav-item:hover::after,
.navbar-nav .nav-item.active::after {
  width: 80%;
}

/* Button styling */
.btn-primary {
  background-color: #e94e65 !important;
  border-color: #e94e65 !important;
  color: #fff !important;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #d63b54 !important;
  border-color: #d63b54 !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(233, 78, 101, 0.4);
}

/* Phone button styling */
.phone-button {
  background-color: #e94e65;
  color: #fff;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.phone-button i {
  margin-right: 8px;
}

.phone-button:hover {
  background-color: #d63b54;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(233, 78, 101, 0.4);
}

/* Footer styling */
.footer {
  background-color: #1a3c6e !important;
  color: #fff;
}

.footer a {
  color: #fff !important;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #e94e65 !important;
  text-decoration: none;
}

.footer-item h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-item a {
  display: block;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.footer-item a i {
  position: absolute;
  left: 0;
  top: 5px;
}

.copyright {
  background-color: #15325d !important;
  color: rgba(255, 255, 255, 0.7);
}

/* Hero section styling */
.hero-section {
  position: relative;
  background-color: #f8f9fa;
  overflow: hidden;
}

.hero-content h1 {
  color: #1a3c6e;
  font-weight: 700;
}

.hero-content h2 {
  color: #e94e65;
  font-weight: 700;
}

.hero-content p {
  color: #6c757d;
}

/* Triangle patterns */
.triangle-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a3c6e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

/* Avatar styling */
.avatar-circle {
  width: 40px;
  height: 40px;
  background-color: #e94e65;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}
