:root {
  --primary-color: #ffc107;
  --secondary-color: #333;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

section.grid-background {
  background-color: var(--light-gray);
  background-image: linear-gradient(
      to right,
      rgba(224, 224, 224, 0.5) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(224, 224, 224, 0.5) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 0 0;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  color: var(--secondary-color);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 24px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1002;
}

.hamburger .line {
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
  transition: all 0.4s ease;
}

.hamburger.active .line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: var(--white);
  padding: 80px 20px 20px;
  z-index: 999;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar ul a {
  text-decoration: none;
  color: var(--black);
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  padding: 10px 0;
  display: block;
  transition: var(--transition);
}

.sidebar ul a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.sidebar ul a:hover::after,
.sidebar ul a:focus::after {
  width: 100%;
}

.sidebar ul a:hover,
.sidebar ul a:focus {
  color: var(--black);
}

.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
}

.slide.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1.05);
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 100%;
  padding: 0 20px;
}

.slide-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  margin-bottom: 15px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-description {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.what-is-reboot {
  padding: 60px 0;
  text-align: center;
}

.text-content {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.text-content p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.8;
  margin-left: 1rem;
  margin-right: 1rem;
}

.founder-signature {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-style: italic;
  color: var(--secondary-color);
  margin-top: 20px;
  line-height: 1.6;
}

.vision-mission {
  padding: 60px 0;
  text-align: center;
}

.vm-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.vision-card,
.mission-card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vm-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--white);
  font-size: 20px;
}

.vision-card h3,
.mission-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.vision-card p,
.mission-card p {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: var(--secondary-color);
  line-height: 1.6;
}

.founders-desk {
  padding: 60px 0;
  text-align: center;
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.image-content {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-content img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  display: block;
}

.founder-card {
  margin-top: 15px;
  background: var(--white);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 400px;
  transition: none;
}

.founder-card:hover {
  transform: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.founder-name {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.founder-credentials {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.founder-degrees {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: var(--secondary-color);
  line-height: 1.4;
}

.services {
  padding: 60px 0;
  text-align: center;
}

.services-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  overflow-x: hidden;
}

.service-card {
  height: 250px;
  perspective: 1000px;
  cursor: pointer;
  overflow: hidden;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
}

.service-card-front {
  border: 2px solid var(--primary-color);
}

.service-card-back {
  background: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.service-image-container {
  margin-bottom: 15px;
  height: 150px;
  overflow: hidden;
}

.service-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.service-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--secondary-color);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-height: none;
  line-height: 1.4;
}

.service-subheading {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 15px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.8em;
  line-height: 1.4;
}

.service-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn,
.enquiry-btn,
.form-container button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  text-decoration: none;
  color: #f1c40f;
  background-color: #f5f5f5;
  border: 2px solid #f1c40f;
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.btn:hover,
.form-container button:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.learn-more-btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.enquiry-btn {
  background: #25d366;
  color: #fff;
  border: none;
}

.enquiry-btn:hover {
  background: #20b858;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.enquiry-btn i {
  margin-right: 8px;
}

.why-choose-us {
  padding: 40px 0 80px 0;
  text-align: center;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.1),
    rgba(51, 51, 51, 0.1)
  );
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.psychology-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
  width: 100%;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
}

.psychology-card {
  min-width: 120px;
  max-width: 160px;
  padding: 15px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  background: inherit;
  border-radius: 16px;
  border: 2px solid rgba(255, 193, 7, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.15);
  z-index: 1;
  box-sizing: border-box;
}

.psychology-card::before {
  content: "";
  position: absolute;
  background: inherit;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: -20px;
  box-shadow: inset 0 0 500px rgba(255, 255, 255, 0.4);
  filter: blur(10px);
  z-index: -1;
}

.psychology-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.psychology-card-front {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.psychology-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.psychology-card-icon {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.psychology-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 5px;
  padding: 0 5px;
  line-height: 1.2;
}

.psychology-card p {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  color: var(--secondary-color);
  line-height: 1.3;
  padding: 0 5px;
  text-align: center;
}

/* Gallery Section */
.gallery {
  padding: 40px 0;
  text-align: center;
  width: 100%;
  margin: 0;
}

.gallery .container {
  max-width: 100%;
  padding: 0;
}

.gallery .section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  width: 100%;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 1 / 1;
}

.gallery-image,
.gallery-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.gallery-image {
  filter: grayscale(100%);
}

.gallery-item:hover .gallery-image {
  filter: grayscale(0%);
}

.gallery-caption {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  color: #ffffff;
  padding: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 8px #ffc107;
}

.gallery-item:hover .gallery-caption {
  opacity: 0;
}

.gallery-buttons {
  margin-top: 15px;
  text-align: center;
}

/* Gallery Detail Specific Styles */
.gallery-detail-hero {
  position: relative;
  height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: 0;
  z-index: 1;
}

.gallery-detail-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.gallery-detail-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.gallery-detail-content {
  padding: 40px 0;
  background: #fff;
  overflow: hidden;
}

.gallery-detail-description {
  max-width: 800px;
  margin: 0 auto 30px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  text-align: center;
  padding: 0 15px;
}

.gallery-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.gallery-detail-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}

.gallery-detail-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
  filter: grayscale(100%);
}

.gallery-detail-item:hover .gallery-detail-image {
  filter: grayscale(0%);
}

