html,
body {
  background: #fff;
  color: #444;
  font-family: 'Kanit', sans-serif;

}

a {
  color: #1a5acf;
  text-decoration: none;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #1235a9;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {

  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #50d8af;
  width: 40px;
  height: 40px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #71dfbe;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# newwwwwwwwww
--------------------------------------------------------------*/
a.navbar-brand h1 {
  margin-top: -26px;
  color: #0c2e8a;
  font-size: 42px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  /* border: solid 1px #50d8af;*/
  padding: 10px;
  position: absolute;
  z-index: 999;
  /*height: 150px;*/

}

@media (max-width: 767px) {
  a.navbar-brand h1 {
    color: #0c2e8a;
    margin: 0;
    padding: 0;
    font-size: 34px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    border: none;
    position: inherit;
    z-index: 0;
    background-image: none;

  }
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #50d8af;
}

#name_donate h2 {
  color: #0c2e8a;
  font-weight: 700;
  font-size: 30px;
  font-family: "Raleway", sans-serif;
}

.donate-platinum-name {
  font-size: 20px;
  color: #096ab5f4;
  font-weight: 200;
}

.donate-platinum-amount {
  font-size: 25px;
  color: darkred;
}

.silver-donate-name {
  font-weight: 200;
  font-size: 18px;
  color: #081e5b;
}

.silver-donate-amount {
  color: darkred;
  font-size: 18px;

}

.siver-donate-list {
  padding: 1px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #50d8af;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #096ab5f4;
}


.nav-item {
  padding: 0px 0 0px 30px;
}

.navbar-light .navbar-nav a.nav-link {
  color: #0d0e0e;
}

.navbar-light .navbar-nav a.nav-link:hover {
  color: #096ab5f4;
}

.navbar .navbar-nav a.nav-link.active {
  color: #096ab5f4;
}



a.nav-link.dropdown-menu:hover {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

li.nav-item.dropdown:hover ul.dropdown-menu {
  display: block;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}


/*
////////////////////////////
*/
#name_donate .box,
#platinum-detail .box {
  border-radius: 4px;
  padding: 10px;
  min-height: 200px;
  box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
  transition: 0.4s;

}

.platinum-color {
  background: rgb(210, 251, 245);
  background: linear-gradient(129deg, rgba(210, 251, 245, 1) 0%, rgba(210, 233, 237, 0.938813025210084) 76%, rgba(210, 246, 254, 1) 76%);



}

.donate-platinum-type {
  position: relative;
  margin-top: -28px;
  font-weight: 100;
  margin-bottom: 8px;
  margin-right: 8px;

}

.campaign-title {
  font-size: 15px;
  font-weight: 100;
  color: #ffffff;
}

.siver-donate-list .item {

  border-radius: 4px;

}

.siver-donate-list .item:hover,
.siver-donate-list li:hover {

  background-color: lightcyan
}

/*
///////////////////////////////
*/
/*------------------------------------------------------------
# End New
------------------------------------------------------------*/

#header {
  height: 80px;
  transition: all 0.5s;
  z-index: 997;
  background: #fff;
  box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06);
}

#header #logo h1 {
  font-size: 42px;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

#header #logo h1 a {
  color: #0c2e8a;
}



#header #logo img {
  padding: 0;
  margin: 0;


}

.scrolled-offset {
  margin-top: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.kanit-light {
  font-weight: 100;
}

#platinum-detail-hero {

  width: 100%;
  min-height: 50vh;
  position: relative;
  display: grid;
  place-items: center;
  background-image: radial-gradient(circle 248px at center, #16d9e3 0%, #30c7ec 47%, #46aef7 100%);

}

img.student-thank {
  padding-top: 60px;
}

div.message-thank {

  padding-top: 140px;

}

.message-thank p {

  font-size: 23px;
  font-weight: 200;
}

.message-thank h3 {
  font-size: 30pt;
  color: #091572;
  text-shadow: 3px 2px 6px rgba(225, 225, 225, 1);
}

@media (max-width: 768px) {

  .message-thank h3,
  .message-thank p {
    font-size: 120%;
  }

  img.student-thank {

    width: 50%;
  }

  div.message-thank {

    padding-top: 180px;

  }

}

video.cover {
  position: absolute;
  z-index: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#hero {
  width: 100%;
  min-height: 60vh;
  background: url("../asset/img/hero-carousel/cover-2.png") no-repeat;
  background-size: cover;
  background-position: top;
  padding: 0;
}

@media (max-width: 768px) {
  #hero {
    background-size: contain;
  }



}

@media (max-width: 768px) {

  #hero .btn-get-started {

    margin-top: 20vh;
  }

}





#about-hero {
  width: 100%;
  height: 90vh;
  background: url("../asset/img/about-hero.png") no-repeat;
  background-size: cover;
  background-position: top;
  padding: 0;
}

#how-to-donate {
  width: 100%;
  height: 90vh;
  background: url("../asset/img/how-to-donate.png") no-repeat;
  background-size: cover;
  background-position: bottom;
  padding: 0;
  background-attachment: fixed;
}

#privacy-hero {
  width: 100%;
  height: 90vh;
  background: url("../asset/img/privacy-policy.png") no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0;
  background-attachment: fixed;
}

#campaign-detail:not(.campaign-detail-hero) {
  height: 40vh;
  /*background-color: #0abde3;*/
  background-image: linear-gradient(to right, #4facfe 80%, #00f2fe 100%);
}

