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

:root {
  --navy: #1a2e4a;
  --navy-mid: #2b4269;
  --green: #1e5230;
  --green-mid: #256036;
  --blue: #1a4db5;
  --blue-mid: #2b66ea;
  --white: #ffffff;
  --white-70: rgba(255,255,255,0.7);
  --white-50: rgba(255,255,255,0.5);
  --white-20: rgba(255,255,255,0.2);
  --white-10: rgba(255,255,255,0.1);
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0f1a;
  font-family: 'Montserrat', sans-serif;
}

/*LAYOUT*/
.container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/*VIDEO BG*/
.video-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.video-background video,
.video-background .background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(4px);
  transform: scale(1.03);
  z-index: 0;
}

.video-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(10, 20, 40, 0.88) 0%,
      rgba(26, 46, 74, 0.75) 50%,
      rgba(10, 20, 40, 0.60) 100%
    );
  z-index: 1;
  pointer-events: none;
}

.content-layer {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 44px 28px;
  overflow-y: auto; 
  overflow-x: hidden;
}

.content-layer::-webkit-scrollbar {
  width: 8px;
}
.content-layer::-webkit-scrollbar-track {
  background: transparent;
}
.content-layer::-webkit-scrollbar-thumb {
  background: var(--white-20);
  border-radius: 4px;
}
.content-layer::-webkit-scrollbar-thumb:hover {
  background: var(--white-50);
}

/*HEADER*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 72px;
  flex-shrink: 0;
  /* bagong navbar */
  background: linear-gradient(to right, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 0 24px;
  margin-top: 16px; 
  border: 1px solid var(--white-20);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  /* bagong navbar */

  /*border-bottom: 1px solid var(--white-10);*/
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  opacity: 0.9;
}

.brand-text {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.95;
}

/*NAVIGATION*/
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  color: var(--white-70);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: var(--white-10);
}

.nav-links a.active {
  color: var(--white);
  background: var(--white-20);
}

.sidebar-links a.active {
  color: var(--white);
  background: var(--white-20);
}

/*BURGER*/
#burgerMenu {
  display: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

#burgerMenu:hover {
  background: var(--white-10);
}

/*SIDEBAR*/
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: rgba(15, 25, 50, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px 28px;
  border-left: 1px solid var(--white-10);
}

.sidebar.active { right: 0; }

.sidebar-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 44px;
}

.close-btn {
  color: var(--white-70);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.close-btn:hover {
  background: var(--white-10);
  color: var(--white);
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-links a {
  color: var(--white-70);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.sidebar-links a:hover {
  color: var(--white);
  background: var(--white-10);
}

/*for hero paragraphs*/
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-70);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white-50);
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 16px;
  color: #ffffff;
}
.hero h1 {
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}


.btn-outline {
  display: inline-block;
  margin-top: 20px; 
}

.hero p {
  margin-bottom: 20px; 
  line-height: 1.6;    
  color: #ffffff;
}

.media-banner-placeholder {
  width: 100%;
  height: 350px;
  background-color: var(--white-10);
  border: 1px dashed var(--white-50);
  margin: 30px 0;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-50);
  font-size: 14px;
  letter-spacing: 1px;
}

.hero-logos-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px; /* reduce from 100px */

    padding: 20px 50px;
    border-radius: 50px;

    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 4px 15px rgba(0,0,0,.2);

    width: fit-content;
}

.hero-logo {
  max-height: 100px; 
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;

  /*invert logo colors*/
  /*filter: brightness(0) invert(1);*/
}
.hero-logo-main {
  max-height: 150px; 
  opacity: 1;     
}

.hero-logo:hover {
  opacity: 1;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero-logos-wrapper {
    gap: 20px;
  }
  .hero-logo {
    max-height: 40px;
  }
  .hero-logo-main {
    max-height: 55px;
  }
}

.milestone-special {
  max-height: 192px; /*pagadjust sa size ni milestone logo lang*/
}

@media (max-width: 768px) {
  .milestone-special {
    max-height: 65px; 
  }
}

