:root {
  --primary: #7e2c74;
  --primary-light: #7e2c74;
  --secondary: #d7bdd4;
  --secondary-light: #feeafd;
  --accent: #f013d6;
  --accent-light: #f5d0fe;
  --text-dark: #333;
  --text-light: #666;
  --white: #fff;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section Headers */
.section-header-container {
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  background-color: var(--primary);
  display: inline-block;
  padding: 0.75rem 1.5rem;
  position: relative;
  margin-bottom: 1rem;
}

.section-header-container h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  margin: 0;
}

/* Hero Section */
.hero-section {
  padding: 0;
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #feeafd 0%, #fbd9f9 100%);
}

.gradient-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.8;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(251, 217, 249, 0.7) 0%,
    rgba(254, 234, 253, 0.5) 100%
  );
  animation: pulse 10s infinite alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.logo-circles {
  position: relative;
  width: 80px;
  height: 40px;
  margin-bottom: 1.5rem;
}

.circle-overlap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #7e2c74;
}

.circle-overlap:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #7e2c74;
  left: 20px;
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 130px solid rgba(155, 39, 187, 0.15);
  bottom: -85px;
  left: 65%;
  transform: rotate(15deg);
  z-index: -1;
}

.name {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  letter-spacing: -1px;
}

.hero-tagline {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-image-container {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 85vh;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.social-icons {
  display: flex;
  gap: 15px;
  opacity: 1;
  margin-top: 2rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(155, 39, 187, 0.2);
}

.social-icon:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(155, 39, 187, 0.3);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: #fff;
}

.about-image {
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* Services Section */
.services-section {
  background-color: var(--secondary-light);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.service-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
  margin-bottom: 1rem;
}

.service-card:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: all 0.5s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(155, 39, 187, 0.15);
}

.service-card:hover:before {
  height: 100%;
  opacity: 0.05;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 28px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 20px rgba(155, 39, 187, 0.2);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg) scale(1.1);
  background: linear-gradient(-135deg, var(--primary) 0%, var(--accent) 100%);
}

.service-card h3 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.service-card:hover h3 {
  transform: translateY(-3px);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 0;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.service-card:hover p {
  color: var(--text-dark);
}

/* Training Topics Section */
.topic-card {
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border-radius: 0.375rem;
  overflow: hidden;
}

.topic-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.topic-header {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topic-header .title-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topic-icon {
  background-color: var(--primary);
  border-radius: 9999px;
  padding: 0.5rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topic-title {
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 600;
}

.topic-toggle {
  background-color: var(--primary);
  border-radius: 9999px;
  padding: 0.375rem;
  color: white;
  transition: transform 0.2s;
}

.topic-content {
  padding: 1rem 1.5rem;
  background-color: white;
}

.topic-content p {
  color: #4b5563;
  line-height: 1.75;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--secondary-light);
  padding: 20px 0;
}

.testimonial {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin: 0;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
}
.section-heading {
  font-size: 1.75rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card.visible {
  opacity: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.quote-marks {
  font-size: 4rem;
  color: rgba(155, 135, 245, 0.15);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 10;
  padding-top: 2rem;
}

.testimonial-content p {
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(155, 135, 245, 0.3);
  margin-right: 0.75rem;
  overflow: hidden;
  position: relative;
}

.testimonial-author-avatar img.author-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
}

.testimonial-author-avatar .author-placeholder {
  width: 100%;
  height: 100%;
  background-color: rgba(155, 135, 245, 0.3);
  border-radius: 9999px;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.1;
}

.cta-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content {
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-description {
  margin: 30px 0;
}

.cta-description h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white);
}

.cta-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button.primary:hover {
  background: var(--white);
  color: var(--accent);
}

.cta-button.secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--white);
}

.contact-item a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-light);
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info {
    flex-direction: column;
    gap: 15px;
  }

  .cta-description h3 {
    font-size: 1.5rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .name {
    font-size: 3.5rem;
  }

  .hero-tagline {
    font-size: 1.4rem;
  }

  .hero-section {
    text-align: left;
  }

  .row {
    flex-direction: column;
  }

  .col-lg-6 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }

  .name {
    font-size: 2.8rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .section-header {
    text-align: center;
  }

  .hero-triangle {
    display: none;
  }

  .contact-info {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

/* Keynotes Section */
.keynotes {
  padding: 4rem 0;
  background: linear-gradient(to right, #7653a8, #8f6cc7);
  color: white;
}

.keynote-card {
  background-color: #fdfdfd;
  border-radius: 0.5rem;
  padding: 1.5rem 2rem;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

.keynote-card.visible {
  transform: translateX(0);
  opacity: 1;
}

.keynote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.keynote-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #7653a8;
}

@media (min-width: 768px) {
  .keynote-title {
    font-size: 1.875rem;
  }
}

.keynote-description {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.keynote-list {
  list-style-position: inside;
  padding-left: 1.5rem;
}

.keynote-list li {
  margin-bottom: 0.75rem;
  transition: transform 0.3s;
}

.keynote-list li:hover {
  transform: translateX(8px);
}

.whats-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #7e2c74;
  color: #fff;
  border-radius: 2px 0 0 2px;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  text-align: left;
  overflow: hidden;
  width: 50px; /* default icon size */
}

.whats-float:hover {
  width: 150px; /* expand on hover */
}

.whats-float a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  white-space: nowrap;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.whats-float i {
  font-size: 30px;
}

.whats-float span {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.whats-float:hover span {
  opacity: 1;
}

/* Animation  */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Initial state */
.animate-fade-up,
.animate-fade-down .animate-slide-in-right,
.animate-slide-in-left {
  opacity: 0;
}

/* When in view */
.animate-fade-up.active {
  animation: fadeUp 1s ease forwards;
}
.animate-fade-down.active {
  animation: fadeDown 1s ease forwards;
}
.animate-slide-in-right.active {
  animation: slideInRight 1s ease forwards;
}
.animate-slide-in-left.active {
  animation: slideInLeft 1s ease forwards;
}

/* Delay classes */
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}
.delay-4 {
  animation-delay: 0.8s;
}

.speak-enge-title {
  font-size: 20px;
  font-weight: bold;
}

.speak-enge-para {
  font-size: 16px;
}

.title-container-se {
  padding-left: 20px;
}

/* Talk Images Section */
.talk-images-section {
  background-color: var(--white);
  padding: 80px 0;
}

.talk-image-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.talk-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.talk-image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.talk-image-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .talk-image-card img {
    height: 250px;
  }

  .hero-image-container {
    margin-top: 20px;
  }
}

/* Speaking Engagements Section Styles */
.speaking-engagements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.engagement-card {
  background: var(--secondary-light);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #feeafd;
}

.engagement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.engagement-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.company-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.engagement-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.engagement-content .speak-enge-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.engagement-content .speak-enge-para {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .speaking-engagements-grid {
    grid-template-columns: 1fr;
  }

  .engagement-card {
    padding: 1rem;
  }

  .engagement-logo {
    width: 100px;
    height: 100px;
  }

  .engagement-content .speak-enge-title {
    font-size: 1rem;
  }

  .engagement-content .speak-enge-para {
    font-size: 0.85rem;
  }
}
