:root {
  --primary: #5a67d8;
  --secondary: #7f9cf5;
  --glass: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.6);
}

/* GLOBAL */
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(180deg, #c7c9f1, #ecefff);
  color: #1a202c;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 36px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 24px 24px;
}

nav strong {
  background: white;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

nav a {
  margin-left: 16px;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 999px;
  color: #2b2e4a;
  transition: 0.3s;
}

nav a:hover {
  background: white;
  color: var(--primary);
}

/* HERO */
.hero {
  padding: 90px 60px;
}

.hero-text {
  max-width: 55%;
}

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

.hero button {
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

#web_logo {
  width: 300px;
  margin-top: 20px;
  border-radius: 160px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: absolute;
  right: 160px;
  top: 160px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  margin-left: 10px;
}

/* SECTIONS */
section {
  padding: 70px 60px;
}

/* SWIPER */
.container-swiper {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 70px 55px;
}

.card-list .card-item {
  width: 200px;
  height: 450px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.card-list .card-item .image {
  width: 150px;
  height: 150px;
  margin-bottom: 40px;
  border-radius: 50%;
  border: 3px solid gray;
  padding: 4px;
}

.card-list .card-item .information {
  font-size: 20px;
  font-weight: 500px;
  margin: 14px 0;
}

.card-item {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-radius: 16px;
}

.swiper-slide {
  width: 200px;
  opacity: 0.6;
  filter: blur(1px);
  transform: scale(0.94);
  transition: all 0.4s ease;
  width: 70%;
  justify-content: center;
  display: flex;
}

.swiper-slide-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.swiper-slide-active h3 {
  color: #222;
}

.swiper-slide:not(.swiper-slide-active) {
  color: #777;
}

.information,
.inform,
.info {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none;
}

/* MYTH */
.myth-box {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 20px;
}

.myth-box {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  max-width: 100%;
  max-height: 400px;
  overflow-y: auto;
}

.myth-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* EVM */
.evm {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 20px;
}

.evm iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 16px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

/* IMPACT SECTION */
.impact-section {
  padding: 60px 20px;
  
  text-align: center;
}

.impact-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.impact-subtitle {
  color: #555;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 50px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 28px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-card h3 {
  font-size: 1.8rem;
  color: #4b5cff;
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 0.95rem;
  color: #444;
}

/* GRAPH SECTION */
.graph-section {
  margin: 60px auto;
  max-width: 1000px;
}

.graph-section h3 {
  text-align: center;
  margin-bottom: 30px;
}

.graph-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.graph-card {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.graph-card h4 {
  text-align: center;
  margin-bottom: 15px;
}

/* SAVINGS IMPACT */
.savings-impact {
  margin-top: 20px;
  text-align: center;
}

.impact-title {
  font-size: 16px;
  margin-bottom: 12px;
  margin-top: 12px;
  color: #3a2f3f;
}

.impact-items {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 16px;
}

.impact-item {
  flex: 1;
  width: 30%;
  padding: 18px 12px;
  text-align: center;
  background: linear-gradient(135deg, #f6f2f8, #ece6f1);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.impact-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.impact-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
  color: #2f2238;
}

.impact-item p {
  font-size: 13px;
  margin: 0;
  color: #4a3b52;
  line-height: 1.3;
}

/* LINKS */
.demo-link,
.comic-link {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #6f86e8;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.demo-link:hover,
.comic-link:hover {
  background-color: #916496;
}

.demo-link:active,
.comic-link:active {
  background-color: #4b5cff;
}

/* COMIC */
.comic-section {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 20px;
}


/* OUTER WRAPPER */
#combined {
  padding: 60px 40px;
}

/* GRID LAYOUT */
.combined-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: stretch;
}

/* CARD STYLING (comic + evm) */
.comic-section,
.evm {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.9);
}

/* HEADINGS */
.comic-section h2,
.evm h2 {
  text-align: center;
  margin-bottom: 14px;
}

/* PARAGRAPH TEXT */
.comic-section p,
.evm p {
  text-align: center;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 24px;
}

/* LINKS / BUTTONS */
.comic-link,
.demo-link {
  align-self: center;
  margin-top: auto;
  border: 1px solid rgba(255,255,255,0.9);
}

#btn-speak , #btn-lang {
  margin-top: 20px;
  font-size: 16px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

#btn-speak:hover {
  background:whitesmoke;
  color: var(--primary);
  opacity: 0.7;
}

#btn-lang:hover {
  background:var(--secondary);
  color: white;
  opacity: 0.7;
}

/* CRISIS SECTION */
.crisis-section {
    background-color: linear-gradient(180deg,#c7c9f1,#ecefff);
    padding: 60px 20px;
}

.crisis-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.crisis-card {
    background: white;
    width: 350px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.crisis-card:hover {
    transform: translateY(-5px);
}

.crisis-header {
    background: #fff5f5; /* Light Red background for Danger */
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #fed7d7;
}

.crisis-header .icon {
    font-size: 24px;
}

.crisis-header h3 {
    color: #c53030; /* Red Text */
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.crisis-body {
    padding: 25px;
}

.crisis-body p {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 20px;
}

.solve-btn {
    width: 100%;
    padding: 12px;
    background: #c53030;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.solve-btn:hover {
    background:  #48bb78; /* Purple hover */
}

/* HIDDEN SOLUTION PART */
.solution-body {
    background: #f0fff4; /* Light Green */
    padding: 25px;
    display: none; /* Hidden by default */
    border-top: 1px solid #c6f6d5;
    animation: fadeIn 0.5s;
}

.solution-tag {
    background: #48bb78;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.solution-body p {
    font-size: 13px;
    color: #2f855a;
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