div.campaign-cover {
  margin-top: 70px;
  height: 100vh;
  /*  background-color: #48dbfb;*/
  border-radius: 10px 10px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../asset/img/bg2.png"), linear-gradient(to right, #4facfe 0%, #00f2fe 100%);

}

.campaign-cover h2 {

  padding-top: 50px;
  color: #0c2461;
  text-shadow: 3px 2px 6px rgba(225, 225, 225, 1);

}

#donate-success h1 {
  color: #ffffff;
  text-shadow: 3px 2px 6px rgb(32, 31, 31);
}

.campaign-content {
  min-height: 50vh;
  padding-bottom: 60px;
}

.campaign-content .details {
  min-height: 50vh;
  margin-top: -30px;
  background-color: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 48px rgba(0, 20, 60, 0.08) !important;
  font-family: 'Kanit', sans-serif;
  font-weight: 300;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #334155;
  position: relative;
  z-index: 5;
}

.campaign-content .details img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  margin: 1.5rem auto;
  display: block;
}

.campaign-content .details li {
  line-height: 40px;


}


#about-hero h2 {
  margin-top: 80px;

}

#how-to-donate h2 {
  margin-top: 150px;
  color: #08bbe4;
  font-size: 35pt;

}

#privacy-hero h2 {
  margin-top: 150px;
  color: #08bbe4;
  font-size: 35pt;
  font-weight: 100;

}

#privacy-hero p {

  color: azure;
}

section.refund-policy {

  padding-top: 22vh;

}

ol.donate-way {

  line-height: 22pt;
}

ol.donate-way li {
  font-size: 18pt;
}

ol.donate-way .donate-way-detail {
  font-size: 14pt;
  font-weight: 100;
  color: antiquewhite;
}

p.text-desc {

  font-size: 15pt;
  font-weight: 100;


}

#donate-tax,
#tax-info {

  margin-top: 50px;
  margin-bottom: 50px;

}

img.dms-logo {
  margin-left: -400px;
  height: 100px;
  border-radius: 82px;
  margin-top: -10px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

}

img.psu-banding {

  margin-left: 80px;
  height: 50px;

}

.color-bar {

  box-shadow: rgba(45, 84, 242, 0.4) 0px 5px, rgba(53, 173, 238, 0.3) 0px 10px, rgba(147, 195, 239, 0.2) 0px 15px, rgba(46, 204, 240, 0.1) 0px 20px, rgba(135, 217, 249, 0.05) 0px 25px;
}

#hero .hero-content {
  /*position: absolute;*/
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#hero .hero-content h2 {
  color: #e6d80d;
  margin-bottom: 30px;
  font-size: 50px;
  font-weight: 700;
  line-height: 60pt;
  padding-top: 90px;
}

#hero .hero-content h2 span {
  color: #50d8af;
  text-decoration: underline;
}

/**** donate step */

img.qr-edonate {
  width: 300px;
}

.show-thai-bath {
  font-size: 25px;
  /*text-decoration: underline;
  text-decoration-color: rgb(217, 23, 23);*/
}

#donate-step1,
#donate-step2 {
  padding-top: 50px;

}

a.link-donate-step:visited {

  color: #444;


}

a.link-donate-step:hover {
  color: #1235a9;
  border: 1px solid #444;
  padding: 16px;
  border-radius: 4px;

}

a.step-active:link,
a.step-active:visited {
  color: #1235a9;
  border: 1px solid #444;
  padding: 16px;
  border-radius: 4px;
}

.payment-icon {
  width: 200px;
}

.payment-title {
  padding: 10px;
}

.spec-donate-amount {

  margin-top: 10px;
  font-size: 20px;
  height: 40px;
}

.spec-donate-amount label {

  font-size: 20px;
}

input.spec-donate-amount[type=number]::-webkit-inner-spin-button {
  visibility: hidden;
}

span.post-fix-bath {
  font-size: 10px;

}

/**** end donate step **/
.card-img-top {
  width: 100%;
  /*height: 40vw;*/
  object-fit: cover;
  height: 300px;
}

/*** donate payment fail and thankful ***/

#donate-fail {

  min-height: 87vh;
  background: rgb(73, 158, 185);
  background: radial-gradient(circle, rgba(73, 158, 185, 1) 0%, rgba(33, 44, 154, 1) 99%, rgba(46, 38, 142, 1) 100%);
}

#donate-success {
  min-height: 87vh;
  background-color: #0093E9;
  background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%);

}

span.donate-thank-name {
  color: midnightblue;
  font-weight: bold;
  text-decoration: underline;
}



/*** end donate payment fail ***/

.card-campaign {

  margin-top: 9vw;

  background-color: rgba(3, 40, 75, 0.5);


}

.card-campaign:hover {
  background-color: rgba(1, 19, 35, 0.6);
}

@media screen and (max-width: 600px) {
  .card-img-top {
    width: 100%;
    /*height: 40vw;*/
    object-fit: cover;
    height: 200px;
  }

  .card-campaign {
    margin-top: 80px;

  }

  .campaign-cover h2 {
    font-size: 120%;
    padding-top: 100px;


  }

  .accordion-button>span.payment-title {
    position: absolute;
    margin-top: 120px;

  }





}

@media (max-width: 768px) {
  .card-img-top {
    width: 100%;
    /*height: 40vw;*/
    object-fit: cover;
    height: 200px;
  }


}


@media (max-width: 820px) {
  .card-img-top {
    width: 100%;
    /*height: 40vw;*/
    object-fit: cover;
    height: 200px;
  }

  #hero {
    background-position: left;




  }

}



