/* ==========================================================================
   METASOFT 2026 - Reusable Glass Components & Layout Engine
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Floating Liquid Glass Navigation Dock & Dual Branding
   -------------------------------------------------------------------------- */
.nav-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  transition: transform var(--transition-smooth);
}

.nav-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  height: var(--nav-height);
  padding: 0 28px;
  background: var(--glass-surface);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-smooth);
}

.nav-header.scrolled .nav-dock {
  height: 60px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.brand-group,
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 320px;
  color: var(--text-primary);
  font-weight: 700;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.brand-group:hover,
.brand-logo:hover {
  transform: translateY(-1px);
  color: var(--accent-primary);
}

.brand-logo-img {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--glass-border);
  flex-shrink: 0;
  margin: 0 2px;
}

.brand-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-smooth);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 60%;
}


/* mobile slide bar hover underline corrected */
/* Mobile drawer underline alignment */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  z-index: 1001;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);

  border-left: 1px solid var(--glass-border);

  padding: 90px 32px 32px;

  display: flex;
  flex-direction: column;
  gap: 16px;

  transition: right 0.4s ease-in-out;
}

.mobile-drawer.open {
  right: 0;
}

/* Mobile drawer link styles */
.mobile-drawer .nav-link {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding: 8px 0;
}

.mobile-drawer .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
  transform: none;
  transition: width var(--transition-smooth);
}

.mobile-drawer .nav-link:hover::after,
.mobile-drawer .nav-link.active::after {
  width: 100%;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  width: 120px;
  transition: width var(--transition-smooth), background var(--transition-fast);
}

.search-input-wrapper:focus-within {
  width: 240px;
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--accent-primary);
}

.search-input-wrapper input {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-left: 8px;
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}



/* --------------------------------------------------------------------------
   2. Crisp Parallax Hero Systems
   -------------------------------------------------------------------------- */
.hero-parallax-container,
.about-parallax-hero {
  position: relative;
  width: 100vw;
  height: 80vh;
  min-height: 550px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
 
}

.hero-bg-layer,
.about-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 125%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: none;
  transform: translateY(0px);
  will-change: transform;
  z-index: 1;
}

.hero-bg-layer {
  background-image: url('../images/soa-campus.png');
}

.about-bg-layer {
  background-image: url('../images/ITER+GATE-4.webp');
}

.hero-bg-layer::after,
.about-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.20) 0%,
    rgba(10, 15, 30, 0.40) 60%,
    var(--bg-main) 100%
  );
  pointer-events: none;
}

.hero-glass-card,
.about-hero-card {
  margin-top: 89px;
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 80%;
  padding: 5px 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 36px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: cardFadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/* changed glass card */
.hero-glass-card{
  height: 480px;
}
/* .about-hero-card update */
.about-hero-card{

    width: min(90%, 900px);

    min-height: 460px;

    padding: 60px 50px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;

    background:rgba(255,255,255,.28);
    backdrop-filter:blur(30px) saturate(180%);
    -webkit-backdrop-filter:blur(30px) saturate(180%);

    border:1px solid rgba(255,255,255,.45);
    border-radius:36px;

    box-shadow:
        0 30px 60px rgba(0,0,0,.12),
        inset 0 1px 0 rgba(255,255,255,.6);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-shadow: 0 6px 24px rgba(255, 255, 255, 0.25);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: black;
  max-width: 650px;
  margin: 0 auto 18px;
  line-height: 1.7;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
}

.page-hero {
  padding: 150px 0 54px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   3. Single-Row Snap-and-Hold Glass Card Slider
   -------------------------------------------------------------------------- */
.snap-slider-container {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 30px 0 50px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.snap-slider-container::-webkit-scrollbar {
  display: none;
}

.snap-track {
  display: flex;
  gap: 32px;
  padding: 0 calc(50vw - 160px);
  width: max-content;
}
.snap-card {
  scroll-snap-align: center;
  width: 320px;
  flex-shrink: 0;

  transform: scale(0.90) translateY(8px);
  opacity: 0.65;
  filter: blur(2px);

 transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: transform;
}

.snap-card.is-active {
  transform: scale(1.08) translateY(0);
  opacity: 1;
  filter: blur(0);
  box-shadow: 0 30px 60px rgba(0, 122, 255, 0.22);
}
.id-card-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  padding: 40px 24px 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 122, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.id-card-glass::before {
  content: "";
  position: absolute;
  top: 14px;
  width: 48px;
  height: 6px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.id-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin-top: 10px;
  margin-bottom: 18px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), #5856D6);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25);
}

.id-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
}

.id-role-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0, 122, 255, 0.12);
  border: 1px solid rgba(0, 122, 255, 0.25);
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.id-card-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.id-card-dept {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.id-card-inst {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   4. Realigned Conference Schedule Timeline
   -------------------------------------------------------------------------- */
.schedule-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.schedule-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.schedule-tab-btn.active,
.schedule-tab-btn:hover {
  background: var(--accent-primary);
  color: var(--text-on-dark);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.timeline-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-panel.tab-hidden {
  display: none;
}

.timeline-item-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--glass-surface);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.timeline-item-card:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.40);
}

