/* Base Styles */
:root {
  --primary-blue: #174EA6;
  --accent-blue: #4285F4;
  --text-dark: #202124;
  --text-secondary: #5f6368;
  --background-light: #f8f9fa;
  --border-light: #e8eaed;
  --highlight-yellow: #fbbc04;
  --white: #ffffff;
  --success: #27ae60;
  --danger: #e74c3c;
  --reading-width: 85ch;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background:
    repeating-linear-gradient(to right, transparent, transparent 40px, rgba(255, 255, 255, 0.3) 40px, rgba(255, 255, 255, 0.3) 43px),
    repeating-linear-gradient(to bottom, transparent, transparent 40px, rgba(255, 255, 255, 0.3) 40px, rgba(255, 255, 255, 0.3) 43px),
    linear-gradient(to right, rgba(238, 229, 229, 0.15), rgba(231, 228, 215, 0.15) 100%);
}


.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}


a {
  text-decoration: none;
  color: #1f282e;
}

/* Header Styles */
.header-container {
  background: #f5f5f5e9;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
}

header {
  height: 100%;
  margin: 0 auto;
  padding: 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  width: 140px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.engraved1,
.engraved2 {
  font-weight: bold;
  padding: 3px 8px;
  border: none;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: -2px;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #c3c2c2;
}

.engraved1 {
  color: #f9f4f4;
  background-color: #e90c0c;
  font-size: 25px;
}

.engraved2 {
  color: var(--text-dark);
  background-color: var(--highlight-yellow);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 23px;
}


nav ul:not(.submenu) {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  justify-content: center;
  margin-right: 25px;
}

nav>ul>li {
  position: relative;
}

.top-nav {
  text-decoration: none;
  color: rgba(6, 14, 46, 0.97);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.top-nav:hover {
  color: var(--primary-blue);
}

.top-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-yellow);
  transition: width 0.3s ease;
}

.top-nav:hover::after {
  width: 100%;
}

.mobile-menu-icon {
  display: none;
  font-size: 1.8rem;
  margin-right: 15px;
  cursor: pointer;
  color: var(--primary-blue);
}

/*Submenu*/

.submenu {
  width: 180px;
  display: flex;
  flex-direction: column;
  background: #fff;
  position: absolute;
  list-style: none;
  top: 52px;
  left: -5px;
  padding: 18px 0;
  visibility: hidden;
  opacity: 0;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  z-index: 800;
  transition: all 0.3s ease;
}

nav ul li:hover .submenu {
  visibility: visible;
  opacity: 1;
  top: 52px;
  gap: 0.8rem;
}

.submenu::before {
  content: '';
  height: 0;
  width: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #fff;
  position: absolute;
  top: -12px;
  left: 20px;
}

.submenu>li>a {
  display: block;
  color: #1d2655;
  padding: 4px 6px 6px 14px;
  font-size: 1.1rem;
  margin-top: 4px;
  transition: all 0.3s ease;
  list-style: none;
}

.submenu>li>a:hover {
  background: #0074c7;
  color: #fff;
  transform: scale(1.1);
  padding-left: 30px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

/*Captcha*/
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.overlay.hidden {
  display: none;
}

.captcha-container {
  background: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 50%;
  left: 40%;
  z-index: 999;
}

#userAnswer {
  padding: 12px;
  margin: 15px 0;
}

button {
  padding: 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 7px;
}

button:hover {
  background-color: #125f22;
}


/* Ribbon */

.nav-inner {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: flex-start;
}

.greet-ticker {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: auto;
  visibility: visible;
  overflow: hidden;
  transition: opacity 0.3s ease;
  background: rgba(6, 14, 46, 0.97);
  border-bottom: 4px solid #cd004b;
}

.greet-track {
  display: flex;
  animation: marquee 50s linear infinite;
  padding: 0.8rem 0;
}

.greet-item {
  white-space: nowrap;
  padding: 0 2rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
}

.greet-item::after {
  content: '';
  position: absolute;
  right: -1rem;
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.775);
}


