* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    padding-bottom: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.main-header {
    background-color: #005fcc;
    padding-top: 6px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0078ff;
    margin-top: 5px;
    padding-inline: 98px;
    color: white;
}

.logo {
    font-size: 1rem;
    font-weight: bold;
}

.alpha {
    font-weight: 300;
}

.project {
    font-weight: 700;
}

.desktop-menu {
    display: flex;
    margin: 0;
}

.desktop-menu li {
    margin: 0 10px;
    font-size: 0.8rem;
}

.desktop-menu li a {
    padding: 15px;
    display: block;
    transition: background-color 0.3s;
}

.desktop-menu li.active a {
    background-color: white;
    color: #0078ff;
}

.desktop-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.minor_hero {
    background-color: #005fcc;
    color: white;
    padding: 5px 20px 1px;
    position: relative;
    height: 20px;
}

.hero {
    background-color: #005fcc;
    color: white;
    padding: 5px 20px 1px;
    position: relative;
    height: 140px;
}

.hero-content {
    max-width: 500px;
    height: 120px;
    margin-left: 100px;
    padding-top: 2px;
    position: relative;
}

.hero-angle {
    transform: translateX(-20px);
}

.hero h2 {
    font-size: 1rem;
    font-family: Inter;
    margin-bottom: 15px;
    margin-inline: 40px;
    transform: translateY(-122px) translateX(-20px);
}

.hero p {
    margin-bottom: 25px;
    font-size: 0.9rem;
    margin-inline: 40px;
    transform: translateY(-129px) translateX(-20px);
}

.hero a {
    margin-inline: 40px;
    font-size: 0.9rem;
    transform: translateY(-144px) translateX(30px);
}

.hero .action_button {
    margin-inline: 40px;
    font-size: 0.9rem;
    transform: translateY(-144px) translateX(30px);
}

.btn-rounded-primary {
    display: inline-block;
    background-color: white;
    color: #005fcc;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-rounded-primary:hover {
    background-color: #f0f0f0;
    /* transform: translateY(-2px); */
}

.country-selection {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    transform: translateY(50px) translateX(-20px);
}

.country-selector {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
}

.country {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
}

.country.active {
    background-color: #f9f9f9;
}

.country img {
    width: 24px;
    height: 16px;
    margin-right: 10px;
}

.country-divider {
    width: 1px;
    background-color: #ddd;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-inline: 80px;
}

.investment-section,
.opportunities-section {
    border-radius: 10px;
    padding-inline: 1px;
    padding-bottom: 6px;
}

.investment-section {
    flex: 1;
    /*min-width: 900px;*/

    /* max-width: 300px; */
}

.investment-section h2 {
    transform: translateY(20px);
}

.opportunities-section h2 {
    transform: translateY(20px);
}

.opportunities-section {
    flex: 1;
    /* min-width: 300px; */
    min-width: 400px;
    width: 400px;
    max-width: 450px;
}

h2 {
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: normal;
}

.category-tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 32px;
    gap: 20px;
    overflow: hidden;
    background-color: #f0f0f0;
    /* padding: 8px; */
    padding: 4px;
}

