/* --- 1. Global Variables (အရောင်နဲ့ Font သတ်မှတ်ချက်) --- */
:root {
  /* Apple-inspired Dark Theme Colors */
  --bg-dark: #000814;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --aqua: #00f2fe;
  --blue-glow: rgba(79, 172, 254, 0.4);
  --text: #ffffff;
  --text-dim: #a0a0a0;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Base Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  scroll-behavior: smooth;
}

/* --- Body Background (Parallax Style) --- */

body {
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(0, 242, 254, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(79, 172, 254, 0.1) 0%,
      transparent 50%
    ),
    url("backgroung.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-position 0.1s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* --- 4. Typography (စာသားများ အလှဆင်ခြင်း) --- */

/* ခေါင်းစဉ်ကြီးများ */
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;

  /* --- Gradient Text အပိုင်း --- */
  /* အပေါ်က အဖြူကနေ အောက်ကို Aqua ရောင်လေး ပြေးသွားမယ် */
  background: linear-gradient(180deg, #ffffff 30%, #00f2fe 100%);

  /* စာသားထဲမှာပဲ Background ကို ပေါ်စေမည့် အဓိက အချက်များ */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* စာသားလေး ပိုကြွလာအောင် Glow နည်းနည်း ထည့်မယ် */
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.2));
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
}
h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}
h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}
/* စာသား (Paragraph) */
p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  /* စာသားကို လုံးဝအဖြူရောင် ပြောင်းလိုက်ပါပြီ */
  color: #ffffff;
  /* (သို့မဟုတ်) မျက်စိအေးအောင် အဖြူရောင်ကို ၉၀% လောက်ပဲ ထားချင်ရင် color: rgba(255, 255, 255, 0.9); ကို သုံးနိုင်ပါတယ် */

  font-weight: 400;
  max-width: 700px;

  /* စာသားတွေ ပိုပေါ်လွင်အောင် line-height လေး နည်းနည်း ထည့်ပေးထားပါတယ် */
  line-height: 1.8;
}
/* စာသားအတွင်းက အထူးပြုချင်တဲ့ အစိတ်အပိုင်း (Span) */
span {
  display: inline-block; /* Animation တွေ ထည့်လို့ရအောင် */
}

/* Highlight ပြချင်တဲ့ စာသား (ဥပမာ- နာမည်) */
.highlight {
  color: var(--aqua);
  text-shadow: 0 0 15px var(--blue-glow);
  font-weight: 700;
}

/* --- 5. Common Layout (Container) --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
section {
  width: 100%;
  max-width: 100%; /* Limit မထားဘဲ အပြည့်ယူမယ် */
  margin: 0;
  padding: 80px 0; /* ဘေးဘက် 10% ကို 0 ပြောင်းလိုက်တာပါ */
  box-sizing: border-box;
}

/* တစ်ခုရှိတာက ခေါင်းစဉ်နဲ့ စာသားတွေ ဘောင်ကြီးကို သွားမထိအောင် 
   အထဲက Content တွေကိုပဲ နည်းနည်းလေး ပြန်ထိန်းပေးရပါမယ် */
.section-header-left,
.section-header-right,
.section-header-center,
.contact-compact-grid,
.gallery-container {
  padding-left: 5%; /* အပြည့်ယူထားပေမဲ့ စာသားကိုတော့ 5% လောက်ပဲ ချန်မယ် */
  padding-right: 5%;
}

/* Mobile အတွက် Padding ကို နည်းနည်းပြန်လျှော့မယ် */
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }
}
/* ==========================================
   NAVIGATION SECTION (Apple Style)
   ========================================== */

/* --- Nav Base --- */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px; /* နည်းနည်းပိုကျဉ်းလိုက်လို့ သပ်ရပ်သွားမယ် */
  background: rgba(0, 8, 20, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px); /* Safari အတွက် */
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Logo Section (Gradient & Static) --- */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 5px;
}

/* Logo ပုံလေး (ငြိမ်နေမယ် - မလှည့်တော့ဘူး) */
.main-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  /* ဘောင်ကို နည်းနည်းပိုလင်းအောင်လုပ်ထားတယ် */
  border: 1px solid rgba(0, 242, 254, 0.5);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  transition: all 0.3s ease; /* Hover effect မြန်မြန်ဖြစ်အောင် */
}

