/* -----------------------------------------------------------
   Ashuvedya Complementary Medicine Campus — Under Construction
   Premium, modern medical-university feel (CSS-only background).
----------------------------------------------------------- */

:root{
  --bg1: #f6fbff;
  --bg2: #eef6ff;
  --ink: #0b1220;
  --muted: #5f6b7a;

  --primary: #0b5ed7;
  --teal: #16c2a2;
  --card: rgba(255,255,255,0.78);
  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.18);

  --radius-xl: 24px;
  --radius-lg: 18px;
}

html, body { height: 100%; }

.acm-body{
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--ink);
  overflow-x: hidden;
}

/* Background layers */
.acm-bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow{
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 999px;
  filter: blur(55px);
  opacity: .45;
}

.g1{
  left: -280px;
  top: -280px;
  background: radial-gradient(circle, rgba(22,194,162,.45), transparent 60%);
}

.g2{
  right: -320px;
  bottom: -320px;
  background: radial-gradient(circle, rgba(11,94,215,.40), transparent 62%);
}

.grid{
  position: absolute;
  inset: 0;
  opacity: .35;
  background:
    linear-gradient(to right, rgba(11,94,215,0.07) 1px, transparent 1px) 0 0/54px 54px,
    linear-gradient(to bottom, rgba(11,94,215,0.07) 1px, transparent 1px) 0 0/54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0 55%, transparent 72%);
}

.molecules{
  position: absolute;
  inset: 0;
  opacity: .45;
  background:
    radial-gradient(circle at 15% 25%, rgba(22,194,162,0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 25% 65%, rgba(11,94,215,0.25) 0 2px, transparent 3px),
    radial-gradient(circle at 55% 30%, rgba(22,194,162,0.25) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 35%, rgba(11,94,215,0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 75%, rgba(22,194,162,0.20) 0 2px, transparent 3px);
  mask-image: radial-gradient(circle at 50% 45%, #000 0 60%, transparent 80%);
}

/* Ensure content stays above */
main, footer, .container { position: relative; z-index: 1; }

/* Brand strip */
.brand-strip{
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  backdrop-filter: blur(10px);
}

.logo-chip{
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

.logo-img{
  max-width: 60px;
  max-height: 60px;
  overflow: hidden;
}

.brand-name{
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.15;
}

.brand-tagline{
  color: var(--muted);
  font-size: .98rem;
}

.status-pill{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  font-weight: 600;
  color: rgba(11, 18, 32, .85);
  white-space: nowrap;
}

/* Hero card */
.hero-card{
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-left{
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65));
}

.hero-right{
  background:
    radial-gradient(600px 600px at 30% 20%, rgba(22,194,162,.16), transparent 60%),
    radial-gradient(600px 600px at 80% 60%, rgba(11,94,215,.14), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.35));
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 991.98px){
  .hero-right{ border-left: 0; border-top: 1px solid rgba(15, 23, 42, 0.08); }
}

/* Kicker */
.kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(11, 18, 32, .70);
}

.kicker .dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, var(--teal), var(--primary), var(--teal));
  box-shadow: 0 0 0 5px rgba(22,194,162,.10);
}

/* Info card */
.info-card{
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.icon-badge{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(11,94,215,0.10);
  border: 1px solid rgba(11,94,215,0.18);
  color: var(--primary);
  font-size: 1.1rem;
}

.email-link{
  font-weight: 800;
  text-decoration: none;
  color: rgba(11, 18, 32, .90);
}
.email-link:hover{ text-decoration: underline; }

/* Social buttons */
.social-btn{
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.75);
  color: rgba(11, 18, 32, .75);
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
}
.social-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.95);
}

/* Countdown */
.countdown-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.utc-badge{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.70);
  color: rgba(11, 18, 32, .75);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}

