body {
    background: url("../img/background.jpg") no-repeat fixed center center / 100% auto rgba(0, 0, 0, 0);
}

.logo {
    margin: 0;
    text-align: center;
    width: 100%;
    background: none; /* Remove logo background completely */
}

/* Updated header styles */
nav {
    background: #ffffff; /* White background for the header */
    position: absolute;
    top: 0;
    z-index: 500;
    width: 100%;
}

.top-nav {
    background: #003366; /* Dark blue strip for the menu */
    padding: 5px 0; /* Reduced padding to make the menu more compact */
}

.top-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.top-nav a {
    font-size: 0.8em; /* Reduced font size for compactness */
    text-transform: uppercase;
    color: #fff; /* White text for menu items */
    padding: 10px 15px; /* Adjust padding for smaller menu items */
    display: inline-block;
}

.top-nav .logo a,
.top-nav .logo.active-item a {
    color: #fff;
    font-size: 1.2em; /* Slightly smaller font size for the logo */
    font-weight: 400;
    line-height: 1em;
}

.top-nav .logo a strong {
    font-size: 1.05em;
    font-weight: 800;
}

.top-nav {
    text-align: center;
    height: auto;
    width: auto;
    font-size: 12px;
    font-weight: bold;
}

.top-nav li a:hover,
.top-nav li.active-item a,
.top-nav .logo.active-item a:hover {
    background: #002244; /* Slightly darker blue for hover effect */
}

.top-nav li.logo a,
.top-nav li.logo.active-item a,
.top-nav .logo {
    background-color: #fff;
}

nav ul li ul li {
    text-align: left;
}

.top-nav ul ul {
    background: rgba(0, 0, 0, 1); /* Black background for dropdowns */
    padding: 5px 0; /* Reduced padding for dropdowns */
}

.top-nav li ul li a {
    background: rgba(0, 0, 0, 1); /* Black background for dropdown links */
    padding: 8px 15px; /* Adjust padding for dropdown links */
}

/* Section Styles */
#fourth-block h2, #fourth-block p {
    color: #fff;
}

#first-block, #second-block, #third-block, #fourth-block {
    text-align: center;
    padding-top: 2em;
    padding-right: 0;
    padding-bottom: 2em;
    padding-left: 0;
}

#carousel {
    background: #fff;
}

#first-block {
    background: #fff;
}

#second-block {
    background: none repeat scroll 0 0 rgba(0, 30, 34, 0.85);
}

#third-block {
    background: #fff;
}

#fourth-block {
    background-color: rgb(0, 102, 153);
}

footer {
    padding: 1.5em 0;
    background-attachment: scroll;
    background-color: rgb(0, 30, 34);
    background-image: none;
    background-repeat: repeat;
    background-position: 0 0;
}

footer p, footer a:link, footer a:visited, footer a:hover {
    color: #fff;
}

.carousel-text {
    display: block;
    position: absolute;
    top: 25%;
    width: 100%;
    z-index: 999;
}

.carousel-text h2 {
    color: #FFF;
    display: inline-block;
    padding: 0.3125em 0.625em;
    font-size: 2em;
    font-weight: bold;
    background-color: rgb(0, 30, 34);
}

.carousel-text p {
    background: none repeat scroll 0 0 rgba(0, 30, 34, 0.85);
    color: #fff;
    display: inline-block;
    font-size: 1.2em;
    padding: 0.625em 0.8em;
}

#first-block i {
    border-radius: 100px;
    color: #fff;
    display: block;
    line-height: 100px;
    margin: 0 auto;
    width: 100px;
    background-color: #001E22;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

p.subtitile {
    color: #999;
    margin: 0 0 3.5em;
}

section h3 {
    font-size: 1.3em;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 0.8em;
    margin-right: 0;
    margin-bottom: 0.8em;
}

section p {
    font-size: 0.9em;
    font-weight: bold;
}

section h1 {
    color: #fff;
    font-size: 2.5em;
    font-weight: 300;
    text-transform: uppercase;
}

#second-block p {
    color: #fff;
}

a.button {
    background: none repeat scroll 0 0 #2fcbe0;
    border: 0 none;
    border-radius: 5px;
    color: rgb(0, 30, 34);
    font-size: 0.8em;
    font-weight: 600;
    padding: 0.625em;
    text-transform: uppercase;
}

#head {
    background: none repeat scroll 0 0 rgba(0, 30, 34, 0.85);
    padding: 9em 0 5em;
    text-align: center;
}

#content {
    background: none repeat scroll 0 0 #fff;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    padding-top: 3em;
    padding-right: 0;
    padding-bottom: 3em;
    padding-left: 0;
}

#content h2 {
    font-size: 1.5em;
    font-weight: 400;
    text-transform: none;
    margin-top: 1em;
    margin-right: 0;
    margin-bottom: 0.3em;
    margin-left: 0;
}

.content-block {
    background: none repeat scroll 0 0 rgb(0, 30, 34);
    padding: 2.5em;
}

.content-block h3 {
    color: #fff;
}

.content-block p {
    color: #fff;
}

#content.left-align {
    text-align: left;
}

#content.contact-page h2 {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0.625em;
    margin-left: 0;
}

.contact-page p {
    font-size: 1em;
    font-style: normal;
}

.contact-page i {
    background: none repeat scroll 0 0 rgb(0, 30, 34);
    border-radius: 100px;
    display: inline-block;
    height: 35px;
    line-height: 35px;
    margin: 0.3125em 0.3125em 0.3125em 0;
    text-align: center;
    width: 35px;
}

form.customform button {
    background: none repeat scroll 0 0 rgb(0, 30, 34);
    border-radius: 5px;
    transition: background 0.20s linear 0s;
}

form.customform button:hover {
    background: none repeat scroll 0 0 #2fcbe0;
}

form.customform input, form.customform select, form.customform textarea {
    border-radius: 5px;
}

#map-block iframe {
    display: block;
}

@media screen and (max-width: 768px) {
  body {
    background: none repeat scroll 0 0 rgb(0, 30, 34);
  }

  nav {
    background: none repeat scroll 0 0 rgb(0, 30, 34);
    line-height: 1em;
    position: relative;
  }

  .top-nav {
    text-align: left;
  }

  .top-nav li {
    line-height: 3em;
  }

  .top-nav .logo {
    padding: 1.25em;
  }

  .carousel-text h2 {
    font-size: 1.3em;
  }

  .carousel-text p {
    font-size: 1em;
  }

  ul.top-ul {
    padding: 0;
  }

  ul.top-ul.right {
    float: none;
  }

  footer {
    text-align: center;
  }

  footer .right {
    float: none;
  }

  /* Dropdown background color changes to white on mobile */
  .top-nav ul ul {
    background: #ffffff; /* White background for dropdowns */
  }

  .top-nav li ul li a {
    background: #ffffff; /* White background for dropdown links */
    color: #003366; /* Dark color for dropdown text */
    padding: 8px 15px;
  }

  .top-nav li ul li a:hover {
    background: #003366; /* Dark hover effect for dropdown links */
    color: #fff; /* White text on hover */
  }
}