/* Hover လုပ်ရင် မျောနေတဲ့ Effect လေးပဲ ပြမယ် */
.logo-container:hover .main-logo-img {
  transform: translateY(-3px); /* အပေါ်ကို နည်းနည်းလေး ကြွတက်လာမယ် */
  border-color: var(--aqua);
  background: rgba(0, 242, 254, 0.1);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* နာမည်အဓိက - **GRADIENT (ရောင်ပြေး)** ထည့်မည့်အပိုင်း */
.logo-main {
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1;

  /* --- Gradient Logic --- */
  background: linear-gradient(90deg, #ffffff 0%, var(--aqua) 50%, #7fdfff 100%);
  -webkit-background-clip: text; /* စာသားထဲမှာပဲ Gradient ပေါ်အောင် */
  background-clip: text;
  color: transparent; /* မူရင်းစာလုံးအရောင်ကို ဖျောက်ထားမယ် */

  display: inline-block;
  filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.3));
}

.logo-dot {
  color: var(--aqua);
  margin-left: 2px;
  /* animation ဖြုတ်လိုက်ပါတယ် */
  opacity: 1;
}

/* MARINE ENGINEERING (စာသားသေးသေးလေး) */
.logo-sub {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--text-dim); /* နာမည်ပိုပေါ်အောင် ဒါကို နည်းနည်းမှိန်လိုက်တယ် */
  margin-top: 5px;
  text-transform: uppercase;
}

/* --- Desktop Menu (Perfect Alignment) --- */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: 0.3s ease;
  padding: 5px 0;
}

/* Apple Style Animated Underline */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--aqua);
  transition: 0.3s ease-in-out;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* --- Responsive Media Query --- */
@media (min-width: 993px) {
  .mobile-only {
    display: none;
  }
}

@media (max-width: 992px) {
  .desktop-only {
    display: none;
  }

  .menu-icon {
    background: transparent;
    border: none;
    color: var(--aqua);
    font-size: 1.5rem;
    cursor: pointer;
  }
}

/* --- Mobile Popup Menu (သပ်ရပ်အောင် ပြန်ပြင်ထား) --- */
.nav-menu-popup {
  position: fixed;
  top: 80px; /* Header နဲ့ ခပ်ခွာခွာလေးထားရင် ပိုသပ်ရပ်တယ် */
  right: -100%;
  width: 230px; /* အကျယ်ကို ၂၃၀ ထိ လျှော့လိုက်လို့ ပိုကျဉ်းသွားပါပြီ */
  background: rgba(0, 8, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px; /* ထောင့်လေးဖက်လုံး ဝိုင်းလိုက်တာက ပို modern ဖြစ်တယ် */
  padding: 20px; /* အတွင်းထဲက နေရာလွတ်ကို လျှော့လိုက်တယ် */
  display: flex;
  flex-direction: column;
  gap: 5px; /* အကွက်တွေကြား စိပ်နေအောင် ညှိထားတယ် */
  transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Menu ပွင့်လာတဲ့အခါ ညာဘက်ကနေ ၁၅px ခွာပြီး Floating ဖြစ်နေမယ် */
.nav-menu-popup.active {
  right: 15px;
}

/* Header ပိုင်းကို သေသပ်အောင်လုပ်ခြင်း */
.popup-header {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-dim);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}

.header-dot {
  width: 6px;
  height: 6px;
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--aqua);
}
.menu-item {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  transition: 0.3s;
}

.menu-item:hover {
  background: var(--glass);
  color: var(--aqua);
  padding-left: 20px;
}

.menu-item i {
  color: var(--aqua);
}

/* Menu Footer (ကျောက်ဆူးအစား စက်သွား) */
.menu-item {
  text-decoration: none !important;
  color: var(--text);
  font-size: 0.9rem; /* စာလုံးအရွယ်အစားကို နည်းနည်းလေး လျှော့လိုက်တယ် */
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px; /* Padding လျှော့လိုက်လို့ အကွက်တွေ မကျယ်တော့ဘူး */
  border-radius: 12px;
  transition: 0.3s;
}

/* Mouse ထိရင် (သို့) နှိပ်ရင် အပြာနုရောင်လေး သန်းလာမယ် */
.menu-item:hover {
  background: rgba(0, 242, 254, 0.08);
  color: var(--aqua);
  padding-left: 20px; /* နည်းနည်းလေး တိုးသွားတဲ့ effect */
}

.menu-item i {
  width: 20px;
  font-size: 1rem;
  color: var(--aqua);
  opacity: 0.9;
}

