/* SCIFC - Styles.css */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Variables - Light Theme (Default) */
:root {
  --primary: hsl(265, 48%, 47%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(252, 47%, 33%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(252, 40%, 20%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(252, 40%, 20%);
  --muted: hsl(265, 30%, 96%);
  --muted-foreground: hsl(252, 20%, 45%);
  --accent: hsl(280, 52%, 68%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(265, 25%, 88%);
  --input: hsl(265, 25%, 88%);
  --ring: hsl(265, 48%, 47%);
  --radius: 0.75rem;
  --hero-gradient: linear-gradient(135deg, hsl(265, 48%, 47%) 0%, hsl(252, 47%, 28%) 100%);
  --warm-gradient: linear-gradient(135deg, hsl(265, 48%, 47%) 0%, hsl(280, 52%, 68%) 100%);
  --shadow-sm: 0 2px 8px hsla(280, 52%, 68%, 0.1);
  --shadow-md: 0 8px 24px hsla(280, 52%, 68%, 0.15);
  --shadow-lg: 0 16px 48px hsla(280, 52%, 68%, 0.2);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

/* Dark Theme */
.dark {
  --primary: hsl(280, 52%, 68%);
  --primary-foreground: hsl(252, 40%, 8%);
  --secondary: hsl(265, 48%, 55%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --background: hsl(252, 40%, 8%);
  --foreground: hsl(265, 20%, 92%);
  --card: hsl(252, 35%, 12%);
  --card-foreground: hsl(265, 20%, 92%);
  --muted: hsl(252, 30%, 15%);
  --muted-foreground: hsl(265, 25%, 70%);
  --accent: hsl(280, 52%, 68%);
  --accent-foreground: hsl(252, 40%, 8%);
  --border: hsl(252, 25%, 22%);
  --input: hsl(252, 25%, 22%);
  --ring: hsl(280, 52%, 68%);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Layout */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-container {
    padding: 0 1.5rem;
  }

  .section-padding {
    padding: 6rem 0;
  }
}

/* Typography */
.heading-xl {
  font-size: 2.25rem;
  font-weight: 700;
}

.heading-lg {
  font-size: 1.875rem;
  font-weight: 700;
}

.heading-md {
  font-size: 1.5rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .heading-xl {
    font-size: 3rem;
  }

  .heading-lg {
    font-size: 2.25rem;
  }

  .heading-md {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .heading-xl {
    font-size: 3.75rem;
  }
}

/* Backgrounds */
.hero-gradient-bg {
  background: var(--hero-gradient);
}

.warm-gradient-bg {
  background: var(--warm-gradient);
}

/* Ensure all text on purple gradient backgrounds is white in light mode */
.warm-gradient-bg,
.warm-gradient-bg h1,
.warm-gradient-bg h2,
.warm-gradient-bg h3,
.warm-gradient-bg h4,
.warm-gradient-bg h5,
.warm-gradient-bg h6,
.warm-gradient-bg p,
.warm-gradient-bg a,
.warm-gradient-bg span,
.warm-gradient-bg div {
  color: white;
}

/* Lilac text in dark mode */
.dark .warm-gradient-bg,
.dark .warm-gradient-bg h1,
.dark .warm-gradient-bg h2,
.dark .warm-gradient-bg h3,
.dark .warm-gradient-bg h4,
.dark .warm-gradient-bg h5,
.dark .warm-gradient-bg h6,
.dark .warm-gradient-bg p,
.dark .warm-gradient-bg a,
.dark .warm-gradient-bg span,
.dark .warm-gradient-bg div {
  color: hsl(280, 52%, 80%);
}

.bg-background {
  background-color: var(--background);
}

.bg-muted {
  background-color: var(--muted);
}

.bg-card {
  background-color: var(--card);
}

.bg-primary {
  background-color: var(--primary);
}

/* Text Colors */
.text-foreground {
  color: var(--foreground);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-primary {
  color: var(--primary);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.text-secondary {
  color: var(--secondary);
}

/* Cards */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.shadow-soft {
  box-shadow: var(--shadow-sm);
}

.shadow-medium {
  box-shadow: var(--shadow-md);
}

.shadow-large {
  box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-hero {
  background: var(--warm-gradient);
  color: white;
}

.btn-hero:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-hero-outline {
  background: transparent;
  border: 2px solid var(--primary-foreground);
  color: var(--primary-foreground);
}

.btn-hero-outline:hover {
  background: var(--primary-foreground);
  color: var(--primary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 0;
}

.header.scrolled {
  background: var(--background);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text h1 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(139, 92, 246, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.5rem;
}

.mobile-menu a:hover {
  color: var(--primary);
  background: rgba(139, 92, 246, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(139, 92, 246, 0.9), rgba(139, 92, 246, 0.7), rgba(139, 92, 246, 0.5));
}

.hero-content {
  position: relative;
  padding: 8rem 0 4rem;
}

.hero .badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 42rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item svg {
  width: 2rem;
  height: 2rem;
  color: white;
  margin: 0 auto 0.75rem;
}

.dark .stat-item svg {
  color: hsl(280, 52%, 80%);
}

.stat-item h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.dark .stat-item h3 {
  color: hsl(280, 52%, 80%);
}

.stat-item p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.dark .stat-item p {
  color: hsl(280, 52%, 75%);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Program Cards */
.program-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.program-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s;
}

.program-card:hover img {
  transform: scale(1.05);
}

.program-card-content {
  padding: 1.5rem;
}

.program-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.program-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Testimonials Slider */
.testimonial-slider-container {
  position: relative;
  overflow: hidden;
  margin: 0 -1rem;
  padding: 1rem;
}

.testimonial-slider-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slider-track .testimonial-card {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .testimonial-slider-track .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .testimonial-slider-track .testimonial-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    max-width: calc(33.333% - 1.33rem);
  }
}

.testimonial-card {
  background: var(--card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card .quote {
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: serif;
  line-height: 1;
}

.testimonial-card p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.testimonial-author h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.slider-btn {
  background: var(--card);
  color: var(--primary);
  border: 1px solid var(--border);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.slider-btn:active {
  transform: translateY(0);
}

.slider-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Footer */
.footer {
  background: var(--primary);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.dark .footer h4 {
  color: hsl(280, 52%, 80%);
}

.footer p,
.footer a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.dark .footer p,
.dark .footer a {
  color: hsl(280, 52%, 75%);
}

.footer a:hover {
  color: white;
}

.dark .footer a:hover {
  color: hsl(280, 52%, 90%);
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Form Elements */
input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  transition: all 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

/* Tags/Badges */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 9999px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

/* Page Hero (Inner Pages) */
.page-hero {
  padding: 8rem 0 4rem;
}

.page-hero .badge {
  display: inline-block;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.page-hero h1 {
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  line-height: 1.8;
}

/* Theme Toggle */
.theme-toggle {
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
}

.theme-toggle:hover {
  background: var(--muted);
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--foreground);
}

/* Utilities */
.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.hidden {
  display: none;
}

@media (min-width: 640px) {
  .sm-block {
    display: block;
  }
}

.rounded-2xl {
  border-radius: 1rem;
}

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

.pt-20 {
  padding-top: 5rem;
}



/* SCIFC Chatbot Styles */
.scifc-chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 9999;
}

.scifc-chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scifc-chat-button svg {
  width: 24px;
  height: 24px;
  color: white;
}

.scifc-chat-button.open {
  background: #ef4444;
}

.scifc-chat-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 380px;
  height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9998;
  border: 1px var(--border) solid;
}

.scifc-chat-container.open {
  display: flex;
}

.scifc-chat-header {
  background: var(--primary);
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scifc-chat-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.scifc-chat-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.scifc-chat-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.scifc-chat-iframe {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .scifc-chat-container {
    width: calc(100vw - 40px);
    height: 70vh;
    right: 20px;
    left: 20px;
    bottom: 80px;
  }

  .scifc-chat-button {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .scifc-chat-button svg {
    width: 20px;
    height: 20px;
  }
}

/* Dark mode support */
.dark .scifc-chat-container {
  background: var(--card);
  border-color: var(--border);
}

.dark .scifc-chat-header {
  background: var(--primary);
}

/* Partner Logos System */
.partner-logo-v2 {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.partner-logo-v2:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  background: white;
}

.dark .partner-logo-v2:hover {
  background: var(--card);
}

.partner-logo-v2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(1);
  opacity: 0.7;
}

.partner-logo-v2:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

.partners-grid-v2 {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

/* Infinite Scroll Effect */
.partners-scroll-container {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  background: transparent;
  position: relative;
}

.partners-scroll-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: scrollInfinite 40s linear infinite;
}

.partners-scroll-container:hover .partners-scroll-track {
  animation-play-state: paused;
}

@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Fade effects for edges */
.partners-scroll-container::before,
.partners-scroll-container::after {
  content: "";
  height: 100%;
  width: 100px;
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.partners-scroll-container::before {
  left: 0;
  top: 0;
  background: linear-gradient(to right, var(--muted), transparent);
}

.partners-scroll-container::after {
  right: 0;
  top: 0;
  background: linear-gradient(to left, var(--muted), transparent);
}

/* Volunteer Form Styles */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.volunteer-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.form-header {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}

.form-header h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.form-header p {
  color: var(--muted-foreground);
  max-width: 500px;
  margin: 0 auto;
}

.volunteer-form {
  padding: 2rem;
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.form-section-title svg {
  flex-shrink: 0;
  color: var(--primary);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

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

.form-group select {
  cursor: pointer;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.error-message {
  display: block;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  font-weight: 500;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
}

.success-message h3 {
  color: var(--foreground);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.success-message p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn-md {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-header {
    padding: 2rem 1.5rem;
  }
  
  .volunteer-form {
    padding: 1.5rem;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-section-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .form-header {
    padding: 1.5rem 1rem;
  }
  
  .volunteer-form {
    padding: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.625rem 0.875rem;
  }
}

/* Dark mode support */
.dark .volunteer-form-container {
  background: var(--card);
  border-color: var(--border);
}

.dark .form-header {
  background: var(--muted);
  border-color: var(--border);
}

.dark .form-section-title {
  color: var(--foreground);
}

.dark .form-group input,
.dark .form-group select,
.dark .form-group textarea {
  background: var(--background);
  border-color: var(--border);
  color: var(--foreground);
}

.dark .form-group input::placeholder,
.dark .form-group textarea::placeholder {
  color: var(--muted-foreground);
}

/* Enhanced text visibility for all themes */
.page-hero .hero-content {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dark .page-hero .hero-content {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Better contrast for badges */
.badge {
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Enhanced text visibility */
h1, h2, h3, h4, h5, h6 {
  color: var(--foreground);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Ensure better readability for small text */
.text-muted-foreground {
  color: var(--muted-foreground);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.dark .text-muted-foreground {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* Enhanced link visibility */
a {
  color: var(--primary);
  text-shadow: 0 1px 1px rgba(139, 92, 246, 0.1);
}

.dark a {
  text-shadow: 0 1px 1px rgba(139, 92, 246, 0.3);
}

/* Hero section text styling - clean white text in light mode, themed text in dark mode */
.page-hero .badge {
  background: var(--primary);
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

/* Dark mode hero text */
.dark .page-hero .badge {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.dark .page-hero h1 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.dark .page-hero p {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Mobile responsive hero text */
@media (max-width: 768px) {
  .page-hero .badge {
    padding: 0.4rem 1.2rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .page-hero h1 {
    padding: 0.8rem 1.5rem;
    font-size: 2rem;
    margin: 1rem 0;
  }
  
  .page-hero p {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    margin: 1rem 0;
  }
}

/* Footer text improvements - Custom colors as requested */
.footer p {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dark .footer p {
  color: #271f47;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Footer headings */
.footer h3,
.footer h4 {
  color: white;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.dark .footer h3,
.dark .footer h4 {
  color: #271f47;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* Footer links */
.footer a {
  color: white;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.dark .footer a {
  color: #271f47;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* Footer social icons */
.footer-social a {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dark .footer-social a {
  color: #271f47;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* Footer list items */
.footer ul li {
  color: white;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.dark .footer ul li {
  color: #271f47;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.footer ul li a {
  color: white;
}

.dark .footer ul li a {
  color: #271f47;
}