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

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 5%;
    border-bottom: 1px solid #eee;
    font-family: 'Newsreader', serif;
    position: sticky;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    font-size: 14px;
    background-color: #F5F5F2;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    display: flex;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.05rem;
    padding: 10px 15px;
}

.nav-links a:hover {
    color: #F4524D;
}

.nav-links a i {
    margin-top: 4px;
    color: #F4524D;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.dropdown {
    position: relative;
}

.dropdown>a {
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.dropdown-box {
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #fff;
    color: #000;
    padding: 20px;
    width: 230px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
    margin-left: -25px;
}

.dropdown:hover .dropdown-box,
.dropdown-box:hover {
    display: block;
}

.dropdown-box ul.dropdown-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-box ul.dropdown-items li a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
    display: block;
}

.dropdown-box ul.dropdown-items li a:hover {
    color: #F4524D;
}

.dropdown-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.05rem;
}

.dropdown-box p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.05rem;
}

.btn-group {
    display: flex;
    gap: 10px;
    background-color: white;
}

.btn-group button {
    flex: 1;
    padding: 10px;
    border: 1px solid #000;
    background-color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-group button:hover {
    background-color: #F4524D;
    color: #fff;
    border-color: #F4524D;
}

.offcanvas {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 2000;
}

.offcanvas.active {
    left: 0;
}

.offcanvas-content {
    width: 280px;
    height: 100%;
    background-color: #fff;
    padding: 20px;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    font-size: 28px;
    cursor: pointer;
    color: white;
}

.offcanvas-body {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offcanvas-body ul {
    list-style: none;
    padding: 0;
    font-size: 2rem;
}

.offcanvas-body ul li {
    margin-bottom: 15px;
    letter-spacing: 0.05rem;
}

.offcanvas-body ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.offcanvas-body ul li a:hover {
    color: #F4524D;
}

.submenu {
    display: none;
    padding-left: 15px;
    margin-top: 10px;
}

.has-submenu .plus-icon {
    float: right;
    font-size: 30px;
    cursor: pointer;
    margin-left: 10px;
    color: white;
}

.has-submenu.open .submenu {
    display: block;
}

.mobile-nav {
    display: none;
}

.hero-section {
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: background-image 1s ease-in-out;
    margin-top: 100px;
}

.overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.3rem;
    color: #f1f1f1;
    margin-bottom: 40px;
}

.search-box {
    background-color: rgba(255, 255, 255, 0.60);
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    width: 70%;
    justify-content: space-evenly;
    position: sticky;
    top: 80px;
    z-index: 999;
}

.search-box input,
.search-box select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    min-width: 150px;
    font-size: 1rem;
}
.search-box button {
    background: linear-gradient(90deg, #f27121, #e94057);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-box button:hover {
    background: linear-gradient(90deg, #e94057, #f27121);
    opacity: 0.9;
}
.property-list {
    background-color: rgba(255, 255, 255, 0.60);
    max-height: 200px;
    overflow-y: auto;
    width: 70%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
    z-index: 9999;
    position: relative;
}

.property-item {
    text-align: left;
    font-weight: 500;
    padding: 12px;
    margin: 5px 0;
    cursor: pointer;
}

.property-item:hover {
    color: #F4524D;
}
.trst-prop{
    display: flex;
    font-family: 'Sen', sans-serif;
    justify-content: center;
    margin-bottom: 60px;
    margin-top: -16px;
    text-align: center;
}

.elite {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin-top: 80px;
    padding: 10px 5%;
}

.elite-text {
    flex: 1 1 400px;
    width: 40%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}
.elite-images {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex: 1 1 300px;
    width: 60%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}
.elite-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 10px;
}
.elite-subtitle:hover{
    color: #F4524D;
}
.elite-title {
    font-family: 'Sen', sans-serif;
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 20px;
}

.elite-text p {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: #5c5c5c;
    font-size: 18px;
    text-align: justify;
}

.elite-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #444;
}
.lern-mre{
    color: #5a5a5a;
}
.lern-mre:hover{
    color: #F4524D;
}
.elite-contact i {
    font-size: 24px;
    color: #F4524D;
}

.highlight {
    color: #F4524D;
    font-family: 'Playfair Display', serif;
}

.elite-images img {
    width: 100%;
}
.frst-img{
    margin-top: 110px;
}
/* Animations */
.fade-in-left.active,
.fade-in-right.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease-out;
}

.fade-in-left.active {
    animation: slideInLeft 1s ease forwards;
}

