.bg-navy-soft {
    background: linear-gradient(145deg, #0e223a 0%, #12314e 100%);
    min-height: 100vh;
}

.bg-navy-topbottom {
    background: linear-gradient(145deg, #0e223a 100%, #12314e 100%);
    min-height: 100vh;
}

.bg-navy-dark-topbottom {
    background: linear-gradient(145deg, #050B14 0%, #12314e 100%);
    min-height: 100vh;
}

/*Back To Top*/
:root {
    --insight-bg-card: rgba(12, 16, 26, 0.75);
    --insight-gold: #E6B422;
    --insight-gold-dim: rgba(230, 180, 34, 0.25);
    --insight-gold-soft: rgba(230, 180, 34, 0.12);
    --insight-border: rgba(230, 180, 34, 0.2);
    --insight-text: #F0F3FC;
    --insight-text-muted: #A5AEC9;
    --insight-radius: 32px;
    --insight-radius-card: 28px;
    --transition-smooth: cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--insight-gold);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    z-index: 200;
    border: none;
    color: #0F111A;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #FFD966;
    transform: translateY(-4px);
}

/* elegant glassmorphism / card accents */
#timer {
    gap: 1rem; /* space between timer units */
}
.glass-timer {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.timer-unit {
    position: relative;
    background: rgba(10, 30, 50, 0.85);
    padding: 0.75rem 1.5rem;
    min-width: 100px;
    border-radius: 1rem;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 30, 60, 0.8);
    color: #fff;
    font-family: 'Inter', sans-serif;

    /* gradient border using background-clip trick */
    border: 1px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image:
        linear-gradient(rgba(10, 30, 50, 0.85), rgba(10, 30, 50, 0.85)), /* inner */
        linear-gradient(90deg, #dbb45c, #ffe4a2, #dbb45c); /* border */
    
    /* optional hover effect */
    transition: transform 0.3s ease;
}

.timer-unit:hover {
    transform: scale(1.05);
}

.timer-unit span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffecbb; /* soft gold */
    text-shadow: 0 0 8px #d4a11e50;
}
.unit-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aac7e0;
    font-weight: 300;
}

h1.product-showcase-title {
    font-weight: 600;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #f6f9fc, #c9ddee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0,40,80,0.7);
}

.tei-news-title {
    text-align:center;
    font-weight: 600;
    font-size: 2.8rem;
}

.gold-underline {
    position: relative;
    width: 120px;
    height: 3px;
    margin: 0.6rem auto 1.5rem auto;
    border-radius: 6px;
    overflow: hidden;

    /* improved visible base */
    background: linear-gradient(
        90deg,
        rgba(219,180,92,0.5),
        rgba(255,228,162,0.8),
        rgba(219,180,92,0.5)
    );

    /* subtle outer glow for dark background */
    box-shadow: 
        0 0 6px rgba(219,180,92,0.4),
        0 0 12px rgba(255,228,162,0.25);
}

/* moving gold highlight */
.gold-underline::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 228, 162, 0.9),
        #ffe4a2,
        rgba(255, 228, 162, 0.9),
        transparent
    );

    filter: blur(1px); /* soft glow */
    //animation: goldRun 2s ease-in-out infinite;
    animation: goldRun 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* extra glow layer for luxury feel */
.gold-underline::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #dbb45c, #ffe4a2, #dbb45c);
    opacity: 0.15;
    filter: blur(4px);
}

@keyframes goldRun {
    0% {
        left: -40%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* elegant list with gold bullets */
.custom-list {
    padding-top:2rem;
    list-style: none;
    padding-left: 0;
}
.custom-list li {
    position: relative;
    padding-left: 2.6rem;
    margin-bottom: 1.3rem;
    font-weight: 400;
    font-size: 1.1rem;
}
.custom-list li i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: #f5c84e;
    font-size: 1.4rem;
    width: 1.8rem;
    text-align: center;
    text-shadow: 0 0 5px #f5b81e;
}

/* secondary inner list (styled with small dash) */
.styled-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.styled-list li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align:left;
    color: var(--text-soft, #ccd6e6);
    transition: transform 0.2s ease, color 0.2s ease;
}

.styled-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    /* Vertically center relative to the first line of text */
    top: 0.1rem;
    /** transform: translateY(-50%); **/
    color: var(--gold-primary, #d4af37);
    font-size: 1.3rem;  /* match text size or slightly smaller */
    line-height: 1;    
    transition: transform 0.2s ease, color 0.2s ease;
}

.styled-list li:hover {
    transform: translateX(4px);
    color: var(--text-white, #f5f7fc);
}

.styled-list li:hover::before {
    /** transform: translateY(-50%) scale(1.1); **/
    color: var(--gold-bright, #e8c85a);    
}

.glass-card .styled-list li::before {
    text-shadow: 0 0 4px rgba(212, 175, 55, 0.3);
}

.info-card {
    background: rgba(18, 38, 62, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,220,150,0.15);
    padding: 2.2rem 2rem;
    box-shadow: 0 25px 40px -15px #030c14;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
}
.section-head i {
    font-size: 2.2rem;
    color: #ffdb8b;
    background: rgba(0,30,50,0.6);
    padding: 0.5rem;
    border-radius: 50%;
}
.section-head h3 {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 2rem;
    color: #f5f9ff;
}
hr.sep {
    width: 70px;
    height: 2px;
    background: #3e5d7f;
    opacity: 0.5;
    margin: 1.5rem auto;
}
/* responsive fine-tuning */
@media (max-width: 576px) {
    h1.product-showcase-title { font-size: 2.2rem; }
    .timer-unit { min-width: 70px; padding: 0.25rem 0.5rem; }
    .timer-unit span:first-child { font-size: 1.8rem; }
}

footer {
    border-top: 1px solid rgba(255,215,140,0.1);
    background: #0a1729;
}

/* ===== TEI Special Programs - Updated for Left Alignment ===== */
.tei-program-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1rem 1rem 0.5rem;
    border-left: 2px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 0.5rem;
    transition: all 0.25s ease;
    border-radius: 0 8px 8px 0;
    text-align: left; /* Ensure block content is left-aligned */
}

.tei-program-block:hover {
    border-left-color: #d4af37;
    background: rgba(212, 175, 55, 0.04);
    padding-left: 1rem;
}

.tei-program-marker {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.25);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.tei-program-block:hover .tei-program-marker {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    transform: scale(1.05);
}

.tei-program-details {
    flex: 1;
    text-align: left; /* Explicitly left-align text */
}

.tei-program-details h5,
.tei-program-details p {
    text-align: left; /* Ensure headings and paragraphs are left-aligned */
    margin-left: 0;
    margin-right: 0;
}

.tei-program-details p {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .tei-program-block {
        padding: 0.9rem 0.9rem 0.9rem 0.5rem;
    }
    
    .tei-program-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.event-meta {
    display: inline-block;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    position: relative;

    /* your dark blue base */
    background: #0b3157;

    /* clean gold border (no heavy glow) */
    border: 1px solid rgba(219, 180, 92, 0.6);

    /* very subtle depth */
    box-shadow: 
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 4px 20px rgba(0,0,0,0.4);

    transition: all 0.3s ease;
}

/* refined hover (not flashy) */
.event-meta:hover {
    border-color: rgba(255, 228, 162, 0.9);
    box-shadow: 
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 6px 25px rgba(0,0,0,0.5);
    transform: translateY(-1px);
}

.tei-badge-item {
    font-size: 0.8rem;
    color: #e9c87c;
    font-weight: 500;
}

/* Fancy Divider */
.showcase-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 2rem 0;
}

.divider-core {
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), rgba(212,175,55,0.3));
    flex: 1;
    flex-grow: 1;
}