.countdown-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 768px){
  .countdown-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.time-tile{
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.70);
  padding: 16px 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.time-value{
  font-size: clamp(1.8rem, 4.3vw, 2.8rem);
  font-weight: 900;
  letter-spacing: .5px;
  line-height: 1.05;
}

.time-label{
  margin-top: 4px;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(95, 107, 122, .95);
}

.time-spark{
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px; height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(22,194,162,.25), transparent 65%);
  filter: blur(2px);
}

/* Build panel */
.build-panel{
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.60);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}
.progress-bar{
  border-radius: 999px;
}
/* ===================================================================
   MOBILE RESPONSIVE ENHANCEMENTS
=================================================================== */

/* Small mobile devices (< 576px) */
@media (max-width: 575.98px) {
  /* Reduce glow size on small screens */
  .glow {
    width: 600px;
    height: 600px;
  }
  
  .g1 {
    left: -200px;
    top: -200px;
  }
  
  .g2 {
    right: -200px;
    bottom: -200px;
  }
  
  /* Brand strip - stack vertically on mobile */
  .brand-strip {
    flex-direction: column;
    align-items: flex-start !important;
    padding: 16px 14px;
  }
  
  .brand-strip > div:first-child {
    width: 100%;
  }
  
  .brand-name {
    font-size: 0.95rem;
  }
  
  .brand-tagline {
    font-size: 0.85rem;
  }
  
  .status-pill {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  /* Logo adjustment */
  .logo-chip {
    width: 48px;
    height: 48px;
  }
  
  .logo-img {
    max-width: 48px;
    max-height: 48px;
  }
  
  /* Hero card padding */
  .hero-card .col-12 {
    padding: 1.5rem !important;
  }
  
  /* Typography adjustments */
  .display-6 {
    font-size: 1.5rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .kicker {
    font-size: 0.7rem;
  }
  
  /* Info card */
  .info-card {
    padding: 1rem !important;
  }
  
  .icon-badge {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .email-link {
    font-size: 0.9rem;
    word-break: break-all;
  }
  
  /* Social buttons */
  .social-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  
  /* Countdown */
  .countdown-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
  
  .countdown-header .h5 {
    font-size: 1rem !important;
  }
  
  .utc-badge {
    padding: 7px 10px;
    font-size: 0.8rem;
  }
  
  .countdown-grid {
    gap: 10px;
    margin-top: 14px;
  }
  
  .time-tile {
    padding: 12px 10px;
  }
  
  .time-value {
    font-size: 1.5rem !important;
  }
  
  .time-label {
    font-size: 0.7rem;
  }
  
  /* Build panel */
  .build-panel {
    padding: 1rem !important;
  }
  
  .build-panel .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 4px;
  }
}

/* Medium mobile devices (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .brand-name {
    font-size: 1rem;
  }
  
  .display-6 {
    font-size: 1.75rem !important;
  }
  
  .lead {
    font-size: 1.05rem !important;
  }
  
  .hero-card .col-12 {
    padding: 2rem !important;
  }
  
  .time-value {
    font-size: 2rem !important;
  }
}

/* Tablets (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .brand-name {
    font-size: 1.05rem;
  }
  
  .display-6 {
    font-size: 2rem !important;
  }
  
  /* Adjust countdown grid to 2x2 on tablet */
  .countdown-grid {
    gap: 12px;
  }
  
  .time-value {
    font-size: 2.2rem !important;
  }
}

/* Landscape mobile optimization */
@media (max-height: 600px) and (orientation: landscape) {
  main {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .hero-card .col-12 {
    padding: 1.5rem !important;
  }
  
  .display-6 {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .lead {
    margin-bottom: 1rem !important;
  }
  
  .info-card {
    padding: 1rem !important;
  }
}

/* Touch-friendly improvements for all mobile devices */
@media (max-width: 991.98px) {
  /* Ensure buttons and links are easy to tap */
  .social-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Better touch targets */
  .email-link {
    display: inline-block;
    padding: 4px 0;
  }
  
  /* Prevent text from being too wide */
  .brand-name,
  .brand-tagline,
  .display-6,
  .lead {
    word-wrap: break-word;
  }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}