body {
    background-color: #f4f4f4;
    overflow-x: hidden;
    /*#f4f4f4
    */
}

section {
    padding: 0;
    margin: 0;
}

a, a:hover {
    color: inherit;
    text-decoration: none;
}

.container-fluid {
    background-color: #a8e6cf; 
    height: 40px;
    padding: 10px;
}

.top-container {
    display: flex; 
    flex-direction: row;
    align-items: flex-start;
    width: 90%; /* Taking up 90% of the viewport width */
    justify-content: space-between;
    margin: auto; /* Centering the container */
}

.navbar {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    position: absolute;
    width: 100%;
    z-index: 9999;
    color: #fff;
}

.navbar-brand {
    font-size: 18px;
    font-weight: bold;
    padding: 0 10px;
    color: #fff;
}

.navbar-brand img {
    max-height: 150px;
}

.navbar-collapse {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link {
    font-size: 18px;
    padding: 10px;
    text-decoration: none !important;
    margin-right: 20px;
    margin-left: 40px;
}

.nav-link:hover {
    text-decoration: underline !important;
}

.dropdown img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-right: 100px;
}

/* Mobile View Adjustments */
@media (max-width: 823px) {
    .navbar {
        padding: 10px !important;
    }

    .navbar-brand {
        font-size: 18px !important;
        padding: 0 10px !important;
    }

    .navbar-brand img {
        max-height: 50px !important;
    }

    .nav-link {
        font-size: 18px !important;
        padding: 5px !important;
        margin-right: 10px !important;
        margin-left: 20px !important;
    }

    .dropdown img {
        width: 30px !important;
        height: 30px !important;
    }
}

.list-group {
    margin-top: 50px;
    margin-left: 50px;
    margin-bottom: 50px;
}

.main-container {
    width: 100% !important;
}

.main-content {
    width: 100%;
    padding: 20px 0; /* Padding on top and bottom */
    padding-left: 100px;
}


.col-6 {
    flex: 0 0 calc(50%); /* 50% of the container width minus 30px of margin */
    position: relative;
    width: 100%;
    padding-top: 20px; /* Padding on top */
    padding-bottom: 20px; /* Padding on bottom */
    padding-right: 250px;
    margin-bottom: 2rem;
}

.col-6 h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.col-6 p {
    margin: 0.5rem 0;
    font-size: 1.1rem; /* Increased font size for better readability */
}

.office-hours {
    border-bottom: 1px solid gray;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.img-section {
    position: relative;
}

.title-img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.img-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: #000;
}

.container {
    margin-top: 70px; /* Increased margin-top for distance from the section above */
    padding-left: 15px; /* Added padding to the container */
    padding-right: 15px; /* Added padding to the container */
}

.container .row {
    margin-right: 0; /* Removed the right margin of the row */
    margin-left: 0; /* Removed the left margin of the row */
}

.card {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    min-height: 250px;
    overflow: hidden;
    max-width: 700px;
}
.card img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}
.card-body {
    padding: 20px;
}
.card-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}
.card-text {
    font-size: 1rem;
    color: #666;
}

.col-md-6 {
    padding-right: 7.5px; /* Half of the desired gap between the cards */
    padding-left: 7.5px; /* Half of the desired gap between the cards */
}
.col-md-6:nth-child(2n) .card img {
    padding-left: 15px; /* Remove padding to place image at the edge of the card */
}
.col-md-6:nth-child(2n+1) .card img {
    padding-right: 15px; /* Remove padding to place image at the edge of the card */
}

footer {
    background-color: #a8e6cf;
  }
  
  .footer-logo img {
    max-width: 100%;
    height: auto;
    margin-top: 50px;
  }
  
  .footer-info {
    text-align: left;
    margin-left: 10px;
  }
  
  /* Masonry grid for affiliate logos */
  .footer-affiliates {
    column-count: 2;
    column-gap: 20px;
  }
  
  .footer-affiliates img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: inline-block;
    margin-bottom: 20px;
    object-fit: cover;
  }

.col-4 {
    flex: 0 0 calc(33%); /* 50% of the container width minus 30px of margin */
    position: relative;
    width: 100%;
    padding-top: 20px; /* Padding on top */
    padding-bottom: 20px; /* Padding on bottom */
    margin-bottom: 2rem;
}

.col-4 h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.col-4 p {
    margin: 0.5rem 0;
    font-size: 1.1rem; /* Increased font size for better readability */
}