/* စက်သွားပါတဲ့ Footer အပိုင်း */
.popup-footer {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.popup-footer span {
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* စက်သွားလေး အိအိလေး လည်စေဖို့ Animation */
@keyframes spinSlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.fa-spin-slow {
  animation: spinSlow 8s linear infinite;
}
/* --- ၁။ Container ကို Screen အပြည့်ရအောင် ချဲ့မယ် --- */
.container {
  max-width: 100%; /* ၁၂၀၀ ကနေ အပြည့် (၁၀၀%) ကို ပြောင်းလိုက်ပါတယ် */
  margin: 0;
  padding: 0; /* Hero Section ကို အပြည့်ပေါ်စေဖို့ Padding ကို ဖယ်လိုက်တယ် */
  display: flex;
  flex-direction: column;
}
/*            
/* ==========================================
   AUXILIARY ENGINE HEADER (EXCLUSIVE)
   ========================================== */

/* Header Container */
.heat-engine-section {
  /* အလယ်တည့်တည့် ရောက်စေမည့် အဓိက အချက်များ */
  display: block; /* Section ကို block element အဖြစ် သေချာအောင် လုပ်မယ် */
  margin: 60px auto; /* auto က ဘယ်ညာ နေရာလွတ်ကို ညီအောင် ညှိပြီး အလယ်ပို့ပေးတာပါ */

  width: 92%; /* Screen ရဲ့ 92% ကို ယူမယ် */
  max-width: 1000px; /* အရမ်းကြီး မပြဲသွားအောင် ဒီထက် နည်းနည်း ထိန်းလိုက်မယ် */

  /* စာသားတွေကိုပါ အလယ်ဗဟိုမှာ စုချင်ရင် ဒါလေး သုံးနိုင်ပါတယ် */
  text-align: left; /* စာသားကိုတော့ ဘယ်ဘက်ကပဲ စဖတ်တာ အဆင်ပြေလို့ပါ */

  padding: 60px 8%; /* အတွင်းပိုင်း Padding ကို မျှမျှတတ ထားမယ် */
  box-sizing: border-box;

  /* Glass Styles (မူရင်းအတိုင်း) */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ခေါင်းစဉ်ကိုပါ အလယ်ပို့ချင်ရင် ဒါလေး ထည့်ပါ */
.section-text h3 {
  justify-content: center; /* Icon နဲ့ စာသားကို Section ရဲ့ အလယ်မှာ ထားမယ် */
  text-align: center;
}
.engine-post-header {
  width: 100%;
  text-align: center;
  /* အပေါ်က Nav Bar နဲ့ မထိအောင် margin-top ကို 120px လောက် ပေးမယ် */
  margin-top: 120px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

/* Glow Text - မီးချောင်းလင်းသလို Glow Effect */
.engine-post-header .glow-text {
  font-size: clamp(
    2.2rem,
    6vw,
    4rem
  ); /* Screen ပေါ်မူတည်ပြီး အရွယ်အစား ပြောင်းမယ် */
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  line-height: 1.2;

  /* Metallic Aqua Glow */
  background: linear-gradient(180deg, #ffffff 40%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* စာသားနောက်က အလင်းတန်း (Neon Effect) */
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.4));
}

/* Subtitle Wrapper */
.engine-post-header .subtitle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  /* စာသားတွေ အောက်ကနေ အိအိလေး တက်လာမည့် Animation */
  animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Subtitle Text */
.engine-post-header .sub-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #00f2fe;
  text-transform: uppercase;
  letter-spacing: 5px; /* Engineering Manual စတိုင် */
  opacity: 0.8;
  white-space: nowrap;
}

/* Side Lines (Gradient Lines) */
.engine-post-header .sub-line {
  width: 80px;
  height: 2px;
  /* အလယ်ကနေ ဘေးကို ပျောက်သွားတဲ့ Gradient မျဉ်း */
  background: linear-gradient(to right, transparent, #00f2fe, transparent);
  border-radius: 2px;
}

/* Animations */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .engine-post-header {
    margin-top: 100px; /* ဖုန်းမှာ Nav က နည်းနည်း ပိုကျဉ်းလို့ */
    margin-bottom: 40px;
  }

  .engine-post-header .sub-line {
    width: 40px; /* ဖုန်းမှာ မျဉ်းကို တိုလိုက်မယ် */
  }

  .engine-post-header .sub-title {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }
}

/* ==========================================
  WORKING PRINICIPLE OF A HEAT ENGINE
   ========================================== */
/* --- Main Section Container --- */
.content-section.with-image {
  display: flex;
  flex-direction: row; /* ဘေးချင်းယှဉ်ဖို့ row ပြောင်းမယ် */
  align-items: center; /* အပေါ်အောက် အလယ်ညှိမယ် */
  justify-content: space-between;
  gap: 40px; /* ပုံနဲ့စာသားကြား အကွာအဝေး */
  padding: 40px;
}

/* --- ပုံအတွက် Container --- */
.section-image {
  flex: 1; /* ပုံအတွက် နေရာချန်မယ် */
  display: flex;
  justify-content: center;
}

.post-image-container {
  width: 100%; /* section-image ထဲမှာ အပြည့်ယူမယ် */
  max-width: 350px; /* ပုံအရမ်းမကြီးအောင် ဒီမှာ ထိန်းမယ် */
  background: transparent !important;
  border: none !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* --- ဓာတ်ပုံ သီးသန့် Styling --- */
.post-img {
  width: 100%;
  height: auto;
  border-radius: 20px; /* အဝိုက်ဘောင်လေး ထည့်မယ် */
  mix-blend-mode: screen; /* အနက်ရောင်ဖျောက်မယ် */
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}
.post-image-container:hover .post-img {
  transform: scale(1.05);
}
/* --- ပုံအောက်က စာသား --- */
figcaption {
  margin-top: 20px;
  background: transparent !important;
  border: none !important;
  color: #a8efff;
  font-size: 0.95rem;
  text-align: center;
  opacity: 0.8;
}

/* --- စာသားအပိုင်း Styling --- */
/* --- စာသားအပိုင်း (Text Content Area) --- */
.section-text {
  flex: 1.5;
  text-align: left;
  padding-right: 20px; /* ပုံနဲ့ အရမ်းမကပ်အောင် ဘေးကနေ နေရာနည်းနည်းချန်မယ် */
}

/* Header - ခေါင်းစဉ်ကို ပိုပေါ်လွင်စေမယ် */
.section-text h3 {
  font-size: 2.2rem; /* အရွယ်အစား နည်းနည်း ထပ်တိုးမယ် */
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(180deg, #ffffff 50%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px; /* ခေါင်းစဉ်ကို ပိုပြီး Compact ဖြစ်ပြီး လှစေတယ် */
}

/* Paragraph - စာသားတွေ ဖတ်လို့အကောင်းဆုံးဖြစ်အောင် */
/* --- စာသားအပိုင်းကို ဖတ်ရလွယ်အောင် ပြင်ဆင်ခြင်း --- */
.section-text {
  flex: 1; /* နေရာအချိုးကျယူမယ် */
  text-align: center; /* စာသားအားလုံးကို အလယ်ပို့မယ် */
  display: flex;
  flex-direction: column; /* အပေါ်အောက် စီမယ် */
  align-items: center; /* Content တွေကို ဗဟိုမှာ စုမယ် */
  justify-content: center;
  padding: 20px;
}

/* ခေါင်းစဉ်ကို ပိုပြီး တည်ငြိမ်တဲ့အရောင်ပြောင်းမယ် */
.section-text h3 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center; /* Icon နဲ့ စာသားကို အလယ်မှာ ညှိဖို့ */
  gap: 15px;
  background: linear-gradient(to right, #ffffff 50%, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* စာပိုဒ်များ - အဓိက ပြင်ရမယ့်နေရာ */
.section-text p {
  color: #f2f2f2;
  font-size: 1.15rem;
  line-height: 1.9;
  text-align: center; /* စာသားတွေကို အလယ်ဗဟိုညှိမယ် */
  max-width: 800px; /* စာကြောင်း အရမ်းရှည်မသွားအောင် ထိန်းမယ် */
  margin-left: auto; /* ဘယ်ညာ margin auto က စာပိုဒ်ကို အလယ်ပို့ပေးပါတယ် */
  margin-right: auto;
}
/* အရေးကြီးတဲ့ စာလုံးတွေကို Aqua အရောင်နဲ့ ပေါ်လွင်စေမယ် */
.section-text strong {
  color: #00f2fe;
  font-weight: 600;
  background: rgba(
    0,
    242,
    254,
    0.1
  ); /* စာလုံးနောက်မှာ အရိပ်ဖျော့လေး ခံထားမယ် */
  padding: 2px 6px;
  border-radius: 4px;
}

/* Example Box - မျက်စိအေးအောင် အပြာရောင်ဖျော့လေး သုံးမယ် */
.example-box {
  background: rgba(0, 20, 30, 0.6); /* အမှောင်ဘက်သွားတဲ့ အပြာရောင် အကြည် */
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-left: 4px solid #00f2fe;
  padding: 20px;
  border-radius: 12px;
  color: #a8efff;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
}

.example-box i {
  color: #ffaa00; /* မီးသီး Icon ကိုတော့ ထင်ရှားတဲ့အရောင်လေး ပေးထားမယ် */
}
@media (max-width: 768px) {
  .content-section.with-image {
    flex-direction: column;
    text-align: center;
  }
  .section-text {
    text-align: center;
  }
}
/* ==========================================
   WORKING SUBSTANCE
   ========================================== */
/* --- Working Substance Section (No Image) --- */
.content-section.no-image {
  background: rgba(
    0,
    20,
    35,
    0.45
  ); /* ပုံရဲ့ ရေပြင်အရောင် ခပ်မှောင်မှောင်လေး ခံမယ် */
  backdrop-filter: blur(15px); /* နောက်ခံပုံကို အိအိလေး ဝါးပေးမယ် */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px;
  border-radius: 30px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ခေါင်းစဉ်ကို နေဝင်ချိန် တိမ်အရောင်အတိုင်း Gradient ပေးမယ် */
.content-section.no-image h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  /* Sunset Gold to Peach Gradient */
  background: linear-gradient(to right, #a8efff;, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Gear Icon ကို အဝါရောင်တောက်တောက်လေး ပေးမယ် */
.content-section.no-image h3 i {
  -webkit-text-fill-color: #a8efff;
  filter: drop-shadow(0 0 8px rgba(255, 170, 0, 0.5));
}

/* စာသားအပိုင်း - ဖတ်ရအလွယ်ဆုံးဖြစ်အောင် Warm Off-white သုံးမယ် */
.content-section.no-image p {
  color: #f2f2f2; /* လုံးဝဖြူကျိန်းနေတာ မဟုတ်ဘဲ နူးညံ့တဲ့ အဖြူရောင် */
  font-size: 1.15rem;
  line-height: 1.9; /* စာကြောင်းကြား အကွာအဝေးကို ပိုချဲ့လိုက်တယ် */
  text-align: justify; /* စာကြောင်း ဘယ်ညာညီအောင် ညှိမယ် */
  letter-spacing: 0.2px;
}

/* (e.g. Steam...) အစရှိတဲ့ ဥပမာတွေကို အရောင်တစ်မျိုး ခွဲပြမယ် */
.content-section.no-image p em,
.content-section.no-image p strong {
  color: #a8efff; /* ရေပြင်ရဲ့ အပြာနုရောင်လေးနဲ့ ပေါ်လွင်စေမယ် */
  font-style: normal;
  font-weight: 600;
  border-bottom: 1px dashed rgba(168, 239, 255, 0.3);
}
/* ==========================================
  IDEAL GAS CYCLE AND PROCESS
   ========================================== */
/* --- Main Section --- */
.content-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03); /* Glass Effect အစကအတိုင်း */
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  margin: 40px auto;
}

/* --- စာသားအပိုင်း (အဖြူနဲ့ Aqua ပြန်ပြောင်းမယ်) --- */
.section-text {
  flex: 1.5;
  text-align: center;
}

.section-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 12px;
  /* အစကအတိုင်း White to Aqua Gradient */
  background: linear-gradient(180deg, #ffffff 30%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-text h3 i {
  -webkit-text-fill-color: #ffaa00; /* Icon ကိုတော့ မီးရောင်လေး အတိုင်းထားမယ် */
  filter: drop-shadow(0 0 10px rgba(255, 170, 0, 0.4));
}

.section-text p {
  color: #ffffff; /* မောင်လေး အစက တောင်းဆိုထားတဲ့ အဖြူရောင် */
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.section-text strong {
  color: #00f2fe; /* Aqua Color keywords */
}

/* --- Process Grid (Formula Boxes) --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.process-item {
  background: rgba(0, 242, 254, 0.1); /* Aqua transparent */
  padding: 15px;
  border-radius: 15px;
  border-left: 4px solid #00f2fe; /* Aqua border */
  text-align: left;
}

.process-name {
  color: #ffffff;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 5px;
}

.process-formula {
  color: #00f2fe; /* Formula ကို Aqua ပဲ ပြန်ပေးမယ် */
  font-family: "Courier New", monospace;
  font-weight: bold;
}

/* --- ဓာတ်ပုံအပိုင်း --- */
.post-img {
  width: 100%;
  max-width: 400px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 15px 30px rgba(0, 242, 254, 0.2)); /* Aqua Shadow */
  border-radius: 20px;
}

figcaption {
  color: #ffffff;
  opacity: 0.8;
  font-size: 0.9rem;
  margin-top: 15px;
}
/* ==========================================
   DUEL COMBUSTION ENGINE
   ========================================== */
/* --- Dual Cycle Section Main --- */
.dual-cycle-section {
  display: flex;
  flex-direction: column; /* ပုံတွေက စာရဲ့ အပေါ်မှာ စုနေမယ် */
  align-items: center;
  gap: 40px;
  padding: 50px 5%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 50px auto;
}

/* --- Gallery Layout (ပုံနှစ်ပုံကို ဘေးချင်းယှဉ်ဖို့) --- */
.section-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  width: 100%;
}

.dual-cycle-section .post-image-container {
  flex: 1;
  min-width: 300px; /* ဖုန်းနဲ့ကြည့်ရင် တစ်ပုံချင်းစီ ဆင်းသွားအောင် */
  max-width: 450px;
  background: transparent !important;
  border: none !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dual-cycle-section .post-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  mix-blend-mode: screen; /* အနက်ရောင်ဖျောက်ဖို့ */
  filter: drop-shadow(0 15px 35px rgba(0, 242, 254, 0.2));
  transition: transform 0.4s ease;
}

.dual-cycle-section .post-img:hover {
  transform: translateY(-10px) scale(1.03);
}

/* --- Text Content --- */
.dual-cycle-section .section-text {
  width: 100%;
  text-align: center;
}

.dual-cycle-section h3 {
  font-size: 2.5rem;
  background: linear-gradient(180deg, #ffffff 40%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Highlight Box (Dual Combustion ရှင်းလင်းချက်) */
.highlight-box {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
  color: #ffffff;
  line-height: 1.6;
}

.highlight-box strong {
  color: #00f2fe;
}

/* Definition Box (Cycle ဆိုတာဘာလဲ) */
.definition-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #ffaa00;
  padding: 20px;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
  border-radius: 0 15px 15px 0;
}

.definition-box h4 {
  color: #ffaa00;
  margin-bottom: 10px;
}

/* Engine Events List (အချက်အလက်များကို အစဉ်လိုက်စီခြင်း) */
.engine-events {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.engine-events li {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e0e0e0;
  transition: 0.3s;
}

.engine-events li:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: #00f2fe;
  color: #ffffff;
}

.engine-events li i {
  color: #00f2fe;
  width: 20px;
}

/* Paragraphs */
.dual-cycle-section p {
  color: #ffffff;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 20px auto;
}
/* ==========================================
  4-STROKE MARINE DIESEL ENGINE<
   ========================================== */
/* --- 4-Stroke Engine Section Main --- */
.engine-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px 5%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(25px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 60px auto;
  max-width: 1200px;
}

/* --- Image Styling (Large View) --- */
.large-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.engine-detail .post-img.large-view {
  width: 100%;
  max-width: 800px; /* ပုံကို အလယ်မှာ အချိုးကျအောင် ထားမယ် */
  height: auto;
  border-radius: 25px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 20px 40px rgba(0, 242, 254, 0.25));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.engine-detail .post-img.large-view:hover {
  transform: scale(1.02);
}

/* --- Construction Info Grid --- */
.construction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
  width: 100%;
}

.info-card {
  background: rgba(0, 242, 254, 0.05);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 254, 0.15);
  transition: 0.3s;
}

.info-card:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--aqua);
  transform: translateY(-5px);
}