@media (max-width: 767px) {
  #hero .hero-content h2 {
    font-size: 28px;
    padding-top: 150px;
    line-height: 40px;
  }

  #how-to-donate h2,
  #privacy-hero h2 {
    font-size: 28px;
  }

  #how-to-donate li {
    font-size: 90%;
  }

  #how-to-donate,
  #privacy-hero {
    height: 120vh;
  }

  #about-hero {
    height: 130vh;
  }

  img.psu-banding {
    margin-left: 4px;
  }

  .refund-policy h4 {
    padding-top: 60px;
  }


}

#hero .btn-get-started,
#hero .hero-content .btn-projects {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px;
  border-radius: 2px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
}

#hero .btn-get-started {
  font-family: "Kanit";
  margin-top: 53vh;
  margin-bottom: 40px;
  /*background: #0c2e8a;*/
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  border: 2px solid #fffbfa;
  border-radius: 30px;
  width: 200px;
  vertical-align: middle;
  animation: AnimationName 5s ease infinite;
  -webkit-animation: AnimationName 5s ease infinite;
  -moz-animation: AnimationName 5s ease infinite;
  background-size: 400% 400%;

}

.bg-gradient1 {
  border-radius: 8px;
  background-image: radial-gradient(circle, #2c021a, #25051b, #1e081b, #170918, #100a14, #14121b, #171821, #191e27, #1a2e3b, #113f4d, #005259, #07645e);
  /* display: flex;
  flex-wrap: nowrap; 
  overflow: auto;*/
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 29%
  }

  50% {
    background-position: 100% 72%
  }

  100% {
    background-position: 0% 29%
  }
}

@-moz-keyframes AnimationName {
  0% {
    background-position: 0% 29%
  }

  50% {
    background-position: 100% 72%
  }

  100% {
    background-position: 0% 29%
  }
}

@keyframes AnimationName {
  0% {
    background-position: 0% 29%
  }

  50% {
    background-position: 100% 72%
  }

  100% {
    background-position: 0% 29%
  }
}

#hero .btn-get-started:hover {
  background: white;
  color: #0c2e8a;
}

.btn-projects {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  display: inline-block;
  padding: 5px 20px;
  border-radius: 2px;
  transition: 0.5s;
  color: #fff;
}

button.btn-projects {
  background: #2980b9;
  border: 1px solid #3498db;
  border-radius: 30px;
}

button.btn-projects:hover {
  background: none;
  color: #ffffff;
}

button.invert:hover {

  color: #3498db;
}

#hero .hero-content .btn-projects {
  background: #50d8af;
  border: 2px solid #50d8af;
}

#hero .hero-content .btn-projects:hover {
  background: none;
  color: #50d8af;
}



#hero .hero-slider::before {
  content: "";
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 7;
}

#hero .hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition-property: opacity;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 40px 0;
  overflow: hidden;
}

/* Sections Header
--------------------------------*/
.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 32px;
  color: #0c2e8a;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.section-header h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #50d8af;
  bottom: 0;
  left: 0;
}

.section-header p {
  padding: 0;
  margin: 0;
}

/* Call To Action & Footer Base Section
--------------------------------*/
#call-to-action,
.dms-cta-section {
  background: linear-gradient(145deg, #07173e 0%, #0d276b 50%, #081a4d 100%);
  background-size: cover;
  padding: 56px 0 44px 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid #1a44aa;
}

#call-to-action .cta-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

#call-to-action .cta-text {
  color: #fff;
}

@media (min-width: 769px) {
  #call-to-action .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

.text-gradient-1 {

  background: #121FCF;
  background: linear-gradient(to right, #121FCF 36%, #CF1512 73%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;



}

#call-to-action .cta-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 26px;
  border-radius: 3px;
  transition: 0.5s;
  margin: 10px;
  border: 3px solid #fff;
  color: #fff;
}

#call-to-action .cta-btn:hover {
  background: #50d8af;
  border: 3px solid #50d8af;
}

/*---------------E Certificate---------------------------*/

#donate-cert img {

  height: 917px;
  width: 1296;

}

#donage-cert {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 917px;
  width: 1296px;

}

.flex {

  /*position: absolute;*/
  /* left: 50%;
  top: 50%;*/
  /* transform: translate(-60%,-50%);*/
  position: absolute;
  text-wrap: nowrap;
  margin-top: 280px;
  width: 1296px;
  padding-left: 120px;
  padding-right: 120px;

}

.flex>hr {
  margin-left: auto;
  margin-right: auto;
  width: 650px;
}

.flex>.fac-head {
  text-align: center;
  color: #121212;
  /*font-weight: 600;*/

}

.flex>.tank-title {

  color: #ad000e;
  font-weight: 600;
  text-align: center;
}

.flex>.alumni-batch {
  padding-top: 25px;
  color: #ad000e;
  font-weight: 600;
  text-align: center;
  line-height: 0%;
}

.flex>.alumni-major {
  color: #121212;
  font-weight: 600;
  text-align: center;
  line-height: 0%;
  padding-bottom: 25px;
}

.flex>.donate-name {
  color: #121212;
  text-align: center;


}

.flex>.donate-campaign {
  text-align: center;
  color: #121212;
  font-weight: 600;
  font-size: 22pt;

}

.flex>.cert-donate-amount {
  padding-top: 50px;
  text-align: center;
  color: #121212;
  font-weight: 600;
  font-size: 22pt;

}

