html, body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    counter-reset: para-counter;
}

h1, h2 {
    font-family: 'Georgia', serif;
    line-height: 1.2;
    font-size: 2em;
    text-transform: capitalize;
}

h3, h4 {
    font-size: 1.25rem;
    line-height: 1;
}

p, li, a, div {
    font-family: "system-ui", "BlinkMacSystemFont", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    text-decoration: none;
}

.bread {
    font-size: 1.8em;
    margin: auto;
    padding: 15px 2%;
    text-rendering: optimizeLegibility;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

header {
    margin: 0;
    top: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    height: 50px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    /*border-top: 5px solid #000000;*/
    border-bottom: 1px solid rgb(228, 225, 225);
}

.logo {
    position: absolute;
    background-image: url('assets/img/altre.png');
    top: auto;
    left: 20px;
    /*width: 180px;*/
    height: 1.8em;
    opacity: 1;
    z-index: 1000;
    font: italic bold 2em "adobe-garamond-pro", serif;
    text-align: center;
    /*line-height: 1.8em;*/
}

.header-right {
    display: flex;
    align-items: center;
}

.icon-plus {
    padding: 0.5em 0.5em;
    background-color: #fff;
    color: black;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 1px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 1em;
    text-transform: uppercase;
}

.hamburger-menu {
    margin: 0.1rem 0.2em;
    cursor: pointer;
}

.bar {
    width: 40px;
    height: 0.25em;
    background-color: #000000;
    margin: 0.75em 0.75em;
}

.spacer {
    flex: 1;
}

.icon-text {
    font-size: 10px;
    margin-top: 5px;
}

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 20%;
    background: rgb(248, 249, 249);
    /*border-top: 2px solid #000000;*/
    padding: 0px;
    transition: right 0.1s ease-in-out;
    overflow-y: auto;
    z-index: 1000;
    text-align: right;
}

.drawer.active {
    right: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    width: 80%;
    height: auto;
    padding: 10%;
    text-wrap: nowrap;
}

nav ul li {
    display: block;
    text-transform: capitalize;
    color: #000000;
    position: relative;
    font-size: 1.25rem;
}

nav ul li a {
    position: relative;
    display: flex;
    text-decoration: none;
    color: rgb(20, 36, 50);
    padding-top: 8px;
    font-weight: 500;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 2px;
    background-color: #000000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

nav ul li span {
    display: inline-block;
    width: 30px;
    text-align: left;
    font-size: 0.75em;
    font-weight: 600;
    
}

nav ul li:nth-child(1) {
    margin-left: 10px;
}

nav ul li:nth-child(2) {
    margin-left: 10px;
}

nav ul li:nth-child(3) {
    margin-left: 10px;
}

nav ul li:nth-child(4) {
    margin-left: 10px;
}

nav ul li:nth-child(5) {
    margin-left: 10px;
}

#drawer p {
    font-size: 14px;
    color: #555;
    margin: 10px 20px;
}

#drawer p:first-of-type {
    font-weight: bold;
}

#drawer p a {
    color: #007bff;
    text-decoration: none;
}

#drawer p a:hover {
    text-decoration: underline;
}

.close-button {
    position: absolute;
    /*border: 2px dotted #000000;*/
    top: 2%;
    right: 2%;
    font-size: 0.8em;
    color: #00673f;
    padding: 5px 15px;
    transition: color 0.1s ease-in-out;
    font-weight: 500;
    cursor: pointer;
    height:40px;
    width:40px;
}

span {
    display: inline-block;
}


#city-list {
    display: none;
    position: absolute;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    border-top: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

#city-list li {
    padding: 0.45rem 0.90rem;
    cursor: pointer;
    transition: background-color 0.1s ease;
    margin-bottom: 1px;
    text-transform: capitalize;
    font-size: 1rem;
    margin: auto;
}

#city-list li:hover,
  #city-list li.selected {
    background-color: #000000;
    color: #fff;
}

#city-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

#city-list li i {
    margin-right: 10px;
}

@media screen and (max-width: 1024px) {
    nav ul li {
        font-size: 1.5em;
        text-align: left;
        line-height: 2;
    }
    
.drawer {
    
    min-width:30% ;
}
    
}


