/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background-color: #f5f5f5; color: #333; }

/* Header + Logo */
header { text-align: center; padding: 20px 0; background: #000; }
header img.main-logo {
  width: 300px;
  max-width: 95%;
  margin-bottom: 15px;
  animation: glow 2.5s infinite alternate;
}
@keyframes glow {
  from { filter: drop-shadow(0 0 8px #800000); }
  to { filter: drop-shadow(0 0 28px #ff1a1a); }
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  padding: 10px 0;
}
nav ul {
  list-style: none;
  display: flex;
  margin: 0;
}
nav ul li { margin: 0 20px; }
nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}
nav ul li a:hover { color: #ff1a1a; }

/* Custom Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}
.dropbtn {
  background: #fff;
  color: #000;
  padding: 5px 10px;
  font-weight: bold;
  border: 1px solid #666;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dropbtn img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 140px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 10;
}
.dropdown-content a {
  color: #000;
  padding: 8px 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dropdown-content a img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.dropdown-content a:hover { background: #eee; }
.lang-dropdown:hover .dropdown-content { display: block; }

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #000, #800000);
  color: white;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero p { margin-bottom: 20px; }
.hero .cta-btn {
  padding: 12px 24px;
  background: #ff1a1a;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}
.hero .cta-btn:hover { background: #cc0000; }

/* Services */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;     /* FIX: center items */
  align-items: flex-start;
  margin: 40px auto;
  padding: 20px;
  max-width: 1200px;
  text-align: center;
}
.services h1, 
.services p {
  flex-basis: 100%;            /* FIX: make title & subtitle span full width */
  margin-bottom: 20px;
}
.service-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  width: 300px;                /* FIX: consistent card size */
  margin: 15px;
}
.service-box h3 { color: #800000; margin-bottom: 10px; }

/* Footer */
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
footer a { color: #ff1a1a; text-decoration: none; }
/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-content h2 { color: maroon; margin-bottom: 20px; }
.modal-content label { display: block; margin: 10px 0 5px; font-weight: bold; }
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.modal-content button {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  background: maroon;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.modal-content button:hover { background: #a00000; }
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
}
.success-message {
  display: none;
  text-align: center;
  color: green;
  margin-top: 10px;
}
