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

body {
    background-color: #EFE9DB;
    
}
.hero {
    background-image: url('img/bg.webp'); 
    background-size: cover;
    background-position: center;
    height: 450px; 
    position: relative;
}
.hero h1 {
    color: white;
    width: 90%; /* Adjusted for responsiveness */
    max-width: 700px; /* Max width for larger screens */
    margin: 0 auto;
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.541);
    padding: 30px;
}
.hero h1 span {
    font-weight: 100;
    font-size: 1.2rem; /* Responsive font size */
}
#navbarimg {
    background-image: url('./img/white\ \ logo\ \(2\).png'); 
    background-size: cover;
    background-position: center;
    height: 95.25px;
    min-width: 100px;
    border-radius: 10px;
    margin: 10px;
}
.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 85px, rgba(255,255,255,0) 100%);
    position: relative;
    z-index: 1000;
    padding-left: 15%;
    padding-right: 10%;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem; /* Responsive font size */
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}
.navbar:hover .nav-links a {
    color: black;
}

.navbar:hover {
    background: #EFE9DB;
}
/* Hamburger for small screens */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: black;
    margin-left: auto;
}
.contact-links{
     display:  block;
}
/* Responsive styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        margin-left: 13px;
        width: 100%;
        display: none;
        background-color: #EFE9DB;
        padding: 10px;
        /* border-top: 1px solid #ccc; */
    }
    .nav-links li {
        margin: 10px 0;
    }
    .navbar.active .nav-links {
        display: flex;
        
    }
    .nav-links a {
        color: black;
    }
    .hero h1 {
        height: 200px;
        width: 90%; /* Adjusted for smaller screens */
        padding: 20px; /* Adjusted padding */

      
    }
    .hero h1 span {
        height: 70px;
        font-weight: 100;
        font-size: 1.2rem; /* Responsive font size */
    }
    .possiotionText{
        margin-top: 200px;
    }
}

.container {
    max-width: 1200px;
    margin: auto;
}
h1 {
    text-align: center;
    margin-bottom: 20px;
}


.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 50px ;
  }
  
  .card {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    width: 370px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    cursor: pointer;
    border: solid 1px ;
  }
  
  .card img {
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
  }
  
  .card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
  }
  
  .card p {
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid #99BC84;
    border-radius: 8px;
    color: #99BC84;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #99BC84;
    color: white;
  }

#property-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    transition: transform 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
    cursor: pointer;
    border: solid 1px ;
}

.property-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-details {
    padding: 15px;
}

.property-price {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.property-info {
    font-size: 16px;
    margin: 5px 0;
    color: #7f8c8d;
}

.location {
    font-size: 14px;
    color: #34495e;
}

form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 60%;
    margin: 30px auto;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
}
.from1{
    display: flex;
}
form img {
    width: 100%; /* Make image responsive */
    max-width: 200px; /* Limit max width */
    margin-bottom: 20px; /* Space below the image */
}
.formtext{
    margin-top: 5%;
}

form h2 {
    margin-left: 30px;
    font-size: large;
    text-align: center; /* Center the heading */
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: medium;
    color: #333;
}
.formimput{
    margin-left: 30px;
    margin-top: 10px;
}
form input {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s;
}

form input:focus {
    border-color: #99BC84;
    outline: none;
}

form button {
    width: 100%;
    padding: 12px;
    background: #99BC84;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #88a872; /* Slightly darker on hover */
}
/* 
.footer {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 20px; 
    background-color: #99BC84; 
    border-top: 1px solid #e0e0e0; 
}

.footer-left img {
    max-width: 40%; 
    height: auto; 
    margin-bottom: 10px;
    border-radius: 20px; 
}

.contact-info {
    font-size: 14px; 
    color: white;
    text-align: center; 
}

.footer-right {
    display: flex; 
    align-items: flex-start; 
    justify-content: center; 
    margin-bottom: 20px; 
}

.fb-page {
    width: 100%;
    max-width: 340px; 
    height: 300px;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center; 
}

.social-links a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0077ff;
} */