.info-card h4 {
  color: var(--aqua);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
}

/* --- Translation Text Styling --- */
.translation {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #a8efff;
  line-height: 1.6;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

/* --- Mobile Fixes (ဖုန်းမှာ အလယ်တည့်တည့်ဖြစ်ဖို့) --- */
@media (max-width: 768px) {
  .engine-detail {
    width: 95% !important;
    padding: 40px 20px !important;
    margin: 40px auto !important;
  }

  .engine-detail h3 {
    font-size: 1.8rem !important;
    text-align: center !important;
  }

  .engine-detail p {
    text-align: center !important; /* ဖုန်းမှာ စာပိုဒ်တွေကို အလယ်ပို့မယ် */
    font-size: 1rem !important;
  }

  .info-card {
    text-align: center;
  }

  .info-card h4 {
    justify-content: center;
  }

  .highlight-box {
    width: 100%;
    font-size: 0.95rem;
    text-align: center;
  }
}
/* ==========================================
   INDICATOR DIAGRAM (MEK EXAM)
   ========================================== */
/* --- Indicator Topic Section Main --- */
.indicator-topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 5%;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 50px auto;
  max-width: 1100px;
}

/* --- Indicator Cards Grid (4 Kinds) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 25px 0;
  width: 100%;
}

.ic-card {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  padding: 20px;
  border-radius: 18px;
  transition: 0.3s;
}

.ic-card h5 {
  color: #00f2fe;
  font-size: 1.1rem;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  padding-bottom: 8px;
}

/* --- Draw Card Analysis Grid --- */
.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
  width: 100%;
}