.divider-luxury {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.2) 15%,
        var(--gold-primary) 50%,
        rgba(212, 175, 55, 0.2) 85%,
        transparent 100%
    );
    flex: 1;
    position: relative;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
    animation: dividerShimmer 3s ease-in-out infinite;
}

/* Optional: Add a subtle double-line effect with pseudo-element */
.divider-luxury::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.15),
        transparent
    );
    opacity: 0.6;
}

/* Shimmer animation for the gold core */
@keyframes dividerShimmer {
    0% {
        background-position: -100% 0;
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
    }
    50% {
        background-position: 0% 0;
        box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
    }
    100% {
        background-position: 100% 0;
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
    }
}

/* For an even more premium look – add a centered diamond or gold dot */
.divider-luxury.has-center {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.2) 20%,
        rgba(212, 175, 55, 0.6) 48%,
        var(--gold-primary) 50%,
        rgba(212, 175, 55, 0.6) 52%,
        rgba(212, 175, 55, 0.2) 80%,
        transparent 100%
    );
}

/* Center ornament (diamond) – requires a wrapper or extra element */
.divider-luxury::after {
    content: "◆";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: var(--gold-primary);
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
    background: var(--bg-deep);
    padding: 0 12px;
    letter-spacing: 2px;
}

/** == DiVIDER ANODE == **/
.tei-divider-anode {
    width: 100%;
    padding: 5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.anode-track {
    width: 100%;
    max-width: 1200px; /* Aligns with your container */
    height: 1px; /* Precision hairline */
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--gold-soft) 20%, 
        var(--gold-soft) 60%, 
        var(--gold-soft) 80%, 
        transparent 100%
    );
    position: relative;
    overflow: hidden; /* Clips the pulse */
}

.anode-pulse {
    position: absolute;
    top: 0;
    left: -150px; /* Start off-screen */
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gold-primary), 
        var(--glass-white), 
        var(--gold-primary), 
        transparent
    );
    filter: blur(1px); /* Softens the "laser" edge */
    animation: anodeFlow 6s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes anodeFlow {
    0% { left: -150px; opacity: 0; }
    10% { opacity: 1; }
    40% { left: 100%; opacity: 1; }
    50% { left: 100%; opacity: 0; }
    100% { left: 100%; opacity: 0; }
}


.tei-divider-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: var(--gold-soft-trace);
  overflow: hidden; /* Important to clip the pulse overflow */
}

.luxury-anode-track {
  width: 90%; /* Leaves space for the fade edges */
  max-width: 1300px; /* Aligns with Bootstrap containers */
  height: 2px; /* Slight thickness for the bloom to anchor to */
  background: linear-gradient(90deg, 
      transparent 0%, 
      var(--gold-soft-trace) 15%, 
      var(--gold-soft-trace) 85%, 
      transparent 100%
  );
  position: relative;
  border-radius: 2px;
}

/* Layer 1: The Ambient Bloom Shadow (Backlight) */
.anode-glow-bloom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; /* Shorter than the track for nice edges */
  height: 2px;
  background: var(--gold-bloom);
  filter: blur(8px); /* The crucial "bloom" effect */
  opacity: 0.8;
  z-index: -1;
}

/* Layer 2: The Base Kinetic Laser (Slow, steady flow) */
.anode-base-laser {
  position: absolute;
  top: 0;
  left: -200px;
  width: 200px;
  height: 100%;
  background: linear-gradient(90deg, 
      transparent, 
      var(--gold-primary), 
      #fff, /* The hot core */
      var(--gold-primary), 
      transparent
  );
  filter: blur(1.5px);
  animation: anodeLaserFlow 8s infinite linear;
}

/* Layer 3: The Fast Data Pulse (Simulates high-speed activity) */
.anode-fast-pulse {
  position: absolute;
  top: 0;
  left: -100px;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, 
      transparent, 
      var(--gold-vivid), 
      transparent
  );
  filter: blur(0.5px);
  opacity: 0.8;
  animation: anodeFastPulse 3.5s infinite cubic-bezier(0.4, 0, 0.6, 1);
  animation-delay: 1s;
}

/* Base Laser Flow Animation */
@keyframes anodeLaserFlow {
  0% { left: -200px; opacity: 0; }
  5% { opacity: 1; }
  85% { opacity: 1; }
  95% { left: 100%; opacity: 0; }
  100% { left: 100%; opacity: 0; }
}

/* Fast Data Pulse Animation */
@keyframes anodeFastPulse {
  0% { left: -100px; opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  50% { left: 100%; opacity: 0; }
  100% { left: 100%; opacity: 0; }
}

.showcase-divider i {
    color: var(--gold-primary);
    font-size: 1.2rem;
    opacity: 0.8;    
}

/* Elevated Tag */
.elevated-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.tag-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.tag-line-left {
    width: 80px;
    height: 2px;
    background: linear-gradient(-90deg, var(--gold-primary), transparent);
}

.tag-line-right {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.tag-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold-primary);
    text-transform: uppercase;
    background: rgba(212,175,55,0.1);
    padding: 5px 15px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.showcase-heading {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF, #E8E6E3);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

/* elegant divider */
.tei-badge-divider {
    width: 1px;
    height: 14px;
    background: linear-gradient(to bottom, transparent, #d4af37, transparent);
    opacity: 0.6;
}

.tei-badge-divider-glow {
    width: 32px;
    height: 2px;
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.9), transparent);
    border-radius: 2px;
}

/* center glowing node */
.tei-badge-divider-glow::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 6px #d4af37,
        0 0 12px rgba(212,175,55,0.6),
        0 0 18px rgba(212,175,55,0.3);
}

/* soft outer glow line */
.tei-badge-divider-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
    filter: blur(3px);
    opacity: 0.7;
}

.tei-dot {
    width: 4px;
    height: 4px;
    background: #d4af37;
    border-radius: 50%;
    opacity: 0.7;
}

/** General Informatuon */
.tei-hero-section {
    position: relative;
    border-radius: 48px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.tei-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(10, 25, 45, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 48px;
}

.tei-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 0 25px rgba(212,175,55,0.25);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem 0;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.tei-hero-highlight {
    display: inline-block; /* IMPORTANT */
    background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 30%, #D4AF37 70%, #B8860B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    background-clip: text;
    color: transparent;
    animation: shimmer 4s linear infinite;
}

.tei-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tei-stat {
    text-align: center;
}

.tei-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
}