button.btn-save-cert,
a.btn-home {

  padding: 12px;
  border-radius: 10px;
}

span.cert-campaign-title {

  color: #ad000e;
}


h5.thank-msg {
  line-height: 60pt;
  text-align: center;
  font-weight: 600;
  font-size: 20pt;
  color: #ad000e;
}

/*-----------------------------------------*/




/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #030d24;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 28px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Kanit', sans-serif;
}

#footer .copyright {
  text-align: center;
  padding-top: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

#footer .copyright a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

#footer .copyright a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

#footer .credits {
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

#footer .credits a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s ease;
}

#footer .credits a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* ========================================================
   # Modern Campaign Showcase Section
   ======================================================== */
#section-campaign {
  padding: 3rem 0;
  position: relative;
}

/* Header */
.campaign-header {
  margin-bottom: 2.25rem;
}

.campaign-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(12, 36, 97, 0.06);
  border: 1px solid rgba(12, 36, 97, 0.12);
  color: #0c2461;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
}

.campaign-pill-badge i {
  color: #e63946;
}

.campaign-main-heading {
  font-size: 2.1rem;
  font-weight: 700;
  color: #0c2461;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.campaign-sub-heading {
  font-size: 1.05rem;
  color: #576574;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.campaign-heading-divider {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #0c2461, #00b4d8);
  border-radius: 4px;
  margin: 14px auto 0;
}

/* Showcase Container */
.campaign-showcase-box {
  background: linear-gradient(150deg, #ffffff 0%, #f6f9fc 100%);
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 12px 36px rgba(12, 36, 97, 0.06), 0 2px 6px rgba(12, 36, 97, 0.02);
  border: 1px solid rgba(12, 36, 97, 0.08);
  position: relative;
}

/* Campaign Card */
.campaign-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(12, 36, 97, 0.08);
  box-shadow: 0 4px 18px rgba(12, 36, 97, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  cursor: pointer;
  height: 100%;
}

.campaign-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px rgba(12, 36, 97, 0.12), 0 4px 12px rgba(12, 36, 97, 0.04);
  border-color: rgba(13, 110, 253, 0.35);
}

/* Media / Thumbnail */
.campaign-card-media {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background-color: #1e293b;
}

.campaign-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.campaign-card:hover .campaign-card-img {
  transform: scale(1.08);
}

.campaign-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
}

