html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: century-gothic, sans-serif !important;
}
body {
    display: flex;
    flex-direction: column;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Specific elements that might override the universal selector */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
ul,
li,
div,
span,
button,
input,
select,
textarea,
table,
th,
td,
label,
.navbar,
.navbar-brand,
.dropdown-menu,
.modal,
.footer,
.subscribe-form,
.btn,
.nav-link,
.form-control,
.form-check-label,
.modal-title,
.modal-body,
.modal-footer,
.card,
.card-body,
.breadcrumb,
.alert,
.pagination,
.breadcrumb-item,
.mce-content-body,
.subscribe-form input,
.subscribe-form button,
.nav-item,
.dropdown-item,
.sectiontitle h2,
.header-title-text,
.count-image-text,
.fa-search,
.footer-links a,
.footer-social-icons a,
.accordion-header,
.accordion-content p,
.subscribe-form button i,
.modal-content,
form,
form * {
    font-family: "Century Gothic", sans-serif !important;
}

/* Specific group selectors for forms and navigation */
input,
textarea,
select,
button,
.navbar-nav .nav-link,
.dropdown-menu .dropdown-item,
.navbar-nav > .nav-item > .nav-link,
.navbar-brand {
    font-family: "Century Gothic", sans-serif !important;
}

i {
    margin-right: 10px;
}

img {
    max-width: 100%;
    height: auto;
}
iframe {
    max-width: 100%;
}

.embed-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* BckToTop */

#back-to-top {
    display: inline-block;
    background-color: green;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#back-to-top::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#back-to-top:hover {
    cursor: pointer;
    background-color: #333;
}

#back-to-top:active {
    background-color: #555;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Modal */

#exampleModal .modal-footer .pagination .page-item.active .page-link,
#exampleModal .modal-footer .pagination .page-link.active {
    color: white !important;
    background-color: green !important;
    border-color: green !important;
}

/*----------bootstrap-navbar-css------------*/

.navbar-logo {
    padding: 15px;
    color: #ffffff;
}

.navbar-mainbg {
    background-color: green;
    padding: 0px;
}

#navbarSupportedContent ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 20px 20px;
}

#navbarSupportedContent ul li ul li a {
    color: green;
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 0px 12px;
}
#navbarSupportedContent ul li ul li a:hover {
    font-weight: 600;
    background-color: #ffffff;
}

/* bootstrap-navbar-end */

/* .dropdown-menu {
  border: 2px solid green;
} */
.navbar-toggler:focus {
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
}
.navbar-toggler-icon {
    background-image: url("../img/menu-bar.png");
}

/* ForKnowSusSection */

/* --- New Corrected CSS --- */

/* Add this new class to hide the entire gallery column by default */
.sdg-gallery-item {
  display: none;
}

/* The image itself no longer needs a top margin or display:none */
.susimg {
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
  width: 100%; /* Ensure it fills its container */
  margin-top: 20px;
}

.susimg:hover {
  transform: scale(1.05);
}

.sdg-image-container {
  position: relative;
  cursor: pointer;
  overflow: hidden; /* Ensures the overlay fits perfectly */
}

/* The overlay for the hover effect */
.sdg-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 20px;
  border-radius: 5px; /* Match the image's border-radius */
}

.sdg-image-container:hover::after {
  opacity: 1;
}

/* The button that appears on hover */
.sdg-link-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.sdg-image-container:hover .sdg-link-button {
  opacity: 1;
}

.sdgIcons {
    margin: 12px;
    max-width: 150px;
}

.sdgIcons:hover {
    transform: scale(1.05);
}

a {
    color: green;
    text-decoration: none;
}

.fouls ul {
    list-style-type: none;
    padding: 0;
}

.show-more-btn {
    display: block;
    margin: 30px 0 0 auto;
}

/* ForFeaturedProjectSection */

.card-group .card {
    margin-right: 24px;
}

.card-group .card:last-child {
    margin-right: 0;
}

.sectiontitle {
    background-position: center;
    margin: 30px 0 0px;
    text-align: center;
    min-height: 20px;
}

.sectiontitle h2 {
    font-size: 30px;
    color: #222;
    margin-bottom: 0px;
    padding-right: 10px;
    padding-left: 10px;
}