/*ABOUT SUMMARY*/
.about-summary {
  text-align: center;
  max-width: 800px;
  margin: 20px auto 60px auto;
  padding: 0 20px;
  flex-shrink: 0;
}

.about-summary h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.contact-status{
    margin-top:15px;
    padding:12px 16px;
    border-radius:8px;
    font-size:14px;
    font-weight:500;
}

.contact-status.success{
    background:#e8f5e9;
    color:#2e7d32;
}

.contact-status.error{
    background:#ffebee;
    color:#c62828;
}


.about-summary p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white-70);
  margin-bottom: 24px;
}

.btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--white-50);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--navy);
}

/*GALLERY*/
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex-shrink: 0;
}

.card {
  border-radius: 14px;
  overflow: hidden;
  height: 260px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.45);
}

.card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.card.dark-blue .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 46, 74, 0.10) 0%,
    rgba(26, 46, 74, 0.55) 45%,
    rgba(26, 46, 74, 0.97) 100%
  );
}

.card.green .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 82, 48, 0.10) 0%,
    rgba(30, 82, 48, 0.55) 45%,
    rgba(30, 82, 48, 0.97) 100%
  );
}

.card.light-blue .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 77, 181, 0.10) 0%,
    rgba(26, 77, 181, 0.55) 45%,
    rgba(26, 77, 181, 0.97) 100%
  );
}

.card-content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: 0.1px;
}

.card-desc {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--white-70);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.discover-btn {
  background: var(--white-20);
  border: 1px solid var(--white-20);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: 'Montserrat', sans-serif;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.discover-btn:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.4);
}

.multi-btn-footer {
  justify-content: flex-start !important; /* Overrides space-between to align them left */
  gap: 12px;                              /* Creates a clean gap between the buttons */
}

/* Make the Subscribe button stand out on the card */
.subscribe-card-btn {
  background: var(--white);
  color: var(--blue-mid);
  border-color: var(--white);
}

.subscribe-card-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--navy);
}

/* Mobile adjustments so they don't squish */
@media (max-width: 540px) {
  .multi-btn-footer {
    flex-direction: column; 
    align-items: flex-end;  
    gap: 6px;               
  }
}

/*SIDEBAR OVERLAY*/
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0,0,0,0.4);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active { display: block; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  #burgerMenu { display: flex; }

  .content-layer { padding: 0 28px 24px; }

  .hero h1 { font-size: 32px; }
  
  .media-banner-placeholder { height: 250px; }

  .gallery-container { gap: 12px; }

  .card { height: 230px; }
}

@media (max-width: 768px) {
  .content-layer { padding: 0 20px 18px; }

  .hero h1 { font-size: 26px; }

  .hero-eyebrow { margin-bottom: 14px; }

  .card { height: 210px; }

  .card-title { font-size: 12.5px; }

  .card-desc { display: none; }
}

