/* Design 1 (matches design1.jpg) */
:root {
  --md-purple: #8a2d86;
  --md-purple-dark: #762572;
  --md-teal: #57a7b2; /* existing brand-ish teal seen in custom.css */
  --md-text: #2b2b2b;
  --md-muted: #6b7280;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../css/fonts/plus_jakarta_sans/PlusJakartaSans-VariableFont_wght.ttf")
      format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../css/fonts/plus_jakarta_sans/PlusJakartaSans-Italic-VariableFont_wght.ttf")
      format("truetype");
  font-weight: 100 800;
  font-style: italic;
  font-display: swap;
}

body {
  color: var(--md-text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
blockquote {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif !important;
  font-style: normal;
}

/* Design 3 - About + You and Us + Footer */
.md-about {
  background: #f6f7fb;
}
.md-about-title {
  font-weight: 800;
  color: #111827;
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0;
}
.md-you-title {
  font-weight: 700;
  color: #111827;
}

.md-you-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 992px) {
  .md-you-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.md-you-tile {
  display: block;
  text-decoration: none;
  color: inherit;
}
.md-you-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.md-you-tile--overlay {
  position: relative;
}
.md-you-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.md-you-heading {
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.15;
}
.md-you-sub {
  font-size: 0.9rem;
  opacity: 0.95;
}
.md-you-tile--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.md-you-tile--plain img {
  height: 220px;
}
.md-you-plain {
  padding-top: 10px;
}
.md-you-heading--dark {
  color: #111827;
  text-shadow: none;
}
.md-you-sub--dark {
  color: #6b7280;
  text-shadow: none;
  opacity: 1;
}

/* Footer (Design 3) */
.md-footer {
  background: #0b1220;
  color: #cbd5e1;
}
.md-footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.md-footer-text {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.md-footer-social {
  display: flex;
  gap: 12px;
}
.md-footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  text-decoration: none;
  /* border: 1px solid rgba(226, 232, 240, 0.18); */
}
.md-footer-social a:hover {
  border-color: rgba(226, 232, 240, 0.35);
  color: #fff;
}

.md-footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.md-footer-links li + li {
  margin-top: 8px;
}
.md-footer-links a {
  color: #94a3b8;
  text-decoration: none;
}
.md-footer-links a:hover {
  color: #e2e8f0;
  text-decoration: none;
}

.md-footer-contact {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.md-footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #94a3b8;
}
.md-footer-contact li + li {
  margin-top: 10px;
}
.md-footer-contact i {
  color: var(--md-purple);
  margin-top: 3px;
  min-width: 16px;
}
.md-footer-contact a {
  color: #94a3b8;
  text-decoration: none;
}
.md-footer-contact a:hover {
  color: #e2e8f0;
}

.md-footer-divider {
  border-color: rgba(148, 163, 184, 0.18);
  margin-top: 28px;
}

/* Highlights */
.md-highlights {
  background: #fff;
}
.md-highlight {
  padding: 12px;
}
.md-highlight-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(235, 44, 151, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cc0c88;
  font-size: 32px;
}
.md-highlight-title {
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.md-highlight-text {
  color: #475569;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Core Values */
.md-core {
  background: #fff;
}
.md-core-lead {
  color: #1f2937;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 12px;
  margin-bottom: 18px;
}
.md-core-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.md-core-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  color: #1f2937;
  font-size: 1.05rem;
  line-height: 1.55;
}
.md-core-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(204, 12, 136, 0.08);
  color: #cc0c88;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-top: 2px;
}
.md-core-quote {
  background: linear-gradient(135deg, rgba(235, 44, 151, 0.08), rgba(148, 108, 255, 0.08));
  border-radius: 18px;
  padding: 30px 28px;
  color: #111827;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.md-core-quote blockquote {
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 20px;
}
.md-core-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.md-core-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #cc0c88;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.md-core-name {
  font-weight: 800;
  color: #0f172a;
}
.md-core-role {
  color: #cc0c88;
  font-weight: 600;
}

/* Top header */
.md-topbar {
  background: #fff;
}

.md-logo {
  height: 100px;
  width: auto;
}

.md-toplink {
  color: var(--md-purple);
  font-weight: 500;
  text-decoration: none;
}
.md-toplink:hover {
  color: var(--md-purple-dark);
  text-decoration: underline;
}

.md-lang-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.md-lang-icon svg {
  display: block;
  width: 30px;
  height: 30px;
}

/* Language: only show globe; select opens on globe click */
.md-lang-trigger {
  cursor: pointer;
}
.md-lang-trigger:hover .md-lang-icon svg {
  opacity: 0.85;
}
/* Hide the select box visually but keep it usable; dropdown opens on globe click */
.md-lang-wrap {
  position: relative;
}
.md-lang-wrap .md-lang-select-hidden {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.md-lang-wrap .select2-container {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  overflow: visible !important;
}
.md-lang-wrap .select2-container .select2-selection {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0;
  overflow: hidden;
}
.md-lang-wrap .select2-container .select2-selection__arrow,
.md-lang-wrap .select2-container .select2-selection__rendered {
  display: none !important;
}
/* Selected language label next to globe */
.md-lang-label {
  font-size: 0.9rem;
  color: #0c2c67;
  font-weight: 500;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .md-lang-label {
    max-width: 100%;
  }
}

/* Language dropdown: right-align so it doesn't overlap social icons */
.md-lang-wrap .select2-dropdown {
  /* left: auto !important; */
  right: 0 !important;
  min-width: 280px !important;
  z-index: 1060;
}
.md-lang-dropdown .select2-search__field {
  min-width: 200px;
}

.md-search {
  position: relative;
  max-width: 520px;
}
.md-search input {
  padding-left: 44px;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  background: #fff;
  height: 42px;
}
.md-search .md-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa1aa;
  pointer-events: none;
}
/* Language clear (×) – reset to default language; shown only when a language is selected */
.md-lang-clear {
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  color: #6c757d;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}
.md-lang-clear:hover {
  color: #0c2c67;
  background: rgba(0, 0, 0, 0.06);
}
.md-lang-clear:not(.d-none) {
  display: inline-flex !important;
}
.md-lang-clear i {
  font-size: 14px;
}

/* Purple menu bar */
.md-mainnav {
  background: var(--md-purple);
}
.md-mainnav.navbar {
  padding: 0;
}
.md-mainnav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
  border: none;
}
.md-mainnav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.4);
}
.md-mainnav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.md-mainnav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 12px 18px;
  text-decoration: none;
}
.nav-link {
  padding-right: 5.5rem !important;
  padding-left: 5.5rem !important;
}

