/* ================================
   GLOBAL STYLES
================================ */
body {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.3px;
  margin: 0;
  padding: 0;
  line-height: 1.65;
  background: linear-gradient(45deg, #ffffff 0%, #b8e0ff 100%);
  color: #222;
}

/* ================================
   HEADER
================================ */
.envrad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 40px;
  text-align: center;
  background: linear-gradient(90deg, #001f4d, #005bbb, #0098ff);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

logo {
  width: 120px;
  height: 120px;
  background: center/contain no-repeat;
 
}


.title-block {
  flex: 1;
  padding: 0 20px;
}

.title-block h1 {
  margin: 0;
  font-size: 28px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.title-block h2 {
  margin: 0;
  font-size: 36px;
  color: orange;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.title-block p {
  margin-top: 6px;
  font-size: 16px;
}

/* Header Mobile */
@media (max-width: 768px) {
  .envrad-header {
    flex-direction: column;
    padding: 15px;
  }
  .logo {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
  }
  .title-block h1 { font-size: 20px; }
  .title-block h2 { font-size: 26px; }
  .title-block p  { font-size: 14px; }
}

/* ================================
   CONTACT HEADER
================================ */
.contact-header {
  aspect-ratio: 1920/80;
  display: flex;
  align-items: center;
  padding-left: 60px;
  background: url('./static/images/under_line.webp') center/cover no-repeat;
}

.contact-header h1 {
  margin: 0;
  font-size: 34px;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .contact-header {
    justify-content: center;
    padding-left: 0;
    text-align: center;
  }
  .contact-header h1 {
    font-size: 26px;
  }
}

/* ================================
   CONTAINER & FLEX
================================ */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 35px auto;
}

.flex {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.box {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(45deg, #b8e0ff, #ffffff);
  border: 2px solid #d8e2ff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ================================
   MAP
================================ */
.map iframe {
  width: 100%;
  height: 320px;
  border-radius: 14px;
  border: 2px solid #d8e2ff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ================================
   NAVIGATION MENU
================================ */
.main-nav {
  background: rgba(0,20,60,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

.nav-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 10px 24px;
}

.nav-menu a {
  color: #f5f7ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.nav-menu a:hover {
  background: #ff9800;
  color: #041326;
  transform: translateY(-1px);
}

.main-nav a.active {
  color: yellow;
  font-weight: 600;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  min-width: 220px;
  padding: 10px 0;
  list-style: none;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 8px 15px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

/* Hover effect same as links */
.dropdown:hover .dropdown-title {
  color: inherit;
}

/* ================================
   COMMITTEE GRID
================================ */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.profile {
  width: 180px;
  height: 170px;
}

.profile img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.profile h3 {
  margin: 2px 0 0;
  font-size: 12px;
  color: #f99d21;
}

.profile p {
  margin: 0;
  font-size: 10px;
  color: #065997;
}

/* ================================
   DECORATIVE LINES
================================ */
.gold-line,
.silver-line {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.gold-line {
  height: 2px;
  background: linear-gradient(90deg,#b8860b,#ffd700,#b8860b);
}

.silver-line {
  height: 1px;
  background: linear-gradient(90deg,#7f8c8d,#dfe4e4,#7f8c8d);
}

/* ================================
   LIVE BADGE
================================ */
.live-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #d60000;
  border-radius: 20px;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(214,0,0,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(214,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,0,0,0); }
}

/* ================================
   TICKER
================================ */

.ticker {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
    padding-top: 12px;
    padding-bottom: 10px;
    padding-left: 0;
    padding-right: 0;

  background: linear-gradient(
    90deg,
    #0b2f40 0%,
    #0f4a63 45%,
    #0b6e6b 100%
  );

  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
}


.ticker-content {
  color: #f2f8ff;           /* soft white */
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  
  display: flex;
  gap: 30px;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;  
}

.ticker-content strong {
  color: #f6c453;          /* soft gold */
  font-weight: 600;
}

.ticker-content space {
  font-size: 16px;
  font-weight: 200;    
  color: #55545c;          /* green */
  font-weight: 600;
}

.ticker-content a {
  color: #cce9ff;
  text-decoration: none;
  font-weight: 500;
}

.ticker-content a:hover {
  color: #ffffff;
  text-decoration: underline;
}



.ticker:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-content span {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.ticker-link {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
  color: #ffff00; 
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

.urgent-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 5px;
  padding: 0 5px;

  background: linear-gradient(135deg, #d72626, #a11212);
  color: #ffffff;

  font-size: 11px !important;
  line-height: 1.2 !important;  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;

  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.35);
}



@keyframes urgent-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.urgent-tag {
  animation: urgent-pulse 3s ease-in-out infinite;
}


/* ================================
   FOOTER
================================ */
.envrad-footer {
  background: linear-gradient(90deg, #001f4d, #003f8c);
  color: #eaeaea;
  font-size: 14px;
  margin-top: 50px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.footer-block h3 {
  color: #ffb347;
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-block p {
  line-height: 1.6;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block ul li {
  margin-bottom: 6px;
}

.footer-block a {
  color: #eaeaea;
  text-decoration: none;
}

.footer-block a:hover {
  color: #ffb347;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding: 12px 10px;
  font-size: 13px;
  background: rgba(0,0,0,0.25);
}

/* ================================
   WELCOME NOTE – ENVRAD
================================ */

.welcome-note {
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 55%, #dbeeff 100%);
  padding: 30px;
  border-radius: 6px;
  color: #1f2f45;
  max-width: 1040px;
  width: 100%;
  margin: 40px auto;
}

/* Section Heading */
.section-title {
  color: #001f4d;
  margin-bottom: 20px;
}

/* Layout Wrapper */
.welcome-wrapper {
  position: relative;
}

/* Welcome Text */
.welcome-text p {
  text-align: justify;
  text-justify: inter-word;
  color: #1f2f45;
  width: 100%;
}

/* Emphasis */
.welcome-note strong {
  color: #001f4d;
}


/* Bottom-left Chair Block */
.chair-bottom-left {
  margin-top: 25px;
  max-width: 200px;
}

/* Chair Photo */
.chair-photo {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 0px;
  border: 0px solid #005bbb;
  margin-bottom: 8px;
}

/* Chair Signature */
.chair-signature {
  font-size: 15px;
  line-height: 1.4;
  color: #001f4d;
}

/* Mobile Friendly */
@media (max-width: 768px) {
  .chair-bottom-left {
    text-align: center;
  }
}

.icon-list{
  list-style:none;
  padding-left:0;
  margin-top:14px;
  columns:2;
  column-gap:48px;
}

.icon-list li{
  display:flex;
  gap:10px;
  margin:8px 0;
  break-inside:avoid;
}

.li-icn{
  width:16px;
  height:16px;
  margin-top:6px;
  fill:none;
  stroke:#d4af37;
  stroke-width:2;
  flex-shrink:0;
}

@media(max-width:768px){
  .icon-list{ columns:1; }
  .box{ padding:28px 22px !important; }
}
