@charset "UTF-8";
@import 'animate.min.css';

:root {
  --background: #a4b8e6; 
  --foreground: #072b56;    
  --shadow-text: 0 14px 28px rgba(0, 0, 0, 0.25);
  --color-hover: #ff4000;
  --color-text: #051f3f;
  --color-text-dark: #6591c6; 
  --aero: rgba(255, 255, 255, 0.15);
  --white: #fff;
  --magnet: rgb(249, 136, 102, 0.5);
}

html {
  font-size: 12px;
  scrollbar-gutter: stable;
}

html, select, .nav-menu {
    scrollbar-color: var(--foreground) var(--aero);
    scrollbar-width: thin;
}

html::-webkit-scrollbar,
select::-webkit-scrollbar,
.nav-menu::-webkit-scrollbar {
    width: 0.83rem;
}

html::-webkit-scrollbar-track,
select::-webkit-scrollbar-track,
.nav-menu::-webkit-scrollbar-track {
    background: var(--aero);
}

html::-webkit-scrollbar-thumb,
select::-webkit-scrollbar-thumb,
.nav-menu::-webkit-scrollbar-thumb {
    background-color: var(--foreground);
    border-radius: 0.5rem;
    border: 0.16rem solid var(--aero);
}

body {
  top: 0 !important;
  margin: 0;
  padding: 0;  
  height: 100%;
  color: var(--color-text);
  background-color: var(--foreground);  
  overflow: hidden;
  z-index: 0;    
}

main {
  color: var(--color-text);
  overflow: hidden;
  opacity: 0;
}

main.loaded, body.loaded {
  overflow: auto;
  opacity: 1;
  animation: none;
  background-color: var(--background);
}

#content {
  position: relative;
  min-height: 85vh; 
  overflow: hidden !important; 
  margin-top: -4rem;   
  margin-bottom: 4rem;  
  z-index: 100;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 4rem);
  mask-image: linear-gradient(to bottom, transparent 0%, black 4rem);
}

/* Loader */
.ip-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 99;
  pointer-events: none;
  background: var(--foreground);
  overflow: hidden;
}

.ip-container.loaded {
  animation: slideUpContainer 1s ease forwards;
  animation-delay: 4s;
}

.ip-header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeOutUp 1s ease forwards;
  animation-delay: 4s; 
}

.ip-header h1 {
  font-family: "Century Gothic", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-text-dark);
  text-align: center;
  opacity: 0;
  transform: translateY(6.66rem);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s;
  text-shadow: var(--shadow-text);
}