.analysis-box {
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-box.early {
  background: rgba(0, 255, 150, 0.05); /* Early Combustion - Greenish tint */
  border-left: 5px solid #00ff96;
}

.analysis-box.late {
  background: rgba(255, 80, 80, 0.05); /* Late Combustion - Reddish tint */
  border-left: 5px solid #ff5050;
}

.analysis-box h4 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.early h4 {
  color: #00ff96;
}
.late h4 {
  color: #ff5050;
}

.analysis-box ul {
  list-style: none;
  padding: 0;
}

.analysis-box li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #e0e0e0;
  display: flex;
  gap: 8px;
}

/* --- Mobile View Optimization (ဖုန်းအတွက်) --- */
@media (max-width: 768px) {
  .indicator-topic {
    width: 95% !important;
    padding: 30px 15px !important;
  }

  .analysis-grid {
    grid-template-columns: 1fr !important; /* ဖုန်းမှာ အပေါ်အောက် ပြောင်းမယ် */
  }

  .ic-card {
    text-align: center;
  }

  .step-list li {
    font-size: 0.95rem !important;
    padding: 10px 0;
  }

  /* စာသားတွေကို ဖတ်ရလွယ်အောင် အလယ်ပို့မယ် */
  .indicator-topic h3,
  .indicator-topic h4 {
    text-align: center;
    justify-content: center;
    display: flex;
  }
}