.time-slot-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.time-text {
  font-weight: 800;
  color: var(--accent-primary);
  font-size: 1.05rem;
}

.location-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.session-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.session-info p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.session-speaker {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   5. Gallery Alignment Grid
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.gallery-item {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  background: var(--glass-surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease-apple);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(10, 15, 30, 0.85) 0%, transparent 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   6. Standard Glass Cards, Tables & Buttons
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--glass-surface);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 30px 60px rgba(0, 122, 255, 0.12);
}

.glass-card h3,
.glass-card h4 {
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.glass-card p,
.glass-card li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.glass-card .btn-apple {
  margin-top: 16px;
}

.glass-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.table-responsive{

    width:100%;

    overflow-x:auto;

    -webkit-overflow-scrolling:touch;
}

.glass-table{

    min-width:520px;
}

.glass-table th, .glass-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.glass-table th {
  font-weight: 600;
  color: var(--accent-primary);
}

.btn-apple,
.download-glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
  color: var(--text-on-dark);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: all var(--transition-fast);
  font-family: inherit;
  line-height: 1.2;
}

.btn-apple:hover,
.download-glass-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
}

.download-glass-btn {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  box-shadow: none;
}

.download-glass-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   7. Layout Grids & Universal Global Footer
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.global-footer {
  margin-top: 100px;
  padding: 50px 0 30px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(40px);
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 30px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 20px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.archive-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.archive-badge:hover {
  background: var(--accent-primary);
  color: var(--text-on-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .grid-3, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-logo-img { height: 24px; }
  .brand-text { font-size: 0.88rem; }
}

@media (max-width: 768px) {
  .nav-links, .search-container { display: none; }
  .mobile-toggle { display: block; }
  .grid-3, .grid-2, .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-glass-card, .about-hero-card { padding: 36px 20px; }
  .timeline-item-card { grid-template-columns: 1fr; gap: 8px; }
  .page-hero { padding: 120px 0 36px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
/* Sponsorship Tier Grid & Cards */
.sponsorship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  padding: 32px 24px;
}

.sponsor-tier-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0, 122, 255, 0.12);
  border: 1px solid rgba(0, 122, 255, 0.25);
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 12px;
}

.sponsor-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.sponsor-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.sponsor-benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.sponsor-benefit-list li {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sponsor-benefit-list li::before {
  content: "✓";
  color: var(--accent-primary);
  font-weight: 800;
}

/* added styles for previous ::view-transition-old */
/* Previous Editions */
.previous-editions{
    margin-top:28px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.previous-editions h4{
    font-size:15px;
    font-weight:600;
    color:#222;
    margin-bottom:14px;
}

.archive-links{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.archive-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:10px 18px;

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

    border:1px solid rgba(255,255,255,.6);
    border-radius:50px;

    color:#222;
    text-decoration:none;
    font-size:12px;
    font-weight:500;

    transition:.3s ease;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.archive-badge svg{
    flex-shrink:0;
}

.archive-badge:hover{
    transform:translateY(-3px);
    background:#fff;
    color:#222;
    box-shadow:0 12px 24px rgba(0,0,0,.15);
}

/* Responsive */
@media (max-width:768px){

    .hero-glass-card{
        height:auto;
        padding:30px 20px;
    }

    .archive-links{
        flex-direction:column;
        width:100%;
    }

    .archive-badge{
        width:220px;
        justify-content:center;
    }

}

/* testing responsive */
/* iPhone SE and other short screens */
/* =====================================================
   LARGE LAPTOP (1200px)
===================================================== */
@media (max-width:1200px){

    .hero-parallax-container{
        padding:60px 20px;
    }

    .hero-glass-card{
        width:90%;
        min-height:78vh;
        padding:35px;
    }

    .hero-title{
        font-size:3.3rem;
    }

    .hero-big-logo{
        width:90px;
    }

}


/* =====================================================
   TABLET
===================================================== */
@media (max-width:992px){

    .hero-parallax-container{
        min-height:100vh;
        padding:60px 20px;
        align-items:center;
    }

    .hero-glass-card{
        width:92%;
        min-height:75vh;
        padding:30px 25px;
        border-radius:30px;
    }

    .hero-title{
        font-size:3rem;
    }

    .hero-subtitle{
        font-size:1rem;
        line-height:1.6;
    }

    .hero-big-logo{
        width:80px;
    }

}


/* =====================================================
   MOBILE
===================================================== */
@media (max-width:768px){

    .hero-parallax-container{
        min-height:100vh;
        padding:50px 15px;
        align-items:center;
    }

    .hero-glass-card{
        width:95%;
        min-height:72vh;
        padding:25px 20px;
        border-radius:25px;
    }

    .hero-title{
        font-size:2.4rem;
    }

    .hero-subtitle{
        font-size:.95rem;
        line-height:1.6;
    }

    .hero-logos-container{
        gap:15px;
    }

    .hero-big-logo{
        width:70px;
    }

    .hero-logo-divider{
        height:50px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
        gap:12px;
    }

    .hero-buttons .btn-apple{
        width:230px;
    }

    .archive-links{
        flex-direction:column;
        gap:10px;
    }

}


/* =====================================================
   SMALL PHONES
   iPhone SE / Galaxy S8 / Pixel
===================================================== */
@media (max-width:390px){

    .hero-parallax-container{
        padding:35px 10px;
    }

    .hero-glass-card{
        width:96%;
        min-height:70vh;
        padding:18px 15px;
        border-radius:20px;
    }

    .breadcrumb{
        font-size:.8rem;
    }

    .hero-big-logo{
        width:55px;
    }

    .hero-logo-divider{
        height:40px;
    }

    .hero-title{
        font-size:1.9rem;
        margin:8px 0;
    }

    .hero-subtitle{
        font-size:.9rem;
        line-height:1.5;
    }

    .hero-buttons{
        margin-top:18px;
    }

    .hero-buttons .btn-apple{
        width:100%;
        max-width:220px;
        padding:10px 16px;
    }

    .previous-editions{
        margin-top:18px;
    }

    .archive-badge{
        font-size:.85rem;
        padding:8px 14px;
    }

}


/* =====================================================
   SHORT HEIGHT DEVICES
===================================================== */
@media (max-height:700px){

    .hero-parallax-container{
        padding:30px 15px;
    }

    .hero-glass-card{
        min-height:85vh;
        padding:20px;
    }

    .hero-big-logo{
        width:55px;
    }

    .hero-title{
        font-size:2rem;
    }

    .hero-subtitle{
        margin-bottom:15px;
    }

    .hero-buttons{
        margin-top:15px;
    }

}


/* =====================================================
   VERY SHORT HEIGHT
   (Landscape / DevTools)
===================================================== */
@media (max-height:500px){

    .hero-parallax-container{
        padding:20px 10px;
        min-height:auto;
    }

    .hero-glass-card{
        width:96%;
        min-height:auto;
        padding:15px;
    }

    .breadcrumb{
        font-size:.75rem;
    }

    .hero-big-logo{
        width:45px;
    }

    .hero-logo-divider{
        height:30px;
    }

    .hero-title{
        font-size:1.5rem;
    }

    .hero-subtitle{
        font-size:.8rem;
        line-height:1.4;
    }

    .hero-buttons .btn-apple{
        padding:8px 14px;
        font-size:.8rem;
    }

    .archive-badge{
        font-size:.75rem;
        padding:6px 12px;
    }

}
/* Nest Hub & short landscape screens */
@media (min-width: 900px) and (max-width: 1100px) and (max-height: 700px) {

    .hero-parallax-container{
        padding: 80px 20px 30px;
        align-items: flex-start;
    }

    .hero-glass-card{
        min-height: 100%;
        width: 92%;
        padding: 25px 30px;
    }

    .hero-title{
        font-size: 2.7rem;
    }

    .hero-big-logo{
        width: 70px;
    }

}

/* =====================================================
   Tablet & Small Laptop Navigation
===================================================== */
@media (max-width:1100px){

    .nav-dock{
        justify-content:space-between;
        padding:14px 20px;
    }

    .brand-group{
        flex-shrink:0;
    }

    .brand-logo-img{
        height:34px;
        width:auto;
    }

    .brand-text{
        font-size:0.95rem;
    }

    /* Hide desktop navigation */
    .nav-links{
        display:none;
    }

    /* Hide search bar */
    .search-container{
        display:none;
    }

    /* Show hamburger */
    .mobile-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
    }
}

/* =====================================================
   iPad Pro / Surface Pro / Large Tablets
===================================================== */
@media (min-width:900px) and (max-width:1100px) and (min-height:1200px){

    .hero-parallax-container{
        padding-top:140px;
        padding-bottom:60px;
        min-height:auto;
    }

    .hero-glass-card{
        width:88%;
        min-height:auto;
        padding:90px 35px;
        margin:0 auto;
        height: 700px;
    }

    .hero-title{
        font-size:2.8rem;
    }

    .hero-big-logo{
        width:75px;
    }
}

/* =====================================================
   Nest Hub / Short Landscape Displays
===================================================== */
@media (min-width:900px) and (max-width:1100px) and (max-height:700px){

    .hero-parallax-container{
        min-height:auto;
        height:auto;
        padding:90px 20px 30px;
        align-items:flex-start;
    }

    .hero-glass-card{
        width:92%;
        min-height:auto;
        height:auto;
        padding:22px 28px;
        margin: 25px auto;
    }

    .hero-title{
        font-size:2.3rem;
        margin:10px 0;
    }

    .hero-subtitle{
        font-size:0.9rem;
        line-height:1.5;
    }

    .hero-big-logo{
        height:55px;
    }

    .hero-logo-divider{
        height:35px;
    }

    .hero-buttons{
        margin-top:18px;
    }

    .previous-editions{
        margin-top:18px;
    }
}
/* =====================================================
   995px–1200px (Small Laptops / Large Tablets)
===================================================== */
@media (min-width:995px) and (max-width:1200px){

    .hero-parallax-container{
        min-height: auto;
        padding: 130px 20px 60px;
        align-items: flex-start;
    }

    .hero-glass-card{
        width: 88%;
        min-height: auto;
        height: auto;
        padding: 35px 35px;
        margin: 0 auto;
    }

    .hero-title{
        font-size: 2.9rem;
    }

    .hero-big-logo{
        width: 80px;
    }
}



/* css for button for paper template */
/* =====================================================
   Premium Apple Glass CTA Button
===================================================== */

.cfp-action-wrap{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin:20px 0 35px;
    flex-wrap:wrap;
}

.cfp-modern-btn{

    display:flex;
    align-items:center;
    gap:18px;

    padding:18px 28px;

    border-radius:24px;

    text-decoration:none;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.55),
        rgba(255,255,255,.22)
    );

    backdrop-filter:blur(30px);
    -webkit-backdrop-filter:blur(30px);

    border:1px solid rgba(255,255,255,.45);

    box-shadow:
    0 12px 35px rgba(0,122,255,.15);

    transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s cubic-bezier(.22,1,.36,1),
    background .35s;

    color:var(--text-primary);

    min-width:320px;
}

.cfp-modern-btn:hover{

    transform:
    translateY(-5px)
    scale(1.02);

    box-shadow:
    0 22px 55px rgba(0,122,255,.25);

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.75),
        rgba(255,255,255,.35)
    );
}

