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

Name: 		Ruizarch
Version:    1.0
Developer:	Nazar Miller (millerDigitalDesign)
Portfolio:  https://themeforest.net/user/millerdigitaldesign/portfolio?ref=MillerDigitalDesign

p.s. I am available for Freelance hire (UI design, web development). email: miller.themes@gmail.com

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

/* Pretendard Font Family */
@font-face {
  font-family: 'Pretendard'; /* 폰트 이름 지정 */
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2') format('woff2'); /* CDN 폰트 파일 경로 */
  font-weight: normal; /* 폰트 두께 */
  font-style: normal;  /* 폰트 스타일 */
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

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

1. common
    - main
    - typography
    - link
    - button
    - form
    - breadcrumbs
    - backgrounds
    - spaces
2. components
    - preloader
    - cursor
    - hidden elements
    - scrollbar
    - frame
    - menu button
    - menu 
    - banner
    - circle text
    - lines
    - dodecahedron
    - about
    - partners
    - services
    - team
    - social icons
    - revievs
    - blog
    - footer
    - portfolio
    - map
    - accordion
    - price
    - 404
    - images
    - page transitions


--------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css);
/* -------------------------------------------

main

------------------------------------------- */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: 'Pretendard', "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 300;
  text-align: justify;
  color: rgba(0, 0, 0, 0.75);
  line-height: 170%;
  -ms-scroll-chaining: none;
      overscroll-behavior: auto;
}
@media screen and (max-width: 768px) {
  html,
body {
    font-size: 17px;
  }
}

*::-moz-selection {
  color: inherit;
  background-color: transparent;
}

*::selection {
  color: inherit;
  background-color: transparent;
}

.mil-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.container {
  pointer-events: all;
}

.mil-relative {
  position: relative;
}

.mil-o-hidden {
  overflow: hidden;
}

.mil-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.mil-vert-between {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 100%;
}

@media screen and (max-width: 992px) {
  .mil-mobile-hidden {
    display: none;
  }
}

section {
  position: relative;
  overflow: hidden;
}

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

typography

------------------------------------------- */
h1,
.mil-h1,
h2,
.mil-h2,
h3,
.mil-h3,
h4,
.mil-h4,
h5,
.mil-h5,
h6,
.mil-h6 {
  font-family: 'Pretendard', "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: rgb(0, 0, 0);
  font-weight: 500;
  line-height: 120%;
}
@media screen and (max-width: 768px) {
  h1 br,
.mil-h1 br,
h2 br,
.mil-h2 br,
h3 br,
.mil-h3 br,
h4 br,
.mil-h4 br,
h5 br,
.mil-h5 br,
h6 br,
.mil-h6 br
{
    display: none;
  }
}

#tcr-confession br {
  display: none;
}

@media screen and (max-width: 577px) {
.mil-banner-content h1 br,
.mil-banner-content .mil-h1 br {
  display: block;}

.mil-faq-answer br {
  display: none;
}

}


@media screen and (max-width: 460px) {

#tcr-confession br {
  display: block;
}

}

@media screen and (max-width: 992px) {
  #about h2 br,
    #about .mil-h2 br {
    display: none;
  }
}

@media screen and (max-width: 390px) {
  #about h2 br,
    #about .mil-h2 br {
    display: block;
  }

}


@media screen and (max-width: 1400px) {
#books p br
.mil-text-xl p br {
 display: none;
}
}


h1,
.mil-h1 {
  font-size: 86px;
}
@media screen and (max-width: 1400px) {
  h1,
.mil-h1 {
    font-size: 74px;
  }
}
@media screen and (max-width: 1200px) {
  h1,
.mil-h1 {
    font-size: 72px;
  }
}
@media screen and (max-width: 992px) {
  h1,
.mil-h1 {
    font-size: 58px;
  }
}
@media screen and (max-width: 768px) {
  h1,
.mil-h1 {
    font-size: 34px;
  }
}

h2,
.mil-h2 {
  font-size: 66px;
  line-height: 120%;
}

@media screen and (max-width: 1400px) {
  h2,
  .mil-h2 {
    font-size: 54px;
  }
}
@media screen and (max-width: 992px) {
  h2,
.mil-h2 {
    font-size: 44px;
  }
}
@media screen and (max-width: 768px) {
  h2,
.mil-h2 {
    font-size: 36px;
  }
}
@media screen and (max-width: 390px) {
  h2,
.mil-h2 {
    font-size: 34px;
  }
}

h3,
.mil-h3 {
  font-size: 42px;
}
@media screen and (max-width: 1200px) {
  h3,
.mil-h3 {
    font-size: 39px;
  }
}
@media screen and (max-width: 992px) {
  h3,
.mil-h3 {
    font-size: 36px;
  }
}
@media screen and (max-width: 768px) {
  h3,
.mil-h3 {
    font-size: 30px;
  }
}

h4,
.mil-h4 {
  font-size: 28px;
}
@media screen and (max-width: 1200px) {
  h4,
.mil-h4 {
    font-size: 26px;
  }
}
@media screen and (max-width: 992px) {
  h4,
.mil-h4 {
    font-size: 24px;
  }
}
@media screen and (max-width: 768px) {
  h4,
.mil-h4 {
    font-size: 22px;
  }
}

h5,
.mil-h5 {
  font-size: 20px;
  line-height: 150%;
}
@media screen and (max-width: 768px) {
  h5,
.mil-h5 {
    font-size: 18px;
  }
}

h6,
.mil-h6 {
  font-size: 18px;
  line-height: 150%;
}
@media screen and (max-width: 1200px) {
  h6,
.mil-h6 {
    font-size: 17px;
  }
}
@media screen and (max-width: 992px) {
  h6,
.mil-h6 {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  h6,
.mil-h6 {
    font-size: 21px;
  }
}

.mil-no-wrap {
  white-space: nowrap;
}

blockquote {
  padding: 60px;
  background-color: rgba(0, 0, 0, 0.05);
  font-size: 18px;
  color: rgb(0, 0, 0);
  font-style: italic;
  text-align: center;
}
@media screen and (max-width: 768px) {
  blockquote {
    padding: 30px;
    font-size: 16px;
  }
}

.mil-text-sm {
  font-size: 15px;
  padding-left: 2px;
}

.mil-text-lg {
  font-size: 18px;
  line-height: 170%;
}

.mil-text-xl {
  font-size: 22px;
  line-height: 180%;
}
@media screen and (max-width: 768px) {
  .mil-text-xl {
    font-size: 20px;
  }
}

.mil-upper {
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
}

.mil-bold {
  font-weight: 500;
}

.mil-thin {
  font-weight: 100;
}

a {
  color: inherit;
  text-decoration: none;
}

.mil-complex-title {
  line-height: normal;
}

.mil-accent {
  color: rgb(2, 64, 134);
}

.mil-light {
  color: rgb(255, 255, 255) !important;
}
.mil-light a {
  color: rgb(255, 255, 255) !important;
}

.mil-muted {
  color: rgba(0, 0, 0, 0.6);
}

.mil-dark {
  color: rgb(0, 0, 0);
}

.mil-light-soft {
  color: rgba(0, 0, 0, 0.4);
}

.mil-dark-soft {
  color: rgba(0, 0, 0, 0.5);
}

.mil-marker {
  background-color: rgb(2, 64, 134);
  padding: 0 5px;
}

.mil-center {
  text-align: center;
}

.mil-left {
  text-align: justify;
}

.mil-right {
  text-align: right;
}

/* Revival grid ensures paired sections align by rows with equal heights */
.mil-revival-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 60px;
}

.mil-revival-item {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 992px) {
  .mil-revival-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 576px) {
  .mil-sm-center {
    text-align: center;
  }
}

.mil-suptitle {
  position: relative;
  display: block;
  margin-bottom: 60px;
}
.mil-suptitle:before {
  content: "";
  position: absolute;
  right: calc(100% + 30px);
  top: 10px;
  width: 600px;
  height: 1px;
  background-color: rgb(255, 255, 255);
  opacity: 0.2;
}
.mil-suptitle.mil-suptitle-right {
  text-align: right;
}
.mil-suptitle.mil-suptitle-right:before {
  left: calc(100% + 30px);
}
@media screen and (max-width: 768px) {
  .mil-suptitle.mil-suptitle-right {
    text-align: center;
  }
  .mil-suptitle.mil-suptitle-right:before {
    display: none;
  }
}

/* Override: keep suptitle right-aligned on mobile within reviews section */
@media screen and (max-width: 768px) {
  .mil-soft-bg .mil-suptitle.mil-suptitle-right {
    text-align: right;
  }
}
.mil-suptitle.mil-suptitle-dark:before {
  background-color: rgb(0, 0, 0);
  opacity: 0.1;
}
@media screen and (max-width: 768px) {
  .mil-suptitle {
    margin-bottom: 60px;
  }
}

.mil-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.mil-img-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 140%;
}
.mil-img-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

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

link