.formula-note {
  background: rgba(255, 170, 0, 0.1);
  color: #ffaa00;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 20px;
  text-align: center;
}
/* ==========================================
   INDICATED POWER CALCULATION
   ========================================== */
/* --- Calculation Section Main --- */
.calculation-topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 5%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 60px auto;
  max-width: 1200px;
}

/* --- Calculation Grid (Card Layout) --- */
.calculation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  width: 100%;
  margin-top: 30px;
}

.calc-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center; /* အလယ်တည့်တည့် ညှိမယ် */
  text-align: center;
}

/* --- Formula Box Styling --- */
.formula-box {
  background: rgba(0, 242, 254, 0.1);
  color: #00f2fe;
  padding: 15px 20px;
  border-radius: 12px;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 20px 0;
  border-left: 4px solid #00f2fe;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.1);
}

/* --- Legend List (Variables ရှင်းလင်းချက်) --- */
.legend-list {
  list-style: none;
  padding: 0;
  width: 100%;
  text-align: left; /* စာရင်းကိုတော့ ဘယ်ကပ်ထားမယ် */
}

.legend-list li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.legend-list li::before {
  content: "•";
  color: #00f2fe;
  position: absolute;
  left: 0;
}

/* --- PV Analysis Section --- */
.pv-analysis {
  width: 100%;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.cycle-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.cycle-info span {
  background: rgba(255, 255, 255, 0.07);
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* --- Mobile Fixes (ဖုန်းအတွက်) --- */
@media (max-width: 768px) {
  .calculation-grid {
    grid-template-columns: 1fr !important; /* တစ်ခုချင်းစီ ဆင်းမယ် */
  }

  .formula-box {
    font-size: 0.95rem !important; /* စာလုံးနည်းနည်းလျှော့မယ် */
    padding: 12px 10px;
  }

  .calc-card h4 {
    font-size: 1.1rem !important;
  }
}
/* ==========================================
   POWER DIAGRAM & ENGINE PERFOMRMANCE
   ========================================== */
/* --- Engine Performance Section Main --- */
.engine-performance {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 5%;
  background: rgba(10, 20, 30, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 60px auto;
  max-width: 1200px;
}

/* --- Diagram Steps (1-6) Styling --- */
.diagram-steps {
  list-style: none;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  margin-top: 20px;
  width: 100%;
}

.diagram-steps li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1rem;
  display: flex;
  gap: 15px;
}

.diagram-steps strong {
  color: #00f2fe;
  min-width: 80px;
}

/* --- Power Types Grid (6 Cards) --- */
.power-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  margin: 40px 0;
}

.p-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 242, 254, 0.02)
  );
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
  text-align: center;
}