/* Responsive styles */
@media (max-width: 768px) {
    form {
        max-width:95%;
        height: 90%;
    }
    .formtext h2{
        font-size: medium;
    text-align: left;
    margin-left: 10px;
    }
    .formimput{
        margin-left: 10px;
    }
    .footer {
        /* flex-direction: column; Stack footer elements */

        display: flex;
        padding: 10px; /* Adjust padding */
    }

    .footer-left img {
        min-width: 100px; /* Make logo larger on small screens */
        width: 120px;
        position: absolute;
        right: 35%;
    }

    .contact-info {
        font-size: 12px; /* Smaller font size for contact info */
        margin-top: 130px;
        padding-right: 50%;
        margin-right: 33px;
        justify-content: center;

        /* position: absolute; */
    }
.contact-info p{
    font-size: 18px; 
    justify-content: center;
    text-align: center;
    width: 250px;
}
    .footer-right {
        flex-direction: column; /* Stack Facebook page and social links */
        align-items: center; /* Center items */
    }

    .fb-page {
        width: 100%; /* Make Facebook page responsive */
        max-width: 340px; /* Limit max width */
    }
    form img {
        width: 50%; /* Make image responsive */
        max-width: 200px; /* Limit max width */
        margin-bottom: 20px; /* Space below the image */
    }
    
}

/* form {
    background: #fff;
    padding: 30px;
    padding-bottom: 0;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 30px auto;
    padding-bottom: 30px;
    display: flex;
  }

  form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: medium;
    color: #333;
  }

  form input {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s;
  }

  form input:focus {
    border-color: #99BC84;
    outline: none;
  }

  form button {
    width: 100%;
    padding: 12px;
    background: #99BC84;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
  }
form h2{
  font-size: large;
}
  form button:hover {
    background: #99BC84;
  }
  form img{
    width: 200px;
    margin-right: 30px;
  }
  form:hover {
    transform: translateY(-5px);
    cursor: pointer;
    border: solid 1px ;
  }
 */
  .footer {
    display: flex; 
    justify-content:center; 
    padding: 20px; 
    padding-right: 15%;
    background-color: #99BC84; 
    border-top: 1px solid #e0e0e0; 
  }

.footer-left img {
    max-width: 34%; 
    height: auto; 
    margin-bottom: 10px;
    border-radius: 20px; 
    margin-left: 120%;
}

.contact-info {
    height: 100%;
    justify-content: space-between;
    font-size: 16px; 
    color: white; 
    width: 100%;
    margin-left: 45%;
}

.contact-info p{
    text-decoration: none;
}
.fb-page {
    width: 340px; 
    height: 300px;
}

.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.social-links a {
  text-decoration: none;
  color: white;
  font-size: 24px;
  transition: color 0.3s;
}
.social-links a:hover {
  color: wheat;
}

.typewriter-animation {
  animation: 
    typewriter 5s steps(150) 1s 1 normal both, 
    blinkingCursor 500ms steps(50) 0s 13 normal both; 
}
.typewriter-animation2 {
  animation: 
    typewriter 5s steps(150) 6s 1 normal both, 
    blinkingCursor2 4000ms steps(50) 0s 20 both normal;
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blinkingCursor{
  from { border-right-color: rgba(255,255,255,.75); }
  to { border-right-color: transparent; }
}
@keyframes blinkingCursor2{
  from { border-right-color:transparent}
  to { border-right-color: transparent; }
}
@keyframes delateblinker{
  from { border-right-color: rgba(255, 255, 255, 0.75); }
  to { border-right-color: transparent; }
}
.cursor{
  position: relative;
  width: 100%;
  margin: 0 auto;
  /* margin-top: 5px; */
  border-right: 2px solid rgba(255,255,255,.75);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);   
  /* height: 80px; */
}
@media (max-width: 768px) {
.typewriter-animation, .typewriter-animation2 {
    text-wrap: wrap;
    /* height: 68px;
    font-size: small; */

    font-size: medium;
     opacity: 0;
  animation: fadeIn 2.5s forwards;
    border: none;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

}


.carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}
