:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --card-bg: #ffffff;
  --button-bg: #000000;
  --button-text: #ffffff;
  --link-color: #333333;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
  --shadow-heavy: rgba(0, 0, 0, 0.3);
  --glow-white: rgba(255, 255, 255, 0.8);
}

body.dark-mode {
  --bg-color: #000000;
  --text-color: #ffffff;
  --card-bg: #1a1a1a;
  --button-bg: #ffffff;
  --button-text: #000000;
  --link-color: #cccccc;
  --shadow-light: rgba(255, 255, 255, 0.1);
  --shadow-medium: rgba(255, 255, 255, 0.2);
  --shadow-heavy: rgba(255, 255, 255, 0.3);
  --glow-white: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Selection styling */
::selection {
  background-color: var(--text-color);
  color: var(--bg-color);
}

::-moz-selection {
  background-color: var(--text-color);
  color: var(--bg-color);
}

/* Header */
header {
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background-color: var(--card-bg);
  box-shadow: 0 4px 12px var(--shadow-medium);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header:hover {
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

body.dark-mode header:hover {
  box-shadow: 0 6px 20px var(--shadow-heavy), 0 0 25px var(--glow-white);
}

header h1 {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-wrapper {
  flex: 1;
  max-width: 400px;
  min-width: 200px;
}

header input {
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 25px;
  border: 2px solid var(--text-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow-light);
}

header input:focus {
  outline: none;
  border-color: var(--text-color);
  box-shadow: 0 0 20px var(--shadow-medium);
  transform: scale(1.02);
}

header input::placeholder {
  color: var(--text-color);
  opacity: 0.5;
}

/* No Results Container */
#no-results-container {
  display: flex;
  justify-content: center;
  padding: 20px;
  min-height: 0;
  transition: min-height 0.3s ease;
}

#no-results {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-color);
  background-color: var(--card-bg);
  padding: 15px 30px;
  border-radius: 12px;
  border: 2px solid var(--text-color);
  box-shadow: 0 4px 15px var(--shadow-medium);
  display: none;
  max-width: 400px;
  animation: shake 0.5s ease;
}

#no-results-container:has(#no-results[style*="display: block"]) {
  min-height: 80px;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.logo-icon {
  width: 60px;
  height: 60px;
  margin-right: 10px;
  vertical-align: middle;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px var(--shadow-medium));
}

.logo-icon:hover {
  transform: rotate(360deg) scale(1.1);
}


#darkmode {
  padding: 0;
  background: var(--button-bg);
  color: var(--button-text);
  border: 2px solid var(--text-color);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5em;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--shadow-medium);
  transition: all 0.3s ease;
}

#darkmode:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

#darkmode:active {
  transform: scale(0.95);
}

#darkmode:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--shadow-medium);
}

#darkmode-icon {
  pointer-events: none;
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Card */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 10px;
  }
}

@media (max-width: 480px) {
  .card-container {
    grid-template-columns: 1fr;
    padding: 20px 15px;
  }
}

.card {
  background-color: var(--card-bg);
  color: var(--text-color);
  border-radius: 16px;
  border: 2px solid var(--text-color);
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(45deg, var(--text-color), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 35px var(--shadow-heavy);
}

body.dark-mode .card:hover {
  box-shadow: 0 12px 35px var(--shadow-heavy), 0 0 30px var(--glow-white);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.3s; }

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--text-color);
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px var(--shadow-medium);
}

.card:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px var(--shadow-heavy);
}

body.dark-mode .card:hover img {
  box-shadow: 0 8px 20px var(--shadow-heavy), 0 0 20px var(--glow-white);
}