.headerLine {
    width: 36px;
    height: 4px;
    display: inline-block;
    margin-top: 12px;
    background: green;
}
.header-title-text {
    font-size: 2rem;
}
.fa-search {
    cursor: pointer;
}

/* ContactPageMapSection */

.responsive-map-container {
    position: relative;
    padding-bottom: 25%;
    height: 0;
    overflow: hidden;
}

.responsive-map-container iframe,
.responsive-map-container object,
.responsive-map-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* FaqSectionStart */

.accordion-item {
    background-color: #ffffff; /* White background for items */
    /* border: 1px solid #e0e0e0; */
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

.accordion-header {
    background-color: green; /* Soft purple */
    color: #ffffff; /* White text */
    padding: 15px;
    font-size: 18px;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgb(5, 109, 5); /* Darker shade of purple */
}

.accordion-content {
    background-color: #fffafa; /* Very light grey for content */
    overflow: hidden;
    padding: 0 15px;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    margin: 15px 0;
    line-height: 1.5;
}

.icon {
    transition: transform 0.3s ease;
}

.active .icon {
    transform: rotate(45deg);
}
/* FaqSectionStart */

/* FooterSection */

.footer-ranking {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /* Ensures all children divs have the same height */
}

.footer-ranking img {
    max-height: 100%;
    max-width: 100%;
}

.footer-links a {
    color: rgb(255, 255, 255, 0.8) !important;
    text-decoration: none;
}

.footer-links a:hover {
    color: rgb(255, 255, 255, 1) !important;
}
.footer-social-icons a:hover {
    transform: scale(1.1);
}

.subscribe-form {
    position: relative;
    overflow: hidden;
}

.subscribe-form input {
    width: 100%;
    padding: 15px 10px;
    color: green;
}

.subscribe-form input:focus {
    outline: none;
}

.subscribe-form button {
    position: absolute;
    right: 0;
    background: green;
    padding: 16px 20px;
    border: 1px solid green;
    top: 0;
    cursor: pointer;
}

/* Disable state styling */
.subscribe-form button:disabled {
    cursor: not-allowed;
}

.subscribe-form small {
    display: block;
    color: red;
    margin-top: 8px;
}

/* Count Section Start */

.count-image-section {
    position: relative;
}

.stat-count {
    font-size: 50px;
    letter-spacing: 3px;
    line-height: 65px;
    color: #ffffff;
    font-weight: 700;
    font-family: "Source Serif Pro";
}

.stat-count span {
    font-size: 50px;
    color: #ffffff;
    font-weight: 700;
    font-family: "Source Serif Pro";
}

.count-text {
    font-size: 23px;
    letter-spacing: 1px;
    line-height: 32px;
    color: #ffffff;
    font-weight: 700;
    font-family: "Source Serif Pro";
}

.count-gradient-overlay {
    position: absolute;
    opacity: 0.588;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #17184a;
    z-index: 1;
}

.count-image-section {
    background: url(../img/countBg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.count-image-text {
    width: 100%;
    color: white;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    z-index: 2;
    padding: 130px 10px 133px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Count Section End */

/* Count Section End*/

@media (max-width: 575.98px) {
    .header-title-text {
        font-size: 1rem;
    }
    .count-image-text {
        flex-direction: column;
        gap: 50px;
        padding: 90px 10px;
    }
    .navbar-logo {
        font-size: 16px;
        font-weight: bold;
    }
}

@media (min-width: 576px) {
    #back-to-top {
        margin: 16px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .header-title-text {
        font-size: 1.5rem;
    }
    .count-image-text {
        flex-direction: column;
        gap: 50px;
        padding: 90px 10px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .header-title-text {
        font-size: 1.5rem;
    }
    .count-image-text {
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: 50px;
    }
}

@media (min-width: 992px) {
}

@media (max-width: 991px) {
    .navbar-logo {
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .footer-social-icons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .icon-center {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding-bottom: 16px;
    }
    .card-group .card {
        margin-right: 0;
    }
    #navbarSupportedContent ul li a {
        padding: 12px 12px;
    }
}

