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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.6;
}

.testimonials-section {
  width: 100%;
  padding: 4rem 0 8rem;
  background-color: #f2ebdc;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Header Section */
.header-section {
  text-align: center;
  margin-bottom: 4rem;
}

.main-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #002147;
}

@media (min-width: 768px) {
  .main-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .main-title {
    font-size: 3.75rem;
  }
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, rgb(155, 184, 218) 0%, #ff8430 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.75;
  color: #020202;
}

@media (min-width: 768px) {
  .subtitle {
    font-size: 1.25rem;
  }
}

.divider {
  margin: 2.5rem 0;
  display: flex;
  justify-content: center;
}

.divider-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #ff8430, #002147);
  border-radius: 9999px;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 6rem;
}

.section-title h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #002147;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section-title h2 {
    font-size: 1.875rem;
  }
}

.section-title p {
  font-size: 1rem;
  color: #020202;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .section-title p {
    font-size: 1.125rem;
  }
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

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

/* Testimonial Card */
.testimonial-card {
  padding: 2rem;
  border: none;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  transform: translateY(0);
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: #f2ebdc;
}

.testimonial-card:hover {
  box-shadow:
    0 25px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-0.25rem);
}

.card-gradient-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(90deg, #ff8430 0%, #002147 100%);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #002147;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: #002147;
}

.profile-role {
  font-size: 0.875rem;
  color: #002147;
  opacity: 0.9;
}

.quote-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.quote-mark {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 2rem;
  height: 2rem;
  opacity: 0.2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff8430;
}

.quote-text {
  font-family: sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  padding-left: 1.5rem;
  color: #002147;
}

.read-more-btn {
  display: flex;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #f4c400;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(0, 33, 71, 0.8);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background-color: #f2ebdc;
}

.modal-padding {
  padding: 2rem;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: bold;
  background-color: #ff8430;
  color: #002147;
  border: none;
  cursor: pointer;
}

.modal-gradient-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(90deg, #ff8430 0%, #002147 100%);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.modal-profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff8430;
}

.modal-profile-info {
  flex: 1;
}

.modal-profile-name {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: #002147;
}

.modal-profile-role {
  font-size: 1rem;
  opacity: 0.75;
  color: #002147;
}

.modal-quote-container {
  position: relative;
  margin-bottom: 1rem;
}

.modal-quote-mark {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 3rem;
  height: 3rem;
  opacity: 0.2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  font-weight: bold;
  color: #ff8430;
}

.modal-quote-text {
  font-size: 1.125rem;
  line-height: 1.75;
  padding-left: 2rem;
  color: #002147;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 3rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgb(182, 203, 211) 0%,
    rgb(12, 35, 66) 50%,
    rgb(155, 134, 52) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #f2ebdc;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #f2ebdc;
}

.cta-description {
  font-size: 1.125rem;
  color: white;
  max-width: 48rem;
  margin: 0 auto;
}

/* Hidden class for modal */
.hidden {
  display: none;
}

/* Prevent body scroll when modal is open */
.modal-open {
  overflow: hidden;
}
