/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #12171a;
  color: #333;
}

a {
  text-decoration: none;
  color: #007bff;
}

a:hover {
  color: #0056b3;
}

/* Header Styles */
header {
  background-color: #317ea2;
  padding: 1rem 0;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
  max-height: 80px;
  margin-left: 20px;
}

nav {
  display: flex;
  gap: 2rem;
  margin-right: 2rem;
}

nav a {
  color: white;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

nav a:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.hero {
  text-align: center;
  padding: 3rem 0;
  background-color: #e9f5ff;
  border-radius: 10px;
  margin: 2rem 0;
}

/* Card Styles */
.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

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

.service-card h2 {
  color: #007bff;
}

.service-card p {
  margin: 1rem 0;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
  position: relative;
}

footer a {
  color: white;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  nav {
    flex-direction: column;
    align-items: flex-end;
    margin-right: 1rem;
  }
}

/* Pronunciation Tooltip */
.pronunciation {
  position: relative;
  display: inline-block;
  cursor: help;
}

.pronunciation::after {
  content: attr(data-pronunciation);
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: white;
  text-align: center;
  border-radius: 4px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.pronunciation:hover::after {
  visibility: visible;
  opacity: 1;
}

.word {
  font-weight: bold;
}
.definition {
  font-style: italic;
}

.gallery img {
  max-width: 250px;
  height: auto;
}