/* Badges on Thumbnail */
.campaign-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.campaign-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.2px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.campaign-media-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45px;
  background: linear-gradient(to top, rgba(12, 36, 97, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

/* Card Content */
.campaign-card-content {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.campaign-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: #0284c7;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.campaign-card-name {
  font-size: 1.08rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.48;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2rem;
  transition: color 0.25s ease;
}

.campaign-card:hover .campaign-card-name {
  color: #0c2461;
}

/* Action Area & Button */
.campaign-card-action {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(12, 36, 97, 0.1);
}

.btn-donate-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0c2461 0%, #1557bf 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(12, 36, 97, 0.16);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-donate-action:hover {
  background: linear-gradient(135deg, #091a45 0%, #0d47a1 100%);
  box-shadow: 0 6px 20px rgba(12, 36, 97, 0.28);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-donate-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.btn-donate-action:hover .btn-donate-arrow {
  transform: translateX(4px);
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
  .campaign-showcase-box {
    padding: 1.75rem 1.25rem;
  }

  .campaign-card-media {
    height: 195px;
  }
}

@media (max-width: 575.98px) {
  #section-campaign {
    padding: 1.5rem 0;
  }

  .campaign-showcase-box {
    padding: 1.25rem 0.85rem;
    border-radius: 18px;
  }

  .campaign-main-heading {
    font-size: 1.6rem;
  }

  .campaign-sub-heading {
    font-size: 0.92rem;
  }

  .campaign-card-media {
    height: 185px;
  }

  .campaign-card-content {
    padding: 14px 16px 16px;
  }

  .campaign-card-name {
    font-size: 1rem;
    min-height: auto;
  }
}

/* ========================================================
   # Modern Donors Section (#name_donate)
   ======================================================== */
#name_donate {
  padding: 2.5rem 0 3.5rem;
  position: relative;
}

/* Common Card Containers */
.donor-showcase-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(12, 36, 97, 0.08);
  box-shadow: 0 10px 30px rgba(12, 36, 97, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.donor-showcase-card:hover {
  box-shadow: 0 16px 36px rgba(12, 36, 97, 0.08);
}

.donor-card-header {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(12, 36, 97, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.donor-card-header h4,
.donor-card-header h5 {
  margin: 0;
  font-weight: 700;
  color: #0c2461;
}

.donor-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(12, 36, 97, 0.06);
  color: #0c2461;
  border: 1px solid rgba(12, 36, 97, 0.1);
}

.btn-search-donors {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0c2461;
  background: #ffffff;
  border: 1px solid rgba(12, 36, 97, 0.18);
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-search-donors:hover {
  background: #0c2461;
  color: #ffffff !important;
  border-color: #0c2461;
  transform: translateY(-1px);
}

/* Platinum Donors Grid */
.platinum-donor-item {
  background: linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
  border: 1px solid rgba(12, 36, 97, 0.09);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.platinum-donor-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f39c12, #0c2461);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.platinum-donor-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(12, 36, 97, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
}

.platinum-donor-item:hover::before {
  opacity: 1;
}

.platinum-main-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platinum-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  min-width: 64px;
  max-width: 64px;
  min-height: 64px;
  max-height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platinum-avatar-wrap .platinum-avatar-img,
.platinum-donor-item .platinum-avatar-img {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  border-radius: 50%;
  object-fit: contain;
  padding: 3px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(12, 36, 97, 0.1);
  background-color: #ffffff;
  display: block;
}

.platinum-badge-star {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1c40f;
  color: #795548;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.platinum-info {
  flex-grow: 1;
  min-width: 0;
}

.platinum-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0c2461;
  margin-bottom: 4px;
  line-height: 1.4;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.platinum-amount-row {
  font-size: 0.88rem;
  color: #64748b;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.platinum-amount-value {
  font-size: 1.12rem;
  font-weight: 700;
  color: #d63031;
  letter-spacing: -0.2px;
}

.platinum-donor-tag {
  display: inline-block;
  align-self: flex-end;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(12, 36, 97, 0.05);
  color: #475569;
  border: 1px solid rgba(12, 36, 97, 0.08);
}

/* Recent Donors Feed */
.recent-donors-list {
  padding: 0.5rem 1rem;
  max-height: 520px;
  overflow-y: auto;
}

.recent-donors-list::-webkit-scrollbar {
  width: 5px;
}

.recent-donors-list::-webkit-scrollbar-thumb {
  background: rgba(12, 36, 97, 0.15);
  border-radius: 10px;
}

.recent-donor-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(12, 36, 97, 0.06);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.recent-donor-item:last-child {
  border-bottom: none;
}

.recent-donor-item:hover {
  background: #f4f8fd;
}

.recent-donor-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
}

.recent-donor-content {
  flex-grow: 1;
  min-width: 0;
}

.recent-donor-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.recent-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-tag {
  font-size: 0.72rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.recent-amount-text {
  font-size: 0.85rem;
  color: #64748b;
}

.recent-amount-val {
  font-weight: 700;
  color: #d63031;
}

/* Footer Action Buttons */
.donor-card-footer {
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid rgba(12, 36, 97, 0.06);
  display: flex;
  justify-content: flex-end;
}

.btn-show-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #0c2461;
  background: rgba(12, 36, 97, 0.05);
  border: 1px solid rgba(12, 36, 97, 0.12);
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-show-more:hover {
  background: #0c2461;
  color: #ffffff !important;
  border-color: #0c2461;
  transform: translateY(-1px);
}

.btn-show-more i {
  transition: transform 0.2s ease;
}

.btn-show-more:hover i {
  transform: translateX(3px);
}

@media (max-width: 575.98px) {
  .platinum-main-row {
    gap: 10px;
  }

  .platinum-avatar-wrap {
    width: 54px;
    height: 54px;
    min-width: 54px;
    max-width: 54px;
    min-height: 54px;
    max-height: 54px;
  }

  .platinum-avatar-wrap .platinum-avatar-img,
  .platinum-donor-item .platinum-avatar-img {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
  }

  .platinum-name {
    font-size: 0.92rem;
  }

  .platinum-amount-value {
    font-size: 1rem;
  }

  .donor-card-header {
    padding: 1rem 1.25rem;
  }
}

/* ========================================================
   # Modern DMS Contact & Footer Experience
   ======================================================== */

.dms-cta-section {
  font-family: 'Kanit', sans-serif;
}

.dms-cta-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dms-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.dms-cta-heading {
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.dms-cta-subheading {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Contact Quick Action Chips */
.dms-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dms-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 8px 16px;
  text-decoration: none !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.dms-contact-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  color: #ffffff !important;
}

.dms-chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.dms-chip-icon.phone-icon {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.4);
}

.dms-chip-icon.email-icon {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.4);
}

.dms-chip-text {
  display: flex;
  flex-direction: column;
}

.dms-chip-label {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.2;
}

.dms-chip-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* LINE Official Card */
.dms-line-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  max-width: 580px;
}

.dms-line-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(6, 199, 85, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.dms-line-qr-box {
  background: #ffffff;
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.dms-line-qr-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.dms-line-content {
  flex-grow: 1;
}

.dms-line-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #06C755;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
}

.dms-line-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.35;
}

.dms-line-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.45;
  margin-bottom: 6px;
}

.dms-line-hint {
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Newsletter Subscription Card */
.dms-newsletter-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.dms-newsletter-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dms-newsletter-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.dms-newsletter-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4);
  flex-shrink: 0;
}

.dms-newsletter-badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.dms-newsletter-title {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
}

.dms-newsletter-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.dms-input-group {
  background: #ffffff;
  border-radius: 14px;
  padding: 5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  border: 2px solid transparent;
  transition: all 0.25s ease;
  display: flex;
  align-items: stretch;
}

.dms-input-group:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.35);
}

.dms-input-addon {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  padding-left: 12px;
  padding-right: 6px;
}

.dms-newsletter-input {
  border: none !important;
  box-shadow: none !important;
  font-size: 0.94rem;
  color: #1e293b;
  font-family: 'Kanit', sans-serif;
  background: transparent;
  padding: 8px 10px;
}

.dms-newsletter-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.dms-subscribe-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  border: none;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.dms-subscribe-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  color: #ffffff !important;
}

.dms-newsletter-privacy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 10px;
  line-height: 1.4;
}

/* Modal Subscribe Refinement */
.dms-modal-content {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  font-family: 'Kanit', sans-serif;
}

.dms-modal-header {
  padding: 1rem 1.5rem;
}

/* ========================================================
   # Modern Footer Menu Section
   ======================================================== */
