img,
video {
    max-width: 100%;
    height: auto;
}

@font-face {
    font-family: 'Ethnocentric';
    src: url('../Fonts/Ethnocentric-Regular.woff2') format('woff2'),
    url('../Fonts/Ethnocentric-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Dunbar';
    src: url('../Fonts/fonnts.com-Dunbar_Text_Bold_Italic.woff2') format('woff2'),
    url('../Fonts/fonnts.com-Dunbar_Text_Bold_Italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    box-sizing: border-box;
    height: 100%
}

*, *:before, *:after {
    box-sizing: inherit;
}


body {
    font-family: sans-serif;
    background-color: #333;
    color: white;
    text-align: center;
    transition: margin-left .5s;
    padding: 80px 0 0 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    padding-top: 10px;
    flex:1;
}

h1 {
    padding-bottom: 10px;
    font-family: 'Ethnocentric', sans-serif;
}

h2 {
    color: #0291bd;
    font-size: 36px;
    font-family: 'Ethnocentric', sans-serif;
    transition-duration: 0.5s; 
}

h2:hover {
    color:  #74d3f1;
  
    text-shadow: 0 2px 15px rgba(2, 144, 190, 0.5),
               0 0 60px rgba(2, 144, 190, 0.3),
               0 0 120px rgba(2, 144, 190, 0.1);
               
    transition-duration: 0.5s; 
}

@keyframes pulse-text {
  from {
    background-position: 0% center;
  }
  to {
    background-position: -200% center;
  }
}

p {
    font-family: Dunbar, sans-serif;
    padding: 0 10px;
}

#phrase {
    color: #74d3f1;
    font-family: Dunbar, sans-serif;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    transition: background-color 0.3s, color 0.3s;
    font-family: Dunbar, sans-serif;
    text-decoration: none;
}

button:hover {
    background-color: white;
    color: #333;
}


.sideNavigation {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 102;
    top: 0;
    left: 0;
    background-image: linear-gradient(to top, #111 0%, #222 100%);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    font-family: Ethnocentric, sans-serif;
}

.sideNavigation a {
    padding: 12px 15px 12px 32px;
    text-align: left;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.sideNavigation a:hover {
    color: #f1f1f1;
}

.sideNavigation a:not(.nav-logo-link):hover {
    color: #f1f1f1;
    background-color: #222;
    border-left: 4px solid #0291bd;
}

.sideNavigation .closeBtn {
    position: absolute;
    top: 0;
    right: 1%;
    font-size: 36px;
    margin-left: 50px;
}

.openBtn {
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 10px;
    left: 15px;
    z-index: 101;
}

.sideNavigation .quoteBtn {
    color: #0291bd;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    border-left: 4px solid transparent;
    font-size: 19px;
}

.sideNavigation .quoteBtn:Hover {
    color: #74d3f1;
    background-color: transparent;
    border-left: 4px solid #74d3f1;
}

.sideNavigation.nav-open {
    width: 30%;
}

#sideNavBar.nav-open {
    width: 30%;
}

.topnav ul{
    list-style-type: none;
    background-color: #1b1b1b;
    padding: 0px;
    margin: 0px;
    height: 65px;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    border-bottom: 2px solid #8ad0ff;
    box-shadow: 0 2px 15px rgba(2, 144, 190, 0.7),
    0 0 60px rgba(2, 144, 190, 0.5),
    0 0 120px rgba(2, 144, 190, 0.3);
}

.site-footer {
    background-color: #1b1b1b;
    color: #818181;
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
    width: 100%;
    border-top: 2px solid #8ad0ff;
    box-shadow: 0 2px 15px rgba(2, 144, 190, 0.7),
    0 0 60px rgba(2, 144, 190, 0.5),
    0 0 120px rgba(2, 144, 190, 0.3);
    bottom: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-contact {
    text-align: right;
}

.footer-social img {
    min-height: 16px;
    min-width: 16px;
    width: 30px;
    margin: 0 5px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-social img:hover {
    opacity: 1;
}

.footer-links {
    margin-bottom: 15px;
    font-family: Dunbar, sans-serif;
}

.site-footer a {
    color: #818181; /* Matches the default link color in the side nav */
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #f1f1f1; /* Brightens on hover, matching side nav link hover effect */
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
}

#topnavimg {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 120px;       /* Set a specific width for the logo */
    height: auto;       /* Maintain aspect ratio */
    z-index: 101;
    transition-duration: 1s;
    opacity: 0.7;
}

#topnavimg:hover {
    opacity: 1;
    transition-duration: .3s;
}

#topnavimg {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 120px;
    height: auto;
    z-index: 101;
    transition-duration: 1s;
    opacity: 0.7;
}

#topnavimg:hover {
    opacity: 1;
    transition-duration: .3s;
}

@media (max-width: 768px) {

    .footer-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        row-gap: 20px;
        column-gap: 50px;
    }

    .footer-social {
        order: 1;
        margin-bottom: 0;
    }

    .footer-contact {
        align-items: flex-end;
        order: 2;
        text-align: right;
        margin-bottom: 0;
    }

    .footer-center {
        order: 3;
        flex-basis: 100%;
        text-align: center;
    }

    .footer-links {
        white-space: nowrap;
        margin-bottom: 15px;
    }


    .site-footer .footer-links a {
        margin: 0 8px;
        font-size: 14px;
    }

    .services-whychoose-lists {
        flex-direction: column;
        gap: 30px;
    }

    .sideNavigation.nav-open {
        width: 100%;
    }

    #sideNavBar.nav-open {
        width: 100%;
    }
    
    .footer-social img{
        opacity: 1;
    }
}