/* Styles for header, nav, section, footer, and other elements as needed */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .section {
    padding: 50px 0;
    background-image: url('./assets/image/testimonials_back4.svg');
  }
  
  .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    
  }
  
  .reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 70px;
    
  }
  
  .reason {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition:1s;
  }
  
 .reason:hover{
    transform: scale(1.05);
    border: 1px solid black;
    background-color: #DF936D;
    color: white;
 }
  

  
  
/* Client updates: documents, accreditation badge, founder and update metadata */
.client-updates-section { background: #f8f5f1; }
.client-updates-section .mad-section-title { margin-bottom: 0.75rem; }
.client-updates-intro { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.client-document-card { height: 100%; padding: 1.75rem; background: #fff; border: 1px solid #e8ded5; border-radius: 12px; box-shadow: 0 8px 24px rgba(63, 42, 30, .06); }
.client-document-card h3 { margin: 0 0 .7rem; font-size: 1.15rem; }
.client-document-card p { margin-bottom: 1.1rem; color: #6b625c; }
.client-document-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: #9b5b38; text-decoration: none; }
.client-document-link:hover { color: #6f3f28; text-decoration: underline; }
.founder-signature { margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid rgba(155, 91, 56, .25); }
.founder-signature-name { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; font-style: italic; color: #573c2d; }
.founder-signature-role { margin: .2rem 0 0; font-size: .9rem; color: #806b5d; }
.healthturkiye-badge { display: inline-block; padding: .55rem; background: #fff; border-radius: 12px; box-shadow: 0 5px 18px rgba(0,0,0,.08); }
.healthturkiye-badge img { display: block; width: min(100%, 260px); height: auto; }
.latest-update { margin-top: 2rem; padding: 1rem 1.25rem; background: rgba(255,255,255,.72); border-left: 3px solid #d71920; color: #6b625c; }
.latest-update strong { color: #573c2d; }
@media (max-width: 767px) { .client-document-card { margin-bottom: 1rem; } }

/* Refined certificate layout */
.client-updates-section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.client-updates-section > .container-fluid { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.client-updates-section .content-element-4 { margin-bottom: 2.5rem; }
.client-updates-section .mad-section-title { letter-spacing: .01em; }
.client-updates-section .row.justify-content-center { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; align-items: stretch; }
.client-updates-section .row.justify-content-center > [class*="col-"] { width: auto; max-width: none; padding: 0; display: flex; }
.client-document-card { width: 100%; min-height: 235px; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border-color: rgba(155, 91, 56, .14); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.client-document-card:hover { transform: translateY(-5px); border-color: rgba(155, 91, 56, .35); box-shadow: 0 16px 32px rgba(63, 42, 30, .12); }
.client-document-card h3 { max-width: 320px; line-height: 1.45; }
.client-document-card p { max-width: 330px; line-height: 1.7; margin: 0 auto 1.25rem 0; }
.client-document-link { margin-top: auto; padding-top: 1rem; }
.client-updates-section .healthturkiye-badge { width: 100%; min-height: 235px; display: flex; align-items: center; justify-content: center; padding: 1.5rem; border: 1px solid #e8ded5; transition: transform .25s ease, box-shadow .25s ease; }
.client-updates-section .healthturkiye-badge:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(63, 42, 30, .12); }
.client-updates-section .healthturkiye-badge img { width: min(100%, 270px); }
.client-updates-section .latest-update { margin: 2rem 0 0; padding: 1.25rem 1.5rem; border-left-width: 4px; border-radius: 0 8px 8px 0; line-height: 1.8; }
@media (max-width: 991px) {
  .client-updates-section .row.justify-content-center { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-updates-section .row.justify-content-center > :last-child { grid-column: 1 / -1; }
  .client-updates-section .healthturkiye-badge { min-height: 150px; }
}
@media (max-width: 575px) {
  .client-updates-section > .container-fluid { padding: 0 1rem; }
  .client-updates-section .row.justify-content-center { grid-template-columns: 1fr; gap: 1rem; }
  .client-updates-section .row.justify-content-center > :last-child { grid-column: auto; }
  .client-document-card { min-height: 220px; padding: 1.5rem; }
  .client-updates-section .healthturkiye-badge { min-height: 140px; }
}

/* Latest Updates belongs to the footer */
#mad-footer .latest-update { margin: 0 0 2rem; max-width: none; background: rgba(255,255,255,.82); }
#mad-footer .mad-footer-bottom { border-top: 1px solid rgba(87,60,45,.14); padding-top: 1.25rem; }

/* Refined footer alignment */
#mad-footer { padding: 3.75rem 0 1.25rem; background: #f8f5f1; }
#mad-footer > .container-fluid { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
#mad-footer .mad-footer-main { padding: 0 0 2rem; }
#mad-footer .mad-footer-main > .row { display: flex; justify-content: center !important; align-items: center; margin: 0; }
#mad-footer .mad-footer-main > .row > .col-xl-3 { flex: 0 0 100%; max-width: 100%; padding: 0; }
#mad-footer .mad-footer-main > .row > .col-xl-5 { display: none; }
#mad-footer .mad-widget { display: flex; flex-direction: column; align-items: center; text-align: center; }
#mad-footer .mad-widget .mad-logo { display: inline-flex; align-items: center; justify-content: center; }
#mad-footer .mad-widget .mad-logo img { width: min(100%, 250px); height: auto; margin: 0 auto; }
#mad-footer .ft-icon { display: flex; align-items: center; justify-content: center; margin-top: 1.25rem; }
#mad-footer .mad-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; width: 100%; margin: 0; }
#mad-footer .mad-footer-bottom .copyrights { margin: 0; line-height: 1.6; }
#mad-footer .mad-footer-bottom .mad-hr-list { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; margin: 0; padding: 0; }
#mad-footer .mad-footer-bottom .mad-hr-list li { margin: 0; }
@media (max-width: 767px) {
  #mad-footer { padding: 3rem 0 1rem; }
  #mad-footer > .container-fluid { padding: 0 1rem; }
  #mad-footer .mad-footer-bottom { justify-content: center; text-align: center; }
  #mad-footer .mad-footer-bottom .mad-hr-list { justify-content: center; flex-wrap: wrap; gap: .75rem 1rem; }
  #mad-footer .latest-update { text-align: left; }
}

@media (max-width: 767px) {
  #mad-header .mad-header-section--sticky-xl,
  #mad-header .mad-header-section--sticky-xl.mad-header-section--sticked {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(40, 30, 24, .1);
  }
  #mad-header .mad-logo img {
    width: 64px !important;
    max-width: 64px !important;
    height: auto !important;
  }
  #mad-footer .footer-health-link span { display: none; }
  #mad-footer .latest-update {
    margin-bottom: 1rem;
    padding: .65rem .85rem;
    font-size: .82rem;
    line-height: 1.45;
  }
  #mad-footer .latest-update strong {
    display: block;
    margin-bottom: .1rem;
    font-size: .95rem;
    line-height: 1.3;
  }
}

@media (max-width: 767px) {
  #mad-header .mad-header-items {
    justify-content: flex-start;
    gap: .75rem;
    width: 100%;
  }
  #mad-header .mad-header-items > .mad-header-item:first-child {
    flex: 0 0 auto;
  }
  #mad-header .mad-header-items > .mad-header-item:nth-child(2) {
    flex: 0 0 auto;
    margin-left: auto;
  }
  #mad-header .mad-mobile-nav-btn {
    width: 34px;
    height: 20px;
  }
  #mad-header .mad-header-items > .dropdown {
    flex: 0 0 40px;
    margin-right: 0;
  }
  #mad-footer .footer-brand-logo img {
    width: 125px !important;
    max-width: 125px !important;
    min-width: 0 !important;
  }
}

/* Refined founder signature */
.founder-signature { max-width: 320px; margin-top: .8rem; padding: .75rem 1rem .8rem 1.1rem; border: 0; border-left: 3px solid #b78a55; border-radius: 0 10px 10px 0; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(248,239,230,.72)); box-shadow: 0 8px 18px rgba(87,60,45,.08); }
.founder-signature-name { margin: 0; color: #4c3326; font-family: Georgia, 'Times New Roman', serif; font-size: 1.22rem; font-style: italic; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.founder-signature-role { margin: .08rem 0 0; color: #927052; font-size: .78rem; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }

/* Footer certificate and accreditation resources */
#mad-footer .footer-resources { display: flex; align-items: stretch; justify-content: center; gap: 1rem; width: 100%; margin: 0 0 2rem; padding: 1.25rem 0 0; border-top: 1px solid rgba(87,60,45,.12); }
#mad-footer .footer-pdf-button, #mad-footer .footer-health-link { min-height: 76px; display: inline-flex; align-items: center; text-decoration: none; border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
#mad-footer .footer-pdf-button { min-width: 300px; gap: .85rem; padding: .85rem 1rem; color: #fff; background: linear-gradient(135deg, #9b5b38, #70432d); box-shadow: 0 8px 18px rgba(112,67,45,.18); }
#mad-footer .footer-pdf-button:hover, #mad-footer .footer-health-link:hover { transform: translateY(-3px); }
#mad-footer .footer-pdf-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
#mad-footer .footer-pdf-button strong, #mad-footer .footer-pdf-button small { display: block; color: #fff; text-align: left; }
#mad-footer .footer-pdf-button strong { font-size: .95rem; line-height: 1.25; }
#mad-footer .footer-pdf-button small { margin-top: .18rem; font-size: .72rem; opacity: .8; }
#mad-footer .footer-resource-arrow { margin-left: auto; font-size: 1.25rem; }
#mad-footer .footer-health-link { gap: .75rem; padding: .65rem 1rem; border: 1px solid #e8ded5; background: rgba(255,255,255,.78); }
#mad-footer .footer-health-link img { width: 150px; height: auto; }
#mad-footer .footer-health-link span { color: #806b5d; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 767px) {
  #mad-footer .footer-resources { flex-direction: column; align-items: stretch; }
  #mad-footer .footer-pdf-button { min-width: 0; }
  #mad-footer .footer-health-link { justify-content: center; }
}

/* Footer certificate panel and right-side actions */
#mad-footer .mad-footer-main { display: none; }
#mad-footer .footer-resources { display: grid; grid-template-columns: minmax(230px, .85fr) minmax(0, 1.65fr); align-items: stretch; gap: 1rem; margin: 0 0 2rem; padding: 1.25rem 0; border-top: 1px solid rgba(87,60,45,.12); border-bottom: 1px solid rgba(87,60,45,.12); }
#mad-footer .footer-certificate-panel { display: flex; align-items: center; gap: .85rem; min-height: 76px; padding: 1rem 1.1rem; border: 1px solid #e8ded5; border-radius: 10px; background: rgba(255,255,255,.72); }
#mad-footer .footer-certificate-mark { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; color: #fff; background: #b78a55; font-size: 1.35rem; font-weight: 700; box-shadow: 0 5px 12px rgba(183,138,85,.24); }
#mad-footer .footer-certificate-panel strong, #mad-footer .footer-certificate-panel small { display: block; text-align: left; }
#mad-footer .footer-certificate-panel strong { color: #573c2d; font-size: .98rem; }
#mad-footer .footer-certificate-panel small { margin-top: .2rem; color: #806b5d; font-size: .72rem; line-height: 1.35; }
#mad-footer .footer-resource-actions { display: flex; align-items: stretch; justify-content: flex-end; gap: 1rem; }
#mad-footer .footer-resource-actions > a { flex: 1 1 0; }
#mad-footer .footer-pdf-button, #mad-footer .footer-health-link { min-width: 0; }
#mad-footer .latest-update a { color: #9b5b38; font-weight: 700; text-decoration: none; }
#mad-footer .latest-update a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  #mad-footer .footer-resources { grid-template-columns: 1fr; }
  #mad-footer .footer-resource-actions { flex-direction: column; }
  #mad-footer .footer-resource-actions > a { width: 100%; }
}

/* Restore footer brand identity */
#mad-footer .mad-footer-main { display: block; padding: 0 0 1.5rem; }
#mad-footer .mad-footer-main > .row { display: flex; justify-content: center !important; }
#mad-footer .mad-footer-main > .row > .col-xl-3 { display: block; flex: 0 0 100%; max-width: 100%; padding: 0; }
#mad-footer .mad-footer-main > .row > .col-xl-5 { display: none; }
#mad-footer .mad-footer-main .mad-widget { display: flex; align-items: center; justify-content: center; text-align: center; }
#mad-footer .mad-footer-main .mad-widget .mad-logo img { width: min(100%, 230px); }
#mad-footer .mad-footer-main .ft-icon { margin-top: .9rem; }

/* Replace certificate panel with footer brand identity */
#mad-footer .mad-footer-main { display: none; }
#mad-footer .footer-brand-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 76px; padding: .8rem 1.1rem; border: 1px solid #e8ded5; border-radius: 10px; background: rgba(255,255,255,.72); }
#mad-footer .footer-brand-logo { display: inline-flex; align-items: center; }
#mad-footer .footer-brand-logo img { display: block; width: min(100%, 220px); height: auto; }
#mad-footer .footer-instagram-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: .6rem; color: #806b5d; font-size: .78rem; font-weight: 700; text-decoration: none; }
#mad-footer .footer-instagram-link i { color: #9b5b38; font-size: 1.05rem; }
#mad-footer .footer-instagram-link:hover { color: #9b5b38; }
@media (max-width: 767px) {
  #mad-footer .footer-brand-panel { align-items: center; text-align: center; }
}

/* Compact left-aligned footer logo */
#mad-footer .footer-resources { grid-template-columns: minmax(190px, .62fr) minmax(0, 1.8fr); align-items: center; }
#mad-footer .footer-brand-panel { min-height: 76px; padding: .55rem .8rem; align-items: flex-start; justify-content: center; }
#mad-footer .footer-brand-logo img { width: min(100%, 155px); max-height: 44px; object-fit: contain; object-position: left center; }
#mad-footer .footer-instagram-link { margin-top: .35rem; gap: .35rem; font-size: .7rem; }
#mad-footer .footer-instagram-link i { font-size: .95rem; }
@media (max-width: 767px) {
  #mad-footer .footer-brand-panel { align-items: center; }
  #mad-footer .footer-brand-logo img { object-position: center; }
}

/* Logo without card styling; Instagram icon only */
#mad-footer .footer-brand-panel { min-height: 76px; padding: .25rem 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; align-items: flex-start; }
#mad-footer .footer-brand-logo img { width: min(100%, 250px); max-height: none; object-fit: contain; object-position: left center; }
#mad-footer .footer-instagram-link { margin-top: .45rem; gap: 0; }
#mad-footer .footer-instagram-link span { display: none; }
#mad-footer .footer-instagram-link i { font-size: 1.35rem; }
@media (max-width: 767px) {
  #mad-footer .footer-brand-panel { align-items: center; }
  #mad-footer .footer-brand-logo img { object-position: center; }
}

/* Larger footer logo and labeled Instagram link */
#mad-footer .footer-resources { grid-template-columns: minmax(250px, .8fr) minmax(0, 1.65fr); }
#mad-footer .footer-brand-logo { width: 100%; }
#mad-footer .footer-brand-logo img { width: 75%; max-width: 280px; height: auto; max-height: none; }
#mad-footer .footer-instagram-link { gap: .45rem; font-size: .78rem; }
#mad-footer .footer-instagram-link span { display: inline; }
#mad-footer .footer-instagram-link i { font-size: 1.1rem; }
@media (max-width: 767px) {
  #mad-footer .footer-brand-logo { width: auto; }
  #mad-footer .footer-brand-logo img { width: min(75vw, 280px); }
}

/* Final compact footer logo width */
#mad-footer .footer-brand-logo img { width: 25%; max-width: 250px; min-width: 120px; }
@media (max-width: 767px) {
  #mad-footer .footer-brand-logo img { width: 25vw; max-width: 180px; min-width: 110px; }
}

@media (max-width: 767px) {
  #mad-footer .footer-resources {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  #mad-footer .footer-brand-panel,
  #mad-footer .footer-resource-actions,
  #mad-footer .footer-resource-actions > a {
    min-width: 0;
    width: 100%;
  }
  #mad-footer .footer-brand-panel { align-items: center; }
  #mad-footer .footer-brand-logo { justify-content: center; }
  #mad-footer .footer-brand-logo img {
    width: min(60vw, 220px);
    min-width: 0;
  }
  #mad-footer .footer-resource-actions { flex-direction: column; }
  #mad-footer .footer-pdf-button { min-width: 0; }
  #mad-footer .footer-pdf-button > span:nth-child(2) {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #mad-footer .footer-health-link {
    flex-wrap: wrap;
    justify-content: center;
  }
  #mad-footer .footer-health-link img { max-width: 100%; }
  #mad-footer .footer-health-link span {
    white-space: normal;
    text-align: center;
  }
  #mad-footer .latest-update {
    padding: .9rem 1rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  #mad-footer .mad-footer-bottom {
    flex-direction: column;
    gap: .75rem;
  }
  #mad-footer .mad-footer-bottom .mad-hr-list {
    width: 100%;
    justify-content: center;
    gap: .4rem .35rem;
    list-style: none;
  }
  #mad-footer .mad-footer-bottom .copyrights {
    max-width: 100%;
    font-size: .85rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  #mad-footer .mad-footer-bottom .mad-hr-list li {
    flex: 0 0 auto;
  }
  #mad-footer .mad-footer-bottom .mad-hr-list > li > a {
    padding-right: .2rem;
    letter-spacing: 0;
  }
  #mad-footer .mad-footer-bottom .mad-hr-list > li:not(:last-child) a {
    margin-right: .2rem;
  }
  #mad-footer .mad-footer-bottom .mad-hr-list a {
    font-size: .8rem;
    white-space: nowrap;
  }
}
