body {
margin:0;
background-color: #F4F7FB;
color: #1A1A1A;
line-height: 1.6;
font-family:Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
}
main{
margin:.5em;
font-family:Arial, Helvetica, sans-serif;
}
.topnav {
  overflow: hidden;
  background-color: #1F3A5F;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.topnav a {
  float: left;
  display: block;
  color: #FFFFFF;
  text-align: center;
  padding: 1em;
  text-decoration: none;
  font-size: 1.15em;
}
.text{
max-width: 800px;
margin: 2em auto;
padding: 1.5em 2em;
background-color: #FFFFFF;
border-left: 6px solid #8A3A00;
border-radius: 6px;
box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.text h2{
color: #1F3A5F;
margin-top: 0;
}
.active {
  background-color: #8A3A00;
  color: #FFFFFF;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 1.1em;    
  border: none;
  outline: none;
  color: #fff;
  padding: 1.1em;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #000;
  padding: .75em 1em;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a, .dropdown .dropbtn {
  transition: background-color 0.2s;
}

.topnav a:focus-visible, .dropdown .dropbtn:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: -3px;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #2F5282;
  color: #fff;
}

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

.dropdown:hover .dropdown-content {
  display: block;
}
.icon{
font-size: 1.15em;
}

/* ---- Hero, cards, footer ---- */
.hero {
  background: linear-gradient(135deg, #1F3A5F 0%, #2F5282 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 4em 1.5em;
}
.hero h1 {
  font-size: 2.6em;
  margin: 0 0 .3em;
}
.hero p {
  max-width: 560px;
  margin: 0 auto 1.5em;
  font-size: 1.15em;
}
.btn {
  display: inline-block;
  background-color: #8A3A00;
  color: #FFFFFF;
  padding: .8em 1.8em;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s;
}
.btn:hover, .btn:focus-visible {
  background-color: #6B2D00;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
  max-width: 900px;
  margin: -2em auto 0;
  padding: 0 1em;
}
.card {
  background-color: #FFFFFF;
  border-top: 5px solid #8A3A00;
  border-radius: 8px;
  padding: 1.5em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.card i {
  font-size: 2em;
  color: #1F3A5F;
}
.card h3 {
  color: #1F3A5F;
  margin: .5em 0 .3em;
}
.card p {
  margin: 0;
}
.footer {
  background-color: #1F3A5F;
  color: #FFFFFF;
  text-align: center;
  padding: 1.5em;
  margin-top: 2em;
}
@media screen and (max-width: 650px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}