@font-face {
    font-family: signatureFontCustom;
    src: url(../fonts/Palisade.ttf);
}

@font-face {
    font-family: descriptionFontCustom;
    src: url(../fonts/description.ttf);
}

.signatureFont {
    font-family: signatureFontCustom;
}

.descriptionFont {
    font-family: descriptionFontCustom;
}

/* Apply serif font to all body text */
body {
    font-family: serif;
    background-color: #D7CCC8; /* Taupe brand color */
}

/* Ensure headers use cursive font */
h1, h2, h3, h4, h5, h6 {
    font-family: signatureFontCustom;
}

.font50{
    font-size: 120px;
}

.mil-banner{
    background: url(../img/aboutyu/01.jpg) no-repeat;
    /* background: linear-gradient(to right, rgb(0, 0, 0, 0.8), rgb(0, 0, 0, 0)), url(../img/aboutyu/1.avif) no-repeat; */
    background-size: cover;
}



#about{
    background: #101519;
}

.social-icon i{
    font-size: 30px;
}

.customServiceSection .mi-invert-fix{
    position: relative;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.568), rgba(0, 0, 0, 0.336));
    z-index: 10;
    padding-bottom: 50px;
}

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

.customServiceP{
    font-size: 20px;
}

.serviceSection{
    background: #D7CCC8; /* Updated to taupe */
}

.footer{
    background: #d7cdc8;
}

.mil-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  position: relative;
  z-index: 100;
}



/* Desktop Menu */
.mil-frame-top ul {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mil-frame-top ul li a {
  color: #fff;
  font-weight: 300;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.mil-frame-top ul li a:hover {
  color: #eed651;
}

/* Hamburger Button */
.mil-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: start;
  cursor: pointer;
  width: 30px;
  height: 22px;
  gap: 5px; 
  position: relative;
  
}

.mil-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 800px) {
  .mil-menu-btn {
    display: flex;
  }

  .mil-frame-top ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 70px;
    right: 0;
    
    width: 100%;
    padding: 20px;
    gap: 20px;
  }

  .mil-frame-top ul.active {
    display: flex;
  }

  /* Animate hamburger into "X" when active */
  .mil-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .mil-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mil-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}

.customMainHeading{
    text-shadow: 2px 2px 2px rgba(0,0,0,.25);
}

.customMainDes{
    font-size: 22px;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0,0,0,.25);
    font-family: serif;
    margin: 25px 0px;
}
@media screen and (max-width: 769px) {
    .customMainDes{ margin: 10px 0px; }
}

/* Ensure all paragraphs use serif font */
p {
    font-family: serif;
}

.mil-team-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s;
    background: #e9e9e9;
}
.mil-team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.mil-team-card:hover {
    transform: translateY(-10px);
}
.mil-team-info {
    padding: 15px 5px;
    text-align: center;
    background: #e9e9e9;
}
.mil-team-info h5 {
    margin: 0;
    font-size: 1.2rem;
    color: #596744;
    cursor: pointer;
    font-family: serif;
}
.mil-team-info p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #555;
    font-family: serif;
}
.mil-team-info .specialties {
    font-style: italic;
    color: #777;
    font-family: serif;
}
.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.mil-up {
    animation: mil-up 0.5s ease-out;
}
@keyframes mil-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Make service cards obviously clickable */
.service-tile,
.mil-blog-card {
    cursor: pointer;
}

/* ------------------------------
   Fluid responsive scaling
   Keeps 1500px look while smoothly scaling down every ~100px
------------------------------- */
html,
body {
    font-size: clamp(14px, calc(14.68px + 0.0877vw), 16px);
}

/* Hide hamburger by default; show at <=800px */
.mil-menu-btn { display: none; }

/* Headings scale based on viewport width with safe min/max */
h1, .mil-h1 {
    font-size: clamp(34px, calc(17.6px + 4.56vw), 86px);
}
h2, .mil-h2 {
    font-size: clamp(36px, calc(25.9px + 2.81vw), 68px);
}
h3, .mil-h3 {
    font-size: clamp(30px, calc(26.2px + 1.05vw), 42px);
}
h4, .mil-h4 {
    font-size: clamp(22px, calc(20.1px + 0.526vw), 28px);
}

/* Common text helpers */
.mil-text-lg {
    font-size: clamp(16px, calc(14px + 0.4vw), 18px);
}
.mil-text-xl {
    font-size: clamp(18px, calc(16px + 0.5vw), 22px);
}
.mil-upper,
.mil-service-list li,
.mil-breadcrumbs li a,
.mil-button,
.mil-link,
.mil-category-list li a,
.swiper-portfolio-pagination {
    font-size: clamp(10px, calc(9px + 0.2vw), 12px);
}
.mil-logo img{
    width: 120px;
}

footer .mil-logo img{
    width: 150px;
}
/* Brand/logo sizes scale fluidly */
.mil-logo img {
    width: clamp(80px, calc(60px + 4vw), 120px);
    
}
footer .mil-logo img {
    width: clamp(120px, calc(100px + 5vw), 200px);
}

/* Hero/banner text */
.font50 {
    font-size: clamp(48px, calc(24px + 4.8vw), 120px);
}
.customMainDes {
    font-size: clamp(16px, calc(14px + 0.6vw), 22px);
}
.customServiceP {
    font-size: clamp(16px, calc(14px + 0.45vw), 20px);
}

/* Navigation items */
.mil-frame-top ul li a {
    font-size: clamp(14px, calc(12px + 0.6vw), 20px);
}

/* Minor spacing tweaks to maintain proportions */
.mil-suptitle { margin-bottom: clamp(40px, calc(20px + 2.2vw), 60px); }
.mil-mb-60 { margin-bottom: clamp(40px, calc(20px + 2.2vw), 60px); }
.mil-mb-90 { margin-bottom: clamp(60px, calc(30px + 3.3vw), 90px); }
.mil-mb-120 { margin-bottom: clamp(70px, calc(40px + 5.3vw), 120px); }
.mil-p-120-120 { padding-top: clamp(70px, calc(40px + 5.3vw), 120px); padding-bottom: clamp(70px, calc(40px + 5.3vw), 120px); }
.mil-p-120-90 { padding-top: clamp(70px, calc(40px + 5.3vw), 120px); padding-bottom: clamp(50px, calc(30px + 3.3vw), 90px); }

/* Mobile menu behavior */
@media (max-width: 800px) {
    .mil-frame-top ul { display: none; }
    .mil-menu-btn { display: -webkit-box; display: -ms-flexbox; display: flex; }
}

/* Ensure overlay menu can show when toggled */
.mil-menu-frame.mil-active { display: block !important; }