.md-mainnav .nav-link:hover,
.md-mainnav .nav-link:focus {
  color: #fff;
  text-decoration: none;
}

/* Hero */
.md-hero .carousel-item {
  position: relative;
  
}
.md-hero-img {
  height: 380px;
  object-fit: cover;

}
.md-hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 34%,
    rgba(255, 255, 255, 0) 62%
  ); */
}
.md-hero-caption {
  position: absolute;
  left: 6%;
  top: 60%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 560px;
  color: var(--md-text);
}
.md-hero-caption h1 {
  color: var(--md-purple);
  font-weight: 800;
  line-height: 1.05;
}
.md-hero-caption p {
  color: #4b5563;
  max-width: 520px;
}
.btn{
  font-size: 12px;
}
.md-btn-hero {
  background: var(--md-purple);
  border-color: var(--md-purple);
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 600;
}
.md-btn-hero:hover {
  background: var(--md-purple-dark);
  border-color: var(--md-purple-dark);
  color: #fff;
}

.btn-primary{
  background: var(--md-purple);
  border-color: var(--md-purple);
}
.btn-primary:hover {
  background: var(--md-purple-dark);
  border-color: var(--md-purple-dark);
}
/* Carousel controls - left and right arrows on edges, vertically centered */
.md-hero .carousel-control-prev,
.md-hero .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  opacity: 0.8;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.md-hero .carousel-control-prev {
  left: 20px;
}
.md-hero .carousel-control-next {
  right: 20px;
}
.md-hero .carousel-control-prev:hover,
.md-hero .carousel-control-next:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.7);
}
.md-hero .carousel-control-prev:focus,
.md-hero .carousel-control-next:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}
.md-hero .carousel-control-prev-icon,
.md-hero .carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.md-hero .carousel-indicators {
  position: absolute;
  bottom: 20px;
  margin: 0;
  gap: 8px;
}
.md-hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.65);
}
.md-hero .carousel-indicators .active {
  background-color: rgba(18, 14, 14, 0.95);
}

