﻿.scroll-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}



.scroll-menu {
    overflow-x: hidden; /* Hide scrollbar */
    white-space: nowrap;
    width: 95%;
    padding: 10px 0;
    scroll-behavior: smooth; /* Smooth scrolling */
    user-select: none; /* Prevent text selection while dragging */
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -webkit-overflow-scrolling: touch;
    /* Corrected properties */
    border: 1px solid; /* Equivalent to 'border-1 border-danger' */
    border-color: var(--dynamic-color-punch);
    border-radius: 5px; /* Equivalent to 'rounded' */
    padding: 8px; /* Equivalent to 'p-2' */
    background-color: #F6F7F9;
}

.card {
    font-family: var(--dynamic-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 24.55px;
    text-align: left;
    display: inline-block;
    width: 335px; /* Adjust card width as needed */
    vertical-align: top;
    padding: 15px;
    padding-bottom: 250px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative; /* Position relative for absolute button */
    flex-direction: column; /* Arrange contents vertically */
}
    .card:hover {
        border: 5px solid;        
        border-color: var(--dynamic-color-punch) !important;
        transition: all 0.3s ease 0s;
    }
.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    background-color: var(--dynamic-color-punch);
    padding: 10px; /* Padding to make the background color visible */
    border-radius: 5px; /* Rounded corners for the title background */
    margin: -15px -15px 10px -15px; /* Extend the title to the card edges */
    width: calc(100% + 30px); /* Ensure title spans full width including margins */
    box-sizing: border-box; /* Include padding in the element's total width */
}
.get_started_btn {
    background: #1B2129;
    border: 1px solid #BABABA;
    padding: 19px 49px 20px 49px;
    gap: 10px;
    color: white;
    opacity:0;
}
.card:hover .get_started_btn{
    opacity:1;
    transition: opacity ease-in-out .5s;
}
.card-select {
    display: block;
    width: 100%;
    height: 50px; /* Adjust height as needed */
    padding: 5px;
    margin: 10px 0; /* Margin to position the select box */
    border: 1px solid #ccc;
    border-radius: 5px; /* Rounded corners for the select box */
    background-color: #ffdd57; /* Background color for the select box */
    color: #333; /* Text color for the select box */
    font-size: 14px;
    cursor: pointer; /* Ensure pointer cursor for the select box */
    z-index: 1;
    align-content: center;
    justify-content: center; /* Center horizontally */
}

.card-description {
    white-space: normal; /* Allows text to wrap */
    overflow-y: auto; /* Enable vertical scrolling */
    font-size: 14px;
}

.card-second-title {
    font-size: 16px;
    font-weight: bold;
    background-color: #28a745; /* Background color for the second title */
    color: #fff; /* Text color for the second title */
    padding: 10px 15px; /* Padding to make the background color visible */
    margin: 10px 0 0; /* Adjusted margin to maintain center alignment */
    border-radius: 0 0 5px 5px; /* Rounded bottom corners for the second title background */
    text-align: center; /* Center-align the text */
    width: 100%; /* Ensure second title spans full width */
    box-sizing: border-box; /* Include padding in the element's total width */
}

.card-description p {
    white-space: normal; /* Ensures text wraps */
    overflow-wrap: break-word; /* Breaks long words */
    margin: 0; /* Optional: remove default margin */
}
.card p {
    white-space: normal; /* Ensures text wraps */
    overflow-wrap: break-word; /* Breaks long words */   
    padding:0;/* Optional: remove default margin */
}

.nav-buttons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center
}

.nav-button {
    cursor: pointer;
    margin: 0 5px;
    color: var(--dynamic-color-punch);
    text-align: center;
    align-items: center;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
}
.nav-button-active {
    background-color: var(--dynamic-color-punch);
    color: white;
}

.subscribe-button {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px); /* Button width minus padding */
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}
.search-btn {
    border: 1px solid #BABABA;
    background-color: #F9F9F9;
    padding: 20px;
}
    .search-btn:focus {
        border: 1px solid #BABABA;
    }

.subscribe-button:hover {
    background-color: #0056b3;
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
}

/*Map related*/
.map-container {
    display: flex;
    margin: auto;
    align-items: center;
    flex-direction: column; /* Align sidebar and map horizontally */
    max-width:1520px;
    margin-bottom: 20px;
    padding: 10px;
    padding-top: 10px;
}
.sidebar {
    
    display: flex;
    flex-direction: column;
}
.sidebar-search-section {
    background-color: var(--dynamic-color-punch);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px;
    gap: 10px;
}

.sidebar h2 {
    margin-top: 0;
}
.sidebar-title {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 1.2em;
    text-align: left;
    color: var(--dynamic-color-punch);
    text-transform: uppercase;
}
.sidebar-subtitle {
    font-family: var(--dynamic-font);
    font-size: 24px;
    font-weight: 800;
    line-height: 67.5px;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
    color: #1B2129;
}
.sidebar-desc {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 33.6px;
    text-align: left;
    color: #1B2129;
    margin-top: 56px;
}

.sidebar input[type="text"] {
    width: 80%;
    padding: 20px;
    gap: 0px;
    border: 1px solid #BABABA;
    background-color: #F9F9F9;
}

.content {
    justify-content: right; /* Center the map horizontally */
    align-items: center; /* Center the map vertically */
    width: 100%;
    margin-top: 100px;
}

#map {
   
    height: 450px; /* Set the desired height for the map */
   
}

.custom-marker {
    background-color: #ff0000;
    padding: 10px;
    border-radius: 5px;
    color: #ffffff;
}

@media (min-width: 992px) {
    .map-container{
        flex-direction: row;
    }
    .sidebar {
        padding: 120px 134px 120px 0px;
    }
    .sidebar-title {
        font-size: 20px;
    }

    .sidebar-subtitle {
        font-size: 45px;
    }

    .sidebar-desc {
        font-size: 24px;
    }
    .map-container{
        padding: 100px;
    }
   .scroll-menu{
       width: 70%;
   }
}