.tei-stat-label {
    font-size: 0.8rem;
    color: #9ab3cc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tei-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, #d4af37, transparent);
}

.tei-hero-desc {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #c0d4ec;
    font-size: 1.1rem;
}

.tei-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tei-primary-btn {
    background: linear-gradient(135deg, #d4af37, #b8942e);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    color: #0b1a2a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tei-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -8px rgba(212, 175, 55, 0.5);
}

.tei-secondary-btn {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid #d4af37;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    color: #e9c87c;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tei-secondary-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* Timer Units - Matching Style */
.tei-glass-timer {
    background: rgba(10, 25, 45, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 60px 60px 40px 40px;
    padding: 2rem 1.5rem 1.5rem;
}

.tei-timer-unit {
    background: rgba(0, 15, 30, 0.7);
    border: 1px solid #3b5f7a;
    border-radius: 30px;
    margin: 0 8px 12px;
    min-width: 95px;
    padding: 16px 5px;
}

.tei-timer-unit span {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    color: #e9c87c;
    text-shadow: 0 2px 10px #d4af37;
    letter-spacing: 4px;
}

.tei-hero-content { 
    position: relative; 
    padding: 0; 
    z-index: 1; 
}

@media (max-width: 768px) {
    .tei-hero-title { font-size: 2.5rem; }
    .tei-hero-stats { gap: 1rem; }
    .tei-stat-number { font-size: 1.5rem; }
    .tei-stat-divider { height: 30px; }
}
/** General Informatuon */

/** Exhibition Layout */
#tei-exploreCategoriesBtn {
    padding: 10px 22px;
    font-size: 0.9rem;

    /* override base style safely */
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #e9c87c;

    backdrop-filter: blur(6px);
}

#tei-exploreCategoriesBtn:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: #d4af37;
    color: #ffffff;

    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
}

#tei-exploreCategoriesBtn i {
    transition: transform 0.25s ease;
}

#tei-exploreCategoriesBtn:hover i {
    transform: translateX(4px);
}

#exhibitionIntroPremium {
    max-width: 900px;
    padding: 0 15px;
}

#exhibitionIntroPremium p {
    line-height: 1.8;
    letter-spacing: 0.3px;
}            

.tei-viewer-shell {
    border: 1px solid rgba(212,175,55,0.30);
    box-shadow: 
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 30px 60px rgba(0,0,0,0.8);
    padding: 15px;
}

#tei-zoomContainer {
    border: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
    overflow: hidden; 
    position: relative; 
    border-radius: 24px; 
    background: #05121e; 
    min-height: 400px;
    cursor: grab;
}

/* Mobile adjustments for zoom container */
@media (max-width: 768px) {
    #tei-zoomContainer {
        min-height: 300px;
    }
    
    .tei-viewer-shell {
        padding: 10px;
    }
}

/* Hide mobile instructions on desktop, hide desktop instructions on mobile */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: inline;
    }
    
    /* Make the instruction text more readable on mobile */
    .tei-interactive-floorplan p.small {
        font-size: 0.75rem;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    /* Stack instructions vertically on very small screens */
    @media (max-width: 480px) {
        .mobile-only {
            display: flex;
            flex-direction: column;
            gap: 5px;
            text-align: center;
        }
        
        .mobile-only span {
            display: block;
        }
    }
}            

.tei-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #d4af37, #f5d77a);
    color: #0b3157;
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(212,175,55,0.25);
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.tei-download-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 35px rgba(212,175,55,0.35);
}

.tei-download-btn:active {
    transform: scale(0.98);
}

.tei-interactive-floorplan, .tei-background {
    background: radial-gradient(circle at 20% 50%, #0b3157 0%, #05121e 70%);
    padding: 60px 0;
}

.tei-main-content::before {
    content: '';
    display: block;
    height: 1px;
    width: 80px;
    margin: 0 auto 40px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .tei-interactive-floorplan {
        padding: 40px 0;
    }
}

.tei-hero-split {
    min-height: auto;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 20% 50%, #0b3157 0%, #05121e 70%);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.tei-hero-split::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 40%, rgba(212,175,55,0.15), transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(11,49,87,0.4), transparent 70%);
    animation: heroAmbient 12s ease-in-out infinite alternate;
    z-index: 0;
}

@media (max-width: 768px) {
    .tei-hero-split {
        padding: 40px 0;
        text-align: center;
    }
    
    .tei-hero-left {
        padding-right: 0;
        margin-bottom: 30px;
    }
        
    .tei-hero-subtitle {
        font-size: 1rem;
    }
    
    .gold-underline {
        margin: 20px auto;
    }
}

.tei-hero-left {
    padding-right: 40px;
}

.gold-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f5d77a);
    margin-top: 20px;
}

.tei-hero-right {
    display: flex;
    justify-content: center;
}

.tei-floorplan-card {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, rgba(10,15,26,0.8), rgba(2,5,12,0.9));
    backdrop-filter: blur(6px);
    border: 1px solid rgba(201,160,61,0.4);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,160,61,0.1) inset;
    transition: var(--transition-smooth);
}

.tei-floorplan-card:hover {
    box-shadow: 0 28px 48px -16px rgba(0,0,0,0.8), 0 0 0 2px rgba(201,160,61,0.3) inset;
    border-color: rgba(201,160,61,0.7);
}

.tei-floorplan-card img {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.tei-floorplan-card:hover .tei-map-overlay {
    opacity: 1;
}

.tei-floorplan-card:hover img {
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .tei-floorplan-card {
        transform: none;
        max-width: 100%;
        margin: 0 auto;
    }
}

.tei-map-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.tei-map-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(3,8,18,0.2),
        rgba(3,8,18,0.6)
    );
    pointer-events: none;
}

/* Clickable overlay */
.tei-map-overlay {
    position: absolute;
    inset: 0;
    cursor:pointer;
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

/* Overlay text */
.tei-map-overlay span {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    padding: 10px 18px;
    border: 1px solid rgba(212,175,55,0.5);
    border-left: 3px solid var(--gold-primary);
    border-right: 1px solid rgba(201,160,61,0.4);
    border-radius: 999px;

    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(2px);
    font-weight: 500;
}

/* Hover effect */
.tei-map-card:hover .tei-map-overlay {
    opacity: 1;
}

/* Image zoom */
.tei-map-card img {
    transition: transform 0.6s ease;
    filter: brightness(0.75) contrast(1.1) saturate(0.9);
}

.tei-map-card:hover img {
    transform: scale(1.05);    
}

/** === TEI CTA Primary === **/
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
    70% { box-shadow: 0 0 0 12px rgba(212,175,55,0); }
    100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

.tei-cta-primary {
    display: inline-block;
    position: relative;
    overflow: hidden;    
    background: linear-gradient(135deg, #d4af37, #f5d77a);
    color: #0b3157;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(212,175,55,0.25);
    transition: all 0.3s ease;
    z-index:1;
}

.tei-cta-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    box-shadow: 0 0 0 rgba(212,175,55,0.5);
    animation: pulseGlow 2.5s infinite;
}

.tei-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(212,175,55,0.35);
}