.category-tabs a {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.details {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8px;
    height: 8px;
    background-color: #999 !important;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
}

.tab {
    /* padding: 12px 20px; */
    padding: 8px 20px;
    transition: background-color 0.3s;
    background: white;
    border-radius: 32px;
}

.tab.active {
    background-color: #0078ff;
    color: white;
    border-radius: 32px;
}

.tab i {
    margin-right: 8px;
}

.categories-container {
    display: flex;
    flex-direction: row;
    gap: 20px;

    border-radius: 20px;
}

.categories {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: #efefef;
    padding-top: 14px;
    border-radius: 20px;
    min-width: 300px;
}

.category.active::after {
    content: "";
    position: absolute;
    top: 60%;
    right: -20px;
    transform: translateY(-50%);
    width: 52px;
    height: 78px;
    background: #efefef;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.category {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    gap: 8px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.category:hover {
    .category-span {
        color: #007fff;
    }
}

.category.active {
    border-left: 4px solid #0078ff;

    position: relative;
    padding-right: 25px;

    .category-span {
        color: #007fff;
        font-size: 0.9rem;
    }
}

.category-span {
    font-size: 0.9rem;
}

.category i {
    width: 30px;
    text-align: center;
    margin-right: 15px;
    font-size: 1.2rem;
    color: #666;
}

.featured-property {
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    margin-left: 30px;
    width: 100%;
}

.property-image img {
    width: 100%;
    /* height: 250px; */
    height: 200px;
    object-fit: cover;
    border-radius: 32px;
}

.property-details {
    padding-top: 20px;
    padding-bottom: 20px;
}

.property-details p {
    margin-bottom: 15px;
    color: #000;
    text-align: -webkit-left;
    font-size: 0.9rem;
    line-height: 1.35rem;
}

.btn-rounded-secondary {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #0078ff;
    color: #0078ff;
    border-radius: 25px;
    transition: all 0.3s;
}

.btn-rounded-secondary:hover {
    background-color: #0078ff;
    color: white;
}

.opportunities {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #efefef;
    padding-top: 12px;
    padding-inline: 8px;
    border-radius: 23px;
}

.opportunity {
    border-bottom: 1px solid #eee;
    padding-bottom: 0px;
}

.opportunity-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.investor-info {
    display: flex;
    flex-direction: row;
    gap:15px;
}

.investor-info img {
    width: auto;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
}

.investor-details h3 {
    font-size: 0.9rem;
    margin-bottom: 7px;
    color: #000000;
}

.investor-details .subtitle {
    font-size: 0.9rem;
    color: #000000;
    margin: 0;
}

.time {
    font-size: 0.7rem !important;
    color: #999999 !important;
}

.investor-sector {
    font-size: 0.7rem !important;
    color: #000000 !important;
}

.investment-reaction {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.category {
    font-size: 0.8rem;
}

.sector {
    background-color: #f9f9f9;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.opportunity-actions {
    display: flex;
    gap: 15px;
}

.opportunity-actions a {
    color: #999;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.opportunity-actions a:hover {
    color: #0078ff;
}

#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    flex-direction: row;
    justify-content: flex-end;
    padding: 5px 20px 2px 0;
    border-top: 2px solid #eee;
    margin-top: 10px;
    gap: 20px;
    background-color: #FFFFFF;
    z-index: 50;
}

.copyright {
    color: #999;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #0078ff;
    color: white;
    border-color: #0078ff;
}

.custom-select {
    position: relative;
    display: none;
    width: 300px;
}

select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    appearance: none;
    background-color: white;
    font-family: Arial, sans-serif;
    margin-bottom: 12px;
}

.select-container {
    position: relative;
}

.select-container::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 40%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
}

@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
        margin-inline: 10px;
    }

    .investment-section {
        min-width: 300px;
    }
}

@media (max-width: 992px) {
    .desktop-menu {
        display: none;
    }

    header {
        padding-inline: 18px;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-content {
        margin-left: 40px;
    }

}

@media (max-width: 768px) {
    .hero-content {
        margin-left: 25px;
    }

    .country-selector {
        width: 90%;
    }

    .country-selection {
        transform: translateY(0px) translateX(0px);
    }

    /*.opportunity-header {*/
    /*    flex-direction: column;*/
    /*    align-items: flex-start;*/
    /*}*/
    .sector {
        margin-top: 10px;
    }

}

@media (max-width: 576px) {
    header {
        padding-inline: 18px;
    }

    .custom-select {
        display: inline;
    }

    .hero-content {
        margin-left: 15px;
    }

    .hero {
        height: 180px;
    }

    .country {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .featured-property {
        margin-left: 0px;
    }

    .tab {
        padding: 10px;
        font-size: 0.9rem;
    }

    .hero-angle {
        height: 140px;
    }

    .hero p {
        transform: translateY(-159px) translateX(-20px);
    }

    .hero a {
        transform: translateY(-164px) translateX(50px);
    }

    .hero h2 {
        transform: translateY(-142px) translateX(-20px);
    }

    .opportunities-section {
        /* min-width: 300px; */
        min-width: 280px;
        /* width: 360px; */
        max-width: 450px;
    }

    .category i {
        margin-right: 10px;
    }

    .property-image img {
        height: 180px;
        border-radius: 32px;
    }

    .categories {
        display: none;
    }

    footer {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 475px) and (min-width: 384px) {
    .opportunities-section {
        min-width: 380px;
        width: 80%;
        max-width: 450px;
        /* min-width: 80%;
        width: 80%;
        max-width: 100%; */
    }


}

@media (max-width: 375px) {
    .hero-content {
        margin-left: 15px;
    }

    .opportunities-section {
        /* min-width: 300px; */
        min-width: 280px;
        width: 340px;
        max-width: 450px;
    }

    .hero {
        height: 180px;
    }

    .country {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .featured-property {
        margin-left: 0px;
    }

    .tab {
        padding: 10px;
        font-size: 0.9rem;
    }

    .hero-angle {
        height: 140px;
    }

    .hero p {
        transform: translateY(-159px) translateX(-20px);
    }

    .hero a {
        transform: translateY(-184px) translateX(50px);
    }

    .hero h2 {
        transform: translateY(-142px) translateX(-20px);
    }

    .category i {
        margin-right: 10px;
    }

    .property-image img {
        height: 180px;
        border-radius: 32px;
    }

    .categories {
        display: none;
    }

    /*footer {*/
    /*    flex-direction: column;*/
    /*    gap: 15px;*/
    /*}*/
}

.home_container {
    margin-top: 13rem;
}

.page_container {
    margin-top: 6rem;
}


