:root {
  --primary-red: #E63946;
  --primary-purple: #8B5CF6;
  --primary-yellow: #F59E0B;
  --primary-green: #86EF31;
  --dark-bg: #1A1A2E;
  --light-bg: #FFFFFF;
  --text-dark: #1F2937;
  --text-light: #F9FAFB;
  --text-gray: #6B7280;
  --border-color: #E5E7EB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.main-logo{
  max-height: 55px;
}

.footer-logo{
  width: 140px;
}

@media(width < 480px) {
  .footer-logo{
    width: 100px;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.6rem;
  align-items: center;
  font-size: 14px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-purple);
}

.nav-menu a.active {
  color: var(--primary-purple);
  font-weight: 700;
}

.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-purple);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.btn-apply {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
}

.btn-apply::after {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-red);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #1A1A2E 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(134, 239, 49, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.45) 0%, rgba(22, 33, 62, 0.45) 50%, rgba(26, 26, 46, 0.45) 100%);
}

.floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  top: 10%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: var(--primary-red);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: 0s;
}

.shape-2 {
  top: 60%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: var(--primary-purple);
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  animation-delay: 5s;
}

.shape-3 {
  bottom: 10%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: var(--primary-green);
  border-radius: 50%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, 20px) rotate(180deg);
  }
  75% {
    transform: translate(20px, 20px) rotate(270deg);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-logo{
  width: 90%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Responsive fallbacks for components that aren't yet converted to Tailwind */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-logo {
    width: 70%;
    display: block;
    margin: 0 auto;
  }

  .stats-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .stats-container .stat-card {
    padding: 1.5rem;
  }
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text .highlight {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .tagline {
  font-size: 1.5rem;
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #D1D5DB;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-purple);
  transform: translateY(-3px);
}

/* Stats Counter */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #D1D5DB;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Styling */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-header .subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

.section-accent {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.card-icon.red {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(230, 57, 70, 0.2));
  color: var(--primary-red);
}

.card-icon.purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.2));
  color: var(--primary-purple);
}

.card-icon.yellow {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.2));
  color: var(--primary-yellow);
}

.card-icon.green {
  background: linear-gradient(135deg, rgba(134, 239, 49, 0.1), rgba(134, 239, 49, 0.2));
  color: var(--primary-green);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.card p {
  color: var(--text-gray);
  line-height: 1.8;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-red), var(--primary-purple));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-red);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.2);
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-purple);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding-left: 10px;
}

.team-overlay .social-links a{
  padding: 0 !important;
}

.social-links a svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
  stroke: currentColor;
}

.social-links a i {
  font-size: 18px;
  display: block;
  line-height: 1;
}

.follow-box a i,
.social-links .social-link i {
  margin-right: 0.5rem;
}

.social-links a:hover {
  background: var(--primary-purple);
  transform: translateY(-3px);
  color: white;
}

/* screen-reader only helper */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Consent page styling */
.consent-content {
  max-width: 900px;
  margin: 3rem auto;
  /* background: white; */
  /* padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06); */
  /* line-height: 1.7; */
}

.consent-content h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.consent-content h2 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.consent-content p, .consent-content li {
  color: #374151;
  font-size: 0.98rem;
}

.consent-content ul {
  margin-left: 1.2rem;
}

.consent-link {
  color: var(--primary-purple);
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 480px) {
  .consent-content { padding: 1.25rem; margin: 1.5rem 1rem; }
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9CA3AF;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column;
    padding-left: 3rem;
  }

  .timeline-item:nth-child(even) {
    flex-direction: column;
  }

  .timeline-dot {
    left: 20px;
  }
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contact section responsive fixes */
.form-card {
  display: grid;
  gap: 1.25rem;
  width: 100%;
}