.dms-footer-menu-section {
  background: #051336;
  padding: 46px 0 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Kanit', sans-serif;
}

.dms-footer-col {
  height: 100%;
}

.dms-footer-menu-heading {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
}

.dms-footer-nav-list li {
  margin-bottom: 11px;
}

.dms-footer-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: all 0.22s ease;
  line-height: 1.45;
}

.dms-footer-nav-link:hover {
  color: #38bdf8 !important;
  transform: translateX(5px);
}

.nav-arrow {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.dms-footer-nav-link:hover .nav-arrow {
  color: #38bdf8;
  transform: translateX(3px);
}

.dms-tax-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

.dms-tax-highlight-icon {
  color: #f59e0b;
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.dms-tax-highlight-text strong {
  display: block;
  color: #f59e0b;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.dms-tax-highlight-text small {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .dms-cta-section {
    padding: 40px 0 32px 0;
  }

  .dms-cta-heading {
    font-size: 1.45rem;
  }

  .dms-line-card {
    max-width: 100%;
  }

  .dms-footer-menu-section {
    padding: 36px 0 28px 0;
  }
}

@media (max-width: 575.98px) {
  .dms-line-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }

  .dms-line-badge {
    margin: 0 auto 6px auto;
  }

  .dms-contact-chips {
    flex-direction: column;
  }

  .dms-contact-chip {
    width: 100%;
  }

  .dms-newsletter-card {
    padding: 20px 16px;
  }

  .dms-input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 10px;
    box-shadow: none;
  }

  .dms-newsletter-input {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 14px;
  }

  .dms-subscribe-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    border-radius: 12px;
  }
}

/* ========================================================
   # Modern Campaign Detail Hero Header
   ======================================================== */
.campaign-detail-hero {
  background: linear-gradient(145deg, #061845 0%, #0a2973 50%, #0c3392 100%);
  padding-top: 115px;
  padding-bottom: 54px;
  position: relative;
  overflow: hidden;
  font-family: 'Kanit', sans-serif;
}

.campaign-detail-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.campaign-detail-hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Breadcrumbs */
.campaign-breadcrumbs {
  font-family: 'Kanit', sans-serif;
  position: relative;
  z-index: 2;
}

.campaign-breadcrumbs .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.campaign-breadcrumbs .breadcrumb-item a:hover {
  color: #38bdf8;
}

.campaign-breadcrumbs .breadcrumb-item.active {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 500px;
}

.campaign-breadcrumbs .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}

/* Hero Card */
.campaign-hero-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px 44px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 15, 50, 0.28);
}

.hero-glow-circle {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-decorative-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.6;
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), transparent);
}

.campaign-hero-body {
  position: relative;
  z-index: 1;
}

/* Badges */
.campaign-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.campaign-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.campaign-hero-badge.objective-badge {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.campaign-hero-badge.status-badge {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-weight: 600;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34d399;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.campaign-hero-badge.tax-badge {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

/* Title */
.campaign-hero-title {
  color: #ffffff;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 6px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Meta */
.campaign-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.4;
}

.campaign-hero-meta .meta-item {
  display: inline-flex;
  align-items: center;
}

.campaign-hero-meta .meta-separator {
  color: rgba(255, 255, 255, 0.35);
}

/* Hero Action Button */
.btn-hero-start-donate {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff !important;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Kanit', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.42);
}

.btn-hero-start-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.6);
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff !important;
}

.btn-hero-start-donate i {
  transition: transform 0.2s ease;
}

.btn-hero-start-donate:hover .bi-arrow-right {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .campaign-detail-hero {
    padding-top: 100px;
    padding-bottom: 44px;
  }

  .campaign-hero-card {
    padding: 30px 24px;
    border-radius: 20px;
  }
}

@media (max-width: 575.98px) {
  .campaign-detail-hero {
    padding-top: 92px;
    padding-bottom: 34px;
  }

  .campaign-hero-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .campaign-hero-badges {
    gap: 6px;
  }

  .campaign-hero-badge {
    font-size: 0.78rem;
    padding: 4px 10px;
  }

  .campaign-hero-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .campaign-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.85rem;
  }

  .btn-hero-start-donate {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 1rem;
  }

  .campaign-content .details {
    padding: 24px 18px !important;
    margin-top: -18px !important;
    border-radius: 16px !important;
  }
}

/* ========================================================
   # Modern Bottom Donate CTA Card
   ======================================================== */
.campaign-donate-cta-card {
  background: linear-gradient(135deg, rgba(6, 24, 69, 0.03) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(14, 165, 233, 0.08);
  font-family: 'Kanit', sans-serif;
}

.campaign-donate-cta-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.campaign-donate-cta-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(6, 199, 85, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.campaign-cta-heart-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.75rem;
  box-shadow: 0 8px 22px rgba(14, 165, 233, 0.38);
  animation: heartPulse 2.4s infinite;
}

@keyframes heartPulse {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.1);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.1);
  }

  70% {
    transform: scale(1);
  }
}

.campaign-cta-title {
  color: #071b4d;
  font-family: 'Kanit', sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
}

.campaign-cta-subtitle {
  color: #64748b;
  font-family: 'Kanit', sans-serif;
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.tax-badge-highlight {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid #fde68a;
}

/* Premium Main Donate Button */
.btn-main-donate {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
  color: #ffffff !important;
  border: none;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 16px 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.42);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-main-donate::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-main-donate:hover::before {
  left: 100%;
}

.btn-main-donate:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 38px rgba(2, 132, 199, 0.58);
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%);
  color: #ffffff !important;
}

