/* Header Styling */
#eng-theme-header {
    background: linear-gradient(to left, #e8230d, black) !important;
    padding: 20px 0;
    width: 100%;
    position: relative;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .eng-theme-header {
        background: linear-gradient(to left, #e8230d, black) !important;
    }
}



.small-break {
    display: block;
    height: 15px; /* Adjust spacing */
}
@media screen and (min-width: 783px) {
.eng-header-container-mobile {
    display: none !important;    
    }
.eng-header-container-desktop {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 250px;
        gap: 15px;
    }
.social-icons {
        display: flex;
        justify-content: center;
        gap: 25px;
    }
.left-icons {
        order: 1;
    }
.logo-wrapper {
        order: 2;
        flex-shrink: 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
.right-icons {
        order: 3;
    }
    
.logo-wrapper img {
    max-height: 100px;
    width: auto;
}

.social-icons a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffcc00;
}
}

/* Fix WordPress Admin Bar Overlapping */
#wpadminbar {
    z-index: 99999 !important;
    position: fixed !important;
    top: 0;
    width: 100%;
}

/* Ensure No White Space Between Admin Bar & Header */
html {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Adjust Header Position */
#eng-theme-header {
    position: relative;
    z-index: 1000; /* Keeps it above other elements */
}

/* Mobile Fix: Remove White Space on Small Screens */
@media screen and (max-width: 782px) {
    html {
        margin-top: 0px !important;
    }

    body.admin-bar #eng-theme-header {
        margin-top: 46px !important; /* WordPress admin bar is taller on mobile */
    }
}

/* Desktop Fix */
@media screen and (min-width: 783px) {
    body.admin-bar #eng-theme-header {
        margin-top: 32px !important; /* Standard WP admin bar height */
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {


 #eng-theme-header {
    background-color: black;
}
/* Header Container: Centers All Items */
.eng-header-container-desktop {
    display: none !important;
}
.eng-header-container-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Logo Styling */
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper img {
    max-height: 100px;
    width: auto;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffcc00;
}
}
/* Footer Styles */
footer {
    background-color: #161619;
    padding: 20px 0;
    line-height: 20px;
    text-align: center;
    font-size: 13px;
    margin-top: 4px;
    color: white;
}

/* Footer Bottom Styling */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-bottom {
    font-size: 14px;
    text-align: left;
    margin-bottom: 10px;
    text-align: center;
}

/* Move to Top Button */
.move-to-top {
  position: fixed;
  bottom: 50px;
  left: 10px; /* Changed from right to left */
  background-color: #e8230d;
  color: white;
  border: none;
  padding: 12px;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  display: none;
  text-align: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  direction: rtl !important;
}

/* Hover Effect */
.move-to-top:hover {
  background-color: #000000;
}

/* Center Arrow Inside the Circle */
.move-to-top::before {
  content: '>';
  font-size: 45px;
  display: inline-block;
  color: white;
  transform: rotate(90deg);
  line-height: 0px; /* Matches the button's height */
  text-align: center;
  width: 100%; /* Ensures centering */
  direction: rtl !important;
}

@media screen and (max-width: 768px) {
    .move-to-top {
        bottom: 10px;
    }
    .footer-bottom {
    margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    #gt-wrapper-31942085 {
        position: fixed !important;
        bottom: 0px !important;
        right: 20px !important;
        z-index: 999999 !important;
        width: auto !important;
    }
    #gt_float_wrapper {
        position: fixed !important;
        bottom: 0px !important;
        right: 20px !important;
        z-index: 999999 !important;
    }
    .gt_float_switcher {
        opacity: 1 !important;
    }
    .gt-options {
        display: none !important;
    }
}


.footer-nav {
  text-align: center;
  margin: 20px 0;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  display: inline-block;
  margin: 0 10px;
}

.footer-nav-list li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer-nav-list li a {
  color: white !important;
  text-decoration: none !important;
  font-weight: 500;
}

.footer-nav-list li a:hover {
  text-decoration: none !important;
  opacity: 0.8; /* Optional hover effect */
}
