body {
    font-family: Arial, sans-serif;
    margin-bottom: 66px;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 99;
}

.logo {
    height: 60px;
    flex: 1;
}

.logo img {
    position: fixed;
    height: 60px;
    left: calc(15% - 35px);
}

.logo .backdrop {
    position: fixed;
    background: white;
    width: 140px;
    height: 64px;
    left: calc(15% - 40px);
    top: 9px;
    z-index: -5;
    opacity: 0.25;
    border-radius: 3px;
}

header nav {
    flex: 2;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start; 
    padding: 0;
    margin: 0;
}

nav ul li {
    position: relative;
    margin-right: 20px;
}

nav ul li button {
    background-color: #333;
    color: #fff;
    border: none;
    width: 100%;
    padding: 10px 15px;
    text-align: left; 
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li button:hover {
    background-color: #ff4646; 
}

nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px; 
}

nav ul ul li {
    margin: 0;
    text-align: left; 
}

nav ul li:hover > ul {
    display: inherit;
}

li.collapsed > ul {
    display: none !important;
}

li.expanded > ul {
    display: inherit !important;
}

#background {
    background-image: url("../svgs/bg.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    position: fixed;
    width: 100%;
    height: calc(100% - 142px);
    z-index: -1;
    opacity: 0.15;
}

section {
    padding: 20px;
    background-color: rgb(255,255,255,0);
    color: #333;
    margin-top: 80px;
    margin-bottom: -4px;
    overflow: auto;
}

.content-wrapper {
    display: flex;
}

.image-section {
    width: 33%;
    padding: 30px 3%;
}

.image-section img {    
    position: relative;
    width: 100%;
    border-radius: 10px;
    z-index: 3;
}

.text-section {
    flex: 2; 
    padding: 5px 15px;
}

.tagline {
    font-size: larger;
}

.text-section h2 {
    padding-top: 30px;
    font-size: 28px;
}

.text-section h3 {
    font-size: 20px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding-top: 15px;
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 62px; 
    z-index: 5;
}

footer p {
    font-size: 12px;
    margin-bottom: 5px;
}

.navbar-brand {
  margin-right: 0; }
  .navbar-brand img {
    height: 21px; }

.navbar-dark {
  padding-top: 35px;
  padding-bottom: 35px; }
  .navbar-dark .navbar-text {
    color: #ffffff;
    opacity: 1;
    padding: 0 20px;
    border-right: 1px solid #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-align: center; }
    .navbar-dark .navbar-text:last-child {
      border-right: 0; }
  @media (max-width: 767px) {
    .navbar-dark {
      padding-bottom: 0; } }

.footer-social-links .social-link {
  display: inline-block;
  text-align: center;
  line-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #333;
  margin-top: 37px;
  margin-right: 16px;
  transition: all 0.3s ease-in-out; }
  .footer-social-links .social-link:last-child {
    margin-right: 0; }
  .footer-social-links .social-link:hover {
    text-decoration: none;
    background-color: #333;
    color: #ffffff; }


/* Media queries for smaller screens */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .logo, nav {
        width: 100%;
        text-align: center;
    }

    nav > ul {
        flex-direction: row;
        justify-content: center;
        margin-top: 60px;
    }

    nav ul li {
        margin: 5px;
        text-align: center;
    }

    nav ul ul {
        position: static;
        display: none;
    }
    
    nav ul li:hover > ul {
        display: inherit;
    }

    section {
        margin-top: 60px; 
    }

    #background {
        height: calc(100% - 126px);
    }
    
    .content-wrapper {
        display: flex;
        margin-top: 100px;
        margin-bottom: 25px;
    }
    
    .image-section {
        display: none; 
    }
}

@media screen and (max-width: 530px) {

}

@media screen and (max-width: 417px) {
    header {
        flex-direction: column;
    }

    .logo .backdrop {
        left: calc(65% - 40px);
    }

    .logo img{
        left: calc(65% - 35px);
    }

    nav > ul {
        flex-direction: column;
        width: 50%;
        margin-top: 0px;
    }

    nav ul ul {
        position: relative;
        width: 50%;
        left: 67%;
    }
}
