/* === 1. Global Reset & Base === */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Segoe UI', sans-serif;
background: linear-gradient(to bottom, #002244, #004488);
color: #f4f4f4;
line-height: 1.6;
scroll-behavior: smooth;
}

/* === 2. Container Layout === */
.container {
  max-width: 860px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.6); /* Semi-transparent */
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(6px); /* Optional: softens background behind */
}

/* === 3. Headings === */
h1, h2, h3 {
color: #002244;
text-align: center;
margin-bottom: 24px;
font-weight: 700;
}

h1 {
font-size: 2.4rem;
}
h2 {
font-size: 1.8rem;
}
h3 {
font-size: 1.4rem;
}

/* === 4. Language Selector === */
.language-select {
float: right;
margin-bottom: 20px;
font-size: 1rem;
background: #fff;
color: #002244;
padding: 8px 12px;
border: 1px solid #ccc;
border-radius: 6px;
}

/* === 5. Form === */
form label {
font-weight: 600;
display: block;
margin-top: 20px;
color: #002244;
}

form input,
form select,
form textarea {
width: 100%;
padding: 14px;
font-size: 1rem;
border-radius: 8px;
border: 1px solid #ccc;
margin-top: 8px;
background-color: #f8f9fa;
transition: border 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
border-color: #005599;
outline: none;
}

/* === 6. Buttons === */
button, .btn, .btn-nav {
background-color: #002244;
color: #fff;
border: none;
padding: 14px 20px;
font-size: 1rem;
font-weight: 600;
border-radius: 10px;
cursor: pointer;
margin-top: 28px;
width: 100%;
transition: all 0.3s ease;
}

button:hover, .btn:hover, .btn-nav:hover {
background-color: #005599;
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* === 7. Navigation / Bottom Bar === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #002244;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.bottom-nav a {
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.4;
}

.bottom-nav span {
  display: block;
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  padding: 50px 10px 10px;
  font-size: 0.85rem;
  color: #777;
}
/* === 8. Dropdown Menu === */
.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #002244;
box-shadow: 0 10px 24px rgba(0,0,0,0.3);
border-radius: 8px;
z-index: 1;
margin-top: 10px;
}

.dropdown-content a {
color: white;
padding: 12px 20px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {
background-color: #005599;
}

.dropdown:hover .dropdown-content {
display: block;
}
/* Navigation Dropdown */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #003366;
box-shadow: 0 8px 16px rgba(0,0,0,0.3);
z-index: 1;
border-radius: 8px;
margin-top: 10px;
}
.dropdown-content a {
color: white;
padding: 12px 16px;
display: block;
text-decoration: none;
}
.dropdown-content a:hover {
background-color: #005599;
}
.dropdown:hover .dropdown-content {
display: block;
}


/* === 9. Image Gallery === */
.image-gallery {
display: flex;
flex-wrap: wrap;
gap: 16px;
justify-content: center;
margin-top: 30px;
}

.image-gallery img {
width: 100%;
max-width: 300px;
border-radius: 10px;
box-shadow: 0 6px 16px rgba(0,0,0,0.25);
transition: transform 0.3s ease;
}

.image-gallery img:hover {
transform: scale(1.05);
}

/* === 10. Footer === */
footer, .bottom-section {
background-color: #001122;
color: #ffffff;
text-align: center;
padding: 28px 12px;
font-size: 1rem;
border-top: 2px solid #005599;
}

footer p {
margin: 0;
text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

/* === 11. Animations === */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* === 12. Mobile Responsive === */
@media (max-width: 600px) {
.container {
margin: 30px 16px;
padding: 20px;
}

h1 {
font-size: 1.8rem;
}

.btn, button, .btn-nav {
font-size: 0.95rem;
}

.language-select {
float: none;
display: block;
margin: 0 auto 16px auto;
text-align: center;
}
}

/* === Navigation Dropdown */
.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #003366;
box-shadow: 0 8px 16px rgba(0,0,0,0.3);
z-index: 1;
border-radius: 8px;
margin-top: 10px;
}

.dropdown-content a {
color: white;
padding: 12px 16px;
display: block;
text-decoration: none;
}

.dropdown-content a:hover {
background-color: #005599;
}

.dropdown:hover .dropdown-content {
display: block;
}
}