------------------------------------------- */
.mil-link {
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
}
.mil-link svg {
  margin-left: 15px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-link svg path {
  fill: rgb(255, 255, 255);
}
.mil-link.mil-accent svg {
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-link.mil-accent svg path {
  fill: #024086;
}
.mil-link.mil-dark svg {
  background-color: rgba(0, 0, 0, 0.1);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-link.mil-dark svg path {
  fill: rgb(0, 0, 0);
}
.mil-link:hover svg {
  -webkit-transform: scale(1.15);
          transform: scale(1.15);
}
.mil-link.mil-down-arrow svg {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.mil-link.mil-down-arrow:hover svg {
  -webkit-transform: scale(1.15) rotate(90deg);
          transform: scale(1.15) rotate(90deg);
}
.mil-link.mil-icon-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
.mil-link.mil-icon-left svg {
  margin-left: 0;
  margin-right: 15px;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.mil-link.mil-icon-left:hover svg {
  -webkit-transform: scale(1.15) rotate(180deg);
          transform: scale(1.15) rotate(180deg);
}

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

button

------------------------------------------- */
.mil-button {
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: none;
  letter-spacing: 2px;
  font-size: 15px;
  background-color: #024086;
  color: #F5F5F5;
  border-radius: 70px;
  padding: 0 15px 0 50px;
  height: 70px;
  text-transform: uppercase;
  font-weight: 500;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-button span {
  white-space: nowrap;
}
.mil-button svg {
  margin-left: 30px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 10px;
  background-color: #F5F5F5;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-button svg path {
  fill: #024086;
}
.mil-button.mil-icon-button {
  padding: 15px;
}
.mil-button.mil-icon-button svg {
  margin-left: 0;
}
.mil-button.mil-icon-button-sm {
  padding: 0;
  height: 40px;
}
.mil-button.mil-icon-button-sm svg {
  margin-left: 0;
  background-color: #F5F5F5;
}
.mil-button.mil-icon-button-sm svg path {
  fill: #024086;
}
.mil-button:hover {
  -webkit-transform: scale(1.015);
          transform: scale(1.015);
  -webkit-filter: brightness(110%);
          filter: brightness(110%);
}
.mil-button:hover svg {
  -webkit-transform: scale(1.15);
          transform: scale(1.15);
}
.mil-button.mil-arrow-down svg {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.mil-button.mil-arrow-down:hover {
  -webkit-transform: scale(1.015);
          transform: scale(1.015);
  -webkit-filter: brightness(110%);
          filter: brightness(110%);
}
.mil-button.mil-arrow-down:hover svg {
  -webkit-transform: scale(1.15) rotate(90deg);
          transform: scale(1.15) rotate(90deg);
}
@media screen and (max-width: 992px) {
  .mil-button {
    height: 60px;
    padding: 0 10px 0 40px;
  }
  .mil-button svg {
    margin-left: 25px;
  }
}

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

form

------------------------------------------- */
input,
textarea {
  position: relative;
  height: 70px;
  padding: 0 30px;
  width: 100%;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  font-family: 'Pretendard', "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: rgb(0, 0, 0);
  border: none;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}
input:focus,
textarea:focus {
  outline: inherit;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
}
input::-moz-placeholder, textarea::-moz-placeholder {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
}
input::-ms-input-placeholder, textarea::-ms-input-placeholder {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
}
input::placeholder,
textarea::placeholder {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
}

textarea {
  padding: 15px 30px;
  height: 300px;
}

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

breadcrumbs

------------------------------------------- */
.mil-breadcrumbs {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}
.mil-breadcrumbs:before {
  content: "";
  position: absolute;
  right: calc(100% + 30px);
  top: 10px;
  width: 100vw;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}
.mil-breadcrumbs li {
  list-style-type: none;
}
.mil-breadcrumbs li:after {
  content: "/";
  margin: 0 15px;
  color: rgb(0, 0, 0);
}
.mil-breadcrumbs li a {
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  -webkit-transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-breadcrumbs li a:hover {
  color: rgb(2, 64, 134);
}
.mil-breadcrumbs li:last-child {
  margin-right: 0;
  cursor: not-allowed;
}
.mil-breadcrumbs li:last-child a {
  opacity: 0.4;
  pointer-events: none;
}
.mil-breadcrumbs li:last-child:after {
  display: none;
}
.mil-breadcrumbs.mil-light:before {
  background-color: rgba(255, 255, 255, 0.1);
}
.mil-breadcrumbs.mil-light li:after {
  color: rgba(255, 255, 255, 0.9);
}
.mil-breadcrumbs.mil-light li a:hover {
  color: rgb(2, 64, 134) !important;
}
.mil-breadcrumbs.mil-center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

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

backgrounds

------------------------------------------- */
.mil-dark-bg {
  position: relative;
}
.mil-dark-bg:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;
  z-index: 2;
  -webkit-backdrop-filter: invert(100%);
          backdrop-filter: invert(100%);
}
.mil-dark-bg .mi-invert-fix {
  height: 100%;
  position: relative;
  pointer-events: none;
  z-index: 3;
}
.mil-dark-bg .mi-invert-fix .container {
  pointer-events: all;
}

.mil-soft-bg {
  background-color: rgb(242, 242, 242);
}

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

spaces

------------------------------------------- */
.mil-mr-30 {
  margin-right: 30px;
}

.mil-mb-5 {
  margin-bottom: 5px;
}

.mil-mb-10 {
  margin-bottom: 10px;
}

.mil-mb-15 {
  margin-bottom: 15px;
}

.mil-mb-20 {
  margin-bottom: 15px;
}

.mil-mb-30 {
  margin-bottom: 30px;
}

.mil-mb-60 {
  margin-bottom: 60px;
}

.mil-mb-90 {
  margin-bottom: 90px;
}

.mil-mb-120 {
  margin-bottom: 120px;
}
@media screen and (max-width: 992px) {
  .mil-mb-120 {
    margin-bottom: 90px;
  }
}

.mil-mt-suptitle-offset {
  margin-top: 70px;
}
@media screen and (max-width: 992px) {
  .mil-mt-suptitle-offset {
    margin-top: 30px;
  }
}

.mil-p-120-120 {
  padding-top: 120px;
  padding-bottom: 120px;
}
@media screen and (max-width: 992px) {
  .mil-p-120-120 {
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

.mil-p-120-90 {
  padding-top: 120px;
  padding-bottom: 90px;
}
@media screen and (max-width: 992px) {
  .mil-p-120-90 {
    padding-top: 90px;
    padding-bottom: 60px;
  }
}

.mil-p-0-120 {
  padding-bottom: 120px;
}
@media screen and (max-width: 992px) {
  .mil-p-0-120 {
    padding-bottom: 90px;
  }
}

.mil-p-120-0 {
  padding-top: 120px;
}
@media screen and (max-width: 992px) {
  .mil-p-120-0 {
    padding-top: 90px;
  }
}

.mil-p-120-60 {
  padding-top: 120px;
  padding-bottom: 60px;
}
@media screen and (max-width: 992px) {
  .mil-p-120-60 {
    padding-top: 90px;
    padding-bottom: 30px;
  }
}
.mil-p-90-90 {
  padding-top: 90px;
  padding-bottom: 90px;
}
@media screen and (max-width: 992px) {
  .mil-p-90-90 {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.mil-p-90-120 {
  padding-top: 90px;
  padding-bottom: 120px;
}
@media screen and (max-width: 992px) {
  .mil-p-90-120 {
    padding-top: 60px;
    padding-bottom: 90px;
  }
}

.mil-p-0-90 {
  padding-bottom: 90px;
}
@media screen and (max-width: 992px) {
  .mil-p-0-90 {
    padding-bottom: 60px;
  }
}

.mil-p-0-30 {
  padding-bottom: 30px;
}
@media screen and (max-width: 992px) {
  .mil-p-0-30 {
    padding-bottom: 0;
  }
}

.mil-p-30-30 {
  padding-bottom: 30px;
    padding-top: 30px;
}
@media screen and (max-width: 992px) {
  .mil-p-0-30 {
    padding-bottom: 0;
    padding-top: 0;
  }
}

.mil-p-0-60 {
  padding-bottom: 60px;
}
@media screen and (max-width: 992px) {
  .mil-p-0-30 {
    padding-bottom: 30px;
  }
}

.mil-p-120-30 {
  padding-top: 120px;
  padding-bottom: 30px;
}
@media screen and (max-width: 992px) {
  .mil-p-120-30 {
    padding-top: 90px;
    padding-bottom: 0;
  }
}

.mil-adaptive-right {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
@media screen and (max-width: 992px) {
  .mil-adaptive-right {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}

.mil-btn-space {
  margin-right: 30px;
}
@media screen and (max-width: 500px) {
  .mil-btn-space {
    margin-right: 50px;
    margin-bottom: 30px;
  }
}

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

preloader

------------------------------------------- */
.mil-preloader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgb(0, 0, 0);
}
.mil-preloader .mil-preloader-animation {
  opacity: 0;
  position: relative;
  height: 100vh;
  color: rgb(255, 255, 255);
}
.mil-preloader .mil-preloader-animation .mil-pos-abs {
  position: absolute;
  height: 100vh;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.mil-preloader .mil-preloader-animation .mil-pos-abs p {
  opacity: 0;
  margin-right: 15px;
}
@media screen and (max-width: 992px) {
  .mil-preloader .mil-preloader-animation .mil-pos-abs {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .mil-preloader .mil-preloader-animation .mil-pos-abs p {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.mil-preloader .mil-preloader-animation .mil-pos-abs .mil-reveal-frame {
  position: relative;
  padding: 0 30px;
}

/* Preloader accent color for second paragraph */
.mil-preloader-accent {
  color: rgb(2, 64, 134) !important;
}
.mil-preloader .mil-preloader-animation .mil-pos-abs .mil-reveal-frame .mil-reveal-box {
  z-index: 4;
  position: absolute;
  opacity: 0;
  height: 100%;
  background-color: rgb(2, 64, 134);
}
.mil-preloader.mil-hidden {
  pointer-events: none;
}

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

cursor

------------------------------------------- */
.mil-ball {
  width: 20px;
  height: 20px;
  position: fixed;
  z-index: 10;
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  pointer-events: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0.1;
}
.mil-ball .mil-icon-1 {
  position: absolute;
  width: 40px;
  height: 40px;
  -webkit-transform: scale(0);
          transform: scale(0);
}
.mil-ball .mil-icon-1 svg {
  fill: rgba(255, 255, 255, 0.9);
}
.mil-ball .mil-more-text, .mil-ball .mil-choose-text {
  position: absolute;
  width: 100%;
  text-align: center;
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  -webkit-transform: scale(0);
          transform: scale(0);
}
.mil-ball.mil-accent .mil-icon-1 svg {
  fill: rgb(0, 0, 0);
}
.mil-ball.mil-accent .mil-more-text, .mil-ball.mil-accent .mil-choose-text {
  color: rgb(0, 0, 0);
}
@media screen and (max-width: 1200px) {
  .mil-ball {
    display: none;
  }
}

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

hidden elements

------------------------------------------- */
.mil-hidden-elements .mil-dodecahedron, .mil-hidden-elements .mil-lines, .mil-hidden-elements .mil-arrow {
  display: none;
}

/* Show globe in hidden elements */
.mil-hidden-elements .mil-globe {
  display: block;
}

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

scrollbar

------------------------------------------- */
::-webkit-scrollbar {
  display: none;
}

.mil-progress-track {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background-color: rgb(0, 0, 0);
}
.mil-progress-track .mil-progress {
  width: 4px;
  height: 0;
  background-color: rgb(2, 64, 134);
}
@media screen and (max-width: 992px) {
  .mil-progress-track {
    display: none;
  }
}

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

frame

------------------------------------------- */
.mil-logo {
  display: inline-block;
  width: 200px;
  height: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mil-logo-default {
  position: absolute;
  top: 50%;
  left: 0;
  height: 40px;
  width: auto;
  max-width: 100%;
  transform: translateY(-50%);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.mil-logo-icon {
  position: absolute;
  top: 50%;
  left: 0;
  height: 48px;
  width: auto;
  max-width: 100%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Scrolled state */
.mil-wrapper.scrolled .mil-logo-default {
  opacity: 0;
}

.mil-wrapper.scrolled .mil-logo-icon {
  opacity: 1;
}

@media screen and (max-width: 1199px) {
  .mil-logo-icon {
    display: none !important;
  }
  
  .mil-logo-default {
    opacity: 1 !important;
  }
}

@media screen and (max-width: 992px) {
  .mil-logo {
    width: 170px;
    height: 44px;
  }
  
  .mil-logo-default {
    height: 32px;
  }
  
  .mil-logo-icon {
    height: 38px;
  }
}

.mil-frame {
  padding: 0;
  position: fixed;
  z-index: 50;
  pointer-events: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 1200px) {
  .mil-frame {
    padding: 0;
    z-index: 999;
    height: 90px;
  }
}
@media screen and (max-width: 1200px) {
  .mil-frame .mil-frame-top {
    height: 90px;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    padding: 0 30px;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }
  .mil-frame .mil-frame-top .mil-logo {
    color: rgb(255, 255, 255);
  }
  .mil-frame .mil-frame-top .mil-menu-btn span, .mil-frame .mil-frame-top .mil-menu-btn span:after, .mil-frame .mil-frame-top .mil-menu-btn span:before {
    background: rgb(255, 255, 255);
  }
}
.mil-frame .mil-frame-bottom {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  padding: 0 60px 60px 60px;
  pointer-events: none;
}
@media screen and (max-width: 1200px) {
  .mil-frame .mil-frame-bottom {
    display: none;
  }
}
.mil-frame .mil-frame-bottom .mil-current-page {
  pointer-events: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  width: 300px;
  color: rgb(0, 0, 0);
  -webkit-transform: rotate(-90deg) translateX(138px) translateY(-138px);
          transform: rotate(-90deg) translateX(138px) translateY(-138px);
}
.mil-frame .mil-frame-bottom .mil-back-to-top {
  width: 300px;
  -webkit-transform: rotate(-90deg) translateX(130px) translateY(130px);
          transform: rotate(-90deg) translateX(130px) translateY(130px);
  pointer-events: all;
}

.mil-frame-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* Desktop: 3-column layout (logo | nav | menu button) */
@media screen and (min-width: 1201px) {
  .mil-frame-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
  }
  
  .mil-frame-top .mil-logo {
    justify-self: start;
  }
  
  .mil-frame-top .mil-desktop-nav {
    justify-self: center;
  }
  
  .mil-frame-top .mil-menu-btn {
    justify-self: end;
  }
}
.mil-frame-top .mil-logo {
  pointer-events: all;
  color: rgb(0, 0, 0);
  position: relative;
  z-index: 10;
}

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

menu button

------------------------------------------- */
.mil-menu-btn {
  pointer-events: all;
  height: 28px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
@media screen and (max-width: 992px) {
  .mil-menu-btn {
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
  }
}
.mil-menu-btn span, .mil-menu-btn span:after, .mil-menu-btn span:before {
  content: "";
  display: block;
  width: 28px;
  height: 2.5px;
  background: rgb(0, 0, 0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: inherit;
  transition: inherit;
  position: relative;
  z-index: 10;
}
.mil-menu-btn span {
  position: relative;
}
.mil-menu-btn span:after, .mil-menu-btn span:before {
  position: absolute;
}
.mil-menu-btn span:before {
  top: -9px;
}
.mil-menu-btn span:after {
  width: 18px;
  top: 9px;
}
.mil-menu-btn.mil-active span {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.mil-menu-btn.mil-active span:before {
  -webkit-transform: translate(0px, 9px) rotate(-90deg);
          transform: translate(0px, 9px) rotate(-90deg);
}
.mil-menu-btn.mil-active span:after {
  opacity: 0;
  width: 24px;
  -webkit-transform: translate(0px, -9px) rotate(-90deg);
          transform: translate(0px, -9px) rotate(-90deg);
}

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

menu

------------------------------------------- */
.mil-menu-frame {
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 100vh;
  background-color: rgb(0, 0, 0);
  opacity: 0;
  pointer-events: none;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-menu-frame .container {
  pointer-events: none;
  padding-top: 90px;
  height: calc(100vh - 90px);
  overflow-y: auto;
  overflow-x: hidden;
}
.mil-menu-frame .mil-frame-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1200px) {
  .mil-menu-frame .mil-frame-top {
    display: none;
  }
}
.mil-menu-frame .mil-frame-top .mil-logo {
  color: rgb(255, 255, 255);
}
.mil-menu-frame .mil-frame-top .mil-menu-btn span, .mil-menu-frame .mil-frame-top .mil-menu-btn span:after, .mil-menu-frame .mil-frame-top .mil-menu-btn span:before {
  background-color: rgb(255, 255, 255);
}
.mil-menu-frame .mil-main-menu {
  -webkit-transform: translateX(-30px);
          transform: translateX(-30px);
  opacity: 0;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
@media screen and (max-width: 1200px) {
  .mil-menu-frame .mil-main-menu {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
    padding: 0 30px 30px 30px; /* Add padding for mobile */
  }
}
.mil-menu-frame .mil-menu-right-frame {
  padding-left: 60px;
  position: relative;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  border-left: solid 1px rgba(255, 255, 255, 0.1);
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-menu-frame .mil-menu-right-frame .mil-menu-right {
  padding-bottom: 60px;
}
.mil-menu-frame .mil-menu-right-frame .mil-animation-in {
  position: absolute;
  top: -320px;
  right: 0;
  opacity: 0;
  -webkit-transform: translateY(-60px);
          transform: translateY(-60px);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
@media screen and (max-width: 1200px) {
  .mil-menu-frame .mil-menu-right-frame {
    display: none;
  }
}
@media screen and (max-height: 800px) {
  .mil-menu-frame .mil-menu-right-frame {
    display: none;
  }
}
.mil-menu-frame.mil-active {
  opacity: 1;
  pointer-events: all;
}
.mil-menu-frame.mil-active .container {
  pointer-events: all;
}
.mil-menu-frame.mil-active .mil-main-menu {
  -webkit-transform: translateX(0) translateY(-80px);
          transform: translateX(0) translateY(-80px);
  opacity: 1;
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}
.mil-menu-frame.mil-active .mil-menu-right-frame {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition-delay: 0.6s;
          transition-delay: 0.6s;
}
.mil-menu-frame.mil-active .mil-menu-right-frame .mil-animation-in {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition-delay: 0.8s;
          transition-delay: 0.8s;
}

.mil-menu-list li {
  list-style-type: none;
  margin-bottom: 15px;
}
.mil-menu-list li:last-child {
  margin-bottom: 0;
}
.mil-menu-list li a {
  display: block;
  -webkit-transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-menu-list li a:hover {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
  color: rgb(2, 64, 134);
}
.mil-menu-list.mil-hori-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.mil-menu-list.mil-hori-list li {
  margin-bottom: 0;
  margin-right: 30px;
}
.mil-menu-list.mil-dark li a {
  color: rgb(0, 0, 0);
}

.mil-main-menu {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.mil-main-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.mil-main-menu ul li {
  list-style: none;
  margin-bottom: 40px;
}
.mil-main-menu ul li::marker {
  content: none;
}
.mil-main-menu ul li:last-child {
  margin-bottom: 0;
}
.mil-main-menu ul li a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  font-size: 34px;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
@media screen and (max-width: 992px) {
  .mil-main-menu ul li a {
    font-size: 26px;
  }
}
.mil-main-menu ul li a:before {
  content: "";
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-main-menu ul li a:hover {
  color: rgb(2, 64, 134);
}
.mil-main-menu ul li a.mil-active {
  padding-left: 25px;
}
.mil-main-menu ul li a.mil-active:before {
  -webkit-transform: scale(1);
          transform: scale(1);
  background-color: rgb(2, 64, 134);
}
.mil-main-menu ul li.mil-active > a {
  color: rgb(2, 64, 134);
}
.mil-main-menu ul li.mil-active > a:hover {
  color: rgb(2, 64, 134) !important;
  -webkit-filter: brightness(110%);
          filter: brightness(110%);
}
.mil-main-menu ul li.mil-has-children > a:hover {
  color: rgb(2, 64, 134);
  padding-left: 25px;
}
.mil-main-menu ul li.mil-has-children > a:hover:before {
  -webkit-transform: scale(1);
          transform: scale(1);
}
.mil-main-menu ul li.mil-has-children ul {
  padding-left: 25px;
  overflow: hidden;
  max-height: 0;
  -webkit-transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-main-menu ul li.mil-has-children ul li {
  margin-bottom: 5px;
}
.mil-main-menu ul li.mil-has-children ul li:first-child {
  margin-top: 40px;
}
.mil-main-menu ul li.mil-has-children ul li a {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  font-weight: 500;
  text-transform: uppercase;
}
.mil-main-menu ul li.mil-has-children ul li a:before {
  display: none;
}
.mil-main-menu ul li.mil-has-children ul li a:hover {
  color: rgb(2, 64, 134);
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}
.mil-main-menu ul li.mil-has-children ul.mil-active {
  max-height: 420px; /* Increased height for desktop to fit all 5 submenu items without cutting */
}
@media screen and (max-width: 1200px) {
  .mil-main-menu {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
  }
  .mil-main-menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
  }
  .mil-main-menu ul li {
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
  }
  .mil-main-menu ul li a {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .mil-main-menu ul li a:before {
    display: none;
  }
  .mil-main-menu ul li a.mil-active {
    padding-left: 0 !important;
  }
  .mil-main-menu ul li.mil-has-children ul {
    padding-left: 0;
  }
  .mil-main-menu ul li.mil-has-children ul.mil-active {
    max-height: 420px; /* Increased height for mobile to fit all 5 submenu items without cutting */
  }
  .mil-main-menu ul li.mil-has-children ul li:first-child {
    margin-top: 30px;
  }
}

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

banner

------------------------------------------- */
.mil-banner {
  height: calc(100vh + 90px);
  margin-top: -90px;
}

@media screen and (min-width: 1201px) {
  .mil-banner {
    height: calc(100vh + 60px);
    margin-top: -60px;
  }
}

.mil-banner .mi-invert-fix {
  position: relative;
}
.mil-banner .container {
  position: relative;
}
.mil-banner .mil-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/video/bg-3-placeholder.jpg');
  background-size: cover;
  background-position: center;
}



.mil-banner .mil-banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  min-width: 100%;
  min-height: 100%;
  opacity: 1;
}



/* Overlay for video background */
.mil-banner .mil-banner-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Light text colors for video background */
.mil-banner .mil-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.mil-banner .mil-dark-soft {
  color: rgba(255, 255, 255, 0.9) !important;
}

.mil-banner h1 {
  color: #ffffff !important;
}

.mil-banner p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.mil-banner .mil-button {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  /* border: 2px solid rgba(255, 255, 255, 0.6) !important; */
}

.mil-banner .mil-button:hover {
  background-color: #024086 !important;
  border-color: #024086 !important;
}
.mil-banner .mil-banner-content {
  position: relative;
  z-index: 3;
}

/* Container Image Section Styles - Full Width */
.mil-container-image-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mil-container-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mil-container-bg-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
}

.mil-container-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  margin-top: auto;
}

.mil-container-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.mil-container-description h2 {
  color: #2c3e50;
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 20px;
}

.mil-container-description p {
  color: #34495e;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
}

@media screen and (max-width: 992px) {
  .mil-container-image-section {
    min-height: 80vh;
  }
  
  .mil-container-overlay {
    padding: 40px 0;
  }
  
  .mil-container-description h2 {
    font-size: 28px;
  }
  
  .mil-container-description p {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .mil-container-image-section {
    min-height: 60vh;
  }
  
  .mil-container-overlay {
    padding: 30px 0;
  }
  
  .mil-container-description h2 {
    font-size: 24px;
  }
  
  .mil-container-description p {
    font-size: 14px;
  }
}

/* Remove gap between inner banner and container image section */
.mil-inner-banner + .mil-container-image-section {
  margin-top: 0 !important;
}

.mil-container-image-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

/* Adjust inner banner bottom spacing when followed by container image */
.jesus-page .mil-inner-banner {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Testimony Card Styles */
.mil-testimony-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mil-testimony-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.mil-testimony-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.mil-testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.mil-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mil-testimonial-info h5 {
  color: #2c3e50;
  font-weight: 600;
}

.mil-testimonial-info p {
  color: #7f8c8d;
  font-size: 14px;
  margin: 0;
}

.mil-testimony-quote {
  border: none;
  padding: 15px 20px;
  margin: 0;
  font-style: italic;
  position: relative;
  text-align: center;
}

.mil-testimony-quote p {
  color: #34495e;
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .mil-testimony-card {
    padding: 18px;
  }
  
  .mil-testimonial-avatar {
    width: 50px;
    height: 50px;
  }
  
  .mil-testimony-quote {
    padding: 15px 15px;
  }
  
  .mil-testimony-quote p {
    font-size: 15px;
  }
}

/* Testimony Pagination Styles */
.mil-testimony-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 60px;
}

.mil-testimony-btn {
  width: 50px;
  height: 50px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: #2c3e50;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.mil-testimony-btn:hover {
  border-color: #024086;
  background: #024086;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(2, 64, 134, 0.3);
}

.mil-testimony-btn.active {
  border-color: #024086;
  background: #024086;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(2, 64, 134, 0.3);
}

.mil-testimony-btn:active {
  transform: translateY(0);
}

/* Testimony Set Animation */
.mil-testimony-set {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

.mil-testimony-set.fade-out {
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .mil-testimony-btn {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }
  
  .mil-testimony-pagination {
    gap: 10px;
    margin-top: 40px;
  }
}

/* Loading Skeleton Animations */
.mil-testimony-loading {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mil-loading-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.mil-loading-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-right: 15px;
  flex-shrink: 0;
}

.mil-loading-info {
  flex: 1;
}

.mil-loading-name {
  width: 120px;
  height: 20px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
}

.mil-loading-cohort {
  width: 80px;
  height: 14px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.mil-loading-quote {
  border-left: 4px solid #024086;
  padding-left: 20px;
  margin: 0;
}

.mil-loading-line {
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
}

.mil-loading-line:nth-child(1) { width: 100%; }
.mil-loading-line:nth-child(2) { width: 95%; }
.mil-loading-line:nth-child(3) { width: 88%; }
.mil-loading-line:nth-child(4) { width: 92%; }
.mil-loading-line:last-child { width: 75%; margin-bottom: 0; }

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Fade animations for smooth transitions */
.mil-testimony-set.loading {
  opacity: 0.3;
  pointer-events: none;
}

.mil-testimony-set.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .mil-testimony-loading {
    padding: 20px;
  }
  
  .mil-loading-avatar {
    width: 50px;
    height: 50px;
  }
  
  .mil-loading-line {
    height: 14px;
  }
}

/* CTA styled like screenshot */
.tcr-cta {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background-color: rgb(2, 64, 134);
  color: #000;
  border-radius: 80px;
  padding: 28px 36px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-transition: transform .2s ease, box-shadow .2s ease;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tcr-cta:hover { transform: translateY(-1px); }
.tcr-cta .tcr-cta-label { color: #000; }
.tcr-cta .tcr-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #000;
  position: relative;
}
.tcr-cta .tcr-cta-icon:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
@media screen and (max-width: 992px) {
  .tcr-cta { padding: 22px 28px; gap: 20px; }
  .tcr-cta .tcr-cta-icon { width: 48px; height: 48px; }
}
.mil-banner .container {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
.mil-banner .mil-banner-content {
  width: 100%;
  padding-bottom: 120px;
  position: relative;
}
@media screen and (max-width: 992px) {
  .mil-banner .mil-banner-content {
    padding-bottom: 90px;
  }
}
.mil-banner .mil-lines-place {
  position: absolute;
  left: 0;
  bottom: calc(100% + 120px);
}

.mil-inner-banner .mil-banner-content {
  padding: 150px 0 0 0;
}

/* Remove bottom padding when inner banner is followed by container image */
.mil-inner-banner + .mil-container-image-section ~ * .mil-inner-banner .mil-banner-content {
  padding-bottom: 0 !important;
}

/* Specific override for Jesus page inner banner */
.jesus-page .mil-inner-banner .mil-banner-content {
  padding-bottom: 0 !important;
}
@media screen and (max-width: 1200px) {
  .mil-inner-banner .mil-banner-content {
    padding: 180px 0 0 0;
  }
  
  .jesus-page .mil-inner-banner .mil-banner-content {
    padding-bottom: 0 !important;
  }
}

.mil-banner-personal {
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.1);
}
.mil-banner-personal .mil-banner-content {
  position: relative;
  padding-top: 90px;
}
@media screen and (max-width: 992px) {
  .mil-banner-personal .mil-banner-content {
    padding-top: 180px;
  }
}
.mil-banner-personal .mil-banner-content .mil-personal-text {
  margin-bottom: 300px;
}
@media screen and (max-width: 992px) {
  .mil-banner-personal .mil-banner-content .mil-personal-text {
    margin-bottom: 80px;
    text-align: center;
  }
}
.mil-banner-personal .mil-banner-content .mil-banner-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 60px 0 90px;
  background-color: rgb(255, 255, 255);
  height: 180px;
  position: absolute;
  top: calc(100vh - 180px);
  left: 0;
  width: 100%;
}
@media screen and (max-width: 992px) {
  .mil-banner-personal .mil-banner-content .mil-banner-panel {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: auto;
    padding: 60px 30px;
  }
  .mil-banner-personal .mil-banner-content .mil-banner-panel h5 {
    margin-bottom: 60px;
    text-align: center;
    width: 80%;
  }
}
.mil-banner-personal .mil-banner-content .mil-banner-panel .mil-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.mil-banner-personal .mil-banner-content .mil-banner-panel .mil-right .mil-social-frame {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-right: 30px;
  padding: 0 50px;
  background-color: rgba(0, 0, 0, 0.1);
  height: 70px;
  border-radius: 70px;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-banner-personal .mil-banner-content .mil-banner-panel .mil-right .mil-social-frame:hover {
  -webkit-transform: scale(1.015);
          transform: scale(1.015);
}
@media screen and (max-width: 992px) {
  .mil-banner-personal .mil-banner-content .mil-banner-panel .mil-right {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .mil-banner-personal .mil-banner-content .mil-banner-panel .mil-right .mil-social-frame {
    margin-right: 0;
    margin-bottom: 30px;
    height: 60px;
  }
}
.mil-banner-personal .mil-banner-content .mil-banner-panel .mil-button {
  margin: 0 !important;
}
@media screen and (max-width: 992px) {
  .mil-banner-personal .mil-banner-content .mil-banner-panel {
    bottom: 0;
    top: auto;
  }
}
@media screen and (max-width: 768px) {
  .mil-banner-personal .mil-banner-content .mil-banner-panel {
    position: static;
    margin-bottom: 90px;
  }
}
@media screen and (max-width: 992px) {
  .mil-banner-personal {
    height: auto;
  }
}

.mil-portrait-frame {
  position: relative;
}
.mil-portrait-frame img {
  position: relative;
  bottom: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.mil-portrait-frame .mil-nimbus {
  background: radial-gradient(50% 50% at 50% 50%, rgb(2, 64, 134) 0%, rgba(2, 64, 134, 0) 100%);
  width: 100%;
  padding-bottom: 100%;
  position: absolute;
  opacity: 0.6;
}
@media screen and (max-width: 768px) {
  .mil-portrait-frame {
    height: 400px;
  }
  .mil-portrait-frame img {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top;
       object-position: top;
  }
}

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

circle text

------------------------------------------- */
.mil-circle-text {
  position: absolute;
  right: 0;
  bottom: 90px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 140px;
  height: 140px;
}
.mil-circle-text .mil-ct-svg {
  -webkit-transform: scale(2);
          transform: scale(2);
  width: 140px;
  height: 140px;
}
.mil-circle-text .mil-ct-svg text {
  fill: rgb(0, 0, 0);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-circle-text .mil-button {
  position: absolute;
}
.mil-circle-text:hover svg text {
  fill: rgb(0, 0, 0);
}
@media screen and (max-width: 992px) {
  .mil-circle-text {
    display: none;
  }
}

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

lines

------------------------------------------- */
@-webkit-keyframes move {
  from {
    -webkit-transform: translateY(-75px);
            transform: translateY(-75px);
  }
  50% {
    -webkit-transform: translateY(75px);
            transform: translateY(75px);
  }
  to {
    -webkit-transform: translateY(-75px);
            transform: translateY(-75px);
  }
}
@keyframes move {
  from {
    -webkit-transform: translateY(-75px);
            transform: translateY(-75px);
  }
  50% {
    -webkit-transform: translateY(75px);
            transform: translateY(75px);
  }
  to {
    -webkit-transform: translateY(-75px);
            transform: translateY(-75px);
  }
}
.mil-lines-place .mil-lines {
  opacity: 0.05;
  pointer-events: none;
}
@media screen and (max-width: 992px) {
  .mil-lines-place .mil-lines {
    display: none;
  }
}
.mil-lines-place .mil-lines path, .mil-lines-place .mil-lines rect, .mil-lines-place .mil-lines line {
  stroke: rgb(0, 0, 0);
}
.mil-lines-place .mil-lines .mil-move {
  -webkit-animation: move 10s linear infinite;
          animation: move 10s linear infinite;
}
.mil-lines-place.mil-light .mil-lines {
  opacity: 0.2;
}
.mil-lines-place.mil-light .mil-lines path, .mil-lines-place.mil-light .mil-lines rect, .mil-lines-place.mil-light .mil-lines line {
  stroke: rgb(255, 255, 255);
}

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

dodecahedron

------------------------------------------- */
.mil-animation-frame {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  -webkit-animation: jump 10s linear infinite;
          animation: jump 10s linear infinite;
  pointer-events: none;
}

.mil-animation {
  position: absolute;
  display: inline-block;
  width: 300px;
  height: 300px;
  opacity: 0.2;
  pointer-events: none;
}

.mil-position-1 {
  top: 100px;
  right: 100px;
}
.mil-position-1 .mil-pentagon div {
  border-top: 0.1px solid rgb(255, 255, 255);
}
.mil-position-1 .mil-globe {
  position: absolute;
  top: 100px;
  right: 100px;
  z-index: 10;
}

.mil-position-2 {
  top: -60px;
  left: 15%;
}
.mil-position-2 .mil-pentagon div {
  border-top: 1px solid rgb(255, 255, 255);
}
.mil-position-2 .mil-dodecahedron {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
@media screen and (max-width: 1400px) {
  .mil-position-2 {
    display: none;
  }
}

.mil-position-3 {
  bottom: -100px;
  right: 35%;
}
.mil-position-3 .mil-pentagon div {
  border-top: 1px solid rgb(255, 255, 255);
}
.mil-position-3 .mil-dodecahedron {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
@media screen and (max-width: 1400px) {
  .mil-position-3 {
    display: none;
  }
}

.mil-position-4 {
  top: -60px;
  right: 20%;
}
.mil-position-4 .mil-pentagon div {
  border-top: 0.1px solid rgb(255, 255, 255);
}
.mil-position-4 .mil-dodecahedron {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
.mil-position-4 .mil-globe {
  position: absolute;
  top: 50px;
  right: 20%;
  z-index: 10;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
@media screen and (max-width: 1400px) {
  .mil-position-4 {
    display: none;
  }
}
.mil-position-4.mil-dark .mil-pentagon div {
  border-top: 0.1px solid rgb(0, 0, 0);
}

.mil-dodecahedron {
  position: relative;
  left: 100px;
  top: 40px;
  width: 100px;
  height: 223px;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-animation: rotate 100s infinite linear;
          animation: rotate 100s infinite linear;
}
@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
            transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
  }
  to {
    -webkit-transform: rotateX(360deg) rotateY(0deg) rotateZ(-360deg);
            transform: rotateX(360deg) rotateY(0deg) rotateZ(-360deg);
  }
}
@keyframes rotate {
  from {
    -webkit-transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
            transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
  }
  to {
    -webkit-transform: rotateX(360deg) rotateY(0deg) rotateZ(-360deg);
            transform: rotateX(360deg) rotateY(0deg) rotateZ(-360deg);
  }
}

/* ===========================================
   GLOBE ANIMATION (REPLACES PENTAGON)
   =========================================== */

.mil-globe {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-animation: globe-rotate 20s linear infinite;
          animation: globe-rotate 20s linear infinite;
}

/* Globe core (sphere) */
.mil-globe-core {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: transparent;
  border: 3px solid rgba(2, 64, 134, 0.3);
  box-shadow: 
    inset 0 0 80px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.3);
  filter: contrast(1.2) brightness(1.1);
  opacity: 0.85;
}

/* Latitude lines (horizontal circles) */
.mil-latitude {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(2, 64, 134, 0.4);
  border-radius: 50%;
  top: 0;
  left: 0;
  box-shadow: 
    inset 0 0 5px rgba(2, 64, 134, 0.2);
}

.mil-lat-1 { -webkit-transform: rotateX(20deg); transform: rotateX(20deg); }
.mil-lat-2 { -webkit-transform: rotateX(40deg); transform: rotateX(40deg); }
.mil-lat-3 { -webkit-transform: rotateX(60deg); transform: rotateX(60deg); }
.mil-lat-4 { -webkit-transform: rotateX(80deg); transform: rotateX(80deg); }
.mil-lat-5 { -webkit-transform: rotateX(100deg); transform: rotateX(100deg); }
.mil-lat-6 { -webkit-transform: rotateX(120deg); transform: rotateX(120deg); }
.mil-lat-7 { -webkit-transform: rotateX(140deg); transform: rotateX(140deg); }
.mil-lat-8 { -webkit-transform: rotateX(160deg); transform: rotateX(160deg); }
.mil-lat-9 { -webkit-transform: rotateX(180deg); transform: rotateX(180deg); }
.mil-lat-10 { -webkit-transform: rotateX(200deg); transform: rotateX(200deg); }
.mil-lat-11 { -webkit-transform: rotateX(220deg); transform: rotateX(220deg); }
.mil-lat-12 { -webkit-transform: rotateX(240deg); transform: rotateX(240deg); }
.mil-lat-13 { -webkit-transform: rotateX(260deg); transform: rotateX(260deg); }
.mil-lat-14 { -webkit-transform: rotateX(280deg); transform: rotateX(280deg); }
.mil-lat-15 { -webkit-transform: rotateX(300deg); transform: rotateX(300deg); }
.mil-lat-16 { -webkit-transform: rotateX(320deg); transform: rotateX(320deg); }

/* Longitude lines (vertical meridians) */
.mil-longitude {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 0.5px solid rgba(2, 64, 134, 0.3);
  border-radius: 50%;
  top: 0;
  left: 0;
  box-shadow: 
    inset 0 0 3px rgba(2, 64, 134, 0.15);
}

.mil-long-1 { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); }
.mil-long-2 { -webkit-transform: rotateY(15deg); transform: rotateY(15deg); }
.mil-long-3 { -webkit-transform: rotateY(30deg); transform: rotateY(30deg); }
.mil-long-4 { -webkit-transform: rotateY(45deg); transform: rotateY(45deg); }
.mil-long-5 { -webkit-transform: rotateY(60deg); transform: rotateY(60deg); }
.mil-long-6 { -webkit-transform: rotateY(75deg); transform: rotateY(75deg); }
.mil-long-7 { -webkit-transform: rotateY(90deg); transform: rotateY(90deg); }
.mil-long-8 { -webkit-transform: rotateY(105deg); transform: rotateY(105deg); }
.mil-long-9 { -webkit-transform: rotateY(120deg); transform: rotateY(120deg); }
.mil-long-10 { -webkit-transform: rotateY(135deg); transform: rotateY(135deg); }
.mil-long-11 { -webkit-transform: rotateY(150deg); transform: rotateY(150deg); }
.mil-long-12 { -webkit-transform: rotateY(165deg); transform: rotateY(165deg); }
.mil-long-13 { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); }
.mil-long-14 { -webkit-transform: rotateY(195deg); transform: rotateY(195deg); }
.mil-long-15 { -webkit-transform: rotateY(210deg); transform: rotateY(210deg); }
.mil-long-16 { -webkit-transform: rotateY(225deg); transform: rotateY(225deg); }
.mil-long-17 { -webkit-transform: rotateY(240deg); transform: rotateY(240deg); }
.mil-long-18 { -webkit-transform: rotateY(255deg); transform: rotateY(255deg); }
.mil-long-19 { -webkit-transform: rotateY(270deg); transform: rotateY(270deg); }
.mil-long-20 { -webkit-transform: rotateY(285deg); transform: rotateY(285deg); }
.mil-long-21 { -webkit-transform: rotateY(300deg); transform: rotateY(300deg); }
.mil-long-22 { -webkit-transform: rotateY(315deg); transform: rotateY(315deg); }
.mil-long-23 { -webkit-transform: rotateY(330deg); transform: rotateY(330deg); }
.mil-long-24 { -webkit-transform: rotateY(345deg); transform: rotateY(345deg); }

/* Equator (highlighted) */
.mil-equator {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(2, 64, 134, 0.6);
  border-radius: 50%;
  top: 0;
  left: 0;
  -webkit-transform: rotateX(90deg);
          transform: rotateX(90deg);
  box-shadow: 
    0 0 8px rgba(2, 64, 134, 0.3),
    inset 0 0 3px rgba(2, 64, 134, 0.2);
  filter: brightness(1.1);
}

/* Prime meridian (highlighted) */
.mil-prime-meridian {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(2, 64, 134, 0.6);
  border-radius: 50%;
  top: 0;
  left: 0;
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  box-shadow: 
    0 0 8px rgba(2, 64, 134, 0.3),
    inset 0 0 3px rgba(2, 64, 134, 0.2);
  filter: brightness(1.1);
}



/* Globe rotation animation */
@-webkit-keyframes globe-rotate {
  0% {
    -webkit-transform: rotateY(0deg) rotateX(15deg);
            transform: rotateY(0deg) rotateX(15deg);
  }
  100% {
    -webkit-transform: rotateY(360deg) rotateX(15deg);
            transform: rotateY(360deg) rotateX(15deg);
  }
}

@keyframes globe-rotate {
  0% {
    -webkit-transform: rotateY(0deg) rotateX(15deg);
            transform: rotateY(0deg) rotateX(15deg);
  }
  100% {
    -webkit-transform: rotateY(360deg) rotateX(15deg);
            transform: rotateY(360deg) rotateX(15deg);
  }
}

/* Globe hover effect */
.mil-globe:hover {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}



@-webkit-keyframes jump {
  0% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  50% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
}

@keyframes jump {
  0% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  50% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
}
/* -------------------------------------------

about

------------------------------------------- */
.mil-about-quote {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.mil-about-quote .mil-avatar {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  position: relative;
}

.mil-about-quote .mil-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}
.mil-about-quote .mil-quote {
  padding-left: 30px;

  border-radius: 12px;
  width: calc(100% - 94px);
}

@media screen and (max-width: 992px) {
  .mil-about-quote .mil-avatar {
    width: 70px;
    height: 70px;
  }
  .mil-about-quote .mil-avatar:after {
    padding-top: 7px;
    width: 25px;
    height: 25px;
    font-size: 24px;
  }
  .mil-about-quote .mil-quote {
    font-size: 16px;
    padding-left: 30px;
    width: calc(100% - 70px);
  }
}

.mil-about-photo {
  position: relative;
}
.mil-about-photo .mil-lines-place {
  position: absolute;
  top: -120px;
  left: -27%;
}

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

partners

------------------------------------------- */
.mil-infinite-show .swiper-wrapper {
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
  align-items: center;
}

.mil-infinite-show .swiper-slide {
  display: flex;
  align-items: center;
  height: 120px;
}

.mil-partner-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 150px;
  padding: 15px;
}
.mil-partner-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.mil-partner-frame:hover img {
  opacity: 0.8;
}

/* Responsive partner logo adjustments */
@media screen and (max-width: 768px) {
  .mil-infinite-show .swiper-slide {
    height: 90px;
  }
  
  .mil-partner-frame {
    height: 90px;
    width: 120px;
    padding: 12px;
  }
}

@media screen and (max-width: 480px) {
  .mil-infinite-show .swiper-slide {
    height: 80px;
  }
  
  .mil-partner-frame {
    height: 80px;
    width: 100px;
    padding: 10px;
  }
}

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

services

------------------------------------------- */
.mil-complex-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.mil-complex-text .mil-button {
  margin-left: 30px;
}
@media screen and (max-width: 768px) {
  .mil-complex-text {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .mil-complex-text .mil-button {
    margin-left: 0;
    margin-top: 60px;
  }
}

.mil-text-image {
  height: 80px;
  width: 250px;
  display: inline-block;
  overflow: hidden;
  border-radius: 70px;
  margin-right: 30px;
}
.mil-text-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-text-image:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
@media screen and (max-width: 768px) {
  .mil-text-image {
    display: none;
  }
}

.mil-service-card-sm {
  position: relative;
  display: block;
  padding: 60px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mil-service-card-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.mil-service-card-sm p {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-service-card-sm .mil-button {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
  opacity: 1;
}
.mil-service-card-sm:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background-color: rgb(2, 64, 134);
  -webkit-transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-service-card-sm:hover p {
  opacity: 1;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
.mil-service-card-sm:hover .mil-button {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
  opacity: 1;
}
.mil-service-card-sm:hover:before {
  width: 100%;
}
@media screen and (max-width: 992px) {
  .mil-service-card-sm p {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  .mil-service-card-sm .mil-button {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-filter: grayscale(0);
            filter: grayscale(0);
    opacity: 1;
  }
}

.mil-services-grid {
  border-top: solid 1px rgba(255, 255, 255, 0.1);
}
.mil-services-grid .mil-services-grid-item {
  border-right: solid 1px rgba(255, 255, 255, 0.1);
}
.mil-services-grid .mil-services-grid-item:first-child {
  border-left: solid 1px rgba(255, 255, 255, 0.1);
}


@media screen and (max-width: 1400px){
  .mil-services-grid p {
    font-size: 15px;
  }
}

@media screen and (max-width: 992px) {
  .mil-services-grid {
    padding-bottom: 90px;
  }
  .mil-services-grid .mil-services-grid-item {
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
  }
  .mil-services-grid .mil-services-grid-item:nth-child(3) {
    border-left: solid 1px rgba(255, 255, 255, 0.1);
  }
}
@media screen and (max-width: 768px) {
  .mil-services-grid {
    padding-bottom: 90px;
  }
  .mil-services-grid .mil-services-grid-item {
    border-left: solid 1px rgba(255, 255, 255, 0.1);
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
  }
}

.mil-service-card-lg {
  display: block;
}
.mil-service-card-lg .mil-descr {
  padding-right: 30px;
}
.mil-service-card-lg.mil-offset {
  margin-top: 60px;
  margin-bottom: 60px;
}
@media screen and (max-width: 992px) {
  .mil-service-card-lg.mil-offset {
    margin-top: 0;
  }
}
@media screen and (max-width: 992px) {
  .mil-service-card-lg {
    margin-bottom: 60px;
  }
}
.mil-service-card-lg.mil-other-card {
  overflow: hidden;
  position: relative;
  border: solid 1px rgb(229, 229, 229);
  padding: 60px;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-service-card-lg.mil-other-card .mil-descr {
  padding-right: 0;
}
.mil-service-card-lg.mil-other-card:hover {
  background-color: rgb(2, 64, 134);
}
.mil-service-card-lg.mil-other-card:hover .mil-link svg {
  background-color: rgb(0, 0, 0);
}
.mil-service-card-lg.mil-other-card:hover .mil-link svg path {
  fill: rgb(2, 64, 134);
}
@media screen and (max-width: 1200px) {
  .mil-service-card-lg.mil-other-card {
    padding: 30px;
  }
}

.mil-service-list li {
  border-bottom: solid 1px rgba(255, 255, 255, 0.1);
  list-style-type: none;
  padding: 15px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 12px;
}
.mil-service-list li:first-child {
  border-top: solid 1px rgba(255, 255, 255, 0.1);
}
.mil-service-list.mil-light li {
  color: rgba(255, 255, 255, 0.6);
}
.mil-service-list.mil-dark li {
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}
.mil-service-list.mil-dark li:first-child {
  border-top: solid 1px rgba(0, 0, 0, 0.1);
}

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

team

------------------------------------------- */
.mil-team-card {
  position: relative;
  overflow: hidden;
  padding-bottom: 130%;
}
.mil-team-card:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background-color: rgb(2, 64, 134);
  -webkit-transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-team-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-team-card.mil-offset-card {
  -webkit-transform: translateY(60px);
          transform: translateY(60px);
}
@media screen and (max-width: 992px) {
  .mil-team-card.mil-offset-card {
    -webkit-transform: none;
            transform: none;
  }
}
.mil-team-card .mil-description {
  opacity: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 60px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  pointer-events: none;
  -webkit-transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-team-card .mil-description .mil-secrc-text {
  opacity: 0;
  -webkit-transform: translateY(15px);
          transform: translateY(15px);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.mil-team-card .mil-description .mil-secrc-text a {
  color: rgb(255, 255, 255);
  -webkit-transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-team-card .mil-description .mil-secrc-text a:hover {
  color: rgb(2, 64, 134);
}
.mil-team-card:hover img {
  -webkit-transform: scale(1);
          transform: scale(1);
}
.mil-team-card:hover:after {
  width: 100%;
}
.mil-team-card:hover .mil-description {
  opacity: 1;
  pointer-events: all;
}
.mil-team-card:hover .mil-description .mil-secrc-text {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

.mil-team-list {
  position: relative;
}
.mil-team-list .mil-lines-place {
  position: absolute;
  top: -120px;
  left: -22.5%;
}

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

social icons

------------------------------------------- */
.mil-social-icons {
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.mil-social-icons.mil-center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.mil-social-icons li {
  list-style-type: none;
  margin-right: 15px;
}
.mil-social-icons li:last-child {
  margin-right: 0;
}
.mil-social-icons li a {
  color: rgb(255, 255, 255);
  font-size: 18px;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-social-icons li a:hover {
  color: rgb(2, 64, 134);
}
.mil-social-icons.mil-dark li a {
  color: rgb(0, 0, 0);
}
.mil-social-icons.mil-dark li a:hover {
  color: rgb(2, 64, 134);
}

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

revievs

------------------------------------------- */
.mil-revi-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (max-width: 992px) {
  .mil-revi-pagination {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.mil-revi-pagination .swiper-pagination-bullet {
  padding: 0;
  width: 110px;
  height: 110px;
  padding: 10px;
  opacity: 1;
  border: none;
  background-color: transparent;
  margin: 0 !important;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1) !important;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1) !important;
}
@media screen and (max-width: 992px) {
  .mil-revi-pagination .swiper-pagination-bullet {
    width: 90px;
    height: 90px;
  }
}
.mil-revi-pagination .swiper-pagination-bullet:nth-child(2n) {
  margin-top: 30px !important;
}
@media screen and (max-width: 992px) {
  .mil-revi-pagination .swiper-pagination-bullet:nth-child(2n) {
    margin-top: 0 !important;
  }
}

.mil-revi-pagination .swiper-pagination-bullet:hover {
  -webkit-box-shadow: inset 0 0 0 4px rgb(255, 255, 255);
          box-shadow: inset 0 0 0 4px rgb(255, 255, 255);
}
.mil-revi-pagination .swiper-pagination-bullet .mil-custom-dot {
  background-color: transparent;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-size: cover;
  background-position: top;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1) !important;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1) !important;
}
@media screen and (max-width: 992px) {
  .mil-revi-pagination .swiper-pagination-bullet .mil-custom-dot {
    width: 70px;
    height: 70px;
  }
}
.mil-revi-pagination .swiper-pagination-bullet .mil-custom-dot.mil-slide-1 {
  background-image: url(../img/testimony/1.jpg);
}
.mil-revi-pagination .swiper-pagination-bullet .mil-custom-dot.mil-slide-2 {
  background-image: url(../img/testimony/2.jpg);
}
.mil-revi-pagination .swiper-pagination-bullet .mil-custom-dot.mil-slide-3 {
  background-image: url(../img/testimony/3.jpg);
}
.mil-revi-pagination .swiper-pagination-bullet .mil-custom-dot.mil-slide-4 {
  background-image: url(../img/testimony/4.jpg);
}
.mil-revi-pagination .swiper-pagination-bullet .mil-custom-dot.mil-slide-5 {
  background-image: url(../img/testimony/17.jpg);
}
.mil-revi-pagination .swiper-pagination-bullet .mil-custom-dot.mil-slide-6 {
  background-image: url(../img/testimony/16.PNG);
}
.mil-revi-pagination .swiper-pagination-bullet .mil-custom-dot.mil-slide-7 {
  background-image: url(../img/testimony/15.jpg);
}
.mil-revi-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  -webkit-box-shadow: inset 0 0 0 4px rgb(2, 64, 134);
          box-shadow: inset 0 0 0 4px rgb(2, 64, 134);
}

.mil-quote-icon {
  display: block;
  margin: 0 auto;
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}
.mil-quote-icon path {
  fill: rgb(2, 64, 134);
}

.mil-slider-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.mil-slider-nav .mil-slider-arrow {
  width: 40px;
  height: 40px;
  padding: 10px;
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-slider-nav .mil-slider-arrow svg path {
  fill: rgb(2, 64, 134);
}
.mil-slider-nav .mil-slider-arrow.mil-prev {
  margin-right: 10px;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.mil-slider-nav .mil-slider-arrow.swiper-button-disabled {
  opacity: 0.1;
  cursor: not-allowed;
}
.mil-slider-nav .mil-slider-arrow:hover {
  -webkit-transform: scale(1.15);
          transform: scale(1.15);
}
.mil-slider-nav .mil-slider-arrow:hover.mil-prev {
  -webkit-transform: rotate(180deg) scale(1.15);
          transform: rotate(180deg) scale(1.15);
}
.mil-slider-nav.mil-reviews-nav {
  position: absolute;
  top: 160px;
  left: 0;
  width: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 992px) {
  .mil-slider-nav.mil-reviews-nav {
    top: 0;
  }
}
.mil-slider-nav.mil-soft .mil-slider-arrow {
  background-color: rgb(229, 229, 229);
}
.mil-slider-nav.mil-soft .mil-slider-arrow svg path {
  fill: rgb(0, 0, 0);
}

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

blog

------------------------------------------- */
.mil-blog-card {
  display: block;
}
.mil-blog-card .mil-cover-frame {
  position: relative;
  overflow: hidden;
  padding-bottom: 65%;
  margin-bottom: 30px;
}
.mil-blog-card .mil-cover-frame img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-blog-card .mil-post-descr {
  padding: 30px 30px 0 0;
}
.mil-blog-card .mil-post-descr .mil-post-text {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mil-blog-card:hover .mil-cover-frame img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.mil-blog-card.mil-blog-card-hori {
  padding-top: 60px;
  border-top: solid 1px rgb(229, 229, 229);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.mil-blog-card.mil-blog-card-hori .mil-cover-frame {
  margin-bottom: 0;
  width: 450px;
  padding-bottom: 27%;
}
.mil-blog-card.mil-blog-card-hori .mil-post-descr {
  width: calc(100% - 450px);
  padding: 0;
  padding-left: 60px;
}
@media screen and (max-width: 992px) {
  .mil-blog-card.mil-blog-card-hori {
    display: block;
    padding-top: 0;
    border: none;
  }
  .mil-blog-card.mil-blog-card-hori .mil-cover-frame {
    width: 100%;
    padding-bottom: 65%;
    margin-bottom: 30px;
  }
  .mil-blog-card.mil-blog-card-hori .mil-post-descr {
    width: 100%;
    padding: 30px 30px 0 0;
  }
}

.mil-labels {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0;
}
.mil-labels .mil-label {
  margin-right: 15px;
}
.mil-labels .mil-label:last-child {
  margin-right: 0;
}

.mil-pagination {
  padding-top: 60px;
  border-top: solid 1px rgba(0, 0, 0, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 20px;
}

.mil-pagination-btn {
  display: inline-block;
  width: 40px;
  height: 40px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  color: rgb(0, 0, 0);
  text-align: center;
  line-height: 40px;
  text-decoration: none;
  margin-right: 10px;
}

.mil-pagination-btn.mil-active {
  background-color: rgb(2, 64, 134);
}

.mil-category-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.mil-category-list li {
  list-style-type: none;
  margin-right: 10px;
}
.mil-category-list li:last-child {
  margin-right: 0;
}
.mil-category-list li a {
  height: 40px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: transparent;
  padding: 0 20px;
  border-radius: 40px;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-category-list li a:hover {
  background-color: rgb(229, 229, 229);
}
.mil-category-list li a.mil-active {
  background-color: rgb(2, 64, 134);
}
@media screen and (max-width: 768px) {
  .mil-category-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .mil-category-list li {
    margin-right: 0;
    margin-bottom: 10px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .mil-category-list li:last-child {
    margin-bottom: 0;
  }
  .mil-category-list li a {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}

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

footer

------------------------------------------- */
.mil-footer-menu {
  margin-bottom: 120px;
}
.mil-footer-menu ul li {
  list-style-type: none;
  margin-bottom: 30px;
}
.mil-footer-menu ul li a {
  display: block;
  font-weight: 500;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.9);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-footer-menu ul li a:hover {
  -webkit-transform: translateX(10px);
          transform: translateX(10px);
  color: rgb(2, 64, 134);
}
@media screen and (max-width: 768px) {
  .mil-footer-menu ul li a {
    font-size: 22px;
  }
}
.mil-footer-menu ul li.mil-active a {
  color: rgb(2, 64, 134);
}
.mil-footer-menu ul li.mil-active a:hover {
  -webkit-transform: none;
          transform: none;
}
@media screen and (max-width: 768px) {
  .mil-footer-menu {
    margin-bottom: 60px;
  }
}

.mil-subscribe-form {
  position: relative;
  height: 70px;
  width: 100%;
}
.mil-subscribe-form input {
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgb(0, 0, 0);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 70px;
  padding: 0 0 0 50px;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-subscribe-form input::-webkit-input-placeholder {
  color: rgb(128, 128, 128);
  font-family: 'Pretendard', "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.mil-subscribe-form input::-moz-placeholder {
  color: rgb(128, 128, 128);
  font-family: 'Pretendard', "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.mil-subscribe-form input:-ms-input-placeholder {
  color: rgb(128, 128, 128);
  font-family: 'Pretendard', "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.mil-subscribe-form input::-ms-input-placeholder {
  color: rgb(128, 128, 128);
  font-family: 'Pretendard', "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.mil-subscribe-form input::placeholder {
  color: rgb(128, 128, 128);
  font-family: 'Pretendard', "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.mil-subscribe-form input:focus {
  background-color: rgb(255, 255, 255);
  outline: inherit;
}
.mil-subscribe-form input:hover {
  background-color: rgb(255, 255, 255);
}
.mil-subscribe-form .mil-button {
  position: absolute;
  top: 15px;
  right: 15px;
}
.mil-subscribe-form.mil-subscribe-form-2 input {
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}

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

portfolio

------------------------------------------- */
.mil-portfolio-item {
  display: block;
}
.mil-portfolio-item .mil-cover-frame {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.mil-portfolio-item .mil-cover-frame .mil-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.mil-portfolio-item .mil-cover-frame .mil-cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-portfolio-item .mil-cover-frame.mil-vert {
  padding-bottom: 130%;
}
.mil-portfolio-item .mil-cover-frame.mil-hori {
  padding-bottom: 65%;
}
.mil-portfolio-item:hover .mil-cover-frame .mil-cover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.mil-portfolio-item.mil-slider-item .mil-cover-frame {
  margin-bottom: 30px;
  height: calc(100vh - 360px);
}
@media screen and (max-width: 992px) {
  .mil-portfolio-item.mil-slider-item .mil-cover-frame {
    height: auto;
    padding-bottom: 100%;
  }
}
.mil-portfolio-item.mil-slider-item .mil-descr {
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 180px;
  background-color: rgb(242, 242, 242);
  padding: 0 60px;
}
@media screen and (max-width: 992px) {
  .mil-portfolio-item.mil-slider-item .mil-descr {
    padding: 30px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    height: auto;
  }
  .mil-portfolio-item.mil-slider-item .mil-descr .mil-descr-text {
    margin-bottom: 30px;
  }
}
.mil-portfolio-item.mil-slider-item:hover .mil-cover-frame .mil-cover img {
  -webkit-transform: none;
          transform: none;
}

.swiper-slide .mil-portfolio-item .mil-descr {
  pointer-events: none;
}
.swiper-slide.swiper-slide-active .mil-portfolio-item .mil-descr {
  pointer-events: all;
}

.mil-portfolio {
  position: relative;
}
.mil-portfolio .mil-lines-place {
  position: absolute;
  left: 40.7%;
}
.mil-portfolio .mil-lines-place.mil-lines-long {
  top: 1289px;
}

.mil-portfolio-slider-frame {
  z-index: 0;
  padding-top: 150px;
}
@media screen and (max-width: 992px) {
  .mil-portfolio-slider-frame {
    padding-top: 180px;
  }
}

.mil-portfolio-nav {
  background-color: rgb(242, 242, 242);
  width: 100%;
  padding: 0 60px;
  height: 180px;
  position: absolute;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.mil-portfolio-nav .mil-portfolio-btns-frame {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 15px;
  height: 70px;
  border-radius: 70px;
  background-color: rgb(255, 255, 255);
}
@media screen and (max-width: 992px) {
  .mil-portfolio-nav {
    position: static;
    height: auto;
    padding: 30px 0 90px;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    background-color: rgb(255, 255, 255);
  }
  .mil-portfolio-nav .mil-portfolio-btns-frame {
    width: 100%;
    height: auto;
    padding: 0;
  }
}

.swiper-portfolio-pagination {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 15px;
}

.mil-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  height: 120px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .mil-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: auto;
    padding: 30px;
  }
}

.mil-works-nav {
  padding-top: 60px;
  border-top: solid 1px rgba(0, 0, 0, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.mil-works-nav .mil-disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
@media screen and (max-width: 768px) {
  .mil-works-nav {
    padding-top: 0;
    border-top: none;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .mil-works-nav .mil-link {
    display: none;
  }
  .mil-works-nav .mil-link:last-child {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

/***************************

map

***************************/
.mil-map-frame {
  background-color: rgb(229, 229, 229);
  pointer-events: all;
  height: 600px;
  position: relative;
  overflow: hidden;
}
.mil-map-frame .mil-map {
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-map-frame .mil-map iframe {
  width: 100%;
  height: 100%;
}
/* -------------------------------------------

accordion

------------------------------------------- */
.mil-accordion-group {
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}
.mil-accordion-group .mil-accordion-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  cursor: pointer;
  margin-bottom: 30px;
}
.mil-accordion-group .mil-accordion-menu .mil-symbol {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: rgb(0, 0, 0);
  background-color: rgb(229, 229, 229);
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
}
.mil-accordion-group .mil-accordion-menu .mil-symbol .mil-plus, .mil-accordion-group .mil-accordion-menu .mil-symbol .mil-minus {
  position: absolute;
}
.mil-accordion-group .mil-accordion-menu .mil-symbol .mil-minus {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
.mil-accordion-group .mil-accordion-menu .mil-accordion-head {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: rgb(0, 0, 0);
}

.mil-accordion-content {
  height: 0;
  overflow: hidden;
}

/***************************

price

***************************/
.mil-price-card {
  display: block;
  width: 100%;
  border-top: solid 1px rgba(255, 255, 255, 0.1);
  border-bottom: solid 1px rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
}
.mil-price-card .mil-price-number {
  padding-top: 10px;
  line-height: 70%;
  font-size: 54px;
  font-weight: 500;
}
.mil-price-card .mil-price-number .mil-thin {
  font-weight: 200;
  font-size: 18px;
}

/***************************

404

***************************/
.mil-404-banner .mil-animation-frame {
  z-index: 2;
}

.mil-404-frame {
  padding-top: 100px;
  height: 100vh;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.mil-404-text {
  display: block;
  text-align: center;
  color: rgb(255, 255, 255);
}

.mil-scale-frame {
  -webkit-transform: scale(2.3);
          transform: scale(2.3);
  text-align: center;
  margin-bottom: 90px;
}
@media screen and (max-width: 530px) {
  .mil-scale-frame {
    -webkit-transform: scale(1.3);
            transform: scale(1.3);
    margin-bottom: 50px;
  }
}

.mil-404 {
  position: relative;
  color: rgb(255, 255, 255);
  font-size: 6em;
  font-weight: 500;
  animation: glitch-skew 1s infinite linear alternate-reverse;
}
.mil-404::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  left: 2px;
  text-shadow: -2px 0 rgb(2, 64, 134);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}
.mil-404::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  left: -2px;
  text-shadow: -2px 0 rgb(153, 153, 153), 2px 2px rgb(229, 229, 229);
  animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@-webkit-keyframes glitch-anim {
  0% {
    clip: rect(49px, 9999px, 31px, 0);
    -webkit-transform: skew(0.04deg);
            transform: skew(0.04deg);
  }
  5% {
    clip: rect(63px, 9999px, 92px, 0);
    -webkit-transform: skew(0.18deg);
            transform: skew(0.18deg);
  }
  10% {
    clip: rect(86px, 9999px, 74px, 0);
    -webkit-transform: skew(0.4deg);
            transform: skew(0.4deg);
  }
  15% {
    clip: rect(85px, 9999px, 19px, 0);
    -webkit-transform: skew(0.57deg);
            transform: skew(0.57deg);
  }
  20% {
    clip: rect(64px, 9999px, 75px, 0);
    -webkit-transform: skew(0.96deg);
            transform: skew(0.96deg);
  }
  25% {
    clip: rect(77px, 9999px, 17px, 0);
    -webkit-transform: skew(0.61deg);
            transform: skew(0.61deg);
  }
  30% {
    clip: rect(16px, 9999px, 76px, 0);
    -webkit-transform: skew(0.81deg);
            transform: skew(0.81deg);
  }
  35% {
    clip: rect(5px, 9999px, 61px, 0);
    -webkit-transform: skew(0.56deg);
            transform: skew(0.56deg);
  }
  40% {
    clip: rect(79px, 9999px, 81px, 0);
    -webkit-transform: skew(0.05deg);
            transform: skew(0.05deg);
  }
  45% {
    clip: rect(20px, 9999px, 97px, 0);
    -webkit-transform: skew(0.56deg);
            transform: skew(0.56deg);
  }
  50% {
    clip: rect(33px, 9999px, 100px, 0);
    -webkit-transform: skew(0.16deg);
            transform: skew(0.16deg);
  }
  55% {
    clip: rect(19px, 9999px, 76px, 0);
    -webkit-transform: skew(0.93deg);
            transform: skew(0.93deg);
  }
  60% {
    clip: rect(29px, 9999px, 59px, 0);
    -webkit-transform: skew(0.58deg);
            transform: skew(0.58deg);
  }
  65% {
    clip: rect(19px, 9999px, 95px, 0);
    -webkit-transform: skew(0.83deg);
            transform: skew(0.83deg);
  }
  70% {
    clip: rect(88px, 9999px, 30px, 0);
    -webkit-transform: skew(0.39deg);
            transform: skew(0.39deg);
  }
  75% {
    clip: rect(43px, 9999px, 45px, 0);
    -webkit-transform: skew(0.6deg);
            transform: skew(0.6deg);
  }
  80% {
    clip: rect(30px, 9999px, 4px, 0);
    -webkit-transform: skew(0.89deg);
            transform: skew(0.89deg);
  }
  85% {
    clip: rect(4px, 9999px, 96px, 0);
    -webkit-transform: skew(1deg);
            transform: skew(1deg);
  }
  90% {
    clip: rect(4px, 9999px, 91px, 0);
    -webkit-transform: skew(0.2deg);
            transform: skew(0.2deg);
  }
  95% {
    clip: rect(48px, 9999px, 80px, 0);
    -webkit-transform: skew(0.41deg);
            transform: skew(0.41deg);
  }
  100% {
    clip: rect(10px, 9999px, 58px, 0);
    -webkit-transform: skew(0.91deg);
            transform: skew(0.91deg);
  }
}

@keyframes glitch-anim {
  0% {
    clip: rect(49px, 9999px, 31px, 0);
    -webkit-transform: skew(0.04deg);
            transform: skew(0.04deg);
  }
  5% {
    clip: rect(63px, 9999px, 92px, 0);
    -webkit-transform: skew(0.18deg);
            transform: skew(0.18deg);
  }
  10% {
    clip: rect(86px, 9999px, 74px, 0);
    -webkit-transform: skew(0.4deg);
            transform: skew(0.4deg);
  }
  15% {
    clip: rect(85px, 9999px, 19px, 0);
    -webkit-transform: skew(0.57deg);
            transform: skew(0.57deg);
  }
  20% {
    clip: rect(64px, 9999px, 75px, 0);
    -webkit-transform: skew(0.96deg);
            transform: skew(0.96deg);
  }
  25% {
    clip: rect(77px, 9999px, 17px, 0);
    -webkit-transform: skew(0.61deg);
            transform: skew(0.61deg);
  }
  30% {
    clip: rect(16px, 9999px, 76px, 0);
    -webkit-transform: skew(0.81deg);
            transform: skew(0.81deg);
  }
  35% {
    clip: rect(5px, 9999px, 61px, 0);
    -webkit-transform: skew(0.56deg);
            transform: skew(0.56deg);
  }
  40% {
    clip: rect(79px, 9999px, 81px, 0);
    -webkit-transform: skew(0.05deg);
            transform: skew(0.05deg);
  }
  45% {
    clip: rect(20px, 9999px, 97px, 0);
    -webkit-transform: skew(0.56deg);
            transform: skew(0.56deg);
  }
  50% {
    clip: rect(33px, 9999px, 100px, 0);
    -webkit-transform: skew(0.16deg);
            transform: skew(0.16deg);
  }
  55% {
    clip: rect(19px, 9999px, 76px, 0);
    -webkit-transform: skew(0.93deg);
            transform: skew(0.93deg);
  }
  60% {
    clip: rect(29px, 9999px, 59px, 0);
    -webkit-transform: skew(0.58deg);
            transform: skew(0.58deg);
  }
  65% {
    clip: rect(19px, 9999px, 95px, 0);
    -webkit-transform: skew(0.83deg);
            transform: skew(0.83deg);
  }
  70% {
    clip: rect(88px, 9999px, 30px, 0);
    -webkit-transform: skew(0.39deg);
            transform: skew(0.39deg);
  }
  75% {
    clip: rect(43px, 9999px, 45px, 0);
    -webkit-transform: skew(0.6deg);
            transform: skew(0.6deg);
  }
  80% {
    clip: rect(30px, 9999px, 4px, 0);
    -webkit-transform: skew(0.89deg);
            transform: skew(0.89deg);
  }
  85% {
    clip: rect(4px, 9999px, 96px, 0);
    -webkit-transform: skew(1deg);
            transform: skew(1deg);
  }
  90% {
    clip: rect(4px, 9999px, 91px, 0);
    -webkit-transform: skew(0.2deg);
            transform: skew(0.2deg);
  }
  95% {
    clip: rect(48px, 9999px, 80px, 0);
    -webkit-transform: skew(0.41deg);
            transform: skew(0.41deg);
  }
  100% {
    clip: rect(10px, 9999px, 58px, 0);
    -webkit-transform: skew(0.91deg);
            transform: skew(0.91deg);
  }
}
@-webkit-keyframes glitch-anim2 {
  0% {
    clip: rect(97px, 9999px, 84px, 0);
    -webkit-transform: skew(0.55deg);
            transform: skew(0.55deg);
  }
  5% {
    clip: rect(82px, 9999px, 21px, 0);
    -webkit-transform: skew(0.04deg);
            transform: skew(0.04deg);
  }
  10% {
    clip: rect(51px, 9999px, 99px, 0);
    -webkit-transform: skew(0.93deg);
            transform: skew(0.93deg);
  }
  15% {
    clip: rect(42px, 9999px, 97px, 0);
    -webkit-transform: skew(0.03deg);
            transform: skew(0.03deg);
  }
  20% {
    clip: rect(27px, 9999px, 25px, 0);
    -webkit-transform: skew(0.86deg);
            transform: skew(0.86deg);
  }
  25% {
    clip: rect(69px, 9999px, 5px, 0);
    -webkit-transform: skew(0.95deg);
            transform: skew(0.95deg);
  }
  30% {
    clip: rect(38px, 9999px, 67px, 0);
    -webkit-transform: skew(0.33deg);
            transform: skew(0.33deg);
  }
  35% {
    clip: rect(8px, 9999px, 90px, 0);
    -webkit-transform: skew(0.67deg);
            transform: skew(0.67deg);
  }
  40% {
    clip: rect(34px, 9999px, 31px, 0);
    -webkit-transform: skew(0.33deg);
            transform: skew(0.33deg);
  }
  45% {
    clip: rect(1px, 9999px, 25px, 0);
    -webkit-transform: skew(0.71deg);
            transform: skew(0.71deg);
  }
  50% {
    clip: rect(45px, 9999px, 40px, 0);
    -webkit-transform: skew(0.38deg);
            transform: skew(0.38deg);
  }
  55% {
    clip: rect(84px, 9999px, 96px, 0);
    -webkit-transform: skew(0.3deg);
            transform: skew(0.3deg);
  }
  60% {
    clip: rect(68px, 9999px, 59px, 0);
    -webkit-transform: skew(0.35deg);
            transform: skew(0.35deg);
  }
  65% {
    clip: rect(93px, 9999px, 48px, 0);
    -webkit-transform: skew(0.25deg);
            transform: skew(0.25deg);
  }
  70% {
    clip: rect(19px, 9999px, 40px, 0);
    -webkit-transform: skew(0.97deg);
            transform: skew(0.97deg);
  }
  75% {
    clip: rect(76px, 9999px, 56px, 0);
    -webkit-transform: skew(0.79deg);
            transform: skew(0.79deg);
  }
  80% {
    clip: rect(22px, 9999px, 82px, 0);
    -webkit-transform: skew(0.48deg);
            transform: skew(0.48deg);
  }
  85% {
    clip: rect(30px, 9999px, 63px, 0);
    -webkit-transform: skew(0.91deg);
            transform: skew(0.91deg);
  }
  90% {
    clip: rect(68px, 9999px, 44px, 0);
    -webkit-transform: skew(0.4deg);
            transform: skew(0.4deg);
  }
  95% {
    clip: rect(12px, 9999px, 36px, 0);
    -webkit-transform: skew(0.61deg);
            transform: skew(0.61deg);
  }
  100% {
    clip: rect(24px, 9999px, 5px, 0);
    -webkit-transform: skew(0.96deg);
            transform: skew(0.96deg);
  }
}
@keyframes glitch-anim2 {
  0% {
    clip: rect(97px, 9999px, 84px, 0);
    -webkit-transform: skew(0.55deg);
            transform: skew(0.55deg);
  }
  5% {
    clip: rect(82px, 9999px, 21px, 0);
    -webkit-transform: skew(0.04deg);
            transform: skew(0.04deg);
  }
  10% {
    clip: rect(51px, 9999px, 99px, 0);
    -webkit-transform: skew(0.93deg);
            transform: skew(0.93deg);
  }
  15% {
    clip: rect(42px, 9999px, 97px, 0);
    -webkit-transform: skew(0.03deg);
            transform: skew(0.03deg);
  }
  20% {
    clip: rect(27px, 9999px, 25px, 0);
    -webkit-transform: skew(0.86deg);
            transform: skew(0.86deg);
  }
  25% {
    clip: rect(69px, 9999px, 5px, 0);
    -webkit-transform: skew(0.95deg);
            transform: skew(0.95deg);
  }
  30% {
    clip: rect(38px, 9999px, 67px, 0);
    -webkit-transform: skew(0.33deg);
            transform: skew(0.33deg);
  }
  35% {
    clip: rect(8px, 9999px, 90px, 0);
    -webkit-transform: skew(0.67deg);
            transform: skew(0.67deg);
  }
  40% {
    clip: rect(34px, 9999px, 31px, 0);
    -webkit-transform: skew(0.33deg);
            transform: skew(0.33deg);
  }
  45% {
    clip: rect(1px, 9999px, 25px, 0);
    -webkit-transform: skew(0.71deg);
            transform: skew(0.71deg);
  }
  50% {
    clip: rect(45px, 9999px, 40px, 0);
    -webkit-transform: skew(0.38deg);
            transform: skew(0.38deg);
  }
  55% {
    clip: rect(84px, 9999px, 96px, 0);
    -webkit-transform: skew(0.3deg);
            transform: skew(0.3deg);
  }
  60% {
    clip: rect(68px, 9999px, 59px, 0);
    -webkit-transform: skew(0.35deg);
            transform: skew(0.35deg);
  }
  65% {
    clip: rect(93px, 9999px, 48px, 0);
    -webkit-transform: skew(0.25deg);
            transform: skew(0.25deg);
  }
  70% {
    clip: rect(19px, 9999px, 40px, 0);
    -webkit-transform: skew(0.97deg);
            transform: skew(0.97deg);
  }
  75% {
    clip: rect(76px, 9999px, 56px, 0);
    -webkit-transform: skew(0.79deg);
            transform: skew(0.79deg);
  }
  80% {
    clip: rect(22px, 9999px, 82px, 0);
    -webkit-transform: skew(0.48deg);
            transform: skew(0.48deg);
  }
  85% {
    clip: rect(30px, 9999px, 63px, 0);
    -webkit-transform: skew(0.91deg);
            transform: skew(0.91deg);
  }
  90% {
    clip: rect(68px, 9999px, 44px, 0);
    -webkit-transform: skew(0.4deg);
            transform: skew(0.4deg);
  }
  95% {
    clip: rect(12px, 9999px, 36px, 0);
    -webkit-transform: skew(0.61deg);
            transform: skew(0.61deg);
  }
  100% {
    clip: rect(24px, 9999px, 5px, 0);
    -webkit-transform: skew(0.96deg);
            transform: skew(0.96deg);
  }
}
@-webkit-keyframes glitch-skew {
  0% {
    -webkit-transform: skew(3deg);
            transform: skew(3deg);
  }
  10% {
    -webkit-transform: skew(2deg);
            transform: skew(2deg);
  }
  20% {
    -webkit-transform: skew(0deg);
            transform: skew(0deg);
  }
  30% {
    -webkit-transform: skew(0deg);
            transform: skew(0deg);
  }
  40% {
    -webkit-transform: skew(2deg);
            transform: skew(2deg);
  }
  50% {
    -webkit-transform: skew(-1deg);
            transform: skew(-1deg);
  }
  60% {
    -webkit-transform: skew(-3deg);
            transform: skew(-3deg);
  }
  70% {
    -webkit-transform: skew(-1deg);
            transform: skew(-1deg);
  }
  80% {
    -webkit-transform: skew(-1deg);
            transform: skew(-1deg);
  }
  90% {
    -webkit-transform: skew(4deg);
            transform: skew(4deg);
  }
  100% {
    -webkit-transform: skew(-3deg);
            transform: skew(-3deg);
  }
}
@keyframes glitch-skew {
  0% {
    -webkit-transform: skew(3deg);
            transform: skew(3deg);
  }
  10% {
    -webkit-transform: skew(2deg);
            transform: skew(2deg);
  }
  20% {
    -webkit-transform: skew(0deg);
            transform: skew(0deg);
  }
  30% {
    -webkit-transform: skew(0deg);
            transform: skew(0deg);
  }
  40% {
    -webkit-transform: skew(2deg);
            transform: skew(2deg);
  }
  50% {
    -webkit-transform: skew(-1deg);
            transform: skew(-1deg);
  }
  60% {
    -webkit-transform: skew(-3deg);
            transform: skew(-3deg);
  }
  70% {
    -webkit-transform: skew(-1deg);
            transform: skew(-1deg);
  }
  80% {
    -webkit-transform: skew(-1deg);
            transform: skew(-1deg);
  }
  90% {
    -webkit-transform: skew(4deg);
            transform: skew(4deg);
  }
  100% {
    -webkit-transform: skew(-3deg);
            transform: skew(-3deg);
  }
}
/***************************

images

***************************/
.mil-image-frame {
  position: relative;
  overflow: hidden;
}
.mil-image-frame > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.mil-image-frame.mil-horizontal {
  padding-bottom: 65%;
}
.mil-image-frame.mil-vertical {
  padding-bottom: 140%;
}
.mil-image-frame.mil-square {
  padding-bottom: 100%;
}
.mil-image-frame.mil-fw {
  padding-bottom: 50%;
}
.mil-image-frame .mil-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.4));
}
.mil-image-frame .mil-overlay-content {
  max-width: 1000px;
  color: #fff;
  text-align: justify;
}
.mil-image-frame .mil-overlay-content h4,
.mil-image-frame .mil-overlay-content p {
  color: #fff;
}
@media screen and (max-width: 576px) {
  .mil-image-frame .mil-image-overlay {
    padding: 20px;
  }
}
.mil-image-frame .mil-zoom-btn {
  opacity: 0;
  -webkit-transform: translateY(15px);
          transform: translateY(15px);
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}
.mil-image-frame .mil-zoom-btn:hover {
  background-color: rgb(255, 255, 255);
}
.mil-image-frame .mil-zoom-btn img {
  height: 17px;
  width: 17px;
}
.mil-image-frame:hover .mil-zoom-btn {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  z-index: 2;
}

/***************************

page transitions

***************************/
.mil-frame {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

.mil-curtain {
  position: fixed;
  pointer-events: none;
  z-index: 4;
  background-color: rgb(0, 0, 0);
  opacity: 0;
  width: 100%;
  height: 100vh;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

.mil-main-transition {
  -webkit-transition: 0.1s;
  transition: 0.1s;
  margin-top: 0;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.mil-main-transition .mil-animation-frame {
  opacity: 1;
  margin-top: 0;
  -webkit-transition: 0.1s;
  transition: 0.1s;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.mil-main-transition .mil-lines-place {
  opacity: 1;
  margin-top: 0;
  -webkit-transition: 0.1s;
  transition: 0.1s;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}

html.is-animating .mil-frame {
  opacity: 0;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}
@media screen and (max-width: 1200px) {
  html.is-animating .mil-frame {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
html.is-animating .mil-curtain {
  opacity: 1;
  pointer-events: all;
}
html.is-animating .mil-main-transition {
  margin-top: 0.1px;
}
html.is-animating .mil-main-transition .mil-animation-frame {
  opacity: 0;
  margin-top: -90px;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
html.is-animating .mil-main-transition .mil-lines-place {
  opacity: 0;
  margin-top: 90px;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}

html.is-animating .mil-menu-frame {
  opacity: 0;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}

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

   Light base for side menu overlay

------------------------------------------- */
.mil-menu-frame {
  background-color: #ffffff;
}
.mil-menu-frame .mil-frame-top .mil-logo { color: transparent; }
.mil-menu-frame .mil-frame-top .mil-menu-btn span,
.mil-menu-frame .mil-frame-top .mil-menu-btn span:after,
.mil-menu-frame .mil-frame-top .mil-menu-btn span:before {
  background-color: #000000;
}
.mil-menu-frame .mil-main-menu ul li a {
  color: rgba(0, 0, 0, 0.8);
}
.mil-menu-frame .mil-main-menu ul li a:hover {
  color: #000000;
}
.mil-menu-frame .mil-main-menu ul li a:before {
  background-color: rgba(0, 0, 0, 0.4);
}
.mil-menu-frame .mil-main-menu ul li.mil-has-children ul li a {
  color: rgba(0, 0, 0, 0.4);
}
.mil-menu-frame .mil-main-menu ul li.mil-has-children ul li a:hover {
  color: rgba(0, 0, 0, 0.8);
}
.mil-menu-frame .mil-menu-right-frame {
  border-left: solid 1px rgba(0, 0, 0, 0.1);
}
.mil-menu-frame .mil-menu-list li a {
  color: #000000;
}
.mil-menu-frame .mil-menu-list li a:hover {
  color: #000000;
}
.mil-menu-frame .mil-divider {
  background-color: rgba(0, 0, 0, 0.1);
}
.mil-menu-frame .mil-muted {
  color: rgba(0, 0, 0, 0.6);
}
.mil-menu-frame .mil-light-soft,
.mil-menu-frame .mil-light,
.mil-menu-frame .mil-light a {
  color: #000000 !important;
}

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

   Light base for preloader (loading screen)

------------------------------------------- */
.mil-preloader {
  background-color: #ffffff;
}
.mil-preloader .mil-preloader-animation {
  color: #000000;
}
.mil-preloader .mil-preloader-animation .mil-pos-abs .mil-reveal-frame .mil-reveal-box {
  background-color: rgb(2, 64, 134);
}
.mil-preloader .mil-muted {
  color: rgba(0, 0, 0, 0.6);
}
.mil-preloader .mil-light-soft,
.mil-preloader .mil-light,
.mil-preloader .mil-light a {
  color: #000000 !important;
}

/* Page transition curtain to light for consistency */
.mil-curtain {
  background-color: #ffffff;
}

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

   Mobile top nav bar (<=1200px) light base

------------------------------------------- */
/* Desktop: white nav bar (updated to match mobile/tablet) */
.mil-frame .mil-frame-top {
  height: 90px;
  background-color: #ffffff;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  padding: 0 30px;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

/* Desktop Navigation Styles */
.mil-desktop-nav {
  display: flex;
  align-items: center;
  pointer-events: all;
  position: relative;
  z-index: 10000;
}

.mil-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.mil-nav-item {
  position: relative;
  padding: 8px 12px;
}

.mil-nav-link {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  padding: 0;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: block;
}

.mil-nav-link:hover,
.mil-nav-item.mil-active .mil-nav-link,
.mil-nav-item.mil-has-mega-menu:hover .mil-nav-link {
  color: #024086;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(2, 64, 134, 0.3);
}

/* Remove background highlight - focus on text highlighting only */

/* Mega Menu Styles */
.mil-nav-item.mil-has-mega-menu .mil-nav-link::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(0, 0, 0, 0.5);
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.15s ease;
}

.mil-nav-item.mil-has-mega-menu:hover .mil-nav-link::after {
  transform: rotate(180deg);
  border-top-color: #024086;
}

/* Hover bridges are now handled by JavaScript for better event control */

.mil-mega-menu {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  z-index: 9999;
  width: calc(100vw - 60px);
  max-width: 1200px;
  pointer-events: none;
  padding-top: 10px;
}

/* Mega menu visibility - individual nav item hover control */
.mil-nav-item.mil-has-mega-menu:hover ~ .mil-mega-menu,
.mil-mega-menu:hover,
.mil-mega-menu.mil-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  pointer-events: all;
}

/* Force mega menu to be hidden by default */
.mil-mega-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Only show when explicitly active */
.mil-mega-menu.mil-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

/* DEBUG: Removed - mega menu now working properly */

.mil-mega-menu-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  padding: 40px 50px;
}

.mil-mega-menu-section {
  min-height: 200px;
}

.mil-mega-menu-title {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.mil-mega-menu-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #024086;
}

.mil-mega-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mil-mega-menu-list li {
  margin: 0 0 8px 0;
}

.mil-mega-menu-list a {
  display: block;
  padding: 8px 0;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.15s ease;
  border-radius: 4px;
}

.mil-mega-menu-list a:hover {
  color: #024086;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(2, 64, 134, 0.3);
  padding-left: 12px;
}

/* Responsive: Hide desktop nav on mobile/tablet */
@media screen and (max-width: 1200px) {
  .mil-desktop-nav {
    display: none;
  }
  
  .mil-frame-top {
    display: flex !important;
    justify-content: space-between !important;
  }
}

/* Responsive adjustments for mega menu */
@media screen and (max-width: 1400px) {
  .mil-mega-menu-content {
    gap: 30px;
    padding: 35px 40px;
  }
}

@media screen and (max-width: 1300px) {
  .mil-mega-menu-content {
    gap: 25px;
    padding: 30px 35px;
  }
  
  .mil-mega-menu-title {
    font-size: 15px;
    margin-bottom: 15px;
  }
  
  .mil-mega-menu-list a {
    font-size: 13px;
  }
}

/* Content spacing fixes for fixed navigation */
/* Full-height banners should start from top, behind navigation */
.mil-banner {
  margin-top: -90px;
  padding-top: 90px;
}

/* Inner banners: reduce existing padding and add margin to compensate for nav */
.mil-inner-banner {
  margin-top: 90px;
}

/* Override: Reduce padding for inner banners with fixed navigation */
.mil-inner-banner .mil-banner-content {
  padding: 60px 0 0 0 !important;
}

/* Sections that come after banners don't need extra margin */
.mil-banner + section,
.mil-inner-banner + section {
  margin-top: 0;
}

/* Default sections need spacing if they're first */
.mil-content > .mil-main-transition > section:first-child:not(.mil-banner):not(.mil-inner-banner) {
  margin-top: 90px;
}

@media screen and (max-width: 1200px) {
  .mil-banner {
    margin-top: -90px;
    padding-top: 90px;
  }
  .mil-inner-banner {
    margin-top: 90px;
  }
  .mil-inner-banner .mil-banner-content {
    padding: 90px 0 0 0 !important;
  }
}
/* Optional: add .nav-solid on <body> when you want solid bar (kept for future use) */
.nav-solid .mil-frame .mil-frame-top {
  background-color: #ffffff;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 1200px) {
  .mil-frame .mil-frame-top {
    background-color: #ffffff;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    padding: 0 30px;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
  .mil-frame .mil-frame-top .mil-logo { color: transparent; }
  .mil-frame .mil-frame-top .mil-menu-btn span,
  .mil-frame .mil-frame-top .mil-menu-btn span:after,
  .mil-frame .mil-frame-top .mil-menu-btn span:before {
    background: #000000;
  }
}

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

   Card styling for rights page (Kakao-inspired)

------------------------------------------- */
.mil-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.mil-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.12);
}

.mil-card-content {
  position: relative;
}

.mil-card h3 {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
  font-size: 28px;
  line-height: 1.3;
}

.mil-card h5 {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.4;
}

.mil-text-lg {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
}

/* Dark background adjustments */
.mil-dark-bg .mil-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mil-dark-bg .mil-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.mil-dark-bg .mil-card h3,
.mil-dark-bg .mil-card h5 {
  color: rgba(255, 255, 255, 0.9);
}

.mil-dark-bg .mil-text-lg {
  color: rgba(255, 255, 255, 0.7);
}

/* Spacing utilities */
.mil-p-60-60 {
  padding: 60px;
}

.mil-mt-90 {
  margin-top: 90px;
}

@media screen and (max-width: 768px) {
  .mil-card h3 {
    font-size: 24px;
  }
  
  .mil-text-lg {
    font-size: 16px;
  }
  
  .mil-p-60-60 {
    padding: 40px 30px;
  }
}

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

   Digital Rights Section (Kakao Design)

------------------------------------------- */
.mil-digital-rights-section {
  background-color: #fff;
  padding: 120px 0;
}

.mil-digital-header {
  text-align: justify;
}

.mil-icon-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.mil-shield-icon {
  font-size: 32px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.mil-main-title {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  margin: 0;
}

.mil-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.mil-section-title {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  margin-bottom: 40px;
}

.mil-intro-text p,
.mil-principle-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.mil-intro-text p:last-child,
.mil-principle-intro p:last-child {
  margin-bottom: 0;
}

.mil-numbered-principles {
  margin-top: 60px;
}

.mil-principle-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: none !important;
  padding-bottom: 0;
}

.mil-principle-number {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  min-width: 50px;
  flex-shrink: 0;
  padding-top: 2px;
}

.mil-principle-content {
  flex: 1;
}

.mil-principle-content strong {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.7;
  display: block;
}

.mil-principle-detail {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .mil-digital-rights-section {
    padding: 80px 0;
  }
  
  .mil-icon-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .mil-main-title {
    font-size: 32px;
  }
  
  .mil-section-title {
    font-size: 24px;
  }
  
  .mil-subtitle {
    font-size: 16px;
  }
  
  .mil-principle-item {
    gap: 16px;
  }
  
  .mil-principle-number {
    font-size: 16px;
    min-width: 40px;
  }
  
  .mil-principle-content strong {
    font-size: 15px;
  }
  
  .mil-intro-text p,
  .mil-principle-intro p {
    font-size: 15px;
  }
}

@media screen and (max-width: 480px) {
  .mil-main-title {
    font-size: 28px;
  }
  
  .mil-section-title {
    font-size: 22px;
  }
  
  .mil-principle-item {
    flex-direction: column;
    gap: 12px;
  }
  
  .mil-principle-number {
    margin-bottom: 8px;
  }
}

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

   Footer separator (clear top border)

------------------------------------------- */
footer {
  border-top: 2px solid rgba(0, 0, 0, 0.12);
}

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

   Light base overrides

   Convert sections that previously used a dark, inverted backdrop
   to render on a light background with readable dark text and borders.

------------------------------------------- */
/* Remove inversion overlay and set light background */
.mil-dark-bg:before {
  display: none;
}
.mil-dark-bg {
  background-color: #ffffff;
}

/* Text utilities inside formerly-dark sections */
.mil-dark-bg .mil-light,
.mil-dark-bg .mil-light a {
  color: #000000 !important;
}
.mil-dark-bg .mil-muted {
  color: rgba(0, 0, 0, 0.6);
}
.mil-dark-bg .mil-light-soft {
  color: rgba(0, 0, 0, 0.4);
}

/* Borders and separators in services and lists */
.mil-dark-bg .mil-services-grid,
.mil-dark-bg .mil-services-grid .mil-services-grid-item {
  border-color: rgba(0, 0, 0, 0.1);
}
.mil-dark-bg .mil-service-list li,
.mil-dark-bg .mil-service-list li:first-child {
  border-color: rgba(0, 0, 0, 0.1);
}

/* Breadcrumbs and subtle dividers */
.mil-dark-bg .mil-breadcrumbs:before,
.mil-dark-bg .mil-divider {
  background-color: rgba(0, 0, 0, 0.1);
}
.mil-dark-bg .mil-breadcrumbs li:after {
  color: #000000;
}

/* Circle text contrast */
.mil-dark-bg .mil-circle-text .mil-ct-svg text {
  fill: rgb(255, 255, 255);
}
.mil-dark-bg .mil-circle-text:hover svg text {
  fill: rgb(255, 255, 255);
}

/* Reviews pagination contrast */
.mil-dark-bg .mil-revi-pagination .swiper-pagination-bullet:hover {
  -webkit-box-shadow: inset 0 0 0 4px #000000;
          box-shadow: inset 0 0 0 4px #000000;
}
.mil-dark-bg .mil-revi-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  -webkit-box-shadow: inset 0 0 0 4px rgb(2, 64, 134);
          box-shadow: inset 0 0 0 4px rgb(2, 64, 134);
}

/* Social icons inside lightened dark sections */
.mil-dark-bg .mil-social-icons li a {
  color: #000000;
}
.mil-dark-bg .mil-social-icons li a:hover {
  color: rgb(2, 64, 134);
}

/* Footer elements when footer uses .mil-dark-bg */
.mil-dark-bg .mil-footer-menu ul li a {
  color: rgba(0, 0, 0, 0.8);
}
.mil-dark-bg .mil-subscribe-form input {
  background-color: rgb(229, 229, 229);
}
.mil-dark-bg .mil-subscribe-form input:hover,
.mil-dark-bg .mil-subscribe-form input:focus {
  background-color: #ffffff;
}

/* ----------------------------------------------------------
   Home-1 page overrides
   ---------------------------------------------------------- */
/* Hide nav and page name during transition/preload only on home-1 */
html.is-animating body.home-1 .mil-frame-top,
html.is-animating body.home-1 .mil-frame-bottom .mil-current-page {
  opacity: 0;
  pointer-events: none;
}

/* About page: rounded image frames */
body.home-1 .mil-image-frame.mil-rounded,
.mil-image-frame.mil-rounded {
  border-radius: 16px;
  overflow: hidden;
}

/* Utility: disabled link state */
a.mil-disabled,
.mil-disabled,
a[aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
  filter: grayscale(100%);
  text-decoration: none;
}

a.mil-disabled:hover,
a.mil-disabled:focus,
.mil-disabled:hover,
.mil-disabled:focus,
a[aria-disabled="true"]:hover,
a[aria-disabled="true"]:focus {
  opacity: 0.5;
  text-decoration: none;
}
/* If preloader is enabled, also hide while it's visible */
body.home-1 .mil-preloader:not(.mil-hidden) ~ .mil-frame .mil-frame-top,
body.home-1 .mil-preloader:not(.mil-hidden) ~ .mil-frame .mil-frame-bottom .mil-current-page {
  opacity: 0;
  pointer-events: none;
}
/* Content area light gray background to match soft sections */
body.home-1 .mil-content {
  background-color: rgb(242, 242, 242);
}
/* Force reviews and partners sections to white only on home-1 */
body.home-1 .mil-reviews-section,
body.home-1 .mil-partners-section {
  background-color: #fFF;
}
/* Extra spacing below services section on home-1 only */
body.home-1 .mil-services-section {
  padding-bottom: 120px;
}
@media screen and (max-width: 768px) {
  body.home-1 .mil-services-section {
    padding-bottom: 60px;
  }
}
/* Add bottom border to services grid to match top/sides */
body.home-1 .mil-services-section .mil-services-grid {
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}

/*
--------------------------------------------
Custom static card variant (no hover reveal)
-------------------------------------------- */
.tcr-static-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tcr-static-card p {
  opacity: 1 !important;
  transform: none !important;
  color: rgba(0, 0, 0, 0.85);
}
.tcr-static-card:before {
  display: none !important;
}
.tcr-static-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.tcr-static-card h5,
.tcr-static-card h6 {
  color: #000000;
}

/*
--------------------------------------------
Policy Section (Kakao-inspired layout)
-------------------------------------------- */

.mil-policy-section {
  background-color: #fff;
}

.mil-policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.mil-policy-header h6 {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mil-policy-header h3 {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.mil-policy-header h4 {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
}

.mil-mission-statement .mil-large-text {
  font-size: 18px;
  line-height: 1.6;
  color: #000;
}

.mil-mission-statement .mil-large-text strong {
  font-weight: 700;
}

.mil-policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mil-policy-list li {
  border-bottom: 1px solid #eee;
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.mil-policy-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.mil-policy-list li strong {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  display: block;
  margin-bottom: 15px;
  line-height: 1.4;
}

.mil-policy-list li p {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 0;
}

.mil-quote {
  background-color: #f8f9fa;
  padding: 20px 25px;
  margin: 20px 0;
  font-style: italic;
  color: #555;
  border-radius: 4px;
}

.mil-closing-statement {
  border-top: 1px solid #eee;
  padding-top: 40px;
}

.mil-closing-statement p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.mil-mt-15 {
  margin-top: 15px;
}

.mil-mt-30 {
  margin-top: 30px;
}

.mil-mt-60 {
  margin-top: 60px;
}

@media screen and (max-width: 768px) {
  .mil-policy-header h3 {
    font-size: 35px;
  }
  
  .mil-policy-header h4 {
    font-size: 20px;
  }
  
  .mil-mission-statement .mil-large-text {
    font-size: 16px;
  }
  
  .mil-policy-list li strong {
    font-size: 18px;
  }
  
  .mil-policy-list li p {
    font-size: 16px;
  }
  
  .mil-closing-statement p {
    font-size: 16px;
  }
}

/*
--------------------------------------------
Confession Section Additional Styles
-------------------------------------------- */
.mil-confession-section h4 {
  font-size: 28px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
}

.mil-text-center {
  text-align: center;
}

.mil-quote.mil-text-center {
  text-align: center;
  background-color: #f8f9fa;
  border: none;
  border-radius: 8px;
  padding: 40px 30px;
  position: relative;
}

.mil-quote.mil-text-center p {
  font-size: 18px;
  font-style: italic;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .mil-confession-section h4 {
    font-size: 22px;
  }
  
  .mil-quote.mil-text-center {
    padding: 30px 20px;
  }
  
  .mil-quote.mil-text-center p {
    font-size: 16px;
  }
}

/*
--------------------------------------------
Kakao-Style Home Section
-------------------------------------------- */
.mil-kakao-home-section {
  background-color: #fff;
}

.mil-help-section h3 {
  font-size: 32px;
  font-weight: 600;
  color: #000;
}

.mil-help-card {
  display: block;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 30px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 120px;
  text-align: center;
}

.mil-help-card:hover {
  background-color: #007bff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,123,255,0.15);
}

.mil-help-card:hover h6,
.mil-help-card:hover p {
  color: #fff;
}

.mil-help-card h6 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.mil-help-card p {
  color: #444;
  margin: 0;
}

.mil-subscription-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 50px 40px;
}

.mil-subscription-card h4 {
  font-size: 24px;
  color: #000;
  line-height: 1.4;
}

.mil-subscribe-form-large {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  align-items: center;
}

.mil-subscribe-input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
}

.mil-subscribe-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.mil-social-icons-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.mil-social-link {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.mil-social-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.mil-interest-section {
  background-color: #f8f9fa;
  padding: 40px;
  border-radius: 12px;
}

.mil-interest-section h4 {
  font-size: 24px;
  color: #000;
  line-height: 1.4;
}

.mil-info-card {
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 30px;
  transition: box-shadow 0.3s ease;
}

.mil-info-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.mil-info-card h6 {
  font-size: 16px;
  color: #000;
  line-height: 1.4;
}

.mil-link-arrow {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
  position: relative;
  padding-right: 20px;
}

.mil-link-arrow:after {
  content: "→";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.mil-link-arrow:hover {
  color: #0056b3;
}

.mil-link-arrow:hover:after {
  transform: translateX(3px);
}

.mil-news-collection h6 {
  font-size: 18px;
  color: #666;
  font-weight: 500;
}

.mil-news-link {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid #007bff;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.mil-news-link:hover {
  background-color: #007bff;
  color: #fff;
}

.mil-small-text {
  font-size: 14px;
  color: #666;
}

.mil-text-right {
  text-align: right;
}

@media screen and (max-width: 768px) {
  .mil-help-section h3 {
    font-size: 24px;
  }
  
  .mil-subscription-card {
    padding: 30px 20px;
  }
  
  .mil-subscription-card h4 {
    font-size: 20px;
  }
  
  .mil-subscribe-form-large {
    flex-direction: column;
    width: 100%;
  }
  
  .mil-subscribe-input {
    width: 100%;
  }
  
  .mil-interest-section {
    padding: 30px 20px;
  }
  
  .mil-interest-section h4 {
    font-size: 18px;
  }
  
  .mil-text-right {
    text-align: center;
    margin-top: 20px;
  }
  
  .mil-social-icons-inline {
    flex-wrap: wrap;
    gap: 15px;
  }
}

/*
--------------------------------------------
Kakao-Style Contact Section
-------------------------------------------- */
.mil-kakao-contact-section {
  background-color: #fff;
}

.mil-contact-locations {
  max-width: 800px;
  margin: 0 auto;
}

.mil-contact-location {
  padding-bottom: 60px;
}

.mil-location-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
}

.mil-location-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.mil-location-label {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  min-width: 60px;
  margin: 0;
}

.mil-location-text {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.mil-contact-additional {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #f0f0f0;
}

.mil-additional-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 60px;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.mil-additional-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
}

.mil-seminar-info-container {
  max-width: 235px;
  margin: 0 auto;
}

.mil-additional-card .mil-seminar-info-item {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 8px;
}

.mil-additional-card .mil-seminar-info-indent {
  margin-left: 40px;
}

.mil-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.mil-button.mil-border {
  background-color: transparent;
  border: 2px solid #024086;
  color: #024086;
}

.mil-button.mil-border:hover {
  background-color: #024086;
  color: #fff;
}

.mil-mr-15 {
  margin-right: 15px;
}

.mil-mt-20 {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .mil-location-title {
    font-size: 22px;
  }
  
  .mil-location-details {
    margin-left: 0;
  }
  
  .mil-location-item {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .mil-location-label {
    min-width: auto;
    margin-bottom: 5px;
  }
  
  .mil-additional-card {
    padding: 40px 20px;
  }
  
  .mil-additional-card h4 {
    font-size: 18px;
  }
  
  .mil-seminar-info-container {
    max-width: 220px;
  }
  
  .mil-additional-card .mil-seminar-info-item {
    font-size: 15px;
  }
  
  .mil-contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .mil-contact-buttons .mil-button {
    width: 100%;
    max-width: 250px;
  }
  
  .mil-mr-15 {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Custom footer tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  footer .mil-menu-list li a {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  
  footer h6.mil-muted {
    font-size: 14px !important;
    margin-bottom: 15px !important;
  }
  
  footer .mil-menu-list li {
    margin-bottom: 5px !important;
  }
  
  /* Top row - navigation sections with even spacing */
  footer .col-lg-8 .row {
    justify-content: space-between !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  footer .col-lg {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
  }
  
  /* Bottom row - ABOUT section at 80% width, left aligned */
  footer .col-lg-3.order-lg-1.order-md-2 {
    flex: 0 0 80% !important;
    max-width: 80% !important;
    margin: 0 0 0 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 90px !important;
  }
  
  footer .mil-mb-60 {
    margin-bottom: 30px !important;
  }
}

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

FAQ / Q&A Styles

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

/* Modern Q&A Accordion Styling */
.mil-faq-header {
    text-align: justify;
    margin-bottom: 80px;
}

.mil-faq-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.mil-faq-header p {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0;
    line-height: 1.7;
}

.mil-faq-container {
    max-width: 800px;
    margin: 0 auto 180px auto;
}

.mil-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.mil-faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.mil-faq-item.active {
    border-color: rgb(2, 64, 134);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mil-faq-question {
    width: 100%;
    padding: 28px 32px;
    background: transparent;
    border: none;
    text-align: justify;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.mil-faq-question:hover {
    color: rgb(2, 64, 134);
}

.mil-faq-question:focus {
    outline: none;
    color: rgb(2, 64, 134);
}

.mil-faq-icon {
    flex-shrink: 0;
    margin-left: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mil-faq-item.active .mil-faq-icon {
    background: rgb(2, 64, 134);
    transform: rotate(180deg);
}

.mil-faq-icon svg {
    width: 14px;
    height: 14px;
    transition: all 0.3s ease;
}

.mil-faq-item .mil-faq-icon svg {
    fill: #6b7280;
}

.mil-faq-item.active .mil-faq-icon svg {
    fill: #ffffff;
}

.mil-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.mil-faq-item.active .mil-faq-answer {
    max-height: 1000px;
    opacity: 1;
}

.mil-faq-answer-content {
    padding: 0 32px 32px;
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Style for bullet lists in FAQ answers */
.mil-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mil-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.mil-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4b5563;
    font-weight: bold;
}

.mil-faq-answer-content strong {
    color: #1f2937;
    font-weight: 600;
}

.mil-contact-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
    color: white;
    position: sticky;
    top: 120px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 120px;
}

.mil-contact-card h6 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: white;
    line-height: 1.3;
}

.mil-contact-card .mil-contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
    backdrop-filter: blur(10px);
}

.mil-contact-card p {
    margin-bottom: 6px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

.mil-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
    gap: 10px;
}

.mil-contact-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.mil-contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.mil-contact-details strong {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mil-contact-details span {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    font-family: monospace;
}

/* YouTube Video Section Styles */
.mil-video-frame {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.mil-video-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mil-video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  flex-shrink: 0;
}

.mil-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.mil-video-frame h5 {
  padding: 0 30px;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 0;
}

.mil-video-frame p {
  padding: 0 30px 30px 30px;
  color: #444;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  min-height: 60px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .mil-video-frame {
    min-height: 360px;
  }
  
  .mil-video-frame h5 {
    padding: 0 20px;
  }
  
  .mil-video-frame p {
    padding: 0 20px 20px 20px;
    min-height: 50px;
  }
}

@media (max-width: 768px) {
    .mil-faq-header {
        margin-bottom: 40px;
    }
    
    .mil-faq-header h2 {
        font-size: 2.25rem;
        margin-bottom: 15px;
    }
    
    .mil-faq-container {
        margin-bottom: 80px;
    }
    
    .mil-faq-item {
        margin-bottom: 12px;
        border-radius: 12px;
    }
    
    .mil-faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .mil-faq-answer-content {
        padding: 0 20px 20px;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .mil-bullet-list li {
        padding-left: 18px;
        margin-bottom: 6px;
    }
    
    .mil-contact-card {
        position: static;
        margin-top: 20px;
        margin-bottom: 90px;
        padding: 16px 18px;
        border-radius: 14px;
    }
    
    .mil-contact-card h6 {
        font-size: 1rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .mil-contact-card .mil-contact-info {
        padding: 12px;
        margin-top: 12px;
        border-radius: 8px;
    }
    
    .mil-contact-item {
        margin-bottom: 6px;
        gap: 8px;
    }
}

/* Extra compact FAQ for small mobile screens */
@media (max-width: 480px) {
    .mil-faq-header {
        margin-bottom: 25px;
    }
    
    .mil-faq-header h2 {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }
    
    .mil-faq-header p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .mil-faq-container {
        margin-bottom: 50px;
    }
    
    .mil-faq-item {
        margin-bottom: 8px;
        border-radius: 8px;
    }
    
    .mil-faq-question {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .mil-faq-answer-content {
        padding: 0 14px 14px;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .mil-bullet-list li {
        padding-left: 16px;
        margin-bottom: 5px;
    }
    
    .mil-faq-icon {
        width: 18px;
        height: 18px;
        margin-left: 10px;
    }
    
    .mil-faq-icon svg {
        width: 10px;
        height: 10px;
    }
    
    /* Extra compact contact card */
    .mil-contact-card {
        margin-top: 15px;
        margin-bottom: 75px;
        padding: 12px 14px;
        border-radius: 12px;
    }
    
    .mil-contact-card h6 {
        font-size: 0.95rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .mil-contact-card .mil-contact-info {
        padding: 10px;
        margin-top: 8px;
        border-radius: 6px;
    }
    
    .mil-contact-item {
        margin-bottom: 4px;
        gap: 6px;
    }
    
    .mil-contact-details strong {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .mil-contact-details span {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .mil-contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .mil-contact-icon svg {
        width: 14px;
        height: 14px;
    }
}


/* Seminar Info Styles */
.mil-seminar-info-item {
    margin-bottom: 5px;
}

.mil-seminar-info-indent {
    margin-left: 46px;
}

/* Banner text responsive line breaks */
@media screen and (min-width: 992px) {
    .mil-banner-text-desktop {
        white-space: pre-line;
    }
}

/* Revival English Text Styles */
.revival-english {
    color: #024086 !important;
    font-weight: 500;
}

/* Vision Image Container Styles */
.mil-vision-image-container {
    text-align: center;
}

.mil-vision-image-container .mil-img-frame {
    overflow: visible;
    padding-bottom: 0 !important;
    height: auto;
}

.mil-vision-image-container .mil-img-frame img {
    transition: transform 0.3s ease;
    position: static;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* STP Quotes Section */
.mil-stp-quotes {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* STP Numbered Boxes */
.mil-stp-numbered-box {
    background: #f6f8fa;
    border-radius: 16px;
    padding: 16px 24px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
}

.mil-stp-numbered-box .mil-number {
    color: #024086;
    font-weight: 700;
    font-size: 20px;
    display: inline-block;
    margin-right: 15px;
}

.mil-stp-numbered-box p {
    color: #333;
    margin: 0;
    display: inline;
    font-size: 16px;
}

.mil-quotes-container {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

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

   Mall Page Styles

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

/* Mall Banner with Background Image */
.mil-mall-banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mil-mall-banner .mil-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mil-mall-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mil-mall-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.mil-mall-banner .container {
  position: relative;
  z-index: 3;
}

.mil-mall-banner .mil-banner-content {
  color: white;
}

/* Book Cards Grid */
.mil-books-grid {
  margin-top: 0px;
}

.mil-book-card {
  background: transparent !important;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mil-book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mil-book-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: transparent;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mil-book-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
  border-radius: 12px 12px 0 0;
}

.mil-book-card:hover .mil-book-image img {
  transform: scale(1.05);
}

/* Hover buttons removed for cleaner design */

.mil-book-info {
  padding: 20px;
  background: transparent;
  backdrop-filter: blur(8px);
  border-radius: 0 0 12px 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: none;
}

.mil-book-title {
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
  line-height: 1.3;
}

.mil-book-description {
  color: #666;
  margin-bottom: 12px;
  flex-grow: 1;
}

/* 2025 STP Seminar Card */
.mil-seminar-2025-card {
  background: linear-gradient(135deg, #151528 0%, #2b3c71 100%);
  border-radius: 18px;
  padding: 70px;
  color: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mil-seminar-2025-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: white;
}

.mil-seminar-2025-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mil-seminar-2025-left {
  width: 100%;
}

.mil-seminar-2025-item {
  color: rgba(255, 255, 255, 0.95);
}

.mil-seminar-2025-right {
  align-self: flex-start;
}

.mil-seminar-2025-button {
  background: rgba(255, 255, 255, 0.2);
  border: 0.5px solid white;
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mil-seminar-2025-button:hover {
  background: white;
  color: #024086;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mil-seminar-2025-card {
    padding: 30px 20px;
    margin: 40px 0;
  }
  
  .mil-seminar-2025-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .mil-seminar-2025-content {
    gap: 25px;
  }
  
  .mil-seminar-2025-item {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .mil-seminar-2025-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .mil-seminar-2025-card {
    padding: 25px 15px;
    margin: 30px 0;
  }
  
  .mil-seminar-2025-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .mil-seminar-2025-item {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .mil-seminar-2025-button {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

/* Contact Card - Alternative Style (not used for gradient cards) */
.mil-contact-card.mil-transparent {
  background: transparent;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mil-contact-card.mil-transparent:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.mil-contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(2, 64, 134, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #024086;
  font-size: 20px;
  flex-shrink: 0;
}

.mil-contact-details h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.mil-contact-details p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .mil-mall-banner {
    height: 80vh;
    min-height: 500px;
  }

  /* YouTube Video Container Styles */
  .mil-youtube-video {
      text-align: center;
      margin: 30px 0;
  }

  .mil-book-card {
    min-height: 460px;
  }
  
  .mil-book-image {
    height: 320px;
  }
  
  .mil-books-grid {
    margin-top: 40px;
  }
}

@media screen and (max-width: 768px) {
  .mil-mall-banner {
    height: 70vh;
    min-height: 400px;
    text-align: center;
  }
  
  .mil-mall-banner h1 {
    font-size: 36px;
    line-height: 1.2;
  }
  
  .mil-book-card {
    min-height: 420px;
  }
  
  .mil-book-image {
    height: 280px;
  }
  
  .mil-book-info {
    padding: 18px;
    min-height: 120px;
  }
  
  .mil-book-title {
    font-size: 16px;
  }
  
  .mil-book-description {
    font-size: 12px;
  }
  
  .mil-contact-card {
    padding: 14px 12px;
    border-radius: 10px;
    margin-bottom: 60px;
  }
  
  .mil-contact-card h6 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.2;
  }
  
  .mil-contact-card .mil-contact-info {
    padding: 10px;
    margin-top: 10px;
  }
  
  .mil-contact-item {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    margin-bottom: 6px;
  }
  
  .mil-contact-icon {
    width: 34px;
    height: 34px;
  }
  
  .mil-contact-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media screen and (max-width: 576px) {
  .mil-book-card {
    min-height: 380px;
  }
  
  .mil-book-image {
    height: 250px;
  }
  
  .mil-books-grid .col-lg-4 {
    margin-bottom: 30px;
  }
  
  .mil-book-info {
    padding: 15px;
    min-height: 110px;
  }
  
  .mil-book-title {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  .mil-book-description {
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  
  .mil-book-price {
    font-size: 15px;
  }
}

/* Force transparent background on all book card elements */
.mil-book-card,
.mil-book-card *:not(.mil-book-info),
.mil-books-grid .col-lg-4,
.mil-books-grid .col-md-6 {
  background-color: transparent !important;
  background: transparent !important;
}

/* Ensure book images fill containers perfectly */
.mil-book-image {
  padding: 0 !important;
  margin: 0 !important;
}

.mil-book-image img {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Override any Bootstrap card styles */
.mil-book-card.card {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
}

.mil-quotes-container::-webkit-scrollbar {
    width: 4px;
}

.mil-quotes-container::-webkit-scrollbar-track {
    background: transparent;
}

.mil-quotes-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.mil-quote-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mil-quote-item:last-child {
    border-bottom: none;
}

.mil-quote-item p {
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    font-style: italic;
}

.mil-small {
    font-size: 13px !important;
}

/* STP Quote Transition */
#stp-quote {
    transition: opacity 0.5s ease-in-out;
    min-height: 80px;
    display: flex;
    align-items: center;
}

/* Confession page styling - simple format */
.mil-confession-list {
  max-width: 100%;
}

.mil-confession-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  width: 100%;
}

.mil-confession-number {
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 1rem;
  min-width: 60px;
  width: 60px;
  flex-shrink: 0;
  text-align: justify;
  color: #95a5bb;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.mil-confession-text {
  flex: 1;
  line-height: 1.6;
  width: calc(100% - 70px);
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: flex;
  align-items: flex-start;
}

.mil-confession-text strong {
  font-weight: 600;
}

/* Responsive design for confession items */
@media (max-width: 768px) {
  .mil-confession-item {
    flex-direction: column;
  }
  
  .mil-confession-number {
    margin-right: 0;
    margin-bottom: 0.5rem;
    width: auto;
  }
  
  .mil-confession-text {
    width: 100%;
  }
}

/* Map Styling for Contact Page */
.mil-location-map {
  margin-top: 1.5rem;
}

.mil-map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.mil-map-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mil-map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(20%) contrast(1.1);
  transition: filter 0.3s ease;
}

.mil-map-container:hover iframe {
  filter: grayscale(0%) contrast(1.2);
}

/* Responsive map styling */
@media (max-width: 768px) {
  .mil-map-container iframe {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .mil-map-container iframe {
    height: 280px;
  }
  
  .mil-map-container {
    border-radius: 8px;
  }
}

/* ===========================================
   QNA PAGE SPECIFIC STYLES
   =========================================== */

/* === LOGO SIZING FOR QNA PAGE === */
.qna-page .mil-logo {
    display: flex !important;
    align-items: center !important;
    height: 60px !important;
}

.qna-page .mil-logo img {
    height: 50px !important;
    width: auto !important;
    max-width: none !important;
    position: static !important;
    transform: none !important;
    top: auto !important;
}

.qna-page .mil-logo-default,
.qna-page .mil-logo-icon {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    height: 50px !important;
}

/* === CONTACT SECTION STYLING === */
.mil-simple-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    margin-top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 120px;
}

.mil-simple-contact h6 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.mil-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mil-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.mil-contact-row:last-child {
    border-bottom: none;
}

.mil-contact-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mil-contact-icon {
    width: auto !important;
    height: 18px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    max-width: none !important;
}

.mil-contact-row strong {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.mil-contact-row span {
    font-weight: 400;
    color: #ffffff;
    font-size: 0.95rem;
    text-align: right;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    /* Logo responsive */
    .qna-page .mil-logo {
        height: 50px !important;
    }
    
    .qna-page .mil-logo-default,
    .qna-page .mil-logo-icon {
        height: 40px !important;
    }
    
    /* Contact responsive */
    .mil-simple-contact {
        margin-top: 30px;
        padding: 25px 20px;
        position: static;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    }
    
    .mil-contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 0;
    }
    
    .mil-contact-left {
        gap: 8px;
    }
    
    .mil-contact-icon {
        height: 16px !important;
        width: auto !important;
        display: inline-block !important;
    }
    
    .mil-contact-row span {
        text-align: left;
        font-weight: 500;
        color: #333;
        margin-left: 24px;
    }
}

@media (max-width: 480px) {
    .qna-page .mil-logo {
        height: 45px !important;
    }
    
    .qna-page .mil-logo-default,
    .qna-page .mil-logo-icon {
        height: 35px !important;
    }

}

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

PDF Viewer Styling

------------------------------------------- */
.mil-pdf-left-content {
  padding-right: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  
}

.mil-pdf-preview {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.mil-pdf-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1.414; /* A4 팜플렛 비율 (세로형) */
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
}



.mil-pdf-right-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.mil-pdf-description {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mil-pdf-description h4 {
  color: #024086;
  font-weight: 600;
  margin-bottom: 15px;
}

.mil-pdf-description p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}



/* When using direct anchor (no download box), pin it to the bottom of right column */
.mil-pdf-right-content > a {
  margin-top: auto;
  align-self: flex-start;
}



/* Responsive PDF viewer */
@media (max-width: 992px) {
  .mil-pdf-left-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .mil-pdf-right-content {
    justify-content: flex-start;
  }
  
  .mil-pdf-description {
    margin-bottom: 30px;
  }

  .mil-pdf-description h4 br{
    display: block;
  }
}

@media (max-width: 768px) {
  .mil-pdf-left-content {
    margin-bottom: 30px;
  }
  
  .mil-pdf-description {
    margin-bottom: 25px;
  }
}
  
@media (max-width: 480px) {
  .mil-pdf-left-content {
    margin-bottom: 25px;
  }
  
  .mil-pdf-description {
    margin-bottom: 20px;
  }
  .mil-pdf-right-content .mil-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Menu Image Styling */
.mil-menu-image-container {
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mil-menu-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mil-menu-image:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .mil-menu-image-container {
    height: 170px;
  }
}

/* Book Slider Styles */
.mil-book-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 5;
}

.mil-book-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Navigation Buttons - Book Slider */
.mil-slider-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.mil-slider-nav .mil-slider-arrow {
  width: 40px;
  height: 40px;
  padding: 10px;
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-slider-nav .mil-slider-arrow svg path {
  fill: rgb(2, 64, 134);
}

.mil-slider-nav .mil-slider-arrow.mil-prev {
  margin-right: 10px;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.mil-slider-nav .mil-slider-arrow.swiper-button-disabled {
  opacity: 0.1;
  cursor: not-allowed;
}

.mil-slider-nav .mil-slider-arrow:hover {
  -webkit-transform: scale(1.15);
          transform: scale(1.15);
}

.mil-slider-nav .mil-slider-arrow:hover.mil-prev {
  -webkit-transform: rotate(180deg) scale(1.15);
          transform: rotate(180deg) scale(1.15);
}

.mil-slider-nav.mil-soft .mil-slider-arrow {
  background-color: rgb(229, 229, 229);
}

.mil-slider-nav.mil-soft .mil-slider-arrow svg path {
  fill: rgb(0, 0, 0);
}

.mil-book-slider .mil-slider-nav.mil-reviews-nav {
  position: absolute;
  top: 280px;
  left: 0;
  width: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media screen and (max-width: 992px) {
  .mil-book-slider .mil-slider-nav.mil-reviews-nav {
    top: 0;
  }
}

/* Arrow icons for book slider - using SVG icons */
.mil-book-slider .mil-slider-arrow.mil-arrow-place {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Show SVG icons in book slider */
.mil-book-slider .mil-slider-arrow svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* Main Book Card */
.mil-book-card-main {
  display: flex;
  align-items: center;
  gap: 60px;
  background: white;
  border-radius: 20px;
  padding: 60px;
  max-width: 900px;
  width: 100%;
  position: relative;
}

/* Book Card Inner (Flip Container) */
.mil-book-card-inner {
  position: relative;
  width: 300px;
  height: 430px;
  perspective: 1000px;
  cursor: pointer;
  z-index: 10;
}

.mil-book-card-inner:hover .mil-book-card-front {
  transform: rotateY(-180deg);
}

.mil-book-card-inner:hover .mil-book-card-back {
  transform: rotateY(0deg);
}

.mil-book-card-front,
.mil-book-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.mil-book-card-front {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mil-book-card-back {
  background: linear-gradient(135deg, rgba(2, 64, 134, 0.9) 0%, rgba(2, 64, 134, 0.7) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
}

.mil-book-card-inner.flipped .mil-book-card-front {
  transform: rotateY(-180deg);
}

.mil-book-card-inner.flipped .mil-book-card-back {
  transform: rotateY(0deg);
}

/* Book Image */
.mil-book-cover {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.4);
}

/* Book Review */
.mil-book-review {
  text-align: center;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mil-review-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.mil-review-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.mil-review-author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Book Info */
.mil-book-info {
  flex: 1;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mil-book-title-small {
  font-size: 18px;
  font-weight: 400;
  color: #4a5568;
  margin-bottom: 7px;
  line-height: 1.2;
}

.mil-book-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #024086;
  margin-bottom: 30px;
  line-height: 1.2;
}

.mil-book-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.3;
  padding-bottom:10px;
}

.mil-book-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 30px;
  flex-grow: 1;
  white-space: normal;
}

.mil-book-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  align-self: flex-start;
}

.mil-book-button {
  background: #024086;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  position: relative;
  overflow: hidden;
}

.mil-book-button:hover {
  background: #1a4a9a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 64, 134, 0.3);
}

.mil-book-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.mil-book-button:hover::after {
  left: 100%;
}

.mil-youtube-button {
  background: white;
  color: #ff0000;
  border: 2px solid #ff0000;
  padding: 12px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mil-youtube-button:hover {
  background: #ff0000;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.mil-youtube-button svg {
  width: 20px;
  height: 20px;
}

/* Thumbnail Navigation */
.mil-book-thumbnails {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
  overflow-x: auto;
  padding: 10px 0;
  padding-bottom: 60px;
}

.mil-thumbnail {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 10px;
  min-width: 80px;
  opacity: 0.6;
}

.mil-thumbnail:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.mil-thumbnail.active {
  opacity: 1;
  background: rgba(2, 64, 134, 0.1);
  transform: translateY(-2px);
}

.mil-thumbnail img {
  width: 50px;
  height: 65px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 8px;
}

.mil-thumbnail span {
  font-size: 0.7rem;
  text-align: center;
  color: #666;
  font-weight: 500;
  line-height: 1.2;
  max-width: 80px;
  word-break: keep-all;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mil-book-card-main {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }
  
  .mil-book-card-inner {
    width: 250px;
    height: 340px;
  }
  
  .mil-book-title {
    font-size: 1.5rem;
  }
  
  .mil-book-subtitle {
    font-size: 1rem;
  }
  
  .mil-book-description {
    font-size: 0.9rem;
  }
  
  .mil-book-buttons {
    align-self: center;
    flex-direction: column;
    gap: 10px;
  }
  
  .mil-book-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .mil-youtube-button {
    width: 44px;
    height: 44px;
    padding: 10px;
  }
  
  .mil-youtube-button svg {
    width: 18px;
    height: 18px;
  }
  
  .mil-slider-nav {
    width: 50px;
    height: 50px;
  }
  
  .mil-slider-prev {
    left: -25px;
  }
  
  .mil-slider-next {
    right: -25px;
  }
  
  .mil-book-thumbnails {
    gap: 10px;
  }
  
  .mil-thumbnail {
    min-width: 60px;
  }
  
  .mil-thumbnail img {
    width: 40px;
    height: 52px;
  }
  
  .mil-thumbnail span {
    font-size: 0.6rem;
    max-width: 60px;
  }
}

@media (max-width: 480px) {
  .mil-book-slider-container {
    padding: 0 10px;
  }
  
  .mil-book-card-main {
    padding: 20px 15px;
  }
  
  .mil-book-card-inner {
    width: 200px;
    height: 285px;
  }
  
  .mil-book-title {
    font-size: 1.3rem;
  }
  
  .mil-book-description {
    font-size: 0.9rem;
  }
  
  .mil-slider-nav {
    width: 45px;
    height: 45px;
  }
  
  .mil-slider-prev {
    left: -22px;
  }
  
  .mil-slider-next {
    right: -22px;
  }
   
  .mil-book-thumbnails {
    gap: 0px;
  }
  
  .mil-thumbnail {
    min-width: 55px;
    padding:5px;
  }
  
  .mil-thumbnail span {
    font-size: 0.5rem;
    max-width: 50px;
  }
}

.word-break,
blockquote {
  word-break: keep-all;
  word-wrap: break-word;
}