/**
 * Exact Insonis component CSS (ported from theme template.css + Elementor header settings).
 * Structure/pattern preserved; colors follow Winnex / AcademiaWise.
 */
:root {
  /* Top bar uses Winnex navy (same role as Insonis secondary) */
  --e-global-color-primary: #93CB40;
  --e-global-color-secondary: #1b2330;
  --e-global-color-text: #667085;
  --e-global-color-accent: #1b2330;
}

/* Testimonials: same Insonis pattern, AcademiaWise palette */
.aw-testimonials-section {
  --e-global-color-primary: #93CB40;
  --e-global-color-secondary: #1b2330;
  --e-global-color-text: #667085;
  --e-global-color-accent: #1b2330;
}

/* --------------------------------------------------------------------------
   Pill top bar — Elementor container 00c1e6c (Header 01)
   bg: secondary, radius 30px, padding 6/15, icon-list + search + socials
   -------------------------------------------------------------------------- */
.aw-insonis-topbar-wrap {
  padding: 14px 0 0;
  position: relative;
  z-index: 2;
}

.aw-insonis-topbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: var(--e-global-color-secondary);
  border-radius: 30px;
  padding: 6px 15px;
}

.aw-insonis-topbar__left {
  width: 70%;
  display: flex;
  align-items: center;
}

.aw-insonis-topbar__right {
  width: 30%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Elementor icon-list (inline) — matches demo widget da37af3 */
.aw-insonis-topbar .elementor-icon-list-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.aw-insonis-topbar .elementor-icon-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 29px;
}

.aw-insonis-topbar .elementor-icon-list-item:not(:last-child) {
  margin-right: 20px;
}

.aw-insonis-topbar .elementor-icon-list-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  color: #fff;
  font-size: 15px;
}

.aw-insonis-topbar .elementor-icon-list-text {
  color: #fff;
}

.aw-insonis-topbar .elementor-icon-list-item a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.aw-insonis-topbar .elementor-icon-list-item a:hover {
  color: #fff;
}

/* Search — gva-search-box / iicon-search-1 */
.aw-insonis-topbar__search {
  color: #fff;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.aw-insonis-topbar__search:hover {
  color: var(--e-global-color-primary);
}

/* Social icons — Elementor social-icons widget c4c6250 */
.aw-insonis-topbar .elementor-social-icons-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
}

.aw-insonis-topbar .elementor-grid-item {
  display: inline-flex;
}

.aw-insonis-topbar .elementor-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  background: transparent;
}

.aw-insonis-topbar .elementor-social-icon:hover {
  color: var(--e-global-color-primary);
}

.aw-insonis-topbar .elementor-screen-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 991px) {
  .aw-insonis-topbar-wrap {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   about-three — exact from insonis/assets/css/template.css
   -------------------------------------------------------------------------- */
.about-three {
  position: relative;
  max-width: 520px;
  margin: 0 auto 30px;
}

.about-three__image {
  position: relative;
  z-index: 11;
  overflow: hidden;
  border-radius: 0 50% 50% 50%;
  min-height: 500px;
  width: 100%;
}

.about-three__image img {
  transition: all 3s;
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1);
  top: 50%;
  left: 50%;
}

.about-three__content {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 11;
  background: var(--e-global-color-primary);
  padding: 25px 30px 25px 30px;
  border-radius: 120px 120px 120px 0;
  max-width: 235px;
}

.about-three__stars {
  color: #fff;
  letter-spacing: 3px;
  font-size: 18px;
  text-align: right;
  margin-bottom: 2px;
}

.about-three__title {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 22px;
  text-align: right;
}

.about-three__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--e-global-color-primary);
  position: absolute;
  right: 0;
  top: 10px;
  z-index: 11;
}

.about-three__bg {
  position: absolute;
  right: 0;
  top: -38px;
  width: 234px;
  height: 234px;
  opacity: 0.6;
  background: var(--e-global-color-primary);
  filter: blur(125px);
}

.about-three:hover .about-three__image img {
  transform: translate(-50%, -50%) scale(1.1);
}

/* --------------------------------------------------------------------------
   testimonial-one — exact from insonis/assets/css/template.css
   -------------------------------------------------------------------------- */
.testimonial-one__single {
  position: relative;
  transition: all 0.35s;
  max-width: 800px;
  margin: 0 auto 30px;
}

.testimonial-one__quote {
  font-size: 18px;
  line-height: 34px;
  font-weight: 500;
  margin-bottom: 18px;
  padding: 40px 50px;
  background: var(--e-global-color-secondary);
  color: #fff;
  border-radius: 10px;
  border-bottom: 4px solid var(--e-global-color-primary);
  position: relative;
}

@media (max-width: 1024px) {
  .testimonial-one__quote {
    padding: 40px 20px;
    font-size: 18px;
    line-height: 32px;
  }
}

.testimonial-one__stars {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.testimonial-one__stars i {
  color: var(--e-global-color-primary);
}

.testimonial-one__arrow {
  display: inline-block;
  width: 146px;
  height: 50px;
  position: absolute;
  top: 100%;
  left: 60px;
}

@media (max-width: 1024px) {
  .testimonial-one__arrow {
    height: 30px;
  }
}

.testimonial-one__arrow span.first {
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: -2px;
  background: var(--e-global-color-secondary);
  z-index: 9;
}

.testimonial-one__arrow span.second {
  position: absolute;
  left: 0;
  right: -4px;
  bottom: -4px;
  top: 0;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  background: var(--e-global-color-primary);
  z-index: 1;
}

.testimonial-one__quote-icon {
  width: 105px;
  height: 105px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  background: linear-gradient(0deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
  border-radius: 0 10px 0 100%;
  font-size: 42px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
  padding-bottom: 15px;
}

@media (max-width: 1024px) {
  .testimonial-one__quote-icon {
    width: 86px;
    height: 86px;
    font-size: 32px;
  }
}

.testimonial-one__meta {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 160px;
}

@media (max-width: 1024px) {
  .testimonial-one__meta {
    margin-left: 30px;
    margin-top: 50px;
  }
}

.testimonial-one__image {
  flex: 0 0 94px;
  margin-right: 18px;
  padding: 10px;
  border: 3px solid var(--e-global-color-primary);
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .testimonial-one__image {
    flex: 0 0 86px;
  }
}

.testimonial-one__image img {
  border-radius: 50%;
  width: 100%;
  height: auto;
  display: block;
}

.testimonial-one__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--e-global-color-accent);
  display: block;
}

.testimonial-one__job {
  font-size: 14px;
  display: block;
  line-height: 18px;
}

.testimonial-one__single.skin-white .testimonial-one__quote {
  margin-top: 10px;
  background: #fff;
  color: var(--e-global-color-text);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-one__single.skin-white .testimonial-one__arrow span.first {
  background: #fff;
}

/* Section layout helper (not part of widget CSS; keeps two columns like demo) */
.aw-testimonials-section {
  background: #fff;
  overflow: hidden;
}

.aw-testimonials-section .aw-testimonials-head {
  margin-bottom: 28px;
}

.aw-testimonials-section .aw-testimonials-head .aw-title {
  margin: 8px 0 0;
  max-width: 520px;
  color: var(--e-global-color-accent);
}