.btn-icon{

    width:52px;
    height:52px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:18px;

    background:
    linear-gradient(
        135deg,
        var(--accent-primary),
        #5E5CE6
    );

    color:white;

    flex-shrink:0;

    box-shadow:
    0 10px 25px rgba(0,122,255,.35);
}

.btn-text{

    display:flex;
    flex-direction:column;
    line-height:1.3;
}

.btn-text{

    font-size:1rem;
    font-weight:700;
}

.btn-text small{

    margin-top:3px;

    color:var(--text-secondary);

    font-size:.82rem;

    font-weight:500;
}

.btn-arrow{

    margin-left:auto;

    font-size:1.5rem;

    color:var(--accent-primary);

    transition:
    transform .35s;
}

.cfp-modern-btn:hover .btn-arrow{

    transform:translateX(6px);
}

@media(max-width:768px){

    .cfp-modern-btn{

        min-width:100%;
        padding:16px 20px;
    }

    .btn-icon{

        width:46px;
        height:46px;
    }

}
/* AIP button css */
/* =====================================================
   AIP Publication Card
===================================================== */
/* AIP Button */
.aip-btn{

    margin:20px auto 40px;
    display:flex;
    align-items:center;
    justify-content:center;

    max-width:520px;
}

.aip-logo{

    background:#ffffff;
    padding:8px;
}