.tei-badge {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: rgba(212,175,55,0.8);
    margin-bottom: 10px;
}

@keyframes heroAmbient {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(-20px, -10px) scale(1.05); }
}

@keyframes floatCard {
    0% { transform: perspective(1200px) rotateY(-6deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-4deg) translateY(-10px); }
    100% { transform: perspective(1200px) rotateY(-6deg) translateY(0); }
}

.tei-hero-subtitle {
    font-size: 1.2rem;
    color: #c0d4ec;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

.tei-subtitle {
    font-size: 1.2rem;
    color: #c0d4ec;
    margin: 1rem auto 0;
    line-height: 1.6;
    text-align:justify;
    max-width:1200px;
}

/* ================= YEAR BADGE ================= */
@keyframes subtleFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

.tei-brand-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 20px;
    border-radius: 50px; 
    background: linear-gradient(
        135deg,
        rgba(212,175,55,0.18),
        rgba(212,175,55,0.05)
    );
    border: 1px solid rgba(212,175,55,0.35);
    box-shadow:
        inset 0 0 10px rgba(212,175,55,0.08),
        0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    color: #e9c87c;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    margin-bottom: 15px;
    transition: all 0.35s ease;
    animation: subtleFloat 5s ease-in-out infinite;
}

.tei-brand-label span {
    display: flex;
    align-items: center;
}

/* hover = subtle, not aggressive */
.tei-brand-label:hover {
    border-color: rgba(212,175,55,0.6);
    box-shadow:
        inset 0 0 12px rgba(212,175,55,0.12),
        0 8px 30px rgba(212,175,55,0.15);
    transform: translateY(-3px);
}

.tei-brand-label i {
    color: #d4af37;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.tei-brand-label strong {
    color: #f5e3b3;
}

/* ================= DIVIDER GLOW ================= */
.tei-badge-divider-glow {
    width: 66px;
    height: 2px;
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.9), transparent);
    border-radius: 2px;
}

/* 3 glowing nodes */
.tei-badge-divider-glow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4af37;
    transform: translate(-50%, -50%);
    
    /* create 3 dots using box-shadow */
    box-shadow:
        -12px 0 0 0 #d4af37,
         12px 0 0 0 #d4af37,

        /* glow layers */
        0 0 6px #d4af37,
        0 0 12px rgba(212,175,55,0.6),
        0 0 18px rgba(212,175,55,0.3);
}

/* soft outer glow line */
.tei-badge-divider-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
    filter: blur(3px);
    opacity: 0.7;
}


/* ================= CARDS ================= */
.tei-floor-card {
    position: relative;
    overflow: hidden;                
    background: rgba(255,255,255,0.02);
    opacity: 0.6 !important;
    transform: scale(0.98);                
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
    transition: all 0.35s ease;
    animation: teiFadeUp 0.6s ease forwards;
    margin-bottom: 18px;
    cursor: pointer;
}   

.tei-floor-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(11, 49, 87, 0.85);
    color: #e9c87c;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(212,175,55,0.3);
}

.tei-floor-card:nth-child(1) { animation-delay: 0.1s; }
.tei-floor-card:nth-child(2) { animation-delay: 0.2s; }
.tei-floor-card:nth-child(3) { animation-delay: 0.3s; }
.tei-floor-card:nth-child(4) { animation-delay: 0.4s; }
.tei-floor-card:nth-child(5) { animation-delay: 0.5s; }

.tei-floor-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(212,175,55,0.4);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.6),
        0 0 20px rgba(212,175,55,0.15);
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 0 rgba(212,175,55,0.2); }
    50% { box-shadow: 0 0 20px rgba(212,175,55,0.35); }
    100% { box-shadow: 0 0 0 rgba(212,175,55,0.2); }
}

.tei-floor-card-active {
    opacity: 1 !important;
    transform: scale(1.03);
    border: 1px solid rgba(212,175,55,0.7);
    box-shadow: 
        0 0 0 1px rgba(212,175,55,0.25),
        0 20px 40px rgba(0,0,0,0.7),
        0 0 25px rgba(212,175,55,0.25);
    animation: glowPulse 2s infinite;
}

.tei-floor-card img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.tei-floor-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    pointer-events: none;
}

/* Additional mobile fixes */
@media (max-width: 768px) {
    /* Override any parent containers that might be restricting width */
    .tei-interactive-floorplan .row > .col-12 {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Make the cards container full width */
    #tei-floorplan-cards-wrapper {
        width: 100%;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50%;
        margin-right: -50%;
    }
    
    /* Reset the inner column to full width */
    #tei-floorplan-cards-wrapper > .col-12.col-md-3 {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}    

/* Desktop styles - ensure cards are properly displayed */
#tei-floorplan-cards-wrapper:hover .tei-floor-card {
    opacity: 0.5;
    transform: scale(0.98);
}

#tei-floorplan-cards-wrapper .tei-floor-card:hover,
.tei-floor-card-active {
    opacity: 1;
    transform: scale(1.02);
}

/* ================= GLOBAL STRIP ================= */
.tei-global-strip {
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    border-top: 1px solid rgba(212,175,55,0.2);
    border-bottom: 1px solid rgba(212,175,55,0.2);
    color: #c0d4ec;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Additional mobile fixes */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .pt-5 {
        padding-top: 2rem !important;
    }
    
    h2.fw-bold {
        font-size: 1.75rem;
    }
    
    .fs-5 {
        font-size: 0.95rem !important;
    }
    
    button {
        cursor: pointer;
    }
    
    /* Improve touch targets */
    .tei-floor-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .tei-download-btn, 
    #tei-zoomInBtn, 
    #tei-zoomOutBtn, 
    #tei-resetZoomBtn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Toolbar wrapper styles */
.tei-toolbar-wrapper {
    width: 100%;
}

.tei-toolbar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tei-toolbar-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tei-control-btn {
    background: #1c3550;
    border: 1px solid #d4af37;
    color: #e9c87c;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tei-control-btn:hover {
    transform: translateY(-2px);
    background: #2c4b6e;
}

.tei-zoom-slider {
    width: 120px;
    cursor: pointer;
    background: #1c3550;
    height: 4px;
    border-radius: 4px;
}

.tei-zoom-level {
    background: rgba(0,0,0,0.5);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    color: #e9c87c;
    font-size: 0.9rem;
    min-width: 65px;
    text-align: center;
}