.menu-drawer {
    display: grid;
    flex-direction: Column;
    justify-content: space-evenly;
    height: auto;
    margin-bottom: 10px;
    padding: 2%;
    border-top: 2px solid #f2f2f2;
    letter-spacing: 4px;
}

.menu-item {
    font-size: 16px;
    color: #444;
    line-height: 2;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.menu-item-text {
    flex: 1;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
 
    .menu-drawer {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-evenly;
        height: auto;
        margin-bottom: 20px;
        gap: 20px;
        align-items: center;
        letter-spacing: 4px;
    }

    .menu-item {
        font-size: 20px;
        color: #444;
        line-height: 1.5;
        display: flex;
        align-items: center;
        font-weight: 600;
    }
}

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

    p,span {
        font-size: 1.1rem;
    }

    header {
        padding: 0.25rem;
        border-top: 2px solid #000000;
    }

    .search-bar {
        display: none;
    }

    .call-icon {
        display: block;
    }

    .header-right {
        display: flex;
        align-items: right;
    }

    .logo {
        display: absolute;
        left: 0;
    }

    .icon-plus {
        display: none;
    }

    .drawer {
        width: 100%;
    }
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
    box-sizing: border-box;
}

main {
    margin: 20px 15%;
    touch-action: auto;
}

.container {
    display: flex;
    justify-content: space-around;
    height: auto;
    flex-direction: row;
}

.slider-container {
    position: relative;
    width: calc(60% - 20px);
    max-width: calc(70% - 20px);
    max-height: 500px;
    overflow: hidden;
    margin-right: 20px;
    min-height: 500px;
}

.slider {
    display: flex;
    width: auto;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slide {
    flex: 0 0 auto;
    width: auto;
    height: 550px;
    margin-right: 20px;
}

.slide:last-child {
    margin-right: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    width: 45px;
    height: 60px;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.building-section {
    flex: 0 0 30%;
    max-width: 350px;
    height: fit-content;
    position: relative;
    margin-bottom: 3%;
    top: 0;
    padding: 20px;
    background: rgb(248, 249, 249);
    float: right;
    border: 2px dotted #ddd;
    border-radius: 8px;
    color: #323232;
}

h2 {
    color: #333;
}

.building-details {
    margin-top: 15px;
    border-top: 1px solid #ccc;
}

.building-details ul {
    padding: 0;
    list-style: none;
}

.building-details li {
    margin-bottom: 8px;
}

.building-details .highlight {
    font-weight: normal;
    color: #000000;
    text-transform: capitalize;
}

#action-links {
    margin-top: 10px;
    border-top: 1px solid #ccc;
    padding: 2% 2%;
}

#action-links a {
    display: inline-block;
    margin: 0.25rem;
    text-decoration: none;
    background-color: #000000;
    font-weight: bold;
    color: white;
    position: relative;
    /*top: 12px;*/
    /*left: 12px;*/
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.35rem 1.25rem;
    border-radius: 2px;
}

.hidden {
    display: none !important;
}

.container2 {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.c-bottom {
    display: flex;
    flex-direction: column;
    flex: 0 0 60%;
    max-width: 60%;
}

.contact-aside {
    flex: 0 0 30%;
    max-width: 350px;
    padding: 20px;
    border-radius: 8px;
    position: sticky;
    top: 0;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    border: 2px dotted #ddd;
    background: rgb(248, 249, 249);
    align-self: flex-start;
}

.desc, .amenities, .block4 {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    word-wrap: break-word;
    overflow: auto;
    font-size: 1.1rem;
}

.desc h2 {
    margin-bottom: 1%;
    text-align: left;
    color: #000;
    padding: 0em 1em;
    border-left: 4px solid #000000;
    font-size: 1.5rem;
}

.desc p {
    margin-bottom: 5px;
    margin-top: 0px;
    font-size: 1rem;
    text-indent: -20px; /* Negative indent to pull the first line back */
    padding-left: 25px; /* Increase padding to make room for the bullet */
   
}


#desc p::before {
    content: "\2022"; /* Unicode for bullet point */
    left: 0;
    top: 0;
    color: #333; /* Color of the bullet */
    font-size: 1.2em; 
    line-height: 1; 
    margin-right: 10px;
}

