:root {
  /* Colors (Light Theme) */
  --primary: 210 100% 50%;
  --primary-foreground: 0 0% 100%;
  --primary-variant: 220 100% 60%;
  --primary-glow: 215 100% 70%;
  
  --secondary: 210 20% 90%;
  --secondary-foreground: 210 20% 10%;
  
  --accent: 210 40% 95%;
  --accent-foreground: 210 40% 10%;

  --background: 0 0% 100%;
  --foreground: 0 0% 15%;

  --muted: 210 40% 96%;
  --muted-foreground: 215.4 16.3% 46.9%;
  
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 222.2 84% 4.9%;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  --gradient-hero: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.5));
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px hsl(var(--primary-glow) / 0.3);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
}

/* Dark Theme Variables */
html.dark-theme {
    --primary: 210 100% 50%;
    --primary-foreground: 0 0% 100%;
    --primary-variant: 220 100% 60%;
    --primary-glow: 215 100% 70%;
    
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;

    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 210 40% 98%;
}


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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-hero {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-glow);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.btn-outline {
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--primary));
}

.btn-ghost {
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background: hsl(var(--accent));
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  color: hsl(var(--foreground));
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo img {
  height: 2rem;
  width: auto;
}

.search-container {
  flex: 1;
  max-width: 36rem;
  margin: 0 2rem;
}

.search-wrapper, .hero-search-wrapper {
  position: relative;
}

.search-icon, .hero-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 28px;
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}

.search-input, .hero-search-input, .newsletter-input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background: hsl(var(--accent) / 0.5);
  color: hsl(var(--foreground));
  transition: var(--transition);
}

.search-input:focus, .hero-search-input:focus, .newsletter-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  background: hsl(var(--background));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}
/* start */
.search-results {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f4f6f8;
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.result-item {
    color: black;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fff;
    border-left: 4px solid #007bff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-size: 1rem;
    line-height: 1.5;
}

.hero-search-wrapper {
    position: relative;
}

.search-results-dropdown {
    position: absolute;
    /* color: black; */
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: none; /* Initially hidden */
}

.dark-theme .search-results-dropdown {
    background-color: #ffffff;
    color: #000000;
    border-color: #333;
}

.result-item {
    color:#000000;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-size: 0.95rem;
}

/* .result-item:hover {
    background-color: #f9f9f9;
} */

/* .dark-theme .result-item:hover {
  color: black;
    background-color: #333;
} */

.slider {
  max-width: 600px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease-in-out;
}

.slide.active {
  display: block;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #ddd;
}

/* Container holds 3 cards side by side on large screens */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* Card styling */
.success-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  flex: 1 1 calc(33.333% - 20px); /* 3 cards in row */
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s ease;
}

.success-card:hover {
  transform: translateY(-5px);
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #ddd;
}

.carousel-title{
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  
}
.carousel-container {
  /* margin-top: 100px; */
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.carousel-track {
  display: flex;
  gap: 15px;
  animation: scroll 20s linear infinite;
}

.carousel-card {
  background: rgb(233, 233, 235);
  color: black;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  flex: 0 0 33.3333%;
  box-sizing: border-box;
  text-align: center;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ddd;
  margin-bottom: 15px;
}

/* Mobile responsive: 1 card per view */
@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 100%;
  }
}

/* Animation for auto-scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}




.result-item:last-child {
    border-bottom: none;
    color: black;
    
}
/* at the end */

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* UPDATED: Styles for new nav links */
.nav-link {
  color: black
  
}

.nav-link i {
  width: 1rem;
  height: 1rem;
}

.nav-item {
  padding: 3px 0px;
  display: flex;
  align-items: center;
  gap: 0.25rem; 
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Fix the mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    z-index: 60;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Fix the overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5);  */
    z-index: 55;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

/* Add mobile navigation styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 56;
    transition: right 0.3s ease;
    padding: 2rem 1rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.is-open {
    right: 0; /* Slide in */
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 1rem;
}

.mobile-nav ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: background 0.2s;
}

.mobile-nav ul li a:hover {
    background: #f3f4f6;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 5rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 4xl;
  margin: 0 auto;
}

