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

/* BODY */
body {
    line-height: 1.6;
}
html, body {
    width: 100%;
    overflow-x: hidden;
}
/* NAVBAR UPGRADE */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: linear-gradient(to right, #0f172a, #1e3a8a);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover {
    color: #fbbf24;
}

/* LOGO IMPROVEMENT */
.logo {
    height: 65px;
    width: auto;
    object-fit: contain;
}

/* MAKE NAVBAR FEEL PREMIUM */
.navbar {
    height: 85px; /* gives breathing room */
}
/* HERO (REMOVE UGLY BOX LOOK) */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('/static/images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CLEAN TEXT (NO HEAVY BOX) */
.hero-text {
    color: white;
    text-align: center;
    max-width: 700px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* PREMIUM BUTTON */
.hero-btn {
    display: inline-block;
    background: #fbbf24;
    color: #fff;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #f59e0b;
    transform: scale(1.05);
}

/* SERVICES */
.services {
    padding: 80px 60px;
    text-align: center;
    background: #f9fafb;
}

.services-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.service-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 280px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-10px);
}

/* CONTACT */
.contact {
    padding: 80px 60px;
    background: white;
}

.contact-card {
    max-width: 600px;
    margin: auto;
}
.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}
.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar a:hover {
    color: #fbbf24;
    transform: translateY(-2px);
}
.hero-text h1 {
    font-size: 56px;
}