.tei-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #d4af37, #f5d77a);
    color: #0b3157;
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(212,175,55,0.25);
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.download-icon-only {
    display: none;
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .tei-toolbar-row {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .tei-toolbar-group {
        justify-content: center;
    }
    
    .tei-toolbar-group-buttons {
        order: 1;
    }
    
    .tei-toolbar-group-slider {
        order: 2;
        justify-content: space-between;
        width: 100%;
        gap: 15px;
    }
    
    .tei-zoom-slider {
        flex: 1;
        max-width: none;
        width: auto;
    }
    
    .tei-zoom-level {
        min-width: 60px;
    }
    
    .tei-toolbar-group-download {
        order: 3;
    }
    
    .tei-download-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
    }
    
    /* For very small screens, hide full text and show icon only */
    @media (max-width: 480px) {
        .download-text {
            display: none;
        }
        
        .download-icon-only {
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        .tei-download-btn {
            padding: 10px;
            min-width: 44px;
        }
        
        .tei-download-btn i {
            margin-right: 0;
        }
    }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .tei-toolbar-row {
        gap: 15px;
    }
    
    .tei-zoom-slider {
        width: 100px;
    }
}         

/* Categories wrapper - left align on desktop, center on mobile */
.categories-tags-wrapper {
    justify-content: flex-end !important;
    margin-bottom: 1rem;
}

/* Individual category badges */
.category-badge {
    background: #1c3550;
    color: #c0d4ec;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-badge:hover {
    background: #2c4b6e;
    transform: translateY(-2px);
}

/* Buttons Styling */
.btn-tei-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 30px;
    border-radius: 6px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;

    color: #000;

    background: linear-gradient(
        135deg,
        #c9a52e,
        #f0d98a,
        #c9a52e
    );    

    border: 1px solid rgba(212,175,55,0.5);

    box-shadow:
        0 10px 25px rgba(212,175,55,0.25),
        inset 0 1px 0 rgba(255,255,255,0.5);

    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
}

/* Shine effect layer */
.btn-tei-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );

    transition: all 0.6s ease;
}

/* Hover state */
.btn-tei-outline:hover {
    transform: translateY(-4px) scale(1.02);

    box-shadow:
        0 20px 40px rgba(212,175,55,0.35),
        0 0 30px rgba(212,175,55,0.25);

    color: #000;
}

/* Shine sweep animation */
.btn-tei-outline:hover::before {
    left: 120%;
}

/* Icon animation */
.btn-tei-outline i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.btn-tei-outline:hover i {
    transform: translate(3px, -3px);
}

.view-all-categories-btn {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    color: #e9c87c;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.view-all-categories-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.hero-audience-pill {
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gold);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-audience-pill span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.4px;
}

/* subtle glow accent */
.hero-audience-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 1px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: xor;
    pointer-events: none;
    opacity: 0.6;
}

/* hover (very subtle, not distracting) */
.hero-audience-pill:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.06);
}    

/* Modal category badges */
.modal-category-badge {
    background: #1c3550;
    color: #c0d4ec;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border: 1px solid #3b6080;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.modal-category-badge:hover {
    background: #2c4b6e;
    transform: translateY(-2px);
}

/* Mobile specific styles */
@media (max-width: 768px) {
    /* Center categories on mobile */
    .categories-tags-wrapper {
        justify-content: center !important;
    }
    
    /* Make badges wrap better on mobile */
    .category-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        white-space: normal;
        word-break: keep-all;
        text-align: center;
    }
    
    /* View All button on mobile */
    .view-all-categories-btn {
        display: block;
        width: auto;
        margin: 0.5rem auto 0;
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    /* Modal badges on mobile */
    .modal-category-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* Ensure the parent container allows centering */
    .tei-viewer-shell .mt-4.p-3 .col-md-5 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Adjust the tags container for mobile */
    #tei-floorplanTags {
        justify-content: center !important;
        width: 100%;
    }
}

/* Tablet styles - keep left align but with slightly smaller badges */
@media (min-width: 769px) and (max-width: 1024px) {
    .category-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .category-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }
    
    .view-all-categories-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
    }
}
/** Exhibition Layout */

/** Product Showcase */
.tei-hero-section { position: relative; border-radius: 48px; overflow: hidden; margin-bottom: 3rem; }
.tei-hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(10, 25, 45, 0.95) 100%); backdrop-filter: blur(20px); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 48px; }