.p-card:hover {
  border-color: #00f2fe;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.p-card h5 {
  color: #00f2fe;
  font-size: 1.2rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Monitoring List --- */
.monitoring-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  padding: 20px 0;
  width: 100%;
}

.monitoring-list li {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #d0d0d0;
  border-left: 3px solid #00f2fe;
}

/* --- Aspiration Grid --- */
.asp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.asp-card {
  padding: 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.asp-card.turbo {
  background: rgba(0, 242, 254, 0.05);
  border-color: rgba(0, 242, 254, 0.3);
}

/* --- Mobile Fixes (ဖုန်းအတွက်) --- */
@media (max-width: 768px) {
  .engine-performance {
    width: 95% !important;
    padding: 35px 15px !important;
  }

  .diagram-steps li {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .asp-grid {
    grid-template-columns: 1fr !important; /* ဖုန်းမှာ အပေါ်အောက် ပြောင်းမယ် */
  }

  .monitoring-list {
    grid-template-columns: 1fr !important;
  }

  .p-card h5 {
    font-size: 1.1rem !important;
  }
}
/* ==========================================
   FLOATING BACK TO HOME BUTTON
   ========================================== */

.back-to-home {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #00f2fe 0%, #00ff88 100%);
  color: #000000 !important;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.back-to-home i {
  font-size: 1.1rem;
}

/* Hover လုပ်ရင် ပိုကြီးလာပြီး အရောင်လင်းလာမယ် */
.back-to-home:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.5);
  background: #ffffff;
  color: #000000 !important;
}

