/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #e6f7fa, #e2f7f4);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    background: linear-gradient(to right, #e6f7fa, #d0e9e5);
    padding: 11px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 40px;
}

.nav-menu {
    position: relative;
}

.menu-orb {
    width: 40px;
    height: 40px;
    background-color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-orb:hover {
    transform: scale(1.2);
}

.menu-icon {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-list {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: #28a745;
    border-radius: 50%;
    padding: 1rem;
    transition: all 0.3s ease;
}



.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #218838;
}

.header-button {
    padding: 0.5rem 1rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.header-button:hover {
    background-color: #218838;
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
.nav-list {
    display: none;
    position: absolute;
    top: 55px;
    max-width: 350px;
    height: 100vh;
    right: 0;
    text-align: center;
    background: #4d7556;
    flex-direction: column;
    width: 100vw;
    list-style: none;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}
.nav-menu:hover .nav-list {
    display: none;
}
.nav-menu.active .nav-list {
    display: flex;
}
.menu-orb {
    background-color: #ffffff;
    width: 40px;
    height: 40px;
}
.menu-icon {
    color: #28a745;
}


/* Hero Section */
.hero {
    height: 100vh;
    padding: 75px 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Futura', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideIn 1s ease forwards;
}

.hero-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-button {
    padding: 0.35rem 2.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    margin: auto;
    width: fit-content;
    text-align: center;
    display: block;
    margin-top: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #218838;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.search-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.search-select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

.search-button {
    padding: 0.75rem;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background-color: #218838;
}

@keyframes slideIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .search-bar {
        flex-direction: row;
    }
}

/* Property Types Section */
.property-types {
    padding: 4rem 0;
}

.section-title {
    font-family: 'Futura', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: #28a745;
    margin-bottom: 3rem;
}

.property-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.property-type-card {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.property-type-card:hover {
    border: 2px solid #28a745;
    transform: translateY(-5px);
}

.property-type-icon {
    width: 50px;
    height: 50px;
    background-color: #28a745;
    border-radius: 50%;
    margin: 0 auto 1rem;
    clip-path: polygon(0 1%, 52% 37%, 100% 0, 51% 100%);
    transition: all 0.3s ease;
}

.property-type-card:hover .property-type-icon {
    transform: rotate(15deg);
}

.property-type-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.property-type-count {
    color: #666;
}

@media (min-width: 768px) {
    .property-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* #1 Place Section (About) */
.about {
    padding: 4rem 0;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-content {
    flex: 1;
}

.about-list {
    list-style: none;
    margin: 1rem 0;
}

.about-list li {
    margin: 0.5rem 0;
    color: #333;
}

.about-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.about-button:hover {
    background-color: #218838;
}

.about-image {
    flex: 1;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-img:hover {
    transform: rotate(3deg);
}

@media (min-width: 768px) {
    .about-container {
        flex-direction: row;
        align-items: center;
    }
    .about-content {
        padding-right: 2rem;
    }
}

/* Property Listing Section (Service) */
.property-listing {
    padding: 4rem 0;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

.property-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.property-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.property-card:hover {
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.property-card:hover img {
    transform: scale(1.05);
}

.property-details {
    padding: 1rem;
}

.property-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.property-price {
    color: #28a745;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.property-info {
    color: #666;
    font-size: 0.875rem;
}

.property-slider-container {
    margin: 3rem 0;
}

.property-slider-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #28a745 #e6f7fa;
}

.slider::-webkit-scrollbar {
    height: 8px;
}

.slider::-webkit-scrollbar-track {
    background: #e6f7fa;
}

.slider::-webkit-scrollbar-thumb {
    background-color: #28a745;
    border-radius: 20px;
}

.slider-item {
  flex: 1;
    text-align: center;
}

.slider-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.browse-more-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.browse-more-button:hover {
    background-color: #218838;
}

@media (min-width: 768px) {
    .property-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact With Certified Agents Section (Contact) */
.contact {
    padding: 4rem 0;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    max-width: 550px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-image img:hover {
    transform: scale(1.05);
}

.contact-content {
    flex: 1;
}

.contact-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: #218838;
    animation: pulse 0.5s infinite;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
        align-items: center;
    }
    .contact-content {
        padding-left: 2rem;
    }
}

/* Property Agents Section */
.agents {
    padding: 4rem 0;
}

.agents-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.agent-card {
    /* background: white; */
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.agent-card:hover {
    border: 2px solid #28a745;
}

.agent-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.agent-card:hover img {
    filter: grayscale(100%);
}

.agent-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25rem;
    color: #28a745;
}

.agent-title {
    color: #666;
}

@media (min-width: 768px) {
    .agents-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Testimonial Section */
.testimonial {
    padding: 4rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: #28a745;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 1rem auto;
}

.testimonial-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25rem;
    color: #28a745;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Accordion Section (FAQ) */
.faq {
    padding: 4rem 0;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    /* background: white; */
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-summary {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.125rem;
    color: #28a745;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-summary::after {
    content: '+';
    font-size: 1.5rem;
}

.accordion-item[open] .accordion-summary::after {
    content: '−';
}

.accordion-content {
    margin-top: 0.5rem;
}

/* Events Section */
.events {
    padding: 4rem 0;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25rem;
    color: #28a745;
    margin: 1rem;
}

.event-card p {
    margin: 0 1rem 1rem;
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* Footer */
.footer {
    background: linear-gradient(to bottom, #1a3c34, #2a4c44);
    color: white;
    padding: 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section {
    text-align: center;
}

.footer-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: #28a745;
}

.photo-gallery {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.photo-gallery img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    padding: 0.5rem;
    border: 2px solid #28a745;
    border-radius: 5px;
    background: white;
}

.newsletter-button {
    padding: 0.5rem;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background-color: #218838;
}

@media (min-width: 768px) {

    .footer-container {
        grid-template-columns: repeat(4, 1fr);
        text-align: left;
    }
    .newsletter-form {
        flex-direction: row;
    }
}
@media screen and (max-width:768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 55px;
        max-width: 550px;
        height: 100vh;
        right: 0;
        text-align: center;
        background: #4d7556;
        flex-direction: column;
        width: 100vw;
        list-style: none;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }
}
html,body{
    display: flex;
    flex-direction: column;
    height: 100%;
}
a{
    text-decoration: none;
}
.f{
    display: flex;
}
.f-col{
   flex-direction: column;
}
.f-wrap{
    display: flex;
    flex-wrap: wrap;
}
.f-star{
    align-items:flex-start
}
.b.f {
    display: flex
;

    justify-content: space-around;
}
@media screen and (max-width:768px) {
    .slider {
        display: flex
    ;
        gap: 1rem;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: #28a745 #e6f7fa;
        flex-direction: column;
    }
    .hero-title {
     
        font-size: 2.5rem;
   
    }
    .f{
       flex-wrap: wrap;
    }
    .map img{
width: 100%;
}
.map p{
width: 100%;
}
.b.f{
    flex-direction: column;
}
}
.tyty p, .tyty h2,.tyty h3, .tyty h4{
    text-align: start;
    margin-bottom: 20px;
}