.hero-text {
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-search {
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.hero-search-input {
  padding: 1.5rem 1rem 1.5rem 3rem;
  font-size: 1.125rem;
  border: 2px solid hsl(var(--primary) / 0.2);
  border-radius: 0.5rem;
  background: hsl(var(--background));
  box-shadow: var(--shadow-lg);
}

.hero-search-btn {
  position: absolute;
  right: 0.5rem;
  top: 15px;
  /* transform: translateY(-50%); */
  padding: 0.75rem 1.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

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

.stat {
  text-align: center;
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
  margin: 0 auto 0.5rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(var(--primary));
}

.stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Features Section */
.features {
  padding: 5rem 0;
}

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

.features-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.text-primary {
  color: hsl(var(--primary));
}

.features-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin: 0 auto;
}

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

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-lg);
}

.feature-image {
  height: 8rem;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-header {
  text-align: center;
  padding: 1.5rem 1.5rem 1rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: hsl(var(--primary) / 0.2);
}

.feature-icon i {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-content {
  text-align: center;
  padding: 0 1.5rem 1.5rem;
}

.feature-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-btn {
  width: 100%;
  border-color: hsl(var(--primary) / 0.3);
}

.feature-btn:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.features-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem;
  background: linear-gradient(to right, hsl(var(--primary) / 0.05), hsl(var(--primary) / 0.1));
  border-radius: 1rem;
  border: 1px solid hsl(var(--primary) / 0.2);
}

.cta-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

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

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo img {
  height: 2rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  color: hsl(var(--foreground));
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.contact-item i {
  width: 1rem;
  height: 1rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: hsl(var(--primary));
}

.newsletter-text {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.newsletter {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.5rem;
  margin: 0;
}

.newsletter-btn {
  padding: 0.5rem 1rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

.copyright {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-bottom-link:hover {
  color: hsl(var(--primary));
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    /* Hide desktop nav and login/signup buttons */
    .nav {
        display: none;
    }
    .user-actions .btn-ghost,
    .user-actions .btn-primary {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-toggle {
        display: inline-flex;
    }

    /* Style the navigation for mobile view (when it's opened with JS) */
    .nav.is-open {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: hsl(var(--background));
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(0);
        transition: transform 0.3s ease-in-out;
        z-index: 56;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    /* Keep nav hidden off-screen by default */
    .nav {
        transform: translateX(100%);
    }

    /* Adjust nav items for vertical layout */
    .nav.is-open .nav-link {
        font-size: 1.25rem;
        width: 100%;
        padding-bottom: 1rem;
        border-bottom: 1px solid hsl(var(--border));
        border-radius: 0;
    }

    /* Other responsive tweaks */
    .hero-title {
        font-size: 2rem;
    }
  
    .hero-description {
        font-size: 1rem;
    }
  
    .features-title {
        font-size: 1.75rem;
    }
  
    .dashboard-title {
        font-size: 2rem;
    }
}

/* html.dark-theme .logo img {
    filter: invert(1);
} */

/* --- HONOR CODE PAGE STYLES --- */
.page-hero {
    background: hsl(var(--accent) / 0.3);
    padding: 4rem 1rem;
    text-align: center;
    border-bottom: 1px solid hsl(var(--border));
}

.honor-hero .hero-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
}

.honor-hero .hero-icon-wrapper i {
    width: 2.5rem;
    height: 2.5rem;
    color: hsl(var(--primary));
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
}

.page-content {
    padding: 5rem 0;
}

.content-section {
    max-width: 960px;
    margin: 0 auto 5rem;
}

.content-section .section-title {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.content-section .section-title.left-align {
    text-align: left;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

.content-section p + p {
    margin-top: 1rem;
}

.principles-grid-alt {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.principle-icon {
    flex-shrink: 0;
    background: hsl(var(--primary) / 0.1);
    border-radius: 0.5rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.principle-icon i {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--primary));
}

.principle-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.principle-description {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
}

.commitment-section.alt-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
}

@media (min-width: 768px) {
    .commitment-section.alt-layout {
        grid-template-columns: 1fr 1fr;
    }
    .commitment-section.alt-layout .commitment-image {
        order: 1;
    }
    .commitment-section.alt-layout.reverse .commitment-image {
        order: initial;
    }
}

.commitment-image img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    overflow: hidden;
    background: hsl(var(--accent) / 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.is-open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9rem;
}

.faq-item.is-open .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

.text-center {
    text-align: center;
}

.cta-section-alt {
    background: hsl(var(--accent) / 0.3);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
}