.fade-in-right.active {
    animation: slideInRight 1s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.fade-in-left.active {
    opacity: 1;
    transform: translateY(0);
    animation: slideInLeft 0.5s ease-out forwards;
}

.fade-in-right.active {
    opacity: 1;
    transform: translateY(0);
    animation: slideInRight 0.5s ease-out forwards;
}
/* Responsive */
@media (max-width: 768px) {
    .suggestion-list li{
        text-align: left;
    }
    .suggestion-list{
        width: 90%;
    }
    .unirise-stats-section{
        margin-top: -55px !important;
    }

    .hero-section{
        height: 700px;
    }
    .property-list {
        width: 90%;
        max-height: 300px;
        overflow-y: auto;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        background-color: white;
        z-index: 9999;
        position: relative;
    }

    .property-item {
        text-align: left;
        padding: 12px;
        margin: 5px 0;
        border-radius: 5px;
        cursor: pointer;
        font-size: 0.9rem;
    }

    .property-item:hover {
        background-color: #e0e0e0;
    }

    .search-box {
        flex-direction: column;
        gap: 10px;
        width: 95%;
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .elite {
        flex-direction: column;
        align-items: center;
            padding: 0px 0%;
    }
    .elite-text{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .elite-images {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .elite-images img {
        width: 305px;
    }

    .elite-title {
        font-size: 2rem;
    }
    .team-image-wrapper {
    max-height: 400px; /* You can increase this as needed */
  }

  .team-image {
    height: 400px;
    object-fit: cover;
  }

  .team-overlay {
    left: 5%;
    max-width: 90%;
    font-size: 14px;
  }

  .tm-hd {
    font-size: 16px;
    line-height: 1.5;
  }

  .mt-tm {
    font-size: 14px;
  }
}


.fade-in-right {
    width: 40%;

}

.fade-in-left {
    width: 40%;
    letter-spacing: 0.05rem;
    text-align: justify;
    margin-top: 20px;
}

.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 1s ease forwards;
}

.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 1s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    margin-top: 30px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    height: 300px;
    padding: 5px;
}

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

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    z-index: 10;
    border-radius: 50%;
    padding: 0;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.slide {
    min-width: 100%;
    height: 300px;
    padding: 5px;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    font-size: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.caption p:hover {
    color: #f44842;
}

.image-wrapper:hover .caption {
    opacity: 1;
    transform: translateY(0);
}

.caption-buttons {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.caption-btn {
    background-color: #ffffff;
    color: #000;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.caption-btn:hover {
    background-color: #f44842;
}

.custom-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.custom-form-container {
    background: #fff;
    padding: 16px;
    /* width: 90%; */
    max-width: 380px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-top: 90px;
    /* Added by me */
    width: 100%;
    height: 100%;
    max-height: 500px;
    overflow-y: auto;
}


.custom-close-btn {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #aaa;
}

.custom-close-btn:hover {
    color: #000;
}

.custom-form-container h2 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 20px;
}

.custom-form-group {
    margin-bottom: 10px;
}

.custom-form-group label {
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
}

.custom-form-group input,
.custom-form-group select {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.custom-vew-btn {
    width: 100%;
    padding: 10px;
    background-color: #f44842;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.custom-vew-btn:hover {
    background-color: #c13733;
}

.team-section {
    position: relative;
    width: 100%;
    margin-top: 60px;
    font-family: 'Libre Baskerville', serif;
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 490px;
    overflow: hidden;
}

.team-image {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.team-image-wrapper:hover .team-image {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    z-index: 1;
}

.team-label {
    font-size: 17px;
    letter-spacing: 0.05rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-label:hover {
    color: #f44842;
}

.team-heading {
    line-height: 1.7;
    margin-bottom: 20px;
    letter-spacing: 0.07rem;
}

.team-btn {
    display: inline-block;
    font-size: 15px;
    color: rgb(118 115 115);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.team-btn:hover {
    color: #c93834;
}

.request-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.request-form-container {
    background: #fff;
    padding: 16px;
    /* width: 90%; */
    max-width: 380px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-top: 90px;
    /* Added by me */
    width: 100%;
    height: 100%;
    max-height: 470px;
    overflow-y: auto;
}

.request-close-btn {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #aaa;
}

.request-close-btn:hover {
    color: #000;
}

.request-form-container h2 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 20px;
}

.request-form-group {
    margin-bottom: 10px;
}

.request-form-group label {
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
}

.request-form-group input,
.request-form-group select {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.request-vew-btn {
    width: 100%;
    padding: 10px;
    background-color: #f44842;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.request-vew-btn:hover {
    background-color: #c13733;
}

.callform-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 10%;
    background-color: #e7e7e5 !important;
    margin-top: 40px;
}

.callform-left,
.callform-right {
    opacity: 0;
    transform: translateX(0);
    transition: all 0.8s ease-out;
}

.callform-left.animate-left {
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 0.8s forwards;
    width: 90%;
    margin-bottom: 35px;
}

.callform-right.animate-right {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.8s forwards;
    width: 100%;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.callform-left {
    width: 45%;
}

.callform-left h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    font-weight: normal;
    margin: 0 0 10px;
}

.callform-left h2 span {
    color: #e6533c;
    font-style: italic;
}

.callform-left p {
    font-size: 19px;
    line-height: 1.7;
    color: #333;
}

.callform-right {
    width: 45%;
}

.callform-form {
    display: flex;
    flex-direction: column;
}

.callform-input {
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    border-radius: 4px;
    width: 100%;
}

.callform-label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    text-align: left;
}

.callform-recaptcha {
    margin-bottom: 20px;
}

.callform-terms {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
}

.callform-button {
    background-color: #f44842;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    width: 150px;
}

.callform-button:hover {
    background-color: #c13733;
}

.unirise-footer {
    background-color: #000;
    color: #fff;
    font-family: 'Georgia', serif;
    padding: 50px 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-left h2,
.footer-right h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

.footer-left h2 em,
.footer-right h2 em {
    font-style: italic;
    font-weight: normal;
}

.subscribe-form .input-group {
    display: flex;
    border: 1px solid #7f8fa6;
    max-width: 400px;
    padding: 10px;
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    outline: none;
}

.subscribe-form button {
    background: none;
    border: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 6px;
}

.footer-note {
    font-size: 12px;
    margin-top: 12px;
    color: #ccc;
}

.footer-note a {
    color: #ccc;
    text-decoration: underline;
}

.footer-right .social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-right .social-icons a {
    font-size: 18px;
    color: white;
    text-decoration: none;
}
.social-icons a i:hover{
    color: #f44842;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
}

.footer-bottom h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.footer-links {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom p {
    font-size: 13px;
    color: #888;
}

.ftr-btn:hover {
    color: #f44842;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.about .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.about .content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 1rem;
}

.about .heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 565px;
    background: url('../images/abt.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

.banner-content {
    max-width: 900px;
    padding: 20px;
    margin-top: 75px;
    text-align: left;
    color: #fff;
    border-radius: 8px;
}

.banner-content h1 {
    color: #fff !important;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 34px;
    font-size: .875rem;
    letter-spacing: .12em;
}

.banner-content h2 {
    position: unset;
    width: 100%;
    color: #fff !important;
    font-size: 38px;
    font-family: Sen, sans-serif;
    margin-bottom: 55px;
}

.accordion {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    padding: 15px 0;
    font-family: Newsreader, serif;
    font-size: 20px;
    color: #424141;
    font-weight: 400;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #292929;
}

.accordion-body {
    display: none;
    padding: 10px 0 20px 0;
    color: #424141;
    font-family: Newsreader, serif;
    line-height: 1.6;
    font-size: 16px;
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.our-story-section {
    width: 100%;
    padding: 60px 8%;
    margin-top: 20px;
}

.our-story-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
}

.our-story-left {
    flex: 1.8;
    min-width: 300px;
    text-align: justify;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    font-size: 16px;
}

.our-story-left h2 {
    font-size: 2rem !important;
    margin-bottom: 20px;
    font-family: Sen, sans-serif;
}
.our-story-left p{
    font-family: Newsreader, serif;
    font-size: 20px;
    color: #424141;
    font-weight: 400;
}

.our-story-right {
    flex: 0.5;
    min-width: 260px;
}

.our-story-right h2 {
    font-size: 2rem !important;
    margin-bottom: 20px;
    font-family: Sen, sans-serif;
}

.stat p {
    font-size: 14px;
    color: #333;
}

.explore-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    margin-top: 50px;
}

.explore-list li {
    margin-bottom: 16px;
}

.explore-list a {
    text-decoration: none;
    font-size: 19px;
    font-family: Newsreader, serif;
    color: #4a4a4a;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.explore-list a:hover {
    color: #F4524D;
}

.explore-list .icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 12px;
    border: 1px solid #bfbfbf;
    border-radius: 50%;
    font-size: 13px;
    text-align: center;
    line-height: 21px;
    color: #7a7a7a;
    transform: scale(1);
    transition: transform 0.2s ease;
}

.explore-list a:hover .icon {
    transform: scale(1.1);
    color: #F4524D;
    border-color: #F4524D;
}

.unirise-stats-section {
    padding: 60px 8%;
    font-family: 'Poppins', sans-serif;
    margin-top: -5px;
}

.unirise-stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-item {
    flex: 1 1 200px;
    border-left: 1px solid #ccc;
    padding: 0 20px;
}

.stat-item:first-child {
    border-left: none;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 600;
    font-family: Sen, sans-serif;
    color: #111;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: Sen, sans-serif;
    color: #444;
}

.team-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.team-header h2 {
    font-size: 2rem;
    margin: 0;
    font-family: Sen, sans-serif;
}

.team-header a {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Sen, sans-serif;
}

.team-header a:hover {
    color: #F4524D;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 70px;
    justify-content: space-between;
}

.team-member {
    flex: 1 1 calc(25% - 22.5px);
    min-width: 240px;
    max-width: 270px;
    text-align: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 14px;
    color: #000;
    text-align: left;
    font-weight: 600;
    margin-top: 30px;
}

.team-name:hover {
    color: #F4524D;
}

.team-member a {
    text-decoration: none;
}

.team-member:hover img {
    transform: scale(1.08);
}

.team-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    text-align: left;
    letter-spacing: 0.07rem;
    margin-bottom: 35px;
}

.met-tems{
        background-color: #f44842;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    font-weight: 500;
    cursor: pointer;
    width: 150px;
}
.met-tems:hover{
    background-color: #c13733;
}

.agent-banner {
    position: relative;
    width: 100%;
    height: 580px;
    background: url(../images/unirise1.png) center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

.agent-banner-content {
    max-width: 1050px;
    text-align: left;
    color: #fff;
    border-radius: 8px;
    margin-top: 60px !important;
}

.met{
    color: #fff !important;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 34px;
    font-size: .875rem;
    letter-spacing: .12em;
    font-family: 'Poppins', sans-serif;
}
.met:hover{
    color: #F4524D !important;
}

.agent-banner-content h2 {
    position: unset;
    width: 100%;
    color: #fff !important;
    line-height: 1.5;
    font-size: 38px;
    font-family: 'Libre Baskerville', serif;
    margin-bottom: 55px;
    letter-spacing: 0.05rem;
}

.agent-section {
    background-color: #f7f6f3;
    padding: 60px 30px;
    font-family: 'Poppins', sans-serif;
    margin-top: 100px;
}

.agent-container {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.agent-left img {
    width: 352px;
    height: 480px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.agent-left img:hover {
    transform: scale(1.1);
}

.agent-right {
    flex: 1;
    min-width: 300px;
}

.agent-right h1 {
    font-size: 2.5rem !important;
    color: #424141;
    margin-bottom: 31px;
    font-weight: 400;
    font-family: Sen, sans-serif;
}

.agent-right .position {
    font-size: 16px;
    color: #212529;
    margin: 10px 0 20px;
    font-family: Newsreader, serif;
}

.agent-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.agent-actions button {
    border: 1px solid #ccc;
    padding: 15px 60px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background-color: #f7f6f3;
    gap: 8px;
}

.agent-actions button:hover {
    background-color: #F4524D;
    color: white;
    border: 1px solid #F4524D;
}

.agent-meta {
    display: flex;
    gap: 30px;
    letter-spacing: 0.05rem;
    line-height: 1.9;
    font-family: Newsreader, serif;
}

.agent-meta p {
    font-size: 18px;
    margin: 6px 0;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.agent-meta .red-text {
    color: #c94f4f;
}

.agent-description {
    margin-top: 25px;
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
    font-family: Newsreader, serif;
}

.call-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.call-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.call-modal-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.agent-photo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.company-logo {
    width: 115px;
    object-fit: contain;
}

.agent-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.agent-number {
    font-size: 24px;
    font-weight: bold;
    color: #e44242;
}

.close-call-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.popup-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.popup-logo {
    width: 100px;
    object-fit: contain;
}

.popup-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.whatsapp-button {
    display: inline-block;
    padding: 15px;
    width: 100%;
    font-weight: bold;
    background-color: #ef4b41;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #555;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-container {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 600px;
    display: block;
}

/* Overlay search box on the image */
.prop-search-box {
    background-color: rgba(255, 255, 255, 0.60);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    width: 55%;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.prop-wrapper {
    position: relative;
}

.prop-search-box input,
.prop-search-box select,
.prop-search-box button {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    min-width: 150px;
    font-size: 1rem;
}

.prop-search-box button {
    background: linear-gradient(90deg, #f27121, #e94057);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prop-search-box button:hover {
    background: linear-gradient(90deg, #e94057, #f27121);
    opacity: 0.9;
}

.property-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.property-container.show {
    opacity: 1;
    transform: translateY(0);
}


.property-images {
    flex: 1 1 60%;
}

.main-image {
    width: 97%;
    height: 290px;
    border-radius: 10px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.thumbnails img {
    width: 48%;
    height: 178px;
    border-radius: 10px;
}

.property-details {
    flex: 1 1 35%;
}

.property-details h2 {
    font-size: 1.9rem;
    margin-bottom: 10px;
    font-family: Sen, sans-serif;
}

.property-details h2:hover {
    color: #f44842;
}

.property-details p {
    padding: 10px 0 10px 0px;
    border-bottom: 1px solid #eee;
    position: relative;
    font-size: 1.15rem;
    font-family: Newsreader, serif;
}
.property-details p strong{
    font-family: Newsreader, serif;
}

.price {
    color: #f44842;
    font-weight: bold;
}

.contact-grid h4,span, p{
    font-family: Newsreader, serif;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.contact-buttons button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #f5f5f5;
    transition: 0.3s;
}

.contact-buttons button:hover {
    background: linear-gradient(90deg, #f27121, #e94057);
    color: #fff;
    border: none;
    transition: background 0.3s ease;
}


.contact-buttons .whatsapp {
    background-color: #25d366;
    color: white;
}

.contact-buttons button:hover {
    opacity: 0.85;
}

.view-details{
    margin: 50px 0px;
    display: flex;
    align-items: center;
}

.view-details a{
    font-weight: 300;
    font-size: 17px;
    color: #e84118;
    cursor: pointer;
}

.view-details a:hover{
    color: #e94057;
}

.show-more-container {
    text-align: center;
    margin: 20px;
}

.show-more-button {
    background: linear-gradient(90deg, #f27121, #e94057);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.show-more-button:hover {
    background: linear-gradient(90deg, #e94057, #f27121);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 64, 87, 0.4);
}

.show-more-button:active {
    transform: scale(0.98);
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
.property-detail-images{
    margin-top: 131px;
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}
.detail-thumbnails{
    display: flex;
    gap: 10px;
    flex-direction: column;
    margin-top: 5px;
}
.detail-main-image{
    width: 65%;
    height: 370px;
    border-radius: 10px;
}
.detail-thumbnails img{
    width: 100%;
    height: 180px;
    border-radius: 10px;
}
.listing-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
    padding: 20px;
    width: 100%;
}

.listing-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.listing-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.listing-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 20px;
    width: 100%;
    justify-content: center;
}

.listing-details div {
    min-width: 120px;
}

.listing-price {
    color: #e74c3c;
    font-weight: bold;
}

.detail-contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 80px;
}

.detail-contact-buttons button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #f5f5f5;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.detail-contact-buttons button:hover {
    background: linear-gradient(90deg, #f27121, #e94057);
    color: #fff;
    opacity: 0.85;
}

/* WhatsApp button specific styling */
.detail-contact-buttons .whatsapp {
    background-color: #25d366;
    color: white;
}

/* Optional: Add icon spacing */
.detail-contact-buttons i {
    margin-right: 6px;
}
.property-section {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    padding: 30px 20px;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Header section */
  .property-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
  .property-title{
    width: 67%;
  }
  .property-title h2 {
    font-size: 35px;
    margin: 0;
    color: #000;
    font-family: Sen, sans-serif !important;
  }
  
  .property-title p {
    font-size: 20px;
    color: #424141;
    margin-top: 35px;
    font-family: Newsreader, serif;
  }
  
  .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .btn {
    text-decoration: none;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 3px;
    border: 1px solid #000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
  }
  
  .btn-email {
    background-color: #f44336;
    color: #fff;
    border: none;
  }
  
  .btn-call {
    background-color: #fff;
    color: #000;
  }
  
  .btn-whatsapp {
    background-color: #fff;
    color: #000;
  }
  
  .btn-whatsapp i {
    color: green;
  }
  
  .info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 70px;
  }

  .info-item {
    flex: 1 1 180px;
    min-width: 150px;
  }
  
  .label {
    font-weight: 600;
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
    color: #222;
    font-family: Newsreader, serif;
  }
  
  .value {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-family: Newsreader, serif;
    line-height: 1.4;
    margin-top: 18px;
  }
  
  .price {
    color: #e84118;
    font-weight: bold;
    font-size: 20px;
    font-family: Newsreader, serif;
    margin-top: 18px;
  }
  
  .det-agent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 250px;
    min-width: 200px;
  }
  
  .det-agent-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .det-agent-name {
    font-weight: 600;
    margin: 0;
    font-family: Newsreader, serif;
    font-size: 20px;
  }
  
  .det-agent-phone {
    text-decoration: none;
    color: #333;
    font-family: Newsreader, serif;
    font-size: 20px;
    margin-top: 18px;
  }
  .det-contact-buttons{
    width: 31%;
  }

.det-contact-buttons button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #e3e1e1;
    transition: 0.3s;
}

.det-contact-buttons button:hover {
    background: linear-gradient(90deg, #f27121, #e94057);
    color: #fff;
    border: none;
    transition: background 0.3s ease;
}


.det-contact-buttons .whatsapp {
    background-color: #25d366;
    color: white;
}

.det-contact-buttons button:hover {
    opacity: 0.85;
}
.property-detail-section {
    margin-top: 3px;
    padding: 40px 20px;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', sans-serif;
}

.section-title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 25px;
    margin-top: 30px;
    color: #000;
    font-family: Sen, sans-serif;
}

.features-description {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.features-list {
    flex: 1 1 250px;
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2.7;
    color: #444;
}

.features-list li::before {
    content: '– ';
    color: #888;
}
.features-list li{
    font-family: Newsreader, serif;
    font-size: 20px;
}

.description-text {
    flex: 2 1 400px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}
.description-text p{
    font-family: Newsreader, serif;
    font-size: 20px;
}

.bullet-list {
    margin-top: 15px;
    padding-left: 18px;
}

.bullet-list li {
    list-style: disc;
    margin-bottom: 4px;
    font-family: Newsreader, serif;
    font-size: 20px;
}

.office-details {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.managed-by {
    font-style: italic;
    color: #777;
    margin-top: 10px;
}

.contact-bg-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('images/unirise1.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.contact-form-wrapper {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 40px;
  max-width: 720px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.contact-form-header h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
}

.contact-form-header p {
  margin-bottom: 20px;
  color: #555;
  font-size: 15px;
}

.custom-form-group {
  margin-bottom: 20px;
}

.custom-form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 14px;
}

.custom-form-group input,
.custom-form-group select,
.custom-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.custom-form-group textarea {
    resize: vertical;
}

.custom-btn-submit {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0052cc;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.custom-btn-submit:hover {
    background-color: #003fa3;
}

.connect-social-links {
    margin-top: 25px;
    text-align: center;
}

.connect-social-links p {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
}

.connect-social-links a {
    margin: 0 8px;
    font-size: 20px;
    text-decoration: none;
}
.custom-chat-box {
    position: fixed;
    bottom: 0px;
    right: 20px;
    background-color: #06b350;
    color: #fff;
    padding: 22px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    white-space: nowrap;
}
.testimonial-section {
    font-family: 'Poppins', sans-serif;
    padding: 60px 20px;
    text-align: left;
    width: 80%;
    margin: auto;
    position: relative;
  }
  
  .google-review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 65px;
    padding-right: 535px;
    display: flex;
    justify-content: center;
    margin-bottom: 57px;
  }
  
  .google-logo {
    width: 150px;
  }
  
  .google-review-header h3 {
    font-family: Sen, sans-serif;
    font-size: 22px;
    margin: 0;
    font-weight: 500;
  }
  
  .google-review-header .highlight {
    color: #e6533c;
    font-weight: 600;
  }
  
  .google-review-header p {
    margin: 5px 0 0;
    font-size: 22px;
    font-family: Newsreader, serif;
    color: #555;
  }
  
  .google-review-header a {
    color: #e6533c;
    text-decoration: none;
  }
  .review-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

  .slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    height: 35px;
    width: 35px;
    border-radius: 50px;
    pointer-events: auto;
    z-index: 2;
}

.slider-nav button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
  .review-card.expanded {
    max-height: 600px;
  }
  .review-content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  /* When expanded */
  .review-card.expanded .review-content {
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .review-card .stars {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .review-card p {
    font-size: 15px;
    color: #333;
    flex-grow: 1;
  }
  
  .review-card a {
    color: #999;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
  }

  .review-footer {
    display: flex;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
  }

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.avatar.orange {
    background-color: #ff8906;
}

.avatar.blue {
    background-color: #00aaff;
}

.avatar.pink {
    background-color: #f94d6a;
}
.read-more, .hide-text {
    display: inline-block;
    margin-top: 5px;
    color: #f26000;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}

.im-container{
        position: relative;
        width: 100%;
        max-width: 1200px;
        margin: auto;
        text-align: center;
        padding: 50px 20px;
        height: 755px;
    }
    .ban-image{
        position: absolute;
        width: 230px;
        height: 150px;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    .ban-image:hover {
    transform: scale(1.3);
    z-index: 1;
    }
    .image1 { top: 20%; left: 40%; }
    .image2 { top: 16%; left: 10%; }
    .image3 { top: 16%; right: 11%; }
    .image4 { bottom: 11%; left: 66%; }
    .image5 { bottom: 37%; right: 0%; }

    .txt-section {
        position: relative;
        margin: 258px 0;
        font-size: 3.5rem;
        text-align: left;
        width: 63%;
        font-family: Sen, sans-serif;
    }
    .hgh-light{
        color: #e63946;
        font-style: italic;
        font-family: 'Georgia', serif;
    }
    .srch-bar {
            margin: 30px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }
        .search-input-container {
            position: relative;
            width: 97%;
}
        .search-input-container input {
            width: 97%;
            margin-top: 20px;
            margin-right: 20px;
            padding: 20px 20px 20px 45px;
        }
.search-icon {
    position: absolute;
    top: 47%;
    padding: 40px 0px 15px 0px;
    color: #212529;
    left: 15px;
    transform: translateY(-50%);
    font-size: 20px;
}

        .srch-bar button {
            padding: 10px 20px;
            background-color: #e63946;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .srch-bar button:hover {
            background-color: #d62828;
        }
        
        /* Hide mobile slider on desktop */
        .mobile-slider {
            display: none;
        }

        /* Media Query for Mobile View */
        @media screen and (max-width: 768px) {
            .property-title{
                width: 100%;
            }
            .det-contact-buttons{
                display: flex;
                gap: 10px;
                width: 100%;
            }
            .info-item {
                flex: 1 1 100px;
            }
            .det-agent-item{
                margin-top: 0px;
            }
            .property-detail-section{
                margin-top: -45px;
            }
            .callform-left h2{
                text-align: left;
            }
            .callform-left p{
                text-align: left;
            }
            .im-container {
                display: none;
            }

            .mobile-slider {
                display: block;
                padding: 20px;
                text-align: center;
                margin-top: 100px;
            }
            .search-icon{
                    padding: 25px 0px 24px 0px;
                    left: 49px;
                    font-size: 15px;
            }

            .slider-wrapper {
                display: flex;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                gap: 10px;
                padding-bottom: 15px;
            }

            .slider-wrapper img {
                flex: 0 0 auto;
                width: 80%;
                max-width: 300px;
                height: 180px;
                object-fit: cover;
                border-radius: 10px;
                scroll-snap-align: center;
            }

            .mobile-text {
                font-size: 1.5rem;
                font-family: Sen, sans-serif;
                margin-top: 15px;
            }

            .mobile-text .hgh-light {
                color: #e63946;
                font-style: italic;
                font-family: 'Georgia', serif;
            }
            .srch-bar input{
                margin-top: 0px;
                width: 90%;
                margin-right: 0px;
            }
        }

        
  /* General Responsive Adjustments */
@media (max-width: 1200px) {
    .google-review-header {
        flex-direction: column;
        text-align: center;
        padding-right: 0;
    }

    .google-logo {
        width: 120px;
    }

    .review-cards {
        flex-wrap: wrap;
        justify-content: center;
    }
}

  /* Tablets */
@media (max-width: 992px) {
    .banner-container {
        height: 500px;
        margin-top: 80px;
        padding: 0 15px;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .review-card {
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
    }

    .callform-container {
        flex-direction: column;
        padding: 35px 20px;
    }

    .callform-left,
    .callform-right {
        width: 100% !important;
        text-align: center;
    }

    .callform-right form {
        max-width: 100%;
        margin: auto;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .banner-container {
        height: auto;
        margin-top: 60px;
        padding: 40px 15px;
        text-align: center;
    }

    .banner-content h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .review-card {
        padding: 15px;
        font-size: 14px;
    }

    .review-card p {
        font-size: 13px;
    }

    .review-card .stars {
        font-size: 16px;
    }

    .slider-nav {
      display: none; /* Hide slider arrows for smaller devices */
    }

    .callform-button {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .review-cards {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .review-cards {
      grid-template-columns: 1fr; /* 1 per row on mobile */
    }
  }
  
@media screen and (max-width: 768px) {
  .contact-form-wrapper {
    padding: 25px 20px;
  }
  .review-card {
    width: 100%; /* full width on smaller screens */
  }
}
.image-form-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.background-image {
    width: 100%;
    /*height: 150vh;*/
    /*Added by me*/
    height: 165vh;
    display: block;
}

.contact-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    max-width: 720px;
    margin: 60px auto;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    border-radius: 8px;
    z-index: 10;
}

.form-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #222;
}

.form-header p {
    margin-bottom: 30px;
    font-size: 15px;
    color: #555;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fafafa;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #333;
    outline: none;
}

.btn-send {
    background-color: #e94b35;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-send:hover {
    background-color: #d13824;
}

.captcha-box {
    margin: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #888;
    padding: 10px;
    background: #f1f1f1;
    border-radius: 4px;
}

.connect-links {
    margin-top: 30px;
    font-size: 16px;
    text-align: center;
}

.connect-links p {
    margin-bottom: 10px;
    color: #444;
}

.connect-links a {
    margin: 0 10px;
    text-decoration: none;
    font-size: 22px;
    transition: transform 0.2s ease;
    color: #333;
}

.connect-links a:hover {
    transform: scale(1.2);
    color: #e94b35;
}

.livechat-note {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    color: #2a7f2e;
    font-size: 15px;
}

.office-map {
    margin-top: 40px;
    width: 100%;
    height: 300px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    transition: transform 0.2s;
}

.contact-card:hover {
    transform: scale(1.03);
}

.contact-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.contact-card h4 {
    margin: 0;
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
}

.contact-card span {
    font-size: 0.9rem;
    color: #888;
}

.contact-card p {
    margin: 8px 0 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .contact-wrapper {
        padding: 20px;
        width: 90%;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .btn-send {
        width: 100%;
        padding: 12px;
    }

    .connect-links {
        font-size: 14px;
    }

    .connect-links a {
        font-size: 20px;
    }
}
/* Responsive tweaks */
@media (max-width: 768px) {
    .features-description {
        flex-direction: column;
    }

    .contact-grid {
        flex-direction: column;
    }
}

  /* Responsive */
  @media screen and (max-width: 768px) {
    .property-header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .action-buttons {
      justify-content: flex-start;
    }
  
    .info-grid {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .info-item {
      width: 100%;
    }
  
    .agent-item {
      margin-top: 20px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .info-grid {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .info-item {
      width: 100%;
    }
  
    .det-agent-item {
      margin-top: 20px;
    }
  }
  
@media (max-width: 768px) {
    .property-container {
        flex-direction: column;
    }

    .contact-buttons button {
        padding: 5px 7px;
    }

    .thumbnails {
        flex-direction: column;
    }

    .thumbnails img {
        width: 100%;
    }
    .view-details{
        margin:17px 0px 0px 0px;
    }
}

@media (max-width: 768px) {
    .agent-container {
        flex-direction: column;
        align-items: center;
    }

    .agent-right {
        text-align: center;
    }
    .agent-right h1{
        text-align: left;
        margin-top: -30px;
    }
    .agent-right .position {
        text-align: left;
    }
    .agent-actions button{
        padding: 10px 4px;
    }

    .agent-actions {
        justify-content: center;
    }
    .agent-meta{
            text-align: left;
    }
    .agent-description{
        text-align: justify;
    }

    .agent-left img{
        width: 300px;
        height: 415px;
    }
}

@media (max-width: 1024px) {
    .team-member {
        flex: 1 1 45%;
    }

    .agent-banner {
        height: 450px;
        margin-top: 80px;
    }

    .agent-banner-content {
        margin-top: 40px;
        padding: 0 30px;
    }

    .agent-banner-content h1 {
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    .agent-banner-content h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .team-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: -53px;
    }

    .team-member {
        flex: 1 1 100%;
    }

    .team-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 24px;
    }

    .banner-content p {
        font-size: 14px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about .heading {
        font-size: 1.8rem;
    }

    .about p {
        font-size: 1rem;
    }

    .about .content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form .input-group {
        flex-direction: row;
        padding: 0;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
        padding: 10px;
        border: none;
    }

    .subscribe-form button {
        width: 125px;
        color: #f8f4f4;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .callform-container {
        flex-direction: column;
    }

    .callform-left,
    .callform-right {
        width: 100%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .team-overlay {
        top: auto;
        bottom: 10%;
        left: 5%;
        transform: none;
        max-width: 90%;
    }

    .team-heading {
        font-size: 1.3rem;
    }

    .team-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .slide {
        min-width: 50%;
        padding: 12px !important;
    }
}

@media (min-width: 1024px) {
    .slide {
        min-width: 25%;
    }
}

@media screen and (max-width: 768px) {
    .header {
        position: sticky;
    }

    .offcanvas {
        overflow-y: scroll;
    }

    .mobile-nav {
        display: block;
    }

    .mobile-nav li a {
        color: white;
        text-decoration: none;
        font-size: 20px;
    }

    .mobile-nav li a i {
        margin-right: 10px;
        color: #F4524D;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 70px;
        right: 5%;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .menu-icon {
        display: block;
    }

    .nav.active .nav-links {
        display: flex;
    }

    .dropdown-box {
        display: none !important;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box input,
    .search-box select,
    .search-box button {
        width: 100%;
    }

    .elite {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .fade-in-left {
        width: 80%;
    }

    .team-image-wrapper {
        max-height: 300px;
    }

    .team-overlay {
        left: 5%;
        max-width: 90%;
    }

    .team-heading {
        font-size: 18px;
    }

    .team-label {
        font-size: 15px;
    }

    .team-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .banner-container {
        height: 350px;
        padding: 0 20px;
    }

    .banner-content {
        padding: 10px;
        text-align: center;
    }

    .banner-content h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .banner-content h1 {
        font-size: 0.7rem;
        margin-bottom: 20px;
    }

    .agent-banner {
        height: 380px;
        margin-top: 60px;
        background-position: center top;
    }

    .agent-banner-content {
        margin-top: 20px;
        padding: 0 20px;
        text-align: center;
    }

    .agent-banner-content h1 {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .agent-banner-content h2 {
        font-size: 24px;
        line-height: 1.4;
    }
}

@media screen and (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .nav.active .nav-links {
        display: flex;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 70px;
        right: 5%;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links a {
        padding: 10px;
        font-size: 16px;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content h1 {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {

    .header {
        position: fixed;
    }

    .team-heading {
        font-size: 16px;
    }

    .banner-container {
        height: 280px;
        padding: 0 15px;
    }

    .banner-content h2 {
        font-size: 18px;
        line-height: 1.4;
    }

    .banner-content h1 {
        font-size: 0.65rem;
    }

    .agent-banner {
        height: 300px;
    }

    .agent-banner-content {
        margin-top: 10px;
        padding: 0 15px;
    }

    .agent-banner-content h2 {
        font-size: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .header {
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 10px;
    }
}

/* for country code */
.select-box {
    position: relative;
    /* width: 26rem;
    margin: 7rem auto; */
}

.select-box input {
    width: 100%;
    padding: 1rem .6rem;
    font-size: 1.1rem;
    
    border: .1rem solid transparent;
    outline: none;
}

input[type="tel"] {
    border-radius: 0 .5rem .5rem 0;
}

.select-box input:focus {
    border: .1rem solid var(--primary);
}

.selected-option {
    background-color: #eee;
    border-radius: .5rem;
    overflow: hidden;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-option div{
    position: relative;

    width: 6rem;
    padding: 0 2.8rem 0 .5rem;
    text-align: center;
    cursor: pointer;
}

.selected-option div::after{
    position: absolute;
    content: "";
    right: .8rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    
    width: .8rem;
    height: .8rem;
    border-right: .12rem solid var(--primary);
    border-bottom: .12rem solid var(--primary);

    transition: .2s;
}

.selected-option div.active::after{
    transform: translateY(-50%) rotate(225deg);
}

.select-box .options {
    position: absolute;
    top: 4rem;   
    width: 100%;
    background-color: #fff;
    border-radius: .5rem;
    display: none;
}

.select-box .options.active {
    display: block;
}

.select-box .options::before {
    position: absolute;
    content: "";
    left: 1rem;
    top: -1.2rem;

    width: 0;
    height: 0;
    border: .6rem solid transparent;
    border-bottom-color: var(--primary);
}

input.search-box {
    background-color: var(--primary);
    /* color: #fff; */
    border-radius: .5rem .5rem 0 0;
    padding: 1.4rem 1rem;
}

.select-box ol {
    list-style: none;
    max-height: 23rem;
    overflow: overlay;
}

.select-box ol::-webkit-scrollbar {
    width: 0.6rem;
}

.select-box ol::-webkit-scrollbar-thumb {
    width: 0.4rem;
    height: 3rem;
    background-color: #ccc;
    border-radius: .4rem;
}

.select-box ol li {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.select-box ol li.hide {
    display: none;
}

.select-box ol li:not(:last-child) {
    border-bottom: .1rem solid #eee;
}

.select-box ol li:hover {
    background-color: lightcyan;
}

.select-box ol li .country-name {
    margin-left: .4rem;
}

@media (max-width: 1024px) {
    .team-member {
        flex: 1 1 calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .team-member {
        flex: 1 1 calc(50% - 15px);
        width: 300px !important;
    }
}

@media (max-width: 480px) {
    .team-member {
        flex: 1 1 100%;
        width: 300px !important;
    }
    
    .team-member img {
        height: 380px;
    }
}

.nw-team{
        margin: 0;
        font-family: 'Segoe UI', sans-serif;
        background: #e7e7e5;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 400px;
        padding: 40px 10px;
    }
.nw-team-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 185px;
    }

    .nw-profile-wrapper {
        position: relative;
        border-radius: 50%;
        overflow: visible;
        transition: all 0.3s ease;
    }

    .nw-profile-img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        border: 20px solid white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 1;
        position: relative;
    }

    .nw-card {
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%) scale(0);
        width: 230px;
        height: 222px;
        padding: 20px 15px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.25);
        text-align: center;
        z-index: 2;
        transition: 0.4s ease;
        opacity: 0;
        pointer-events: none;
    }

    .nw-profile-wrapper:hover .nw-card {
        transform: translateX(-50%) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nw-card img {
        width: 160px;
        height: 150px;
        border-radius: 12px;
        object-fit: cover;
        margin-top: -50px;
        margin-bottom: 10px;
    }

    .nw-card h3 {
        font-size: 1rem;
        margin: 5px 0 2px;
        color: #222;
        font-weight: 600;
        font-family: 'Playfair Display', serif;
    }

    .nw-card p {
        font-size: 0.85rem;
        color: #666;
        margin: 0;
        font-family: 'Poppins', sans-serif;
    }

    .social {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }

    .social i {
        font-size: 16px;
        color: #1450aa;
        transition: 0.3s;
        cursor: pointer;
    }

    .social i:hover {
        transform: scale(1.2);
        color: #0e3b7c;
    }

    @media (max-width: 768px) {
        .nw-profile-wrapper {
            width: 110px;
            height: 110px;
    }

        .nw-profile-img {
            width: 110px;
            height: 110px;
        }

        .nw-card {
            width: 100px;
        }

        .nw-card img {
            width: 60px;
            height: 60px;
            object-fit: contain;
        }
    }

/* Tablet */
@media (max-width: 768px) {
  .nw-profile-img {
    width: 140px;
    height: 140px;
    border: 12px solid white;
  }

  .nw-card {
    width: 100px;
    height: auto;
    padding-top: 40px;
  }

  .nw-card img {
    width: 100px;
    height: 90px;
    margin-top: -50px;
    object-fit: contain;
  }
  .met-tems{
    margin-top: 65px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .nw-team {
    padding: 100px 10px;
    height: auto;
  }

  .nw-team-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
  }

  .nw-profile-wrapper {
    width: 48%;
    display: flex;
    justify-content: center;
  }

  .nw-profile-img {
    width: 120px;
    height: 120px;
    border: 10px solid white;
  }

  .nw-card {
    width: 200px;
    height: auto;
  }

  .nw-card img {
    width: 112px;
    height: 100px;
    margin-top: -59px;
    object-fit: contain;
  }

  .nw-card h3 {
    font-size: 1rem;
  }

  .nw-card p {
    font-size: 0.8rem;
  }

  .social i {
    font-size: 14px;
  }
}

/* Extra small screens (like 320px) */
@media (max-width: 360px) {
  .nw-card {
    width: 180px;
    padding: 15px 10px;
  }

  .nw-card img {
    width: 98px;
    height: 98px;
    margin-top: -26px;
    object-fit: contain;
  }

  .nw-card h3 {
    font-size: 0.95rem;
  }

  .nw-card p {
    font-size: 0.75rem;
  }
}