/* Page hero (inner page header with background image) */
.md-page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  min-height: 200px;
}
.md-page-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .md-page-hero {
    height: 90px;
    min-height: 90px;
  }
}
@media (max-width: 575.98px) {
  .md-page-hero {
    height: 90px;
    min-height: 90px;
  }
}

/* Sections */
.md-section-title {
  color: var(--md-purple);
  font-weight: 800;
  margin-bottom: 10px;
}
.md-muted {
  color: var(--md-muted);
}

/* Category cards */
.md-category-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.md-category-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.md-category-bar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.md-category-bar--purple {
  background: var(--md-purple);
}
.md-category-bar--teal {
  background: var(--md-teal);
}

@media (max-width: 991.98px) {
  .md-topbar .md-search {
    max-width: 100%;
  }
  .md-mainnav .navbar-collapse {
    padding: 12px 0;
    background: var(--md-purple);
    border-radius: 0 0 6px 6px;
  }
  .md-mainnav .navbar-nav {
    gap: 4px;
  }
  .md-mainnav .nav-link {
    padding: 10px 0;
    text-align: center;
    width: 100%;
    color: #fff;
  }

  .md-hero .carousel-item {
    position: relative;
    margin-top:1px;
  }

  .md-hero-img {
    height: 360px;
  }
  .md-hero .carousel-control-prev,
  .md-hero .carousel-control-next {
    width: 44px;
    height: 44px;
  }
  .md-hero .carousel-control-prev {
    left: 15px;
  }
  .md-hero .carousel-control-next {
    right: 15px;
  }
  .md-hero .carousel-control-prev-icon,
  .md-hero .carousel-control-next-icon {
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
  }
  .md-hero-caption {
    left: 6%;
    right: 6%;
    max-width: 100%;
    top: 42%;
    text-align: left;
  }
  .md-hero-caption h1 {
    font-size: 1.85rem;
    line-height: 1.1;
  }
  .md-hero-caption p {
    font-size: 0.95rem;
    max-width: 440px;
  }
  .md-hero-caption .md-btn-hero {
    padding: 8px 18px;
    font-size: 0.95rem;
    margin-top: 0.65rem;
  }
}

@media (max-width: 575.98px) {
  .md-logo {
    height: 75px;
  }
  .md-hero-img {
    height: 150px;
    object-fit: contain;
  }
  .md-hero .carousel-control-prev,
  .md-hero .carousel-control-next {
    width: 20px;
    height: 20px;
  }
  .md-hero .carousel-control-prev {
    left: 10px;
  }
  .md-hero .carousel-control-next {
    right: 10px;
  }
  .md-hero .carousel-control-prev-icon,
  .md-hero .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
  }
  .md-hero .carousel-indicators {
    bottom: 15px;
  }
  .md-hero-caption h1 {
    font-size: 11px;
    line-height: 1.15;
  }
  .md-hero-caption p {
    font-size: 0.9rem;
    max-width: 360px;
  }
  .md-hero-caption .md-btn-hero {
    padding: 4px 3px;
    font-size: 10px;
    /* margin-top: 5.5rem; */
  }
  .md-you-grid {
    gap: 14px;
  }
  .md-highlight-icon {
    width: 76px;
    height: 76px;
    font-size: 28px;
  }
  .md-highlight-title {
    font-size: 1.1rem;
  }
  .md-highlight-text {
    font-size: 0.95rem;
  }
  .md-core-lead {
    font-size: 1rem;
  }
  .md-core-list li {
    font-size: 1rem;
  }
  .md-core-quote {
    padding: 24px 22px;
  }
  .md-core-quote blockquote {
    font-size: 1.1rem;
  }
}