.btn-main-donate:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-main-donate .donate-icon {
  font-size: 1.45rem;
  transition: transform 0.25s ease;
}

.btn-main-donate:hover .donate-icon {
  transform: scale(1.2) rotate(-8deg);
}

.btn-main-donate .arrow-icon {
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn-main-donate:hover .arrow-icon {
  transform: translateX(4px);
}

/* Trust Signals */
.campaign-cta-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: #64748b;
  font-family: 'Kanit', sans-serif;
  font-size: 0.9rem;
}

.campaign-cta-trust .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.campaign-cta-trust .trust-dot {
  color: #cbd5e1;
}

@media (max-width: 575.98px) {
  .campaign-donate-cta-card {
    border-radius: 18px;
  }

  .btn-main-donate {
    width: 100%;
    max-width: 100%;
    padding: 14px 24px;
    font-size: 1.15rem;
  }

  .campaign-cta-trust {
    flex-direction: column;
    gap: 8px;
    font-size: 0.84rem;
  }
}

/* ========================================================
   # Modern Donate Process & Form Stepper Experience
   ======================================================== */
.donate-process-section {
  font-family: 'Kanit', sans-serif;
}

/* Stepper Progress Bar */
.donate-stepper-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px 24px;
}

.donate-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.donate-step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: #64748b;
  flex: 1;
  transition: all 0.25s ease;
  padding: 8px 12px;
  border-radius: 12px;
}

.donate-step-item:hover:not(.disabled) {
  background: rgba(14, 165, 233, 0.06);
}

.donate-step-item .step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.donate-step-item .step-desc {
  display: flex;
  flex-direction: column;
}

.donate-step-item .step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

.donate-step-item .step-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.3;
}

/* Active Step */
.donate-step-item.active .step-num {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.donate-step-item.active .step-title {
  color: #0284c7;
}

.donate-step-item.active .step-subtitle {
  color: #0ea5e9;
  font-weight: 500;
}

/* Completed Step */
.donate-step-item.completed .step-num {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.donate-step-item.completed .step-title {
  color: #059669;
}

.donate-step-item.disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.step-connector {
  height: 3px;
  background: #e2e8f0;
  flex: 0 0 60px;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.step-connector.active {
  background: linear-gradient(90deg, #10b981, #0ea5e9);
}

/* Login Banner */
.donate-login-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(14, 165, 233, 0.12) 100%);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.login-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
  flex-shrink: 0;
}

/* Form Card Panels */
.form-card-panel {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-card-panel:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.form-card-header {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.form-control-modern {
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  padding: 10px 14px;
  font-size: 0.96rem;
  font-family: 'Kanit', sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.form-control-modern:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
  background-color: #ffffff;
  outline: none;
}

/* Donor Type Radio Options */
.donor-type-option {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.donor-type-option:hover {
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.02);
}

.donor-type-option .form-check-input:checked~.form-check-label {
  color: #0284c7;
}

.donor-type-option:has(.form-check-input:checked) {
  border-color: #0284c7;
  background: rgba(2, 132, 199, 0.05);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

/* Delivery Options Box */
.delivery-options-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
}

/* Button Step Next */
.btn-step-next {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  border: none;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 14px 36px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  transition: all 0.25s ease;
}

.btn-step-next:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.48);
}

/* Step 2 Payment UI Enhancements */
#accordionPaymentMethod .accordion-item {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px !important;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.22s ease;
}

#accordionPaymentMethod .accordion-item:hover {
  border-color: #0ea5e9;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.08);
}

#accordionPaymentMethod .accordion-header {
  padding: 0 !important;
}

#accordionPaymentMethod .accordion-button {
  padding: 18px 24px;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  background: #ffffff;
  color: #0f172a;
}

#accordionPaymentMethod .accordion-button:not(.collapsed) {
  background: rgba(14, 165, 233, 0.06);
  color: #0284c7;
  box-shadow: none;
}

.payment-icon img {
  max-height: 52px;
  width: auto;
  border-radius: 8px;
  margin-right: 14px;
}

.select-donate-amount {
  gap: 8px;
  margin-bottom: 16px;
}

.select-donate-amount .btn {
  border-radius: 10px !important;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 18px;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  transition: all 0.2s ease;
}

.select-donate-amount .btn-check:checked+.btn {
  background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-start-donate-process {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  padding: 14px 40px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  transition: all 0.25s ease;
}

.btn-start-donate-process:hover {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.48);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .donate-stepper {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .step-connector {
    display: none;
  }

  .form-card-panel {
    padding: 18px 16px;
  }

  .btn-step-next {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding: 12px 20px;
  }

  .btn-start-donate-process {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding: 12px 20px;
  }
}

/* =========================================================
   Auth & Sign-In Page Modern UI
========================================================= */
.auth-section {
  background: #f1f5f9;
  padding: 50px 0 80px 0;
}

.auth-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 38px 34px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(2, 132, 199, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.15);
}