.aip-logo img{

    width:34px;
    height:34px;
    object-fit:contain;
}

.aip-btn:hover .aip-logo{

    transform:rotate(-6deg) scale(1.08);
    transition:transform .35s cubic-bezier(.22,1,.36,1);
}


/* 
pdf showcase styles*/
.pdf-container{
    width:100;          /* Change this to control the width */
    max-width:1000px;   /* Maximum width */
    margin:0 auto;      /* Center the PDF */

    overflow:hidden;
    border-radius:24px;

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

    border:1px solid rgba(255,255,255,.3);

    box-shadow:0 20px 45px rgba(0,0,0,.08);
}

.pdf-container iframe{
    width:100%;
    height:900px;
    display:block;
}


/* new update code  */
@media (max-width:430px){

    .nav-header{
        padding:0 8px;
    }

    .nav-dock{

        width:100%;
        max-width:100%;
        padding:0 12px;
        height:60px;

    }

    .brand-group{

        display:flex;
        align-items:center;

        gap:5px;

        max-width:75%;

        overflow:hidden;
    }

    .brand-logo-img{

        height:22px;
    }

    .brand-text{

        font-size:.68rem;

        overflow:hidden;

        white-space:nowrap;

        text-overflow:ellipsis;
    }

    .brand-divider{

        height:16px;
    }

    .mobile-toggle{

        display:flex;

        align-items:center;

        justify-content:center;

        flex-shrink:0;
    }

}


