body { font-family: 'Roboto', sans-serif; margin: 0; padding: 0; background: #eef2f7; color: #333; }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0a3d62, #0984e3);
  padding: 10px 20px;
  color: white;
}
.header-top {
  display: block;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
header img { height: 80px; }
header .text { display: flex; flex-direction: column; }
header h1 { margin: 0; font-size: 2em; }
header p { margin: 5px 0 0; font-size: 1em; color: #ffeaa7; }
nav {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  padding: 10px 15px;
  border-radius: 30px;
  transition: all 0.3s ease;
}
nav a:hover { background-color: #74b9ff; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/* Hamburger button hidden by default */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #2d3436;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px #00000077;
  }
  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
section.hero {
  padding: 80px 20px;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1548092372-0d1bd40894a3?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&dl=philipp-katzenberger-iIJrUoeRoCQ-unsplash.jpg?fit=crop&w=1400&q=80') no-repeat center/cover;
  color: white;
}
section.hero h1 { font-size: 2em; margin-bottom: 20px; color: darkblue;}
section.hero p { font-size: 1.2em; background: rgba(0,0,0,0.5); display: inline-block; padding: 10px 20px; border-radius: 10px; }
.button {
  display: block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #0984e3;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  margin: 20px auto;
  width: 7rem;
}
.button:hover { background-color: #0a3d62; }
section.services, section.certificates {
  padding: 60px 20px;
  text-align: center;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 300px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.card img-title { width: 60px; margin-bottom: 15px; transition: transform 0.3s; }
.card:hover img-title { transform: scale(1.2); }
.card h3 { margin-top: 0; }
footer {
  background: #0a3d62;
  padding: 20px;
  color: white;
  text-align: center;
  margin-top: 40px;
}
footer a { color: #74b9ff; }
/* Responsive adjustments */
@media (min-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .header-top {
    justify-content: flex-start;
  }
  nav {
    margin-top: 0;
    justify-content: flex-end;
  }
  section.hero h1 { font-size: 3em; }
  section.hero p { font-size: 1.4em; }
}
  .striped:nth-child(even) {
background-color: #f7f9fc;
}
.striped:nth-child(odd) {
background-color: #ffffff;
}
.striped {
padding: 80px 20px;
text-align: center;
display: flex;
flex-direction: column;
gap: 20px;
position: relative;
}
.striped img {
max-width: 300px;
width: 100%;
height: auto;
margin: 0 auto;
border-radius: 12px;
}
.striped-content {
max-width: 900px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
@media (min-width: 768px) {
.striped-content {
  flex-direction: row;
  text-align: left;
}
.striped-content img {
  flex: 1;
}
.striped-content .text {
  flex: 2;
}
}
.quiz-container {
max-width: 600px;
margin: 40px auto;
text-align: center;
}
.quiz-question {
background: #ffffff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.quiz-options {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 20px;
}
.quiz-options button {
background-color: #0984e3;
color: white;
border: none;
padding: 12px;
border-radius: 8px;
font-size: 1em;
cursor: pointer;
transition: background-color 0.3s;
}
.quiz-options button:hover {
background-color: #0a3d62;
}
.quiz-result {
background: #ffffff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.back-to-top {
position: absolute;
bottom: 20px;
right: 20px;
background: #0a3d62;
color: white;
padding: 8px 12px;
border-radius: 20px;
text-decoration: none;
font-size: 0.9rem;
opacity: 0.7;
transition: opacity 0.3s, background-color 0.3s;
}
.back-to-top:hover {
opacity: 1;
background-color: #0984e3;
}
.contact a:hover {
background-color: #218838;
}
.email-button-container {
position: fixed;
bottom: 20px;
right: 20px;
display: flex;
align-items: center;
z-index: 1000;
}
.email-button {
background-color: #0984e3;
color: white;
font-size: 24px;
padding: 14px 18px;
border-radius: 50%;
text-decoration: none;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transition: background-color 0.3s;
}
.email-button:hover {
background-color: #74b9ff;
}
.email-tooltip {
margin-right: 10px;
background-color: #333;
color: white;
padding: 8px 12px;
border-radius: 6px;
font-size: 14px;
white-space: nowrap;
opacity: 0;
transform: translateX(10px);
transition: opacity 0.3s ease, transform 0.3s ease;
pointer-events: none;
}
.email-button-container:hover .email-tooltip {
opacity: 1;
transform: translateX(0);
}