.hero-text p {
    font-size: 20px;
}
.hero-text {
    max-width: 750px;
}
.nav-left {
    display: flex;
    align-items: center;
}
/* ABOUT SECTION */
.about {
    padding: 30px 20px;
    text-align: center;
    background: #f9f9f9;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.about-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-box {
    background: white;
    padding: 25px;
    width: 300px;
    border-radius: 12px;
    border: 1px solid rgb(0,0,0,0.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.about-box:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    border: 1px solid #f1c40f;
}

.about-box h3 {
    margin-bottom: 10px;
}

.about-box p {
    color: #555;
}
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin-top: 0 auto;

}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}
.contact-info,
.contact-form {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.contact-form button {
    background: #f1c40f;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
}
.contact {
    padding: 60px 20px;
}
.contact h2 {
    text-align: left;
    max-width: 900px;
    margin-bottom: auto 30px auto;
}
.contact-form {
    margin-left: 20px;
}
.contact-info p {
    margin: 8px 0;
}

.success-message {
    color: green;
    margin-bottom: 20px;
}
.contact-form {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.btn {
    background: #f1b400;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: white;
    background: #25D366;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}
.gallery {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.gallery {
    max-width: 900px;   /* increase width */
    margin: 30px auto;
}

.main-img {
    width: 100%;
    height: 450px;      /* bigger, more premium */
    object-fit: cover;
    border-radius: 12px;
}

.small-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.small-images img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.small-images img {
    width: 50%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.card img:first-child {
    width: 100%;
    height: 220px;   /* controls main image height */
    object-fit: cover;
    border-radius: 8px;
}

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

.gallery img {
    width: 48%;      /* makes them sit side by side */
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.listings .card > img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}


.small-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}


.gallery {
    max-width: 900px;
    margin: 20px auto;
}

.main-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.small-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.small-images img {
    width: 50%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}
.property-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.gallery {
    max-width: 900px;
    margin: auto;
}

.main-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.small-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.small-images img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
}

.card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    margin: 15px;
    display: inline-block;
    vertical-align: top;
    background: white;
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.info {
    padding: 10px;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: orange;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.listings-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.property-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content;
}

.card {
    width: 300px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.property-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.led-section {
    max-width: 900px;
    margin: 80px auto;   /* THIS centers it */
    padding: 20px;
    text-align: center;
}

.led-image {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    margin: 20px 0;
}

.led-image {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-wrapper video {
  width: 60%;
  max-width: 500px;
  border-radius: 10px;
}


/* PROPERTY CARDS */
.properties-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.property-card {
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    background: white;
    transition: transform 0.2s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

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

.property-info {
    padding: 15px;
}

.property-info h3 {
    margin-bottom: 10px;
}

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

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

.details {
    font-size: 13px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    margin: 0 10px;
}

nav ul li a:hover {
    color: #ffd700;
}


.team {
    padding: 80px 20px;
    text-align: center;
    background: #ffffff;
}

.team h2 {
    font-size: 32px;
    margin-bottom: 40px;
}


.team-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.team-card h3 {
    margin-bottom: 5px;
}

.team-card p {
    color: gray;
    font-size: 14px;
}


/* TEAM SECTION */
.team {
    padding: 80px 40px;
    text-align: center;
    background: #ffffff;
}

.team h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.team-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
    text-align: center;

    width: 100%;
max-width: 220px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}


.team-card img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
}


.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
}

.team-card h3 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 18px;
}

.team-card p {
    font-size: 14px;
    color: #777;
}


@media (max-width: 900px) {
    .team-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 400px) {
    .team-container {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {

    .container {
        width: 100%;
        margin: auto;
    }

    .hero {
        height: auto;
        padding: 60px 20px;
        text-align: center;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 14px;
        margin-top: 10px;
    }

    nav {
        text-align: center;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }

    nav .nav-links {
        display: flex;
        gap: 10px;
        overflow-x: auto;   /* 👈 THIS is the magic */
        white-space: nowrap;
    }

    nav .nav-links a {
        font-size: 14px;
        flex-shrink: 0;  /* prevents squishing */
    }
}

.team-btn {
    display: inline-block;
    margin: 5px 4px;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 6px;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Hover */
.team-btn:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

.team-btn:first-child {
    background: #222;
    color: #fff;
    border-color: #222;
}

.team-btn:first-child:hover {
    background: #000;
}

footer {
  background: #1f2937;
  color: #fff;
  text-align: center;
  padding: 25px 15px;
  margin-top: 50px;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

footer h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

footer p {
  margin: 6px 0;
  font-size: 14px;
  color: #d1d5db;
}

footer a {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 500;
}

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

footer .copyright {
  margin-top: 15px;
  font-size: 12px;
  color: #9ca3af;
}

<style>
table {
    width: 80%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 10px;
    border: 1px solid #ccc;
}
th {
    background-color: #f4f4f4;
}
</style>


/* =========================
   MOBILE RESPONSIVE FIX
   ========================= */

@media (max-width: 768px) {

    body {
        margin: 0;
        padding: 0;
    }

    /* NAVBAR */
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .navbar img.logo {
        width: 120px;
        margin-bottom: 10px;
    }

    .navbar ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        padding: 0;
    }

    .navbar ul li {
        list-style: none;
    }

    .navbar ul li a {
        font-size: 14px;
    }

    /* HERO SECTION */
    .hero {
        width: 100%;
        min-height: 100vh;
        padding: 60px 20px;
        text-align: center;
        background-size: cover;
        background-position: center;
    }

    .hero-text {
        width: 100%;
        max-width: 100px;
        margin: 0 auto;
        padding: 0 15px
    }

    .hero-text h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-text .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* SERVICES SECTION */
    .services-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .service-card {
        width: 100%;
    }

    /* GENERAL SECTIONS */
    section {
        width: 100%;
        padding: 40px 20px;
    }
}


/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {

    .hero-text h1 {
        font-size: 18px;
    }

    .navbar ul {
        gap: 10px;
    }

    .navbar ul li a {
        font-size: 12px;
    }
}

.hero-text {
    width: 100%;
    max-width: 900px;   /* controls how wide content can be */
    margin: 0 auto;     /* centers it properly */
    padding: 0 20px;
}

/* FORCE SERVICES TO STACK ON MOBILE */
@media (max-width: 768px) {

    .services-container,
    .team-container,
    .services {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
    }

    .service-card,
    .team-card {
        width: 100% !important;
        max-width: 350px;
    }

}

/* CONTACT FIX FOR MOBILE */
@media (max-width: 768px) {

    .contact-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        padding: 20px;
    }

    .contact-info,
    .contact-form {
        width: 100% !important;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100% !important;
    }

    .contact-form button {
        width: 100%;
    }
}

.services-section {
  text-align: center;
  margin-top: 80px;
}

.subtitle {
  color: #555;
  margin-bottom: 30px;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 20px;
}

.service-box {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  transition: 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
}

.contact-section {
  text-align: center;
  margin-top: 100px;
}

.subtitle {
  color: #555;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  justify-content: center;
}

.contact-info {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin: 15px 0;
  font-size: 16px;
}

.contact-info a {
  text-decoration: none;
  color: #0b3d91;
  font-weight: 500;
}


.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.subtitle {
  color: #555;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-info {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin: 15px 0;
  font-size: 16px;
}

.contact-info a {
  text-decoration: none;
  color: #0b3d91;
  font-weight: 500;
}

.map-section {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.map-section iframe {
  width: 90%;
  max-width: 800px;
  height: 350px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* CONTACT PAGE */

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 20px;
}

.contact-section h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
}

/* CARD */
.contact-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card h3 {
  margin-bottom: 20px;
}

.contact-card p {
  margin: 15px 0;
  font-size: 16px;
}

.contact-card a {
  color: #0b3d91;
  text-decoration: none;
  font-weight: 500;
}

/* MAP TITLE */
.map-title {
  margin-top: 50px;
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 600;
}

/* MAP */
.map-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-section iframe {
  width: 90%;
  max-width: 800px;
  height: 350px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