.tei-hero-stats { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tei-stat { text-align: center; }
.tei-stat-number { font-size: 2.5rem; font-weight: 700; color: #d4af37; line-height: 1; }
.tei-stat-label { font-size: 0.8rem; color: #9ab3cc; text-transform: uppercase; letter-spacing: 1px; }
.tei-stat-divider { width: 1px; height: 40px; background: linear-gradient(180deg, transparent, #d4af37, transparent); }
.tei-hero-desc { max-width: 600px; margin: 0 auto 2rem; color: #c0d4ec; font-size: 1.1rem; }
.tei-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.tei-primary-btn { background: linear-gradient(135deg, #d4af37, #b8942e); border: none; padding: 0.8rem 2rem; border-radius: 60px; color: #0b1a2a; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.tei-primary-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -8px rgba(212, 175, 55, 0.5); }
.tei-secondary-btn { background: rgba(212, 175, 55, 0.15); border: 1px solid #d4af37; padding: 0.8rem 2rem; border-radius: 60px; color: #e9c87c; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.tei-secondary-btn:hover { background: rgba(212, 175, 55, 0.3); transform: translateY(-2px); }

/* Zone Selector Tabs */
.tei-zone-selector { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 2rem; }
.tei-zone-tab { background: rgba(20, 40, 65, 0.6); border: 1px solid rgba(212, 175, 55, 0.3); color: #e9c87c; padding: 0.8rem 1.8rem; border-radius: 50px; transition: all 0.3s ease; cursor: pointer; font-weight: 500; }
.tei-zone-tab.active, .tei-zone-tab:hover { background: #d4af37; color: #0b1a2a; border-color: #d4af37; }

/* Zone Content */
.tei-zone-display { min-height: 500px; }
.tei-zone-content { display: none; opacity: 0; transform: scale(0.96); transition: all 0.4s ease; }
.tei-zone-content.active { display: block; opacity: 1; transform: scale(1); }
.tei-zone-title { text-align: center; font-size: 2rem; color: #f5e3b3; margin-bottom: 0.5rem; }

.tei-zone-sub {
    max-width: 800px; /* Keeps the text from spanning the full width of the screen */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6; /* Improves readability for longer paragraphs */
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8); /* Slightly softer white for better contrast */
    margin-bottom: 2.5rem !important;
}

/* Ensure the location badge has some space from the new longer text */
.badge.bg-primary {
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Tile Grid */
.tei-tile-grid { 
    display: grid; 
    /* Desktop: Flexible columns */
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); 
    gap: 1rem; 
}

.tei-tile { 
    background: var(--glass-gold);
    border-radius: 15px; /* Slightly tighter radius for mobile */
    padding: 0.8rem 1rem; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    gap: 0.75rem; 
    color: #e9c87c; 
    font-weight: 500; 
    font-size: 0.85rem; /* Better fit for mobile */
    transition: all 0.3s ease; 
    cursor: pointer; 
    border: 1px solid var(--glass-white);
    min-width: 0;
    width: 100%;
    height: auto; /* Allow the tile to grow vertically if text wraps */
    min-height: 60px; /* Keeps all tiles uniform even if some are 1 line and others are 2 */
}

.tei-tile i {
    width: 20px; 
    text-align: center;
    flex-shrink: 0; /* Prevents icon from squishing */
}

.tei-tile span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: block;
    line-height: 1.2;
    text-align:left;
    word-wrap: break-word;
}

/* Mobile Specific Adjustments */
@media (max-width: 576px) {
    .tei-tile-grid { 
        /* Force exactly 2 columns on small phones */
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.75rem; 
    }
    
    .tei-tile {
        padding: 0.75rem 0.75rem;
        font-size: 0.8rem;
    }

    /* On very small devices, 1 column is safer for long names */
    @media (max-width: 360px) {
        .tei-tile-grid { grid-template-columns: 1fr; }
    }

    /* If the number of items is odd, make the last one full-width */
    .tei-tile-grid .tei-tile:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}

.tei-tile:hover { 
    transform: translateY(-5px); 
    border-color: #d4af37; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    background: rgba(212, 175, 55, 0.1); 
}

/* Premium Cards */
.tei-premium-cards-section { margin-top: 3rem; }
.tei-zones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 1rem; }
.tei-premium-card { position: relative; padding: 2rem; border-radius: 32px; overflow: hidden; transition: all 0.4s ease; height: 100%; cursor: pointer; background: linear-gradient(135deg, rgba(12, 28, 45, 0.85), rgba(8, 22, 40, 0.9)); border: 1px solid rgba(212, 175, 55, 0.2); }
.tei-premium-card:hover { transform: translateY(-10px); border-color: rgba(212, 175, 55, 0.5); box-shadow: 0 25px 40px -15px rgba(0,0,0,0.5); }
.tei-card-floating-icon { position: absolute; top: 2rem; right: 2rem; width: 50px; height: 50px; background: rgba(212, 175, 55, 0.2); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #d4af37; }
.tei-card-badge { display: inline-block; background: rgba(212, 175, 55, 0.2); padding: 0.2rem 0.8rem; border-radius: 20px; font-size: 0.7rem; font-weight: 600; color: #e9c87c; margin-bottom: 1rem; }
.tei-card-stats { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.8rem; color: #9ab3cc; }
.tei-card-title { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 0.8rem; }
.tei-card-desc { color: #c0d4ec; margin-bottom: 1rem; line-height: 1.5; }
.tei-category-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.tei-category-cloud span { background: rgba(28, 53, 80, 0.5); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.75rem; color: #c0d4ec; }
.tei-card-highlight { background: rgba(212, 175, 55, 0.1); border-radius: 12px; padding: 0.6rem; font-size: 0.75rem; color: #e9c87c; margin: 1rem 0; display: flex; align-items: center; gap: 0.5rem; border-left: 3px solid #d4af37; }
.tei-card-btn { background: transparent; border: 1px solid rgba(212, 175, 55, 0.5); padding: 0.6rem 1.2rem; border-radius: 40px; color: #e9c87c; cursor: pointer; transition: all 0.3s ease; }
.tei-card-btn:hover { background: rgba(212, 175, 55, 0.2); border-color: #d4af37; }
.tei-card-btn i { transition: transform 0.3s; }
.tei-card-btn:hover i { transform: translateX(5px); }

/* Card Colors */
.tei-card-agro { background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(10, 25, 45, 0.9)); border-color: rgba(46, 204, 113, 0.3); }
.tei-card-fashion { background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(10, 25, 45, 0.9)); border-color: rgba(243, 156, 18, 0.3); }
.tei-card-manufactured { background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(10, 25, 45, 0.9)); border-color: rgba(52, 152, 219, 0.3); }
.tei-card-estate { background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(10, 25, 45, 0.9)); border-color: rgba(155, 89, 182, 0.3); }
.tei-card-furniture { background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), rgba(10, 25, 45, 0.9)); border-color: rgba(230, 126, 34, 0.3); }

.tei-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 750px;
    font-size: 28px;
    font-weight: 600;
    text-align:center;
    color: transparent;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 30%, var(--gold-overlay) 80%);
    background-clip: text;
    -webkit-background-clip: text;    
}

.tei-section-title i {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-size: inherit;
    margin-top: -2px;
    top: -2px;
}

@media (max-width: 768px) {
    .tei-section-title { font-size: 2rem; }
}

.tei-section-subtitle {
    display: block;
    max-width: 750px;
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 18px;
}

.p-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 10px;
    display: block;
}

/* Floorplan */
.tei-floorplan-section { background: linear-gradient(135deg, rgba(10, 25, 45, 0.8), rgba(5, 18, 32, 0.9)); border-radius: 32px; padding: 2rem; border: 1px solid rgba(212, 175, 55, 0.2); }
.tei-floorplan-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.tei-section-subtitle { color: #9ab3cc; }
.tei-view-all-btn { background: transparent; border: 1px solid #d4af37; padding: 0.6rem 1.2rem; border-radius: 40px; color: #e9c87c; cursor: pointer; }
.tei-floorplan-preview { background: rgba(0, 0, 0, 0.3); border-radius: 24px; padding: 1.5rem; }
.tei-floorplan-map { background: linear-gradient(135deg, #0a1929, #05121e); border-radius: 20px; padding: 2rem; min-height: 300px; }
.tei-floorplan-zones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; align-items: center; }
.tei-floor-zone { text-align: center; padding: 1rem; border-radius: 16px; transition: all 0.3s ease; cursor: pointer; }
.tei-floor-zone:hover { transform: scale(1.05); }
.tei-floor-zone-a { background: rgba(46, 204, 113, 0.2); border: 1px solid rgba(46, 204, 113, 0.4); }
.tei-floor-zone-b { background: rgba(243, 156, 18, 0.2); border: 1px solid rgba(243, 156, 18, 0.4); }
.tei-floor-zone-c { background: rgba(52, 152, 219, 0.2); border: 1px solid rgba(52, 152, 219, 0.4); }
.tei-floor-zone-d { background: rgba(155, 89, 182, 0.2); border: 1px solid rgba(155, 89, 182, 0.4); }
.tei-floor-zone-e { background: rgba(230, 126, 34, 0.2); border: 1px solid rgba(230, 126, 34, 0.4); }
.tei-floor-zone-label { font-size: 1.2rem; font-weight: 700; color: #e9c87c; display: block; }
.tei-floor-zone-name { font-size: 0.7rem; color: #9ab3cc; }
.tei-floorplan-legend { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.tei-legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: #9ab3cc; }
.tei-legend-color { width: 12px; height: 12px; border-radius: 3px; }
.tei-floorplan-info { text-align: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(212, 175, 55, 0.2); color: #9ab3cc; }

/* Why Section */
.tei-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.tei-why-card { background: rgba(10, 25, 45, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 24px; padding: 1.8rem; text-align: center; transition: all 0.3s ease; }
.tei-why-card:hover { transform: translateY(-5px); border-color: rgba(212, 175, 55, 0.4); }
.tei-why-icon { width: 70px; height: 70px; background: rgba(212, 175, 55, 0.15); border-radius: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.tei-why-icon i { font-size: 2rem; color: #d4af37; }
.tei-why-card h4 { color: #fff; font-size: 1.2rem; margin-bottom: 0.8rem; }
.tei-why-card p { color: #9ab3cc; font-size: 0.9rem; }

/* ===== Testimonials Begin ===== */
/* =========================
   TESTIMONIAL (PREMIUM LIGHT)
========================= */

.tei-testimonial-section {
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}

/* stronger ambient glow */
.tei-testimonial-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(11,49,87,0.08), transparent 70%);
    filter: blur(100px);
}

/* Heading */
.tei-testimonial-section .tei-zone-title {
    color: rgba(255,255,255,0.88);
    font-weight: 700;
}

.tei-testimonial-section .tei-hero-desc {
    color: rgba(255,255,255,0.88);
    max-width: 600px;
    margin: 0 auto;
}

.tei-testimonial-featured-card {
    position: relative;
    width:100%;
    z-index: 1;
}

.tei-testimonial-featured-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(219,180,92,0.5),
        transparent
    );
}

.tei-testimonial-featured-card::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    color: rgba(219,180,92,0.08);
    font-family: serif;
    pointer-events: none;

    inset: -240px; /* 👈 extend outside card */
    border-radius: 30px; /* slightly larger than card */
    pointer-events: none;

    background: radial-gradient(
        ellipse at 50% 0%, 
        rgba(219,180,92,0.18) 0%, 
        rgba(219,180,92,0.08) 30%, 
        rgba(219,180,92,0.03) 55%, 
        transparent 75%
    );

    opacity: 0.85;
    filter: blur(6px);

    z-index: -1; /* 👈 IMPORTANT: place behind card */
}

/* subtle lift on hover */
.tei-testimonial-featured-card:hover {
    transform: translateY(-6px);
}

/* Quote icon */
.tei-testimonial-quote-icon {
    font-size: 36px;
    color: #dbb45c;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Text */
.tei-testimonial-featured-text {
    font-size: 22px;
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    max-width: 760px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* Author */
.tei-author-name {
    font-weight: 700;
    font-size: 16px;
    color: rgba(255,255,255,0.90);    
}

.tei-author-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.68);
}   

/* =========================
   GRID CARDS
========================= */

.tei-testimonial-card {
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 15px 35px rgba(255,255,255,0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.col-md-4:nth-child(2) .tei-testimonial-card {
    transform: scale(1.03);
}

/* Premium hover (subtle, not aggressive) */
.tei-testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px rgba(255,255,255,0.08);
}

.tei-role {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(219,180,92,0.12);
    color: #dbb45c;
}

/* Text */
.tei-testimonial-card p {
    color: rgba(255,255,255,0.88);    
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
}

/* Author */
.tei-testimonial-author strong {
    color: rgba(255,255,255,0.92);    
    font-size: 14px;
}

.tei-testimonial-author span {
    color: rgba(255,255,255,0.88);
    font-size: 13px;
}

/* =========================
   ANIMATION (keep yours)
========================= */

.tei-scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.tei-scroll-anim.reveal {
    opacity: 1;
    transform: translateY(0);
}
/* ===== Testimonials End ===== */

/* =========================
   CTA SECTION BACKGROUND
========================= */
.tei-cta-section {
    background: linear-gradient(
        180deg,
        #eaf2f9 0%,     /* slightly more blue */
        #f4f7fb 45%,    /* lift mid */
        #ffffff 100%    /* clean fade out */
    );
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* TOP RIGHT LIGHT */
.tei-cta-section::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11,49,87,0.08), transparent 70%);
    filter: blur(80px);
}

/* BOTTOM LEFT GOLD TOUCH */
.tei-cta-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 85% 15%, rgba(11,49,87,0.06), transparent 40%),
        radial-gradient(circle at 15% 85%, rgba(219,180,92,0.08), transparent 40%);
    pointer-events: none;
}

/* =========================
   CTA CARD
========================= */

.tei-cta-elevated {
    background: linear-gradient(135deg, #071c2f, #04101a);
    border-radius: 24px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;

    box-shadow: 
        0 30px 80px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.tei-cta-glow {
    position: absolute;
    inset: -80px;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(219,180,92,0.25),
        rgba(219,180,92,0.08) 40%,
        transparent 70%
    );
    filter: blur(60px);
    opacity: 0.8;
    pointer-events: none;
}

.tei-cta-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.tei-cta-content p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    margin-bottom: 30px;
}

.tei-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center; /* 👈 KEY */
    gap: 14px;
    flex-wrap: wrap;
}

.tei-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px; /* 👈 force same height */
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff;
    background: rgba(255,255,255,0.05); /* 👈 subtle fill */
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    transform: translateY(-1px);
}

.tei-cta-secondary:hover {
    background: rgba(255,255,255,0.12);
}

@media (max-width: 768px) {
    .tei-floorplan-zones { grid-template-columns: 1fr; gap: 0.5rem; }
    .tei-zones-grid { grid-template-columns: 1fr; }
}


/* =========================
   Facts & Figures
========================= */

.tei-facts-highlight {
    font-size: 15px;
    color: #dbb45c;
    text-align: center;
    max-width: 680px;
    margin: 10px auto 30px;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.country-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.country-list__left {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 70px; /* KEY: fixed width for alignment */
    flex-shrink: 0;
}

.country-list__item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    gap: 12px;
}

.country-list__item:hover {
    transform: translateX(4px);
    border-bottom-color: rgba(219, 180, 92, 0.4);
}

.country-list__rank {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
    width: 22px;
    text-align: right;
}

.country-list__flag {
    font-size: 18px;
    width: 26px;
    flex-shrink: 0;
}

.country-list__name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    text-align:start;
    color: #eef2ff;
}

.country-list__item:first-child .country-list__name {
    color: #dbb45c;
    font-weight: 600;
}

.country-list__region {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.country-list__region[data-region="asia"] {
    background: rgba(90,160,255,0.12);
    color: rgba(255,255,255,0.7);
}

.country-list__region[data-region="europe"] {
    background: rgba(219,180,92,0.12);
    color: #dbb45c;
}

.country-list__region[data-region="africa"] {
    background: rgba(120,220,180,0.12);
    color: rgba(255,255,255,0.7);
}

.tei-facts-source {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}

@keyframes bounce { 
    0%, 100% { 
        transform: translateY(0); 
    } 
    50% { 
        transform: translateY(12px); 
    } 
}

@keyframes bounceJump {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.hero-scroll-indicator { 
    color: var(--gold-primary); 
    animation: bounce 2.2s ease-in-out infinite; 
    cursor: pointer;                
    transition: var(--transition-smooth);
}

.hero-scroll-indicator:hover {
    transform: translateY(5px);
}

/* Text styling */
.hero-scroll-indicator span {
    transition: all 0.35s ease;
    letter-spacing: 3px;
}

/* Arrow styling */
.hero-scroll-indicator i {
    transition: all 0.35s ease;
}

/* ✨ Hover effect */
.hero-scroll-indicator:hover {
    transform: translateY(-3px);
}

/* Glow + spacing refinement */
.hero-scroll-indicator:hover span {
    letter-spacing: 4px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* Arrow becomes more alive */
.hero-scroll-indicator:hover i {
    transform: translateY(6px) scale(1.15);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
}    

/** === Alert === **/
.alert-text {
    margin: 0;
    color: rgba(230, 240, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 550px;
    margin-top: 0.25rem;
}

.alert-link {
    color: #FFD966;
    text-decoration: none;
    border-bottom: 1.5px dotted rgba(255, 217, 102, 0.4);
    transition: all 0.2s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.alert-link i {
    font-size: 0.875rem;
}

.alert-link:hover {
    color: #FFE69E;
    border-bottom-color: #FFE69E;
    gap: 0.5rem;
}

@media (max-width: 640px) {
    .alert-text {
        font-size: 0.9rem;
        text-align: center;
    }
}


/** === PCARD === */
.p-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    );
    backdrop-filter: blur(14px);
    will-change: transform;
}

.p-card:hover {
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.p-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(212,175,55,0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.p-card:hover::after {
    opacity: 1;
}        

.p-card i {
    font-size: 2.2rem;
    color: var(--gold-primary);
    margin-bottom: 25px;
    display: block;
    transition: transform 0.4s ease, color 0.4s ease;
}

.p-card:hover i {
    transform: scale(1.2) rotate(-5deg);
    color: #F3E5AB;
}        

.p-card h4 {
    color: #fff; 
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.p-card p { 
    color: #bfc7e0; 
    font-size: 0.95rem; 
    line-height: 1.6; 
    margin-bottom: 10px; 
    transition: color 0.3s ease;
}

.p-card:hover p {
    color: #ffffff;
}      
        
/* Smooth transition for the CTA button inside the card */
.p-card .btn {
    opacity: 0.9;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.p-card:hover .btn {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/** === P List === **/
.p-card .p-list {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    align-items: start;

    text-align: left;
    margin: 0 auto;

    transform: none;
    background: none;
}

.p-card .p-list i {
    font-size: 0.5rem;
    color: var(--gold-primary);
    opacity: 0.8;
}
 
.p-card .p-list div {
    display: flex;
    align-items: start;
    gap: 16px;
    line-height: 1.5;
}

.p-card .p-list div::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    border-radius: 50%;
    flex-shrink: 0;
    align-items: start;
    margin-top: 7px;
    margin-left:10px;
}

.p-list div i {    
    color:var(--gold);
}

.p-link-wrap {
    margin-top: 10px;
}

.p-card .p-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 0.85rem;
    font-weight: 500;

    color: #cbd3ea; /* soft white, not gold */
    text-decoration: none;

    position: relative;
    transition: color 0.25s ease;
}

/* subtle underline (not default) */
.p-card .p-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: color 0.25s ease;
}

/* hover = reveal intent */
.p-card .p-link:hover {
    color: #ffffff;
    gap: 10px;
}

.p-card .p-link:hover::after {
    width: 100%;
}      

.p-card .p-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.p-card .p-link-icon {
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transform: translateY(12px);
    transition: transform 0.25s ease;                    
}

.p-card:hover .p-link-icon {
    transform: translateY(12px); /* cancel scale + rotate */

}                

.p-card .p-link:hover .p-link-icon {
    transform: translateY(12px) translateX(4px);
}

/** == Main Wrapper == **/
.tei-main-wrapper {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 30%, #0b3157 0%, #05121e 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tei-main-wrapper::before {
    content: "";
    position: absolute;
    top: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(219,180,92,0.12), transparent 70%);
    filter: blur(80px);
}

.tei-main-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;

    background: linear-gradient(
        to bottom,
        rgba(5,18,30,0),
        rgba(5,18,30,1)
    );
}

.tei-top-section {
    position: relative; /* Essential for the absolute line to position correctly */
    padding-top: 60px; /* Space for the line to breathe */
    /* ... your existing transition/opacity code ... */
}

.tei-top-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Centers the line perfectly */
    width: 360px; /* Fixed width for a sophisticated, minimalist look */
    height: 3px;
    /* Using a multi-stop gradient for a "shimmer" effect */
    background: linear-gradient(90deg, 
        transparent 0%, 
        #d4af37 50%, 
        transparent 100%
    );
    /* Subtle glow underneath the line */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.tei-top-section.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Adds a tiny delay to the charts inside so the header fades first */
.tei-top-section.reveal .row {
    transition-delay: 0.3s;
}        

.tei-top-section .btn {
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    background: transparent;
    border-radius: 0; /* Square edges feel more architectural/industrial like Bauma */
    padding: 12px 30px;
    transition: all 0.3s ease;
}
.tei-top-section .btn:hover {
    background: #d4af37;
    color: #05121e;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.section-eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold-primary);
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.8;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(145deg, #ffffff, #cdd6fc);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-desc {
    max-width: 700px;
    color: #a2abc9;
    margin-bottom: 64px;
    font-size: 1rem;
}

/* Card */
.card{
    position:relative;
    height:100%;
    width:100%;
    border-radius:var(--card-radius);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.015)
        );
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(16px);
    overflow:hidden;
    box-shadow:
        0 20px 50px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.03);
    transition:var(--transition);
}

.card:hover{
    transform:translateY(-10px);
    border-color:rgba(212,175,55,.25);
    box-shadow:
        0 35px 65px rgba(0,0,0,.45),
        0 0 0 1px rgba(212,175,55,.12);
}

.card::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(
            circle at top right,
            rgba(212,175,55,.10),
            transparent 35%
        );
    opacity:0;
    transition:var(--transition);
}

.card:hover::before{
    opacity:1;
}        

.focus-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.01)
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 24px !important;
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.focus-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.25) !important;
    box-shadow: 
        0 25px 45px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 175, 55, 0.05) !important;
}

/* Icon Box Design */
.focus-icon-box {
    width: 45px;
    height: 45px;
    margin-right: 10px;
    border-radius: 18px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.focus-icon-box i {
    font-size: 1.8rem;
    color: var(--gold-primary);
    transition: all 0.4s ease;
}

/* Hover Micro-interactions */
.focus-card:hover .focus-icon-box {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: scale(1.05);
}

.focus-card:hover .focus-icon-box i {
    color: #0A0A0F;
}

/* Content Typography (Strictly Left Aligned) */
.focus-card-content {
    text-align: left !important;
}

.focus-card-content h5 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

/* If the h5 is the last or only element, remove its margin */
.focus-card-content h5:last-child {
    margin-bottom: 0 !important;
}

.focus-card:hover .focus-card-content h5 {
    color: var(--gold-primary);
}

.focus-card-content p {
    color: #B3BDCC;
    font-size: 0.93rem;
    line-height: 1.6;
}

.section-divider {
    width: 100px;
    height: 4px;
    margin: 20px auto;
    border-radius: 4px;
    background: linear-gradient(
        90deg,
        var(--gold),
        transparent
    );
}

.section-divider-left {
    width: 100px;
    height: 4px;
    margin: 20px 0;          /* Changed from '20px auto' to align left */
    border-radius: 4px;
    background: linear-gradient(
        90deg,
        var(--gold),
        transparent
    );
}