/* Mobile Screen မှာဆိုရင် စာသားကိုဖျောက်ပြီး Icon ပဲပြမယ် (နေရာမစားအောင်) */
@media (max-width: 600px) {
  .back-to-home {
    padding: 15px;
    bottom: 20px;
    right: 20px;
  }
  .back-to-home span {
    display: none; /* စာသား "Back to Home" ကို ဖျောက်ထားမယ် */
  }
  .back-to-home i {
    margin: 0;
    font-size: 1.3rem;
  }
}
/* ==========================================
   FOOTER - MARINE PROFESSIONAL STYLE
   ========================================== */

.footer {
  padding: 40px 20px;
  background: transparent; /* နောက်ခံကို လုံးဝ အကြည်ထားမယ် */
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05); /* အပေါ်မှာ မျဉ်းပါးပါးလေးပဲ ထားမယ် */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Social Icons Styling */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: #00f3ff;
  transform: translateY(-5px);
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
}

/* Footer Info & Slogan */
.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; /* စာသားတွေကြား အကွာအဝေး */
  margin-top: 20px;
  flex-wrap: wrap; /* ဖုန်းမှာ နေရာမဆံ့ရင် အလိုအလျောက် ဆင်းပေးမယ် */
}
.footer-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-name {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.footer-divider {
  width: 1px;
  height: 14px;
  background: rgba(0, 243, 255, 0.4);
  display: inline-block;
}
.footer-slogan {
  font-size: 0.8rem;
  font-weight: 500;
  color: #00f3ff;
  text-transform: uppercase;
  letter-spacing: 2px; /* တစ်တန်းတည်းဖြစ်ဖို့ spacing ကို နည်းနည်းလျှော့မယ် */
  opacity: 0.8;
}
/* Mobile Friendly */
@media (max-width: 480px) {
  .footer-info {
    flex-direction: column;
    gap: 8px;
  }
  .footer-divider {
    width: 30px;
    height: 1px; /* ဖုန်းမှာတော့ အလျားလိုက်မျဉ်း ပြန်ဖြစ်သွားမယ် */
    margin: 5px 0;
  }
}

/* ==========================================
   MOBILE PERFECT CENTER ALIGNMENT FIX
   ========================================== */

@media (max-width: 768px) {
  /* ၁။ ဘေးဘောင်တွေ ကျော်မထွက်အောင် Reset လုပ်မယ် */
  body,
  html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* ၂။ Section တိုင်းကို အလယ်ပို့မယ် */
  section,
  .content-section,
  .calculation-topic,
  .indicator-topic,
  .engine-detail,
  .engine-performance {
    width: 92% !important; /* Screen ရဲ့ ၉၂% ပဲယူပြီး ဘေးဘောင် ညီအောင်ထားမယ် */
    max-width: 92% !important;
    margin: 40px auto !important; /* Auto Margin က ဘယ်ညာ အလယ်တည့်တည့်ဖြစ်စေပါတယ် */
    padding: 30px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Content အားလုံးကို အလယ်ဗဟိုညှိမယ် */
    float: none !important;
    left: 0 !important;
  }

  /* ၃။ စာသားတွေအားလုံးကို အလယ်ပို့မယ် */
  .section-text,
  .section-text p,
  .section-text h3,
  .section-text h4 {
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
  }

  /* ၄။ Grid Layout တွေကို ဖုန်းမှာ အပေါ်အောက် ပြောင်းပြီး အလယ်ညှိမယ် */
  .construction-grid,
  .card-grid,
  .analysis-grid,
  .calculation-grid,
  .power-types-grid,
  .asp-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 20px !important;
  }

  /* ၅။ Card တစ်ခုချင်းစီကို အလယ်ညှိမယ် */
  .info-card,
  .ic-card,
  .analysis-box,
  .calc-card,
  .p-card,
  .asp-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* ၆။ ပုံတွေကို အလယ်ပို့မယ် */
  .large-image-container,
  .post-image-container,
  .inner-image {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto 20px auto !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* ၇။ List Items တွေကို အလယ်ညှိမယ် */
  .diagram-steps,
  .monitoring-list,
  .legend-list {
    width: 100% !important;
    padding: 15px !important;
    text-align: left; /* စာကိုတော့ ဖတ်ရလွယ်အောင် ဘယ်ကပ်ထားမယ် */
    margin: 0 auto !important;
  }
}