@keyframes marquee {
  0% {
    transform: translateX(40%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.hidden {
  visibility: hidden;
  opacity: 0;
}


/* Two Column Layout */
.two-column-layout {
  display: flex;
  flex-wrap: wrap;
  margin: 65px 0 40px 0;
  gap: 35px;
}

.left-column {
  flex: 9;
  box-shadow:
    -4px 10px 20px rgba(174, 120, 128, 0.8),
    4px 10px 20px rgba(225, 218, 170, 0.8);
  border-radius: 8px;
  padding: 20px;
}

.right-column {
  flex: 2;
}

/* Section Header */
.section-header {
  margin-bottom: 30px;
}

.section-header strong {
  font-size: 24px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-divider {
  height: 3px;
  width: 60px;
  background-color: #3498db;
  margin-top: 10px;
}

/* Featured Article */

.article-content {
  padding: 25px;
}

.article-content p {
  font-size: 1.1rem;
}

.article-content h2 {
  font-size: 1.7rem;
  margin-bottom: 15px;
  margin-top: 10px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  color: #000;
  margin-bottom: 15px;
  font-size: 1rem;
}

.article-meta span {
  margin-right: 15px;
}

/*Social Comments*/
.comments {
  margin-top: 6px;
  display: grid;
  gap: 12px;
}

.comment {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.007));
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.reply {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.007));
  border: 1px solid rgba(255, 255, 255, 0.02);
  margin-left: 45px;
}

.avatar {
  border-radius: 50%;
  height: 40px;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-body {
  flex: 1
}

.c-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.name {
  font-weight: 600;
  font-size: 1.2rem
}

.time {
  font-size: 15px;
}

.c-text {
  font-size: 1.2rem;
  line-height: 1.4
}

.reply .c-text {
  font-size: 1.2rem;
  line-height: 1.4
}


/* Subtle animations */
.comment,
.reply {
  transform-origin: left;
  transition: transform .28s ease, opacity .28s ease
}

.comment:hover,
.reply:hover {
  transform: translateX(6px)
}


/* Language Tags with Colors */
.language-tag,
.category-tag {
  width: 70%;
  padding: 6px 12px;
  margin: 12px 0;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 500;
}

.language-tag {
  background: #e0e7ff;
  color: #3730a3;
}


/* Category Tags */
.category-tag {
  background: #f0fdf4;
  color: #166534;
}

.category-tag.pronunciation {
  background: #fef3c7;
  color: #92400e;
}

.category-tag.culture {
  background: #fce7f3;
  color: #be185d;
}

.category-tag.tips {
  background: #ded7e1;
  color: #281860;
}

/* Latest Articles */
.latest-articles {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow:
    -3px 5px 5px rgba(211, 161, 169, 0.5),
    6px 12px 15px rgba(238, 228, 169, 0.7);
}

.article-card {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.article-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.article-thumbnail {
  width: 300px;
  height: 120px;
  margin-left: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.article-thumbnail img {
  height: 100%;
  width: 68%;
}

.article-info {
  width: 84%;
}

.article-info h3 a {
  font-size: 17px;
  transition: all 0.2s ease-in-out;
}

.article-info h3 a:hover {
  text-decoration: underline;
}

.date {
  margin-top: 5px;
}

/* Must Read Section */
.recommended-read {
  margin: 50px 0;
  max-width: 1300px;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.recommended-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.7rem;
}

.recommended-tool-card,
.recommended-post-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    -4px 10px 15px rgba(217, 174, 182, 0.5),
    4px 10px 15px rgba(238, 228, 169, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recommended-tool-card:hover,
.recommended-post-card:hover {
  transform: translateY(-5px);
}

.recommended-tool-image,
.recommended-post-image {
  width: 100%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.recommended-tool-image {
  height: 400px;
  object-fit: contain;
}

.recommended-post-image {
  height: 300px;
  object-fit: cover;
}

.recommended-tool-content {
  padding: 1rem 1.3rem;
  margin: 10px;
}

.related-post-content,
.recommended-post-content {
  padding: 1rem;
}

.related-post-title,
.recommended-tool-title,
.recommended-post-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.related-post-title a,
.recommended-post-title a,
.recommended-tool-title a {
  color: rgb(50, 91, 161);
  text-decoration: underline;
}

.related-post-excerpt,
.recommended-post-excerpt,
.recommended-tool-excerpt {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Hero Section */
.invite {
  background: linear-gradient(135deg, #cfa3b7e2 0%, #e2d6adcf 100%);
  color: rgb(8, 0, 0);
  padding: 80px 0 100px;
  text-align: center;
  margin-bottom: 25px;
}

.invite-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.invite-subtitle {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.invite-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
}

.invite-description {
  font-size: 1.3rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/*Timeline*/
.actions-line {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.actions-line h3 {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 3rem;
  color: var(--primary-blue);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline {
  position: relative;
  border-left: 5px solid #000;
  margin-left: 2rem;
  padding-left: 2rem;
}

.event {
  padding: 1.5rem 0;
  position: relative;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease;
  margin-bottom: 2rem;
  border-radius: 15px;
  padding: 2rem;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(12, 12, 12, 0.1);
}

.event {
  opacity: 1;
  transform: translateX(0);
}

.event::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 2rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #DC143C;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px #DC143C;
}

.number {
  font-weight: 700;
  color: var(--color-bg-dark);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.event>strong {
  font-size: 1.5rem;
}

.event>p {
  margin: 10px 0;
  font-size: 1.2rem;
}



/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: #a05c6b;
  font-weight: bold;
}

.footer-bottom {
  border-top: 1px solid #334155;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
}

/*Categories*/
.page-head h2 {
  font-size: 3rem;
  line-height: 1.02;
  margin: 40px 0 12px;
}

.page-head p {
  color: var(--success);
  font-size: 1.03rem;
  line-height: 1.7;
}

.searchbar {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.searchbar input {
  width: 100%;
  background: white;
  border: 2px solid var(--primary-blue);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 14px;
  outline: none;
}

.searchbar input {
  flex: 1;
  min-width: 240px
}

.searchbar.narrow {
  max-width: 640px
}



/*Blog page*/
.articleCont {
  max-width: 1300px;
  margin: 30px auto;
  padding: 22px 25px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.5;
}

.articleCont header {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 30px;
}

.articleImg {
  width: 28%;
  height: 28%;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.articleImg:hover {
  transform: scale(1.01);
}

.articleCont header h1 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #222;
  padding: 5px 20px;
}

.meta-info {
  font-size: 1rem;
  color: #757575;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.meta-info span {
  margin-right: 10px;
  vertical-align: middle;
}

.meta-info .date {
  font-style: italic;
}

.meta-info .author {
  font-weight: bold;
}

.meta-info .reading-time {
  color: #c05b5b;
}


ol {
  background-color: #e2ebdee5;
  padding: 10px 40px;
  border-radius: 2px;
}

ol>li {
  margin: 10px 0;
  padding: 7px;
  font-size: 1.3rem;
}

.subHeader {
  color: #272a69;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 1.5rem;
  margin: 2.5rem 0 1.2rem;
  position: relative;
  padding: 5px 15px;
}

.subHeader::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #9370DB, #4d3cbb);
  border-radius: 3px;
}

.subSubHeader {
  color: #371983;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  padding: 5px 15px;
  font-size: 1.3rem;
}

.articleText {
  margin-bottom: 1.7rem;
  color: #444;
  font-size: 1.3rem;
  line-height: 1.7;
  padding: 5px 20px;
}


.insideLink {
  color: #3560B1;
  font-weight: 700;
}

.insideLink:hover {
  text-decoration: underline;
}


/* About */
.about-hero-react {
  padding: 80px 0;
  background: #fafafa;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.globe-icon {
  font-size: 16px;
}

.hero-title-react {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.greeting {
  display: block;
  color: #1e293b;
}

.name-gradient {
  display: block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description-react {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #667eea;
  padding: 12px 24px;
  border: 2px solid #667eea;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
}

.btn-icon {
  font-size: 18px;
}

/* Hero Image Container */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 550px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-card {
  position: absolute;
  bottom: -24px;
  right: -10px;
  background: white;
  border-radius: 16px;
  padding: 16px 25px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stats-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stats-text {
  text-align: center;
}

.stats-number {
  font-size: 1.2rem;
  color: #1e293b;
  margin: 0;
}

.stats-label {
  font-size: 1.5rem;
  color: #64748b;
  margin: 0;
  font-weight: 700;
}

/* Achievements Section */
.achievements-section {
  padding: 80px 0;
  background: white;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.achievement-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 0;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.achievement-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.achievement-icon span {
  font-size: 32px;
  filter: grayscale(100%) brightness(0) invert(1);
}

.achievement-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.achievement-card p {
  color: #64748b;
  line-height: 1.5;
}

/* Language Journey Section */
.tools-section {
  padding: 80px 0;
  background: #f8fafc;
}

.tools-grid-react {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.tools-card-react {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 0;
}

.tools-card-react:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.color-ball {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin: 14px auto;
  display: block;
}

.first {
  background: rgb(164, 184, 210);
}

.second {
  background: rgb(116, 168, 99);
}

.third {
  background: rgb(139, 88, 149);
  color: white;
}

.fourth {
  background: rgb(225, 225, 40);
}

.fifth {
  background: rgb(169, 55, 66);
  color: white;
}

.tools-card-react h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.level-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.level-badge.uno {
  background: #dbeafe;
  color: #1e40af;
}

.level-badge.dos {
  background: #f3e8ff;
  color: #7c2d12;
}

.level-badge.cuatro {
  background: #fed7aa;
  color: #ea580c;
}

.level-badge.tres {
  background: #fce7f3;
  color: #be185d;
}

.language-card-react .years {
  color: #64748b;
  font-size: 14px;
}

/* Story Section */
.story-section-react {
  padding: 40px 0;
  background: white;
}

.story-content-react {
  max-width: 400px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #4153b0 0%, #67329c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-content-react li {
  color: #64748b;
  margin-bottom: 24px;
  font-size: 1.3rem;
  margin-left: 20px;
}

/* Testimonials Section */
.testimonials-section-react {
  padding: 80px 0;
  background: #f8fafc;
}

.testimonials-grid-react {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.testimonial-card-react {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 0;
}

.stars {
  margin-bottom: 16px;
  font-size: 20px;
}

.testimonial-card-react blockquote {
  color: #64748b;
  margin-bottom: 16px;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-author strong {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.testimonial-author span {
  color: #64748b;
  font-size: 14px;
}

/* CTA Section */
.cta-section-react {
  padding: 80px 0;
  background: linear-gradient(135deg, #cfa3b7e2 0%, #e2d6adcf 100%);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(8, 0, 0);
  margin-bottom: 24px;
}

.cta-description {
  font-size: 1.25rem;
  color: rgb(8, 0, 0);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #174EA6;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cta-white:hover {
  background: #eaedf0;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  padding: 12px 24px;
  border: 2px solid white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cta-outline:hover {
  background: white;
  color: #667eea;
}


/*Privacy*/
.privacyMain {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 45px auto 10px auto;
  padding: 15px;
}

.faq-section {
  max-width: 600px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.faq-item {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
}

.faq-question {
  color: #3144a8;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 1.3rem;
  background-color: #eeeff0c1;
  padding: 20px;
  cursor: pointer;
  margin: 0;
}

.faq-answer {
  display: none;
  /* Initially hide the answers */
  padding: 15px;
  background-color: #fff;
}

.priv-text {
  margin: 1.5rem 0;
  color: #444;
  font-size: 1.3rem;
  line-height: 1.7;
  padding: 5px;
}

/* Responsive Design */

@media screen and (min-width: 641px) and (max-width: 1050px) {
  .two-column-layout {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    width: 100%;
  }

  header {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-icon {
    display: block;
  }

  .submenu {
    visibility: hidden;
  }

  .submenu.show {
    visibility: visible;
    left: 40px;
  }

  .tips-container {
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .tip-card {
    margin-top: 10px;
  }
  
  .recommended-tool-content {
    padding: 1rem;
    margin: 10px;
  }

  .related-posts-grid,
  .recommended-grid,
  .recommended-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }

  .related-posts {
    padding: 2rem 1.3rem;
    margin: 2rem auto;
    width: 94%;
  }

  .related-post-image,
  .recommended-post-image,
  .recommended-tool-image {
    width: 100%;
    height: 340px;
  }

  .related-post-excerpt,
  .recommended-post-excerpt,
  .recommended-tool-excerpt {
    margin: 25px 0;
    font-size: 1.1rem;
  }

  .articleImg {
    width: 40%;
    height: 36%;
  }

  .reading-image {
    width: 11%;
  }

  .article-info {
    width: 90%;
  }

  .article-thumbnail img {
    width: 55%;
  }

  .featured-image {
    height: 450px;
  }

  .featured-image img {
    width: 100%;
    height: 100%;
  }

  .footer-content>div {
    width: 100%;
    margin-bottom: 30px;
  }

  #p-b {
    width: 42%;
    font-size: 1.3rem;
  }

  .bullets-text p {
    font-size: 1.17rem;
  }
}

@media screen and (max-width: 640px) {
  .header-container {
        padding: 10px;
    }

    .logo {
        font-size: 1.2em;
        text-align: center;
         max-width: 540px;
    }
    
    .engraved1 {
    font-size: 20px;
    }

    .engraved2 {
      font-size: 18px;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #e4d1dae2 0%, #ebe1c3cf 100%);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 20px 0;
    }

    .nav-links li {
        padding: 15px 20px;
        border-bottom: 1px solid #ddd;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .mobile-menu-icon {
        display: flex;
        justify-content: center;
        cursor: pointer;
    }

    .nav-active {
        display: flex;
    }

    .submenu {
        display: none;
        flex-direction: column;
        padding-left: 20px;
    }

    .show {
        display: flex;
    }

    .unfold {
        cursor: pointer;
    }

  

  .right-column {
    width: 80%;
  }

  .featured-image {
    width: 100%;
    height: 380px;
  }

  .featured-image img {
    width: 100%;
    height: auto;
  }

  .featured-article {
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  .article-content {
    padding: 15px;
    min-height: 350px;
  }

  .article-content p {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 180px;
  }

  .term-explanations {
    padding: 20px 15px;
  }

  .article-info h3 a {
    font-size: 15px;
  }

  .recommended-grid, .recommended-grid-2 {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  /*Recommended*/

  .recommended-post-image {
    width: 100%;
    height: 380px;
  }

  .recommended-post-card {
    width: 100%;
  }

  .recommended-post-excerpt {
    margin: 25px 0;
    font-size: 1.1rem;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .article-meta {
    flex-direction: column;
  }

  .article-meta span {
    margin-bottom: 5px;
  }

  .desktop {
    display: none;
  }

  button {
    padding: 10px 14px;
    font-size: 1rem;
    margin-left: 5px;
  }

  main {
    margin: 45px auto 10px auto;
  }

  h1 {
    font-size: 1.5rem;
  }

  .content p {
    line-height: 1.6;
    font-size: 1.1rem;
    padding: 5px 10px;
  }

  .articleCont {
    max-width: 98%;
    margin: 20px auto 30px auto;
    padding: 15px;
    line-height: 1.5;
  }

  .articleCont header h1 {
    font-size: 1.3rem;
    padding: 7px 15px;
  }

  .subHeader {
    font-size: 1.2rem;
  }

  .subSubHeader {
    font-size: 1.1rem;
  }

  .articleImg {
    width: 50%;
    height: 44%;
    margin: 5px auto;
  }


  .reading-image {
    width: 20%;
  }

  .reading-title a {
    font-size: 0.90rem;
    font-weight: 600;
    color: #0d1f56;
  }

  .reading-date,
  .reading-description {
    font-size: 0.80rem;
  }

  ol>li {
    font-size: 1.1rem;
  }

  .articleText,
  .priv-text {
    font-size: 1.1rem;
  }

  .meta-info {
    font-size: 0.9em;
    margin-bottom: 15px;
  }

  .articles-Hero {
    width: 100%;
    padding: 10px;
  }

  .articleTitle {
    font-size: 1rem;
  }

  .hero {
    padding: 10px 20px;
    font-size: 1.2rem;
    background-position: center;
    height: 92vh;
  }

  .cta-question {
    font-size: 1.4rem;
  }

  .privacyMain {
    margin: 30px auto 10px auto;
  }

  .article-thumbnail img {
    width: 70%;
    height: 90%;
  }

  .article-info {
    width: 94%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-react {
    padding: 50px 0;
    text-align: center;
  }

  .stats-card {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
  }
  
  .c-meta {
    font-size: 1.1rem;
  }

  .name {
    font-size: 1.1rem
  }

  .c-text {
    font-size: 1rem;
    line-height: 1.3
  }

  .reply .c-text {
    font-size: 1rem;
    line-height: 1.3
  }

  .nav-inner {
    display: none;
  }

  .game-board {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr;
    padding: 0 25px;
  }

  .footer-section {
    margin-bottom: 0;
  }

  .footer-bottom {
    padding: 15px 25px;
  }

}