@media (max-width:430px){

    .glass-card{

        padding:20px 15px;
    }

    .glass-table{

        min-width:470px;
    }

    .glass-table th,
    .glass-table td{

        padding:10px;

        font-size:13px;
    }

    .btn-apple,
    .download-glass-btn{

        width:100%;
    }

}

html,
body{

    overflow-x:hidden;
}



/* about metasoft responsiveness */

/* =====================================================
   About & Important Dates Responsive
===================================================== */
/* =====================================================
   About & Important Dates Responsive
===================================================== */
/* ==========================================
   About + Important Dates Only
========================================== */

.about-date-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}

.about-date-grid > *{
    min-width:0;
}

.about-date-grid .table-responsive{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.about-date-grid .glass-table{
    width:100%;
    min-width:0;
}

.about-date-grid .glass-table td{
    word-break:break-word;
}

@media (max-width:768px){

    .about-date-grid{
        grid-template-columns:1fr;
    }

    .about-date-grid .glass-card{
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    .about-date-grid .glass-table td{
        display:block;
        width:100%;
        text-align:left !important;
        padding:10px 0;
    }

    .about-date-grid .glass-table tr{
        display:block;
        margin-bottom:16px;
        border-bottom:1px solid var(--glass-border);
    }
}

/* heihgt reducity responsiveness */
/* keynote slider for homepage fix */
.keynote-section{
    width:100%;
    margin:0 auto 80px;
}