/* On medium+ screens show form and contact info side-by-side */
@media (min-width: 768px) {
  .form-card {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .form-card .bg-white {
    padding: 2.5rem; /* match md:p-10 fallback */
  }
}

/* Small screens: reduce padding and ensure full-width inputs */
@media (max-width: 767px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .form-card .bg-white {
    padding: 1.25rem;
  }

  /* Stack right column panels with consistent spacing */
  .form-card > div:nth-child(2) {
    display: grid;
    gap: 1rem;
  }

  /* Reduce padding of right-column panels on small screens */
  .form-card > div:nth-child(2) > div {
    padding: 1.25rem !important;
  }

  /* Make follow buttons wrap nicely */
  .form-card > div:nth-child(2) a {
    flex: 0 0 48%;
    box-sizing: border-box;
  }

  /* Make buttons slightly smaller on phones */
  .form-card .btn {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }
}

/* Ensure the form button spans full width on all sizes */
.form-card form button[type="submit"] {
  width: 100%;
}

/* Small tweak to reduce large inline hero paddings on very narrow screens */
@media (max-width: 420px) {
  section[style*="padding: 10rem 0 5rem"] {
    padding: 5rem 0 3rem !important;
  }
}

/* Contact info box and follow-box tweaks */
.contact-right {
  width: 100%;
}

.contact-info-box > div {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-info-box .icon {
  font-size: 1.5rem;
}

.follow-box a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #f9fafb;
  border-radius: 10px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .follow-box a {
    flex: 0 0 48%;
  }
}

/* Loading Animation */
.loader {
  border: 3px solid rgba(139, 92, 246, 0.1);
  border-top: 3px solid var(--primary-purple);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.bg-light {
  background: #F9FAFB;
}

.bg-dark {
  background: var(--dark-bg);
  color: var(--text-light);
}
/* Team/Speaker Cards with Images */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
  max-width: 400px;
}

.team-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.team-image-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.95), transparent);
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.team-card:hover .team-overlay {
  transform: translateY(0);
}

.team-overlay .social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.team-overlay .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.team-overlay .social-links a:hover {
  background: var(--primary-purple);
  transform: translateY(-3px);
}

.team-info {
  padding: 2rem;
}

.team-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.team-role {
  color: var(--primary-purple);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: block;
}

.team-bio {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

.speaker-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.topic-tag {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--primary-purple);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-image-wrapper {
    height: 280px;
  }
  
  .team-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(26, 26, 46, 0.85), transparent);
    padding: 1.5rem;
  }
}

/* Partner card styles */
.partner-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.partner-card img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.partner-card h3 {
  font-size: 1rem;
  margin: 0;
}

.partner-card p {
  color: var(--text-gray);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 768px) {
  .partner-card {
    padding: 1.5rem;
  }
  .partner-card img {
    max-height: 56px;
  }
}

/* Testimonial Card Styles */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-purple);
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.testimonial-title {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 0.25rem 0;
}

.testimonial-rating {
  font-size: 0.9rem;
  color: #F59E0B;
  margin-top: 0.25rem;
  display: flex;
  margin: 0 auto;
}

.testimonial-text {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--primary-purple);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Testimonial Carousel Styles */
.testimonial-carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5rem;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

/* Single-track slider support */
.testimonial-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  will-change: transform;
  align-items: stretch;
}

/* Default to three-per-row (JS will set precise flex-basis on init) */
.testimonial-track .testimonial-card-large {
  flex: 0 0 33.333%;
}

.testimonial-slide {
  display: none;
  animation: slideIn 0.7s ease-in-out;
}

.testimonial-slide.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card-large {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

.quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  color: rgba(139, 92, 246, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-avatar-large {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-purple);
  box-shadow: 0 6px 15px rgba(139, 92, 246, 0.3);
}

.testimonial-text-large {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

/* Carousel Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background: var(--primary-purple);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* Carousel Dots */
.carousel-dots {
  text-align: center;
  margin-top: 3rem;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E5E7EB;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(139, 92, 246, 0.5);
  transform: scale(1.2);
}

.dot.active {
  background: var(--primary-purple);
  width: 35px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 1200px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .testimonial-grid .testimonial-card-large:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .testimonial-carousel-wrapper {
    padding: 0 3rem;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-grid .testimonial-card-large:last-child {
    max-width: 100%;
  }

  .testimonial-card-large {
    padding: 1.5rem;
  }

  .quote-icon {
    font-size: 4rem;
    top: 1rem;
    right: 1rem;
  }

  .testimonial-avatar-large {
    width: 60px;
    height: 60px;
  }

  .testimonial-text-large {
    font-size: 0.9rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .testimonial-carousel-wrapper {
    padding: 0 2.5rem;
  }

  .testimonial-card-large {
    padding: 1.25rem;
  }

  .testimonial-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  p{
    font-size: 14px !important;
  }

  h2{
    font-size: 2rem !important;
  }
}