@media (max-width: 540px) {
  html, body { overflow: hidden; }

  .content-layer {
    padding: 0 16px 16px;
  }

  header { height: 56px; flex-shrink: 0; }

  .brand-text { font-size: 11px; letter-spacing: 1px; }

  .logo-img { width: 200px; height: 200px; }

  .hero {
    flex: none;
    min-height: 40vh;
    justify-content: center;
    padding-bottom: 14px;
    padding-top: 20px;
  }

  .hero-eyebrow { display: none; }

  .hero h1 {
    font-size: 18px;
    line-height: 1.28;
    margin-bottom: 5px;
  }

  .hero p { font-size: 11.5px; }

  .media-banner-placeholder {
    height: 160px;
    margin: 20px 0;
  }

  .about-summary {
    margin-bottom: 30px;
    padding: 0;
  }

  .about-summary h2 {
    font-size: 20px;
  }

  .about-summary p {
    font-size: 12px;
  }

  .btn-outline {
    font-size: 10px;
    padding: 8px 18px;
  }

  .gallery-container {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex-shrink: 0;
  }

  .card {
    width: 100%;
    height: auto; 
    min-height: 72px; 
    flex-direction: row;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .card-image {
    position: relative !important;
    inset: auto !important;
    width: 88px;
    height: 100%;
    flex-shrink: 0;
    border-radius: 0;
    z-index: 0;
  }

  .card.dark-blue .card-image::after {
    background: linear-gradient(to right, rgba(26,46,74,0.05), rgba(26,46,74,0.7));
  }
  .card.green .card-image::after {
    background: linear-gradient(to right, rgba(30,82,48,0.05), rgba(30,82,48,0.7));
  }
  .card.light-blue .card-image::after {
    background: linear-gradient(to right, rgba(26,77,181,0.05), rgba(26,77,181,0.7));
  }

  .card-content {
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px; 
    gap: 10px;
    flex: 1;
  }

  .card.dark-blue .card-content { background: var(--navy-mid); }
  .card.green .card-content { background: var(--green-mid); }
  .card.light-blue .card-content { background: var(--blue-mid); }

  .card-title {
    font-size: 11px;
    line-height: 1.3;
    flex: 1;
  }

  .card-desc { display: none; }

  .card-footer { margin-top: 0; flex-shrink: 0; }

  .discover-btn {
    padding: 5px 12px;
    font-size: 9px;
  }
}

/*MOBILE GALLERY Vertical Stack*/
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: 1fr; /* Forces the grid into exactly 1 vertical column */
  }
}

/*Services Page*/

.page-header {
  margin: 40px auto;
  max-width: 800px;
  flex-shrink: 0;
  text-align: center;
  width: 100%;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
  flex-shrink: 0;
}

.service-block {
  background: rgba(15, 25, 50, 0.4);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-block-header {
  padding: 24px;
  border-bottom: 1px solid var(--white-10);
}

.milestone-accent {
  border-top: 4px solid var(--navy-mid);
}

.ams-accent {
  border-top: 4px solid var(--green-mid);
}

.service-block-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.service-block-header p {
  font-size: 12px;
  color: var(--white-70);
  font-style: italic;
}

.service-list li {
  position: relative;
  padding-left: 40px; 
  padding-top: 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 25px;
  font-size: 20px;
  font-weight: bold;
}

.service-list strong {
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.5px;
}

.service-list span {
  font-size: 13px;
  color: var(--white-70);
  line-height: 1.5;
}

.milestone-accent + .service-list li::before {
  color: #82aaff; 
}

.ams-accent + .service-list li::before {
  color: #008000;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .page-header h1 {
    font-size: 24px;
  }
  .service-block-header h2 {
    font-size: 16px;
  }
}

/*Services Accordion — one row expands, the rest minimize, nothing ever scrolls*/
.service-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 420px;
  margin-top: 20px;
  padding: 0 20px 20px;
  overflow: hidden;
}

.service-row {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--white-10);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  overflow: hidden;
  filter: blur(2.5px);
  opacity: 0.45;
  transition: flex-grow 0.7s cubic-bezier(0.25, 1, 0.5, 1), background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
}

.service-row-image {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  transition: width 0.6s ease, height 0.6s ease;
}

.service-row-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}

.service-row-content strong {
  color: var(--white);
  font-size: 12.5px;
  line-height: 1.3;
  letter-spacing: 0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: font-size 0.5s ease;
}

