/* === RESET / BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif; /* Or a Google Font you prefer */
  line-height: 1.6;
  color: #333;
  background-color: #f7f7f7;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #005f99; /* Dark blue */
  padding: 1rem 2rem;
}

.navbar-brand a {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
}

.navbar-links {
  list-style: none;
  display: flex;
}

.navbar-links li {
  margin-left: 1rem;
}

.navbar-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.navbar-links a:hover {
  text-decoration: underline;
}

/* === HERO SECTION === */
.main-header {
  position: relative;
  text-align: center;
  color: #fff;
  background: linear-gradient(to right, #005f99, #0077b3);
  padding: 5rem 1rem;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background: #fff;
  color: #005f99;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.cta-btn:hover {
  background: #ffd700; /* Gold accent if you like */
  color: #005f99;
}

/* === SECTION TITLES === */
.section-title {
  text-align: center;
  margin: 2rem 0;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* === FEATURES SECTION === */
.features-section {
  background-color: #fff;
  padding: 2rem 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

/* === SCREENSHOTS SECTION === */
.screenshots-section {
  padding: 2rem 1rem;
}

.screenshot-gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.screenshot-card {
  background: #fff;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  border-radius: 5px 5px 0 0;
}

.screenshot-card p {
  padding: 0.5rem;
  font-weight: 500;
}

/* === INSTRUCTIONS SECTION === */
.instructions-section {
  background-color: #f0f0f0;
  padding: 2rem 1rem;
}

.instructions-article {
  max-width: 800px;
  margin: 1rem auto;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
}

.instructions-article h3 {
  margin-top: 1rem;
}

.instructions-article ul {
  list-style: disc inside;
  margin-left: 1rem;
}

/* === CONTACT SECTION === */
.contact-section {
  background: #fff;
  padding: 2rem 1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-section ul {
  list-style: none;
  margin-top: 1rem;
}

.contact-section a {
  color: #005f99;
  text-decoration: none;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* === FOOTER === */
.main-footer {
  background: #005f99;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

.main-footer small {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* === RESPONSIVE MEDIA QUERIES (optional) === */
@media (max-width: 768px) {
  .navbar-links {
    display: none; /* Hide or transform into a burger menu if you like */
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/**************************************
  MODERN LANGUAGE SWITCHER STYLES
**************************************/
.language-switcher {
  display: flex;
  align-items: center;
  /* Increase gap to, say, 1rem or 0.75rem for extra space */
  gap: 1rem; 
  margin-left: 1rem; /* or remove if you don’t want extra left margin */
}

.lang-btn {
  background-color: #fff;
  color: #005f99; 
  border: 2px solid #005f99;
  border-radius: 20px; /* pill shape */
  padding: 0.3rem 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover effect: invert colors */
.lang-btn:hover {
  background-color: #005f99;
  color: #fff;
}

/* Active (selected) button */
.lang-btn.active {
  background-color: #005f99;
  color: #fff;
  border-color: #005f99;
}

.topbar-language {
  background-color:none;  /* or #fff, or remove if you want no color */
  padding: 0.5rem 2rem;       /* vertical/horizontal spacing around the buttons */
  display: flex;
  justify-content: flex-end;  /* push buttons to the right */
  align-items: center;
}