.gallery-detail-video {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.testimonials {
  padding: 40px 0;
  text-align: center;
}

.testimonials-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 20px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 15px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-slide h3 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.testimonial-slide .stars {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.testimonial-slide .testimonial-content {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: var(--secondary-color);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.testimonials-prev,
.testimonials-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f5f5f5;
  color: #f1c40f;
  border: 2px solid #f1c40f;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonials-prev:hover,
.testimonials-next:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.testimonials-prev {
  left: -40px;
}

.testimonials-next {
  right: -40px;
}

.contact {
  padding: 40px 0;
  text-align: center;
}

.form-container {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  margin-top: 15px;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-container input,
.form-container textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  width: 100%;
}

.form-container textarea {
  height: 100px;
  resize: vertical;
}

.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 30px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.footer-map iframe {
  width: 100%;
  border-radius: 10px;
}

.footer-info h3,
.footer-links h3 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-info p {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-info .social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-info .social-links a {
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.footer-info .social-links a:hover {
  color: var(--primary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul a {
  color: var(--white);
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links ul a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

.black-text {
  color: var(--secondary-color);
}

.yellow-text {
  color: var(--primary-color);
}

/* Responsive Design */
@media (min-width: 769px) {
  .psychology-cards {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
  }

  .content-wrapper {
    flex-wrap: nowrap;
  }

  .gallery-row,
  .gallery-detail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
    padding: 0 10px;
  }

  .navbar {
    padding: 8px 10px;
  }

  .logo-img {
    height: 50px;
  }

  .logo-text {
    font-size: 20px;
  }

  .hero-slider {
    height: 70vh;
  }

  .slide-content h2 {
    font-size: 28px;
  }

  .slide-description {
    font-size: 14px;
  }

  .section-title {
    font-size: 28px;
  }

  .gallery .section-title {
    font-size: 36px;
  }

  .section-title::after {
    width: 80px;
  }

  .what-is-reboot,
  .vision-mission,
  .founders-desk,
  .services,
  .why-choose-us,
  .gallery,
  .testimonials,
  .contact {
    padding: 30px 0 60px 0;
  }

  .psychology-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 10px;
  }

  .psychology-card {
    max-width: 100%;
    padding: 10px;
  }

  .psychology-card-icon {
    font-size: 26px;
  }

  .psychology-card h3 {
    font-size: 12px;
  }

  .psychology-card p {
    font-size: 10px;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 200px;
  }

  .service-icon {
    height: 100px;
  }

  .gallery-row,
  .gallery-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-image,
  .gallery-media,
  .gallery-detail-image,
  .gallery-detail-video {
    height: 200px;
  }

  .gallery-caption {
    font-size: 22px;
  }

  .form-container {
    padding: 15px;
  }

  .testimonials-prev,
  .testimonials-next {
    width: 25px;
    height: 25px;
    font-size: 12px;
    padding: 5px;
  }

  .gallery-detail-hero h1 {
    font-size: 28px;
  }

  .gallery-detail-description {
    font-size: 14px;
  }

  .founder-card {
    padding: 10px;
  }

  .founder-name {
    font-size: 16px;
  }

  .founder-credentials {
    font-size: 12px;
  }

  .founder-degrees {
    font-size: 10px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 5px;
  }

  .hero-slider {
    height: 50vh;
  }

  .slide-content h2 {
    font-size: 20px;
  }

  .slide-description {
    font-size: 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .gallery .section-title {
    font-size: 36px;
  }

  .section-title::after {
    width: 60px;
    height: 2px;
  }

  .service-card h3 {
    font-size: 14px;
  }

  .service-subheading {
    font-size: 11px;
  }

  .btn,
  .enquiry-btn,
  .form-container button {
    padding: 6px 12px;
    font-size: 12px;
  }

  .testimonial-slide h3 {
    font-size: 14px;
  }

  .testimonial-slide .testimonial-content {
    font-size: 11px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-info .social-links {
    justify-content: center;
  }

  .psychology-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .psychology-card {
    max-width: 100%;
    padding: 8px;
  }

  .psychology-card-icon {
    font-size: 24px;
  }

  .psychology-card h3 {
    font-size: 11px;
  }

  .psychology-card p {
    font-size: 9px;
  }

  .gallery-row,
  .gallery-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-image,
  .gallery-media,
  .gallery-detail-image,
  .gallery-detail-video {
    height: 180px;
  }

  .gallery-caption {
    font-size: 20px;
  }

  .gallery-detail-hero {
    height: 30vh;
  }

  .gallery-detail-hero h1 {
    font-size: 24px;
  }

  .founder-card {
    padding: 8px;
  }

  .founder-name {
    font-size: 14px;
  }

  .founder-credentials {
    font-size: 11px;
  }

  .founder-degrees {
    font-size: 9px;
  }
}

@media (max-width: 400px) {
  .gallery-detail-image,
  .gallery-detail-video {
    height: 160px;
  }

  .gallery-caption {
    font-size: 18px;
  }

  .psychology-card {
    padding: 6px;
  }

  .psychology-card-icon {
    font-size: 20px;
  }

  .psychology-card h3 {
    font-size: 10px;
  }

  .psychology-card p {
    font-size: 8px;
  }

  .founder-card {
    padding: 6px;
  }

  .founder-name {
    font-size: 12px;
  }

  .founder-credentials {
    font-size: 10px;
  }

  .founder-degrees {
    font-size: 8px;
  }
}