.amenities h2 {
    margin-bottom: 1%;
    text-align: left;
    color: #000;
    padding: 0em 1em;
    border-left: 4px solid #000000;
    font-size: 1.5rem;
}

.block4 h2 {
    margin-bottom: 20px;
    text-align: left;
    color: #000;
    padding: 0em 1em;
    border-left: 4px solid #000000;
    font-size: 1.5rem;
}

.amenities ul {
    column-count: 2;
    column-gap: 15px;
    padding: 0;
    margin-left: 25px;
}

.amenities li {
    padding: 3px 5px;
    margin-bottom: 2px;
    list-style-type: square;
    font-size: 1rem;
    text-transform: capitalize;
}

.block4 ul {
    column-count: 1;
    column-gap: 15px;
    padding: 0;
    margin-left: 25px;
}

.block4 li {
    padding: 3px 5px;
    margin-bottom: 2px;
    list-style-type: square;
    font-size: 1rem;
}

form {
    padding: 20px;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

label {
    display: block;
    /*margin-bottom: 8px;*/
}

.in {
    width: 100%;
    margin: 10px auto;
    padding: 8px;
    border: 1px solid #000000;
    border-width: thin;
    box-sizing: border-box;
    font-size: 0.95em;
    line-height: 1;
    text-transform: capitalize;
    outline-color: #000000;
}

.in :focus {
    border: 1px solid #2d8cf0;
}

.inquire {
    background-color: #000000;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    letter-spacing: 2px;
}

.vibrate {
    animation: vibrate 0.5s ease-out;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #000000;
    padding: 12px;
    text-align: left;
    font-size: 16px;
    text-transform: capitalize;
}

th {
    border: 1px solid #000000;
    padding: 8px;
    text-align: left;
    font-size: 16px;
    background: rgb(248, 249, 249);
}

tbody tr:nth-child(even) {
    background: rgb(248, 249, 249);
}

@media (max-width: 1024px) {
 

    .amenities {
        width: 96%;
        margin: 2% auto;
    }

    .amenities ul {
        column-count: 1;
    }

    table {
        display: table;
        width: 100%;
        float: left;
        table-layout: auto;
        border-collapse: collapse;
        margin: 10px 10px;
        overflow-x: auto;
    }

    th, td {
        width: auto;
        word-wrap: break-word;
        text-align: left;
    }

    td:nth-child(1) {
        max-width: 80px;
    }

    main {
        margin: 0;
    }

    .container {
        flex-direction: column;
    }

    .c-bottom {
        display: flex;
        flex-direction: column;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .desc {
        width: 96%;
        max-width: 96%;
        margin: 2% auto;
        padding: 0;
        height: auto;
    }

    .building-section {
        max-width: 90%;
        width: 90%;
        padding: 5% !important;
        margin: 0px;
        border: none;
    }

    .contact-aside {
        display: flex;
        flex: 0 0 100%;
        border: 0px dotted #ddd;
        background: rgb(255 255 255);
    }

    .slider-container {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        margin: 0;
        float: none;
    }

    .prev,
.next {
        font-size: 16px;
    }

    .slide {
        width: 100%;
        height: 350px;
    }
}

.add-bar {
    position: relative;
    display: inline-block;
    width: 300px;
    align-items: center;
}

.add-bar input {
    align-items: center;
    width: 100%;
    height: 2.4em;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #bebebe;
    border-radius: 1px;
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23717790c7'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: 16px 50%;
    box-sizing: border-box;
    color: #333;
    outline: none;
    padding: 0.75em 2.55em;
}

.add-bar input::placeholder {
    color: #999;
}

.footer {
    max-width: 100%;
    background-color: transparent;
    margin: 0 auto;
    color: #9b9b9b;
    padding: 10px 0;
    position: relative;
}

.footer-bottom {
    text-align: center;
    bottom: 0px;
    top: 10px;
    position: relative;
    font-size: .75rem;
}

.footer-container {
    position: relative;
    width: 100%;
    bottom: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    box-shadow: 0px -1px 1px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f2f2f2;
    color: #171717;
    font-size: .875rem;
    font-weight: 500;
}

.footer-link {
    margin-right: 15px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    font-size: .85rem;
    color: #9b9b9b;
    line-height: 1;
    font-size: .75rem;
    font-weight: 500;
    -webkit-font-smoothing: antialiased !important;
}

.footer-link:hover {
    color: #000000;
}

.footer-link::before {
    content: '';
    position: relative;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background-color: #000000;m
    width: 100%;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-link:hover::after {
    opacity: 1;
}

.footer-link:hover::before {
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    .footer-link {
        margin-bottom: 10px;
    }

    .footer {
        width: 100%;
        padding: 0px;
    }
}

.newsletter-section {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.newsletter-section h2, .newsletter-section p {
    margin-bottom: 15px;
}

.newsletter-section input[type="email"] {
    padding: 10px;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.newsletter-section button {
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-section button:hover {
    background-color: #016577;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #016577;
}

@keyframes color-fill {
    0% {
        background-position: 0% 33%;
    }

    33% {
        background-position: 33% 66%;
    }

    66% {
        background-position: 66% 100%;
    }

    100% {
        background-position: 66% 33%;
    }
}

.animated-color-fill-text {
    font-weight: 800;
    background: linear-gradient(90deg, #000000, #0f58a5,#000000, #1059a7 );
    background-size: 400% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: color-fill 5s ease infinite;
    display: inline-block;
    /*margin-bottom: 20px;*/
}

.material-symbols-outlined {
    margin-left: 5px;
    /*font-size: 1.1rem;*/
}

.gallery-section {
    padding: 20px;
    text-align: center;
}

.grid-container {
    width: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    position: relative;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    height: 80px;
    width: 100%;
}

.grid-item span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(90deg, #1e1e1e 30%, #000000 50%, #1e1e1e 70%);

    color: #fff;
    font-size: 1.1rem;
    transition: background-color 0.3s ease-in-out;

}

.grid-item:hover span {
    background-color: #000000;
    transition: background-color 0.1s ease-in-out;
}

@media (max-width: 768px) {
    

    .gallery-section h2, .gallery-section p {
        text-align: center;
        margin-left: 0;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item {
        height: 80px;
    }

    .grid-item span {
        font-size: 14px;
        padding-left: 10px;
    }
}

.learn-more-button {
    padding: 10px 20px;
    margin-top: 15px;
    float: right;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    margin-right: 10px;
    display: block;
    font-size: larger;
    -webkit-font-smoothing: antialiased;
}

.content {
    padding: 15px;
}

.services-section {
    width: 100%;
    margin-bottom: 20px;
}

.services-info-section {
    width: 100%;
    margin-bottom: 20px;
}

.services-info-content {
    display: flex;
    align-items: center;
    padding: 1%;
    border-radius: 4px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    /*border: 2px solid #000000;*/
}

.info-image {
    flex: 1;
}

.info-image img {
    width: 100%;
    border-radius: 5px;
}

.info-content {
    flex: 1;
    padding: 20px 5%;
    border-radius: 0 8px 8px 0;
}

.info-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.info-content p {
    font-size: 16px;
    margin-bottom: 30px;
}

.contact-button {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    font-size: 1rem;
    line-height: 0.75;
    text-transform: capitalize;
    border: none;
    border-radius: 2px;
    box-shadow: 0 20px 50px 10px rgba(20, 61, 80, .15);
    letter-spacing: .05em;
    appearance: none;
    text-decoration: none;
    background-image: linear-gradient(90deg, #1e1e1e 30%, #000000 50%, #1e1e1e 70%);
    background-size: 150% 100%;
    background-position: 50% 0;
    color: #fff;
    padding: 12px 18px;
    white-space: nowrap;
    overflow: hidden;
    transition: transform 250ms ease-in-out, background-position 250ms ease-in-out;
}

.contact-button:hover {
    background-color: #000000;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.service-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5% 2% 0.5% 4%;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    gap:20px;
    justify-content: flex-start;
    /*padding-bottom: 20px;*/
}

.service-item img {
    width: 50px;
    /*margin-bottom: 10px;*/
}

.service-content {
    text-align: inherit;
    width: 65%; 
    flex-grow: 1;   
    flex-shrink: 1; 
    overflow-wrap: break-word; 
}

.service-content h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.service-content p {
    font-size: 16px;
    margin: 5px 0 0;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-section, .services-info-section {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .info-image {
        flex: 0;
    }
}

.count-section {
    text-align: center;
    font-size: 1.2em;
    margin: 20px 0;
}

.call-icon {
    padding: 0px;
    text-decoration: none;
    color: #333;
}

.call-icon img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    display: none;
    cursor: pointer;
}

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

    .call-icon img {
        width: 30px;
        height: 30px;
        vertical-align: middle;
        display: inline-block;
    }
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -150%);
    }

    to {
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.success-message {
    position: fixed;
    top: 90%;
    right: 10%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 999;
    display: block;
    animation: slideIn 2s ease-in-out, fadeOut 2s ease-in-out forwards;
}

.error-message {
    position: fixed;
    top: 90%;
    right: 10%;
    transform: translate(-50%, -50%);
    color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 999;
}

.feedback-message {
    background-color: #000000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    z-index: 999;
}

.c p {
    width: 96%;
    margin: 1%;
    text-wrap: wrap;
    counter-increment: para-counter;
}

.c p::before {
    content: counter(para-counter) ". ";
    font-weight: bold;
    color: #000000;
}

.distinct-slider {
    position: relative;
    width: 80%;
    max-width: 600px;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
}

.distinct-slides {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.distinct-slide {
    display: none;
    width: 75%;
    height: 100%;
    object-fit: contain;
}

.distinct-slide.active {
    display: block;
}

.distinct-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 0%;
    color: #000000;
    touch-action: manipulation;
}

.distinct-button.prev {
    left: 10px;
}

.distinct-button.next {
    right: 10px;
}

.distinct-button:hover {
    background-color: rgba(0, 0, 0, 0.158);
}

@media screen and (max-width: 768px) {
 
    .distinct-slide {
        width: 100%;
        height: 300px;
    }
}

.p-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    margin: 1%;
    width: 100%;
}

.p-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    margin: 1%;
    width: 100%;
}

.p-grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
    font-size: 18px;
    padding: 15px;
    box-sizing: border-box;
    font-weight: 400;
    text-decoration: none;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.p-grid-item:hover {
    background-color: #e0e0e0;
    cursor: pointer;
}

.p-grid-item a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .p-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .p-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .p-grid {
        grid-template-columns: 1fr;
    }
    
    
}  
    
    
.search-bar {
  position: relative;
  display: inline-block;
  width: 300px;
  align-items: center;
  background: rgb(255, 255, 255);
  z-index: 1000;
  transition: all 0.3s ease; /* Transition for smooth display changes */
}

.search-bar input {
  width: 100%;
  height: 2.4em;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #000000;
  border-radius: 1px;
  background-color: transparent;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23717790c7'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: 16px 50%;
  box-sizing: border-box;
  color: #333; /* Text color */
  outline: none; /* Remove outline on focus */
  padding: 0.75em 2.55em;
}

#search-bar input::placeholder {
  color: #999; /* Placeholder text color */
}

/* Styles for search icon */
.search-icon {
  display: none; /* Hide the search icon by default */
  cursor: pointer; /* Add cursor pointer for better UX */
  text-align: center; /* Center align the icon */
  font-weight: 200;
  color: #000000;
  width: 40px;
  align-items: center;
}

.search-icon img {
  width: 30px; /* Adjust size as needed */
  height: 30px; /* Adjust size as needed */
  display: block; /* Ensure the image is block level */
  margin: auto; /* Center the image horizontally */
}

/* Media queries for responsive behavior */
@media (max-width: 768px) {
  #search-bar {
      display: none; /* Hide the search bar on smaller screens */
  }

  .search-icon {
      display: block; /* Show the search icon on smaller screens */
        padding: 1%;
        margin: auto;
    }
  }
}

@media (min-width: 769px) {
  #search-bar {
      display: inline-block; /* Show the search bar on larger screens */
  }

  .search-icon {
      display: none; /* Hide the search icon on larger screens */
  }
  
  .bar {
      
    width: 30px;
    height: 0.20em;
    background-color: #000000;
    margin: 0.75em 0.75em;   
    touch-action: manipulation;
      
  }
  
}



         .owner-details-container {
            background-color: #ffffff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            padding: 20px;
            max-width: 400px;
            width: 90%;
            display: flex;
            align-items: center;
        }

        .owner-image {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #ddd;
            margin-right: 15px;
        }

        .owner-details {
            flex: 1;
        }

        .owner-details h2 {
            font-size: 1.2em;
            margin: 0 0 5px;
            color: #333;
        }

        .owner-details p {
            margin: 0;
            color: #555;
        }

        .call-button {
            padding: 10px 20px;
            background-color: #28a745;
            color: #ffffff;
            text-decoration: none;
            border-radius: 5px;
            font-size: 1em;
            transition: background-color 0.3s;
            margin-left: 15px;
        }

        .call-button:hover {
            background-color: #218838;
        }
        
        
        
.suggest-aside {
    flex: 0 0 30%;
    max-width: 350px; 
    padding: 20px;
    border-radius: 8px;
    position: sticky;
    top: 0;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    border: 2px dotted #ddd;
    background: rgb(248, 249, 249);
    align-self: flex-start;
}

/* Updated suggestion container */
.suggestion-container {
    display: flex; /* Enable flexbox layout */
    align-items: center; /* Vertically center the content */
    width: 100%; /* Make the container full width within the parent */
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    padding: 10px; /* Add some padding for better spacing */
    margin-bottom: 10px;

}

/* Thumbnail image on the left */
.suggestion-container-image {
    width: 100px; /* Adjust image width */
    height: 100px; /* Adjust image height */
    overflow: hidden;
    flex-shrink: 0; /* Prevent the image from shrinking */
    border-radius: 8px; /* Optional: Give image rounded corners */
    margin-right: 15px; /* Add space between image and text */
}

/* Style the image inside the container */
.suggestion-container-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

/* Add a default background if no image exists */
.suggestion-container-image img[src*="default.png"] {
    background-color: #f4f4f4;
    object-fit: contain;
}

/* Container for the details section (Name on the right) */
.suggestion-container-details {
    padding: 10px;
    flex-grow: 1; /* Allow the text to take remaining space */
    /*background-color: #f9f9f9;*/
}

/* Project name styling */
.suggestion-container-details h3 {
    font-size: 1rem; /* Slightly smaller font size */
    font-weight: 500; /* Slightly lighter font weight */
    margin: 0;
    color: #333;
    text-align: left; /* Align text to the left */
    line-height: 1.4;
    transition: color 0.3s ease-in-out;
    padding-bottom: 5px; /* Add some space below the title */
}

/* Add some spacing and style to the link */
.suggestion-container-details a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-in-out;
    font-weight: 600; /* Make the link a bit bolder */
}

/* Hover effect for the project name link */
.suggestion-container-details a:hover {
    color: #1d72b8;
}

/* Base styles for the suggestion container */
.suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .suggestion-container {
        width: calc(50% - 20px); /* Two items per row on tablet */
    }
}

@media (max-width: 768px) {
    .suggestion-container {
        width: calc(100% - 20px); /* Full-width items on mobile */
    }
}

@media (max-width: 768px) {
    .suggest-aside {
        flex: 0 0 94%; /* Take up full width on smaller screens */
        max-width: none; /* Remove the max-width restriction */
        padding: 15px; /* Reduce padding to save space */
        border: 1px solid #ddd; /* Change to a thinner solid border for compactness */
        border-radius: 6px; /* Slightly smaller border-radius */
        gap: 15px; /* Reduce the gap between children */
        position: static; /* Disable sticky positioning for smoother scrolling on mobile */
    }
}
        