.auth-card-title {
  font-family: 'Kanit', sans-serif;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.modern-input-group {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.modern-input-group .input-group-text {
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-right: none;
  color: #64748b;
  font-size: 1.1rem;
  padding: 10px 14px;
}

.modern-input-group .form-control-modern {
  border-radius: 0;
  border: 1.5px solid #cbd5e1;
  padding: 11px 14px;
  font-size: 1rem;
}

.modern-input-group .form-control-modern:focus {
  border-color: #0ea5e9;
  box-shadow: none;
}

.modern-input-group:focus-within {
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
  border-radius: 12px;
}

.modern-input-group:focus-within .input-group-text,
.modern-input-group:focus-within .form-control-modern,
.modern-input-group:focus-within .btn-toggle-password {
  border-color: #0ea5e9;
}

.modern-input-group .btn-toggle-password {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-left: none;
  color: #64748b;
  padding: 10px 14px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.modern-input-group .btn-toggle-password:hover {
  background: #f1f5f9;
  color: #0284c7;
}

/* Sign-in Button */
.btn-signin {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
  transition: all 0.25s ease;
}

.btn-signin:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.48);
}

.auth-link-forgot {
  color: #0284c7;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-link-forgot:hover {
  color: #0369a1;
  text-decoration: underline !important;
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
  padding: 0 14px;
}

/* Signup Box */
.auth-signup-box {
  background: rgba(14, 165, 233, 0.05);
  border: 1.5px dashed rgba(14, 165, 233, 0.25);
}

/* Validation Error Styles */
#form-signin label.error,
#form-signup label.error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
  font-weight: 500;
  font-family: 'Kanit', sans-serif;
}

#form-signin input.error,
#form-signup input.error {
  border-color: #ef4444 !important;
}

#form-signin .modern-input-group:has(input.error),
#form-signup .modern-input-group:has(input.error) {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  border-radius: 12px;
}

#form-signin .modern-input-group:has(input.error) .input-group-text,
#form-signin .modern-input-group:has(input.error) .form-control-modern,
#form-signin .modern-input-group:has(input.error) .btn-toggle-password,
#form-signup .modern-input-group:has(input.error) .input-group-text,
#form-signup .modern-input-group:has(input.error) .form-control-modern,
#form-signup .modern-input-group:has(input.error) .btn-toggle-password {
  border-color: #ef4444 !important;
}

/* Sign-up Create Account Button */
.btn-create-account {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  transition: all 0.25s ease;
}

.btn-create-account:hover {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.48);
}

@media (max-width: 576px) {
  .auth-card {
    padding: 26px 20px;
    border-radius: 18px;
  }
}

/* =========================================================
   Platinum Detail Modern UI
========================================================= */
.platinum-hero-student-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.student-hero-img {
  max-height: 290px;
  width: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.student-hero-img:hover {
  transform: scale(1.03);
}

.platinum-content-section {
  background: #f8fafc;
  min-height: 50vh;
}

.platinum-header-panel {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
}

.platinum-medal-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.25) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.platinum-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 22px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.platinum-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #94a3b8, #cbd5e1, #38bdf8, #818cf8);
  opacity: 0.8;
}

.platinum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.12) !important;
  border-color: #0ea5e9;
}

.platinum-tier-pill {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  border: 1px solid #cbd5e1;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.donor-type-tag {
  background: rgba(14, 165, 233, 0.08);
  color: #0284c7;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 3px 10px;
  font-family: 'Kanit', sans-serif;
}

.platinum-avatar-wrapper {
  width: 72px;
  height: 72px;
  min-width: 72px;
  max-width: 72px;
  min-height: 72px;
  max-height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #38bdf8, #818cf8, #f59e0b);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platinum-avatar-wrapper .platinum-avatar-img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  display: block;
}

.platinum-donor-name {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0f172a;
  line-height: 1.35;
}

.platinum-amount-badge .amount-label {
  font-size: 0.78rem;
  color: #64748b;
  display: block;
}

.platinum-amount-badge .amount-value {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0284c7;
  letter-spacing: -0.2px;
}

.platinum-amount-badge .currency {
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
}

/* =========================================================
   Silver & Gold Detail Modern UI
========================================================= */
.silver-gold-search-panel {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.silver-gold-search-input {
  border-radius: 50px 0 0 50px !important;
  border: 1.5px solid #cbd5e1;
  padding: 12px 22px;
  font-size: 1.02rem;
  font-family: 'Kanit', sans-serif;
}

.silver-gold-search-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.silver-gold-search-btn {
  border-radius: 0 50px 50px 0 !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Kanit', sans-serif;
  transition: all 0.25s ease;
}

.silver-gold-search-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
}

.silver-gold-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 22px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.silver-gold-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #0ea5e9 0%, #3b82f6 100%);
  border-radius: 4px 0 0 4px;
  opacity: 0.8;
}

.silver-gold-card:hover {
  transform: translateY(-3px);
  border-color: #0ea5e9;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.1);
}

.silver-donor-name {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 6px;
  word-break: break-word;
}

.silver-donate-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.silver-donate-amount-wrap .amount-label {
  font-size: 0.85rem;
  color: #64748b;
}

.silver-donate-amount-wrap .amount-num {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0284c7;
  letter-spacing: -0.2px;
}

.silver-donate-amount-wrap .amount-curr {
  font-size: 0.85rem;
  color: #475569;
}

.silver-gold-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  padding: 3px 8px;
  align-self: flex-start;
}

/* Modern Pagination Styling */
.modern-pagination {
  gap: 6px;
}

.modern-pagination .page-item .page-link {
  border-radius: 10px !important;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.2s ease;
  background: #ffffff;
}

.modern-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.modern-pagination .page-item .page-link:hover {
  background: #f8fafc;
  border-color: #0ea5e9;
  color: #0284c7;
}

.modern-pagination .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
  border-color: #e2e8f0;
}