.ip-header h2 {
  font-family: "Comic Sans MS", cursive;
  font-style: italic;
  font-size: 2rem;
  color: var(--color-hover);
  text-align: center;
  opacity: 0;
  transform: translateY(80px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.7s;
  text-shadow: var(--shadow-text);
}

.ip-center {
  position: relative;
  width: 10.83rem;
  height: 10.83rem;
  margin-top: 3.33rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ip-logo {
  position: absolute;
  width: 10.83rem;
  height: 10.83rem;
  opacity: 0;
  transform: translateY(80px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.7s;
}

.ip-logo img {
  width: 8.75rem;
  height: auto;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.ip-loader {
  position: absolute;
  width: 10.83rem;
  height: 10.83rem;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 2.9s;
}

.ip-loader svg {
  width: 10.83rem;
  height: 10.83rem;
  fill: none;
}

.ip-loader-circlebg {
  stroke: var(--foreground);
  stroke-width: 0.16rem;
}

.ip-loader-circle {
  stroke: var(--color-hover);
  stroke-width: 0.16rem;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: dashFill 1s ease forwards;
  animation-delay: 3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6.66rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes dashFill {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeOutUp {
  to {
    transform: translateY(-100%);
  }
}

@keyframes slideUpContainer {
  to {
    transform: translateY(-100%);
  }
}
/* End of Loader */

/* Header */ 
.nimec-header {  
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 5.83rem;
  background-color: var(--foreground);
  box-shadow: var(--shadow-header);
  display: flex;
  justify-content: flex-start;
  align-items: center;  
  z-index: 1000;
  opacity: 0;    
}

.nimec-header.loaded {
  opacity: 1;
  animation: slideInDown;
  animation-duration: 1s;
}

.nimec-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%; 
  margin: 0 auto;
  padding: 0 3.33rem; 
}

.nimec-logo {
  height: 4.58rem;
  width: auto;
  pointer-events: none;
}

.burger-menu {
  position: relative;
  width: 2.5rem;
  height: 1.83rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;  
  cursor: pointer;
}

.burger-menu span {
  height: 0.25rem;
  background: var(--color-text-dark);
  border-radius: 0.16rem;
  transition: all 0.3s ease;
}

.burger-menu:hover span {
  background: var(--color-hover);
}

.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(0.42rem, 0.42rem);
  background: var(--color-hover);
}

.burger-menu.open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(0.66rem, -0.66rem);
  background: var(--color-hover);
}

.nav-menu {
  position: fixed;
  top: 6.66rem; 
  bottom: 11.66rem;
  left: 50%;
  margin-left: -12.5rem; 
  width: 23.33rem;  
  background: var(--foreground); 
  backdrop-filter: blur(1rem); 
  -webkit-backdrop-filter: blur(1rem);
  text-align: center;
  padding: 2.5rem 1.66rem;  
  z-index: 900;
  box-shadow: var(--shadow-menu);
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 0.33rem;
  pointer-events: none; 
  visibility: hidden;    
}

.nav-menu.open {       
  visibility: visible;
  animation: bounceInLeft 2s;  
  pointer-events: auto;
}

.nav-menu.close {   
  visibility: visible;
  animation: bounceOutLeft 2s;  
}

ul.menu-list {
  padding: 10px 0;
  margin: 0;
  border-left: 1px solid var(--color-hover);
  border-right: 1px solid var(--color-hover);
}

ul.menu-list > li {
  display: block;
  margin-left: -0.83rem;
  margin-right: -0.83rem;
  border-bottom: 0.08rem solid var(--color-hover);
  position: relative;
  font-weight: bold;
  font-size: 1.16rem;  
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  color: var(--color-text-dark);
}

ul.menu-list > li:first-child {
  border-top: 0.08rem solid var(--color-hover);
}

ul.menu-list > li::before {
  position: absolute;
  top: 0.83rem;
  left: 0.83rem;    
}

ul.menu-list > li:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0.08rem;
  top: 50%;
  left: 0.83rem;
  background-color: var(--color-hover);
  transition: width 0.3s ease;  
  pointer-events: none;
}

ul.menu-list > li.active::after,
ul.menu-list > li:hover::after {
  width: 2rem;
}

ul.menu-list > li > a {
  display: block !important;
  padding: 0.83rem 2.08rem 0.33rem;
  color: var(--menu-list);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  position: relative;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

ul.menu-list > li.active > a,
ul.menu-list > li > a:hover {  
  color: var(--color-hover);
}

ul.menu-list > li > a span {
  display: inline-block;
  position: relative;
}

ul.menu-list > li > a span em {
  position: relative;
  font-style: normal;
}

li.menu-item-has-children > a:after {
  content: "🔻";
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 800;
  color: var(--color-hover);
  text-align: center;
  line-height: 0.83rem;
  padding-left: 1px;
  font-size: 1.16rem;
  top: 1.66rem;
  right: 0.83rem;
  background-color: var(--foreground);  
}

li.active.menu-item-has-children > a:after {
  content: "🔺";    
}

ul.menu-list > li.active.menu-item-has-children::after {
  width: 0;
}

ul.sub-menu {
  padding: 0.83rem 1.66rem;
  margin: 0;
  border-top: 0.08rem solid var(--color-hover);
  display: none;
}

li.menu-item-has-children.active > ul.sub-menu {
  display: block;
}

ul.sub-menu li {
  position: relative;
  padding-left: 0;
  display: block;
  background-color: var(--foreground);
}

ul.sub-menu > li:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0.08rem;
  top: 50%;
  left: -0.83rem;
  background-color: var(--color-hover);
  transition: width 0.3s ease;  
  pointer-events: none;
}

ul.sub-menu > li.active::after,
ul.sub-menu > li:hover::after {
  width: 2rem;
}

ul.sub-menu li a {
  padding: 0.33rem 0.83rem;
  display: block;
  color: var(--color-text-dark);
  font-size: 1rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

ul.sub-menu li a:hover,
ul.sub-menu li.active a {
  color: var(--color-hover);
}
/* End of Header */

/* Sationary Content */
.magnetic-aura {
  position: relative;
  height: 25rem; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--background); 
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.magnetic-aura::before,
.magnetic-aura::after,
.aura-layer {
  content: '';
  position: absolute;
  inset: -16.66rem;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(6.66rem); 
  mix-blend-mode: multiply; 
  pointer-events: none;
}

.magnetic-aura::before {
  background-image: radial-gradient(circle at 20% 80%, var(--magnet) 0%, transparent 70%);
  animation: aurora-flow 20s linear infinite;
  opacity: 0.7;
}

.magnetic-aura::after {
  background-image: radial-gradient(circle at 80% 20%, var(--foreground) 0%, transparent 60%);
  animation: aurora-flow 25s linear infinite reverse;
  opacity: 0.4;
}

.aura-layer {
  background-image: radial-gradient(circle at 50% 50%, var(--magnet) 0%, transparent 50%);
  animation: aurora-flow 18s ease-in-out infinite alternate;
  opacity: 0.5;
}

@keyframes aurora-flow {
  0% { transform: rotate(0deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(1.4); }
  100% { transform: rotate(360deg) scale(1.1); }
}

.magnetic-content {
  position: relative;
  padding: 1rem;
  z-index: 10;
  text-align: center;
  animation: slideInDown 1.5s;
  color: var(--white);
}

.magnetic-title {
  font-size: 3rem;
  margin-bottom: 0.5em;
  letter-spacing: 1px;
  filter: drop-shadow(0 2px 4px rgba(255,255,255,0.3));
}

.magnetic-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.75em;
  line-height: 1.4;
  filter: drop-shadow(0 2px 4px rgba(255,255,255,0.3));
}

.btn-primary {
  background-color: var(--color-hover);
  padding: 1.33rem 2.66rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  border-radius: 0.33rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
}
/* End of Sationary Content */

/* Float Content */
.page-content {
  position: relative;  
  top: 2rem;
  padding: 0 1.5rem;
  animation: fadeInUp 1.5s;
  display: flex;
  flex-direction: column;
  align-items: center;    
}

.page-card {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 1rem auto;
  background: rgba(255, 255, 255, 0.05); 
  backdrop-filter: blur(1.25rem); 
  -webkit-backdrop-filter: blur(1.25rem);
  border: 0.08rem solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0.666rem 2.666rem rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  transition: transform 0.3s ease;  
}

.page-text {
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-text p {
  color: var(--color-text);
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem; 
  line-height: 1;
  text-align: justify;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
  margin: 0;
  text-shadow: var(--shadow-text);
}

.page-text h3 {
  font-size: 1.83rem;
  color: var(--color-hover);
  margin-bottom: 0.42rem;
  margin-top: 0.42rem;
}

.page-image, .page-image-v {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.page-image img {
    width: 18rem;   
    height: 9rem;    
    object-fit: cover;
    filter: drop-shadow(0 0 0.833rem rgba(255, 255, 255, 0.2));
    box-shadow: 0 0.666rem 2.666rem rgba(0, 0, 0, 0.1);
}

.page-image-v img {
    width: 18rem;   
    height: 26rem;    
    object-fit: cover;
    filter: drop-shadow(0 0 0.833rem rgba(255, 255, 255, 0.2));
    box-shadow: 0 0.666rem 2.666rem rgba(0, 0, 0, 0.1);
}

.page-content a {
  color: #051f3f;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.166rem; 
  transition: color 0.3s ease;
}

.page-content a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.166rem; 
  background-color: #ff4000;
  transition: width 0.3s ease;
}

.page-content a:hover {
  color: #ff4000;
}

.page-content a:hover::after {
  width: 100%;
}
/* End of Float Content */

/* Footer */
.nimec-footer {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7rem;
  background-color: var(--foreground);
  color: var(--color-text-dark);
  font-family: "Montserrat", sans-serif;  
  visibility: hidden;
  transform: translateY(5.83rem);
  transition: all 1s ease-in-out;
  z-index: 1000;
  box-shadow: var(--shadow-header);  
}

.nimec-footer.loaded {
  visibility: visible;
  transform: translateY(0);
}

.footer-container {
  width: 100%;
  height: 7rem;  
  margin: 0 auto;  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 1.66rem; 
  margin-top: 1rem; 
}

.social-icons a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  width: 2rem; 
  height: 2rem;
  padding: 0.2rem;
  border: 0.083rem solid var(--color-text-dark);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  filter: drop-shadow(0 0 0 transparent); 
}

.social-icons a:hover img {
  transform: scale(1.2) translateY(-0.12rem);  
  border-color: var(--color-hover);  
  background: rgba(255, 64, 0, 0.1); 
  filter: drop-shadow(0 0 8px rgba(255, 64, 0, 0.6));
}

.footer-copy {
  font-size: 1rem;  
  font-family: "Montserrat", sans-serif;
  margin-bottom: 2rem;
}


/* End of Footer */

/* Mobile */
@media (max-width: 1023px) {
  html {
    font-size: 8px;
  }
  .nav-menu {
    top: 12rem; 
    bottom: 26rem;
  }
  .page-card {
    flex-direction: column;
  }
} 