.card h3 {
  margin: 15px 0 8px;
  font-size: 1.3rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card:hover h3 {
  transform: scale(1.05);
  text-shadow: 0 2px 8px var(--shadow-medium);
}

.card p {
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
  margin: 8px 0;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.card:hover p {
  opacity: 1;
}


.links {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.links a {
  color: var(--button-text);
  background-color: var(--button-bg);
  text-decoration: none;
  border: 2px solid var(--text-color);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 8px var(--shadow-light);
  flex: 1;
  min-width: 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--text-color);
  opacity: 0.2;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.links a:hover::before {
  width: 300px;
  height: 300px;
}

.links a:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px var(--shadow-heavy);
}

body.dark-mode .links a:hover {
  box-shadow: 0 8px 20px var(--shadow-heavy), 0 0 20px var(--glow-white);
}

.links a:active {
  transform: translateY(-2px) scale(1.02);
}

/* Individual button animations */
.links a:nth-child(1) {
  animation-delay: 0.1s;
}

.links a:nth-child(2) {
  animation-delay: 0.2s;
}

.links a:nth-child(3) {
  animation-delay: 0.3s;
}

.links a:nth-child(1):hover {
  transform: translateY(-5px) scale(1.05) rotate(-2deg);
}

.links a:nth-child(2):hover {
  transform: translateY(-5px) scale(1.05);
}

.links a:nth-child(3):hover {
  transform: translateY(-5px) scale(1.05) rotate(2deg);
}

/* Footer */
footer {
  text-align: center;
  padding: 0;
  background-color: var(--bg-color);
  margin-top: 60px;
  transition: all 0.3s ease;
}

.footer-copyright {
  margin: 0;
  padding: 20px 20px;
  background: var(--card-bg);
  border-top: 2px solid var(--text-color);
  box-shadow: 0 -4px 12px var(--shadow-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.copyright-text {
  margin: 0;
  font-size: 14px;
  opacity: 0.7;
  letter-spacing: 1px;
  order: 1;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  order: 2;
}

.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  background: var(--bg-color);
  border: 2px solid var(--text-color);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  box-shadow: 0 4px 12px var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--text-color);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.social-icon:hover::before {
  width: 100px;
  height: 100px;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 10px 25px var(--shadow-heavy);
}

body.dark-mode .social-icon:hover {
  box-shadow: 0 10px 25px var(--shadow-heavy), 0 0 25px var(--glow-white);
}

.social-icon:hover svg {
  color: var(--bg-color);
  transform: scale(1.1) rotate(5deg);
}

.social-icon:active {
  transform: translateY(-4px) scale(1.05);
}

/* Individual icon animations */
.social-icon:nth-child(1):hover {
  transform: translateY(-8px) scale(1.1) rotate(-5deg);
}

.social-icon:nth-child(2):hover {
  transform: translateY(-8px) scale(1.1) rotate(5deg);
}

.social-icon:nth-child(3):hover {
  transform: translateY(-8px) scale(1.1) rotate(-5deg);
}

.social-icon:nth-child(4):hover {
  transform: translateY(-8px) scale(1.1) rotate(5deg);
}

.social-icon:nth-child(5):hover {
  transform: translateY(-8px) scale(1.1) rotate(-5deg);
}

.tagline {
  margin: 0;
  font-size: 15px;
  opacity: 0.6;
  letter-spacing: 1.5px;
  order: 3;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    gap: 15px;
    padding: 15px 10px;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .search-wrapper {
    flex: 1;
    max-width: 300px;
    min-width: 150px;
  }

  #darkmode {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  header {
    justify-content: center;
  }

  .logo-icon {
    width: 50px;
    height: 50px;
  }

  .card img {
    height: 160px;
  }

  .links {
    flex-direction: column;
  }

  .links a {
    width: 100%;
  }

  /* Footer improvements for mobile */
  .footer-copyright {
    padding: 20px 15px;
    gap: 1rem;
  }

  .copyright-text {
    font-size: 13px;
    order: 1;
    line-height: 1.6;
  }

  .social-icons {
    gap: 1.2rem;
    order: 2;
    padding: 0.5rem 0;
  }

  .social-icon {
    width: 48px;
    height: 48px;
    border-width: 2px;
  }

  .social-icon svg {
    width: 23px;
    height: 23px;
  }

  .tagline {
    font-size: 13px;
    order: 3;
    line-height: 1.6;
    padding: 0 1rem;
  }
}

/* Extra small devices */
@media (max-width: 380px) {
  .review-form-card {
    padding: 1.8rem 1.2rem;
  }

  .review-form-card h3 {
    font-size: 1.3rem;
  }

  .star-rating {
    font-size: 2rem;
    gap: 0.3rem;
  }

  .submit-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .social-icons {
    gap: 1rem;
  }

  .social-icon {
    width: 44px;
    height: 44px;
  }

  .social-icon svg {
    width: 21px;
    height: 21px;
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--text-color);
  border-radius: 6px;
  border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--link-color);
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 3px solid var(--text-color);
  outline-offset: 2px;
}

/* Review Section Styles */
.review-section {
  background: var(--bg-color);
  padding: 4rem 2rem 3rem 2rem;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.review-header {
  margin-bottom: 3rem;
}

@media (max-width: 600px) {
  .review-header {
    margin-bottom: 2rem;
  }
}

.review-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-color);
  letter-spacing: 3px;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.header-underline {
  width: 120px;
  height: 4px;
  background: var(--text-color);
  margin: 1rem auto;
  border-radius: 2px;
}

.review-subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-top: 1rem;
}

/* Review Form Card */
.review-form-card {
  background: var(--card-bg);
  border: 2px solid var(--text-color);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 600px;
  margin: 0 auto 4rem auto;
  box-shadow: 0 10px 40px var(--shadow-medium);
  transition: all 0.3s ease;
}

.review-form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px var(--shadow-heavy);
}

body.dark-mode .review-form-card:hover {
  box-shadow: 0 15px 50px var(--shadow-heavy), 0 0 30px var(--glow-white);
}