.service-row-content span {
  color: var(--white-70);
  font-size: 12px;
  line-height: 1.55;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.service-row-btn {
  flex-shrink: 0;
  max-width: 0;
  opacity: 0;
  padding: 0;
  background: var(--white-20);
  border: 1px solid var(--white-20);
  color: var(--white);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: max-width 0.5s ease, opacity 0.4s ease, padding 0.5s ease;
}

.service-row-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.service-row:not(.focused):hover {
  filter: blur(0.5px);
  opacity: 0.75;
}

/* Focused (expanded) row — the only one at full size */
.service-row.focused {
  flex-grow: 4;
  filter: blur(0);
  opacity: 1;
}

.service-row.focused .service-row-image {
  width: 84px;
  height: 84px;
}

.service-row.focused .service-row-content strong {
  font-size: 16px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.service-row.focused .service-row-content span {
  opacity: 1;
  max-height: 60px;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.service-row.focused .service-row-btn {
  max-width: 140px;
  opacity: 1;
  padding: 9px 20px;
}

.milestone-accordion .service-row.focused {
  border-color: #1565c0;
  background: rgba(21, 101, 192, 0.1);
  box-shadow: 0 0 0 1px rgba(21, 101, 192, 0.5), 0 12px 28px rgba(21, 101, 192, 0.22);
}

.ams-accordion .service-row.focused {
  border-color: #008000;
  background: rgba(0, 128, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 128, 0, 0.5), 0 12px 28px rgba(0, 128, 0, 0.22);
}

@media (max-width: 540px) {
  .service-accordion {
    height: 360px;
    gap: 6px;
    padding: 0 14px 14px;
  }

  .service-row {
    padding: 0 12px;
    gap: 12px;
  }

  .service-row-image {
    width: 40px;
    height: 40px;
  }

  .service-row.focused .service-row-image {
    width: 64px;
    height: 64px;
  }

  .service-row-content strong {
    font-size: 11.5px;
  }

  .service-row.focused .service-row-content strong {
    font-size: 14px;
  }

  .service-row.focused .service-row-content span {
    font-size: 11px;
  }

  .service-row-btn {
    font-size: 9px;
  }

  .service-row.focused .service-row-btn {
    max-width: 110px;
    padding: 7px 14px;
  }
}

/*Project Tab*/
.projects-wrapper {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 30px;
}

/*Projects Tab Carousel*/
.dual-carousel-container {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.carousel-column {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.track-header {
  font-size: 20px;
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.milestone-text { color: #82aaff; }
.ams-text { color: #4ade80; }

.vertical-scroll-track {
    height: 650px;
    overflow: hidden;
}

/*for animation*/
.projects-track {
  display: flex;
  flex-direction: column;
  gap: 24px; /*added gaps between cardss*/
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); /*animation (gliding)*/
}

/*carousel pause animation*/
.project-card {
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden; 
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: max-content !important;
  min-height: 480px;              
}

/*for mobile responsiveness*/
@media (max-width: 800px) {
  .dual-carousel-container {
    grid-template-columns: 1fr; 
  }
}

/*Project Card Styles*/
.project-card {
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden; 
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 440px; /*para same length lahat ng cards*/

}

.project-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
}

.event-card .description {
  display: none;
}

.project-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-content h3 {
  color: #ffffff;
  font-size: 20px;
  margin: 16px 0 12px 0;
  line-height: 1.3;
}

.project-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/*badges*/
.event-company {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px; 
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff; 
  margin-bottom: 12px; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap; /* Forces text to stay on one line */
  flex-shrink: 0;
}


.milestone-badge {
  background-color: rgba(21, 101, 192, 0.15); 
  color: #82aaff !important; 
  border: 1px solid #1565c0; 
}

.ams-badge {
  background-color: rgba(0, 128, 0, 0.15); 
  color: #4ade80 !important; 
  border: 1px solid #008000; 
}

.om360-badge {
  background-color: rgba(0, 128, 0, 0.15); 
  color: #4ade80 !important; 
  border: 1px solid #008000; 
}

/*About Tab */
.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 0 auto 60px auto; 
  max-width: 1000px;
  width: 100%; 
  flex-shrink: 0;
}

.about-intro {
  background: rgba(15, 25, 50, 0.4);
  border-left: 4px solid var(--white-50);
  padding: 30px;
  border-radius: 0 16px 16px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-intro h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.about-intro p {
  font-size: 15px;
  color: var(--white-70);
  line-height: 1.7;
}

.company-profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.profile-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-card h3 {
  font-size: 24px;
  font-weight: 700;
  border-bottom: 1px solid var(--white-20);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.profile-card h4 {
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-card p {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.6;
  font-style: italic;
}

.profile-card ul {
  list-style-type: square;
  padding-left: 20px;
  color: var(--white-70);
  font-size: 14px;
  line-height: 1.8;
}

/*Mission & Vision*/
.mission-vision-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.mv-block {
  background: linear-gradient(135deg, rgba(26, 46, 74, 0.6) 0%, rgba(15, 25, 50, 0.8) 100%);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
}

.mv-block h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mv-block p {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .company-profiles, .mission-vision-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .about-intro {
    padding: 20px;
  }
  
  .about-intro h2 {
    font-size: 18px;
  }

  .profile-card {
    padding: 20px;
  }
  
  .mv-block {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  
  /* 1. Stack the container vertically */
  .horizontal-timeline {
    flex-direction: column !important;
    gap: 0 !important; 
    padding: 10px 0 !important;
  }

  /* 2. Force the step into a Row (Dot left, Card right) */
  .timeline-step {
    flex-direction: row !important; /* Overrides desktop column */
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-bottom: 40px !important; /* Space to the next card */
    margin-bottom: 0 !important;
  }

  /* 3. Force the Line to be Vertical and on the Left */
  .timeline-step::before {
    width: 2px !important;         /* Forces it to be a thin vertical line */
    height: 100% !important;       /* Pulls the line all the way down to the next dot */
    left: 14px !important;         /* Overrides 'left: 50%' to perfectly center inside the left-side dot */
    top: 15px !important;          /* Starts the line from the middle of the dot */
  }

  /* Hide the tail on the last item */
  .timeline-step:last-child::before {
    display: none !important;
  }

  /* 4. Force the Dot to the Left */
  .timeline-node {
    margin-bottom: 0 !important;   /* Removes the desktop spacing below the dot */
    margin-right: 20px !important; /* Pushes the text card to the right */
    flex-shrink: 0 !important;
    z-index: 2;
  }

  /* 5. Force the Card to fill the Right Side */
  .timeline-card {
    flex: 1 !important;            /* Expands text box to fill remaining right-side space */
    width: auto !important;
    text-align: left !important;   /* Left aligns text for better mobile readability */
    margin-top: -5px !important;   /* Visually aligns the card's top edge with the dot */
  }
}

/*About Tab Milestone*/
.milestone-deep-dive {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
}

.horizontal-timeline-container {
  margin-bottom: 60px;
  width: 100%;
}

.timeline-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--white);
  border-bottom: 1px solid var(--white-10);
  padding-bottom: 16px;
}

.horizontal-timeline {
  display: flex;
  position: relative;
  gap: 24px;
  padding: 10px 10px 20px 10px; 
  overflow-x: auto;
}

.horizontal-timeline::-webkit-scrollbar {
  height: 6px;
}
.horizontal-timeline::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.horizontal-timeline::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 14px; 
  left: 50%; 
  width: calc(100% + 24px); 
  height: 2px;
  z-index: 0;
}

.timeline-step:last-child::before {
  display: none;
}

.track-milestone .timeline-step::before {
  background: #1565c0;
}

.track-ams .timeline-step::before {
  background: #008000;
}

.timeline-step {
  flex: 1;
  min-width: 260px; 
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*Node for timeline in about us tab */
.timeline-node {
  position: relative; 
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0f1932;
  border: 4px solid;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.node-milestone { border-color: #82aaff; }
.node-ams { border-color: #4ade80; }

.timeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.timeline-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.timeline-card p {
  font-size: 13.5px;
  color: var(--white-70);
  line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .timeline-step {
    min-width: 220px; 
  }
  .timeline-card p {
    font-size: 12.5px;
  }
}
/*For Milestone Timeline lang*/
@media (min-width: 1024px) {
  .track-milestone .timeline-step {
    min-width: 0; 
    flex: 1 1 0; 
  }
  .track-milestone::-webkit-scrollbar {
    display: none; 
  }
}

/*For milestone cards*/
.track-milestone .timeline-step {
  min-width: 0; 
  flex: 1 1 0;  
}

@media (min-width: 1024px) {
  .track-milestone::-webkit-scrollbar {
    display: none;
  }
}

/*Contact Tab*/
.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /*pinaltan to three columns para same width lahat ng cards*/
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

/* Social Hub Layout */
.social-hub {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.social-card {
  flex: 1;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.social-card h3 {
  color: #ffffff;
  font-size: 18px;
  margin: 16px 0;
}

.social-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  line-height: 1.5;
}

.social-btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid;
}

.btn-milestone {
  border-color: #1565c0;
  color: #82aaff;
}

.btn-milestone:hover {
  background: #1565c0;
  color: #ffffff;
}

.btn-ams {
  border-color: #008000;
  color: #4ade80;
}

.btn-ams:hover {
  background: #008000;
  color: #ffffff;
}

@media (max-width: 768px) {
  .social-hub { flex-direction: column; align-items: center; }
}

.milestone-text {
  color: #82aaff;
}

.ams-text {
  color: #008000;
}

.company-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-company {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  padding: 20px;
}

.contact-company h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--white-10);
  padding-bottom: 10px;
}

.info-block {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.3s ease;
}

.info-block:hover {
  background: rgba(0, 0, 0, 0.4);
}

.milestone-border {
  border-left: 3px solid #82aaff;
}

.ams-border {
  border-left: 3px solid #008000; 
}

.info-block strong {
  font-size: 11px;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.info-block span {
  font-size: 13px;
  color: var(--white-70);
  line-height: 1.6;
}

.highlight-email {
  font-weight: 600;
  font-size: 14px !important;
  margin-bottom: 4px;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  padding: 24px;
}

.contact-form-container h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.form-desc {
  font-size: 13px;
  color: var(--white-70);
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--white-70);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  background: rgba(15, 25, 50, 0.6);
  border: 1px solid var(--white-20);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: var(--white-20);
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--white-70);
  background: rgba(15, 25, 50, 0.9);
}

.input-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button*/
.btn-submit {
  margin-top: 10px;
  background: var(--white);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-family: 'Montserrat', sans-serif;
}

.btn-submit:hover {
  background: var(--white-70);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .company-cards-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .contact-company {
    padding: 20px;
  }
  
  .contact-form-container {
    padding: 20px;
  }
}

/*Google Maps*/
.map-section {
  margin-top: 60px;
  width: 100%;
  padding: 0 20px; 
  box-sizing: border-box;
}

/*Admin Posts/Events Section*/
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 100%; 
  padding: 0 20px; 
  margin: 0 auto;
}

.carousel-container {
  width: 100%;
  max-width: 100%; 
  margin: 0 auto;
  overflow: hidden; 
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 1s ease-in-out; 
}

.event-card {
  min-width: 400px; 
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.event-modal-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 26, 0.9); 
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.event-modal-content {
  background: #0f1932; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  width: 90%;
  max-width: 1000px;
  height: 80vh; 
  max-height: 600px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.event-modal-overlay.active .event-modal-content {
  transform: scale(1); 
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: background 0.2s;
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-left {
  position: relative; 
  overflow: hidden;   
  flex: 1.5;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-left img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  background-color: #000; 
}

.modal-right {
  flex: 1; 
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
/*for cards in event tab once clicked*/
.modal-right .modal-meta {
  display: flex;
  flex-direction: column;  
  align-items: flex-start;
  gap: 8px;              
  margin-bottom: 20px;
  padding-right: 40px;     
}

@media (max-width: 800px) {
  .event-modal-content {
    flex-direction: column;
    height: auto;       
    max-height: 90vh;  
    overflow-y: auto;   
  }

  .modal-left {
    flex: none;
    height: 220px; 
    width: 100%;
  }

  .modal-right {
    flex: none;
    padding: 24px 20px; 
    overflow-y: visible; 
  }

  .modal-right h2 {
    font-size: 24px;
  }
}

#modalDate {
  color: rgba(255, 255, 255, 0.8);
}

.modal-right h2 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.modal-right .location {
  font-size: 14px;
  color: #82aaff;
  font-weight: 600;
  margin-bottom: 20px;
}

.modal-divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.modal-right .description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/*EVENTS TAB MOBILE RESPONSIVENESS FIX */
@media (max-width: 768px) {
  .event-card {
    min-width: 400px; 
    max-width: 100%;
  }

  .event-card .card-content {
    flex-direction: column !important; 
    align-items: flex-start !important;
    padding: 20px;
    gap: 0;
  }

  .event-card .card-content h3,
  .event-card .card-content .location,
  .event-card .card-content .description {
    white-space: normal;
    width: 100%;
  }
  
  .event-card .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
}

/*Image Sizes mobile responsiveness*/
img {
  max-width: 100%;
  height: auto;
}

/*event card cover image fix*/
.event-card img,
.event-card .project-image,
.project-card img,
.project-card .project-image {
  width: 100% !important;
  height: 240px !important; 
  object-fit: cover !important; 
  display: block !important;
  
  background-size: cover !important;
  background-position: center !important;
  
  border-radius: 12px 12px 0 0 !important; 
}

.event-card, .project-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.card-meta {
  display: flex;
  flex-direction: column;  
  align-items: flex-start;
  gap: 12px;               
  margin-bottom: 7px;
}

.date {
  font-size: 0.85rem;
  opacity: 0.8; 
  white-space: nowrap;
}

.company-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
  white-space: nowrap; 
  flex-shrink: 0;
}


.pill-milestone {
  background-color: rgba(21, 101, 192, 0.15); 
  color: #82aaff !important; 
  border: 1px solid #1565c0; 
}

.pill-ams {
  background-color: rgba(0, 128, 0, 0.15); 
  color: #4ade80 !important; 
  border: 1px solid #008000; 
}

.pill-om360 {
  background-color: rgba(0, 128, 0, 0.15); 
  color: #4ade80 !important; 
  border: 1px solid #008000; 
}

.card-content h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
}

.card-content .location {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #cccccc; 
}

.card-content .description {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

.card-content { 
  padding: 20px; 
  color: #ffffff;
}

.event-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
  background: #ffffff;
  color: #0b1320; 
  border-color: #ffffff;
  font-weight: 600;
}

.event-card.hidden {
  display: none !important;
}

/*auto swipe-events*/
@keyframes scroll {
  0% { transform: translateX(0); }
  50% { transform: translateX(-430px); } 
  100% { transform: translateX(0); }
}

.om360-badge {
  background: rgba(0, 128, 0, 0.15);
  color: #4ade80;
  border: 1px solid #008000;
}

.events-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
  gap: 24px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .floating-subscribe-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 10px;
  }
}

/*MODAL GALLERY & 9:16 VIDEO HANDLING*/
.modal-media-item {
  display: none; 
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.modal-media-item.active {
  display: block;
  animation: fadeIn 0.4s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/*Gallery Navigation Arrows*/
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.3s, transform 0.2s;
}

.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev { left: 15px; }
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  right: 15px; 
  left: auto; 
  
  z-index: 10; 
  background: rgba(0, 0, 0, 0.5); 
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
}

.gallery-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px; 
  z-index: 10;
  cursor: pointer;
}


@media (max-width: 800px) {
  .modal-left {
  flex: 1.5; 
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  
  position: relative; 
}
}

.social-icons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: auto; 
  padding: 8px 0;
}

.social-icon-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/*Milestone*/
.social-icon-link.accent-milestone:hover {
  color: #ffffff;
  background: var(--blue-mid, #1a4db5);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 77, 181, 0.4);
}

/*AMS*/
.social-icon-link.accent-ams:hover {
  color: #ffffff;
  background: var(--green, #28a745); 
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

/*Active touch state*/
.social-icon-link:active {
  transform: translateY(-1px) scale(0.97);
}

.vertical-scroll-track {
  overflow-y: auto !important; 
  overflow-x: hidden !important; 
  
  scrollbar-width: none !important; 
  -ms-overflow-style: none !important; 
}

.vertical-scroll-track::-webkit-scrollbar {
  display: none !important;
}