.review-form-card h3 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-subtitle {
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.6;
  margin-bottom: 2rem;
}

#reviewForm {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

@media (max-width: 600px) {
  #reviewForm {
    gap: 1.2rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: left;
}

#reviewForm input,
#reviewForm textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid var(--text-color);
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
  transition: all 0.3s ease;
}

#reviewForm input:focus,
#reviewForm textarea:focus {
  outline: none;
  border-color: var(--text-color);
  box-shadow: 0 4px 15px var(--shadow-medium);
  transform: translateY(-2px);
}

body.dark-mode #reviewForm input:focus,
body.dark-mode #reviewForm textarea:focus {
  box-shadow: 0 4px 15px var(--shadow-medium), 0 0 15px var(--glow-white);
}

#reviewForm textarea {
  min-height: 100px;
  resize: vertical;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 0.5rem;
  font-size: 2.5rem;
  cursor: pointer;
  justify-content: center;
  padding: 1rem 0;
}

.star {
  color: #ddd;
  transition: all 0.2s ease;
  cursor: pointer;
}

body.dark-mode .star {
  color: #444;
}

.star:hover,
.star.active {
  color: var(--text-color);
  transform: scale(1.2);
}

.star.active {
  animation: starPop 0.3s ease;
}

@keyframes starPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.submit-btn {
  background: var(--button-bg);
  color: var(--button-text);
  border: 2px solid var(--text-color);
  border-radius: 12px;
  padding: 14px 40px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-top: 1rem;
  box-shadow: 0 6px 20px var(--shadow-medium);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--text-color);
  opacity: 0.2;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
  width: 500px;
  height: 500px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-heavy);
}

body.dark-mode .submit-btn:hover {
  box-shadow: 0 10px 30px var(--shadow-heavy), 0 0 25px var(--glow-white);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Reviews Grid Display */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: var(--card-bg);
  border: 2px solid var(--text-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-heavy);
}

body.dark-mode .review-card:hover {
  box-shadow: 0 15px 40px var(--shadow-heavy), 0 0 30px var(--glow-white);
}

/* Profile Picture */
.review-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--text-color);
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-color);
  box-shadow: 0 4px 15px var(--shadow-medium);
  transition: all 0.3s ease;
}

.review-card:hover .review-avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

/* Quote Icon */
.review-quote {
  font-size: 2rem;
  color: var(--text-color);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.review-comment {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1rem 0;
  font-style: italic;
  opacity: 0.85;
}

.review-stars {
  color: var(--text-color);
  font-size: 1.3rem;
  letter-spacing: 3px;
  margin: 1rem 0;
}

.review-name {
  font-weight: 700;
  color: var(--text-color);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.review-role {
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.6;
  margin-top: 0.3rem;
}

/* Loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Glow animation for dark mode */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px var(--glow-white);
  }
  50% {
    box-shadow: 0 0 30px var(--glow-white);
  }
}

/* Responsive for review section */
@media (max-width: 900px) {
  .review-section {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }

  .review-header h2 {
    font-size: 2rem;
  }

  .review-form-card {
    padding: 2.5rem 2rem;
    margin-bottom: 3rem;
  }

  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .review-section {
    padding: 2.5rem 1.2rem 2rem 1.2rem;
  }

  .review-header h2 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
  }

  .header-underline {
    width: 80px;
    height: 3px;
    margin: 0.8rem auto;
  }

  .review-subtitle {
    font-size: 0.95rem;
    padding: 0 1rem;
    line-height: 1.5;
  }

  .review-form-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 16px;
  }

  .review-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }

  .form-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .form-group {
    gap: 0.4rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  #reviewForm input,
  #reviewForm textarea {
    padding: 11px 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  #reviewForm textarea {
    min-height: 90px;
  }

  .star-rating {
    font-size: 2.2rem;
    gap: 0.4rem;
    padding: 0.8rem 0;
  }

  .submit-btn {
    padding: 13px 32px;
    font-size: 1rem;
    margin-top: 0.5rem;
    border-radius: 10px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .review-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .review-card {
    padding: 1.8rem 1.5rem;
  }

  .review-quote {
    font-size: 1.8rem;
  }

  .review-comment {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .review-stars {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .review-name {
    font-size: 1.05rem;
  }

  .review-role {
    font-size: 0.82rem;
  }
}

/* Scroll to Top/Bottom Button */
#scroll-btn {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Adjusted to be in the corner */
  z-index: 999;
  cursor: pointer;
  opacity: 0.8;
  transform: scale(0.9);
  /* Reuse social-icon styles but override positioning */
}

#scroll-btn:hover {
  opacity: 1;
  transform: scale(1.1) translateY(-5px);
}

/* Ensure SVG is centered */
#scroll-btn svg {
  pointer-events: none;
}

@media (max-width: 768px) {
  #scroll-btn {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
}
