/* =======================
   GENERAL STYLING
======================= */
/* =======================
   GENERAL STYLING
======================= */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

h1, h2, h3 {
    margin: 0 0 10px 0;
    font-weight: 600; /* semi-bold headings */
}

p {
    margin: 0 0 15px 0;
    font-weight: 400;
}

/* =======================
   TOP BAR CONTACT + SOCIAL
======================= */
.top-bar {
    background:#242c35;
    color: #fff;
    font-size: 14px;
    padding: 5px 0;
    font-family: 'Poppins', sans-serif;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    margin-right: 5px;
    color: #ffcc00;
}

/* Social icons as circles */
.top-bar .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    background: #004080;
    color: #fff;
    border-radius: 50%; /* Makes circle */
    text-align: center;
    line-height: 30px;
    transition: all 0.3s ease;
    font-size: 19px;
}

.top-bar .social-icons a:hover {
    background: #ffcc00;
    color: #004080;
    transform: scale(1.1); /* slight pop on hover */
}


/* =======================
   HEADER & LOGO
======================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background:#dd3333;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-img {
    border-radius: 10px; /* rounded corners */
    max-width: 150px;    /* optional: adjust size */
    height: auto;        /* keeps proportions */
}




/* ===== FANCY SLIDER ===== */
/* =========================
   HOMEPAGE SLIDER
========================= */
.slider {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.slides .slide {
    display: none;
    position: relative;
    width: 100%;
    height: 500px;
    animation: fade 1s ease-in-out;
}

.slides .slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide .caption {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: #fff;
    max-width: 500px;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
    animation: slideUp 1s ease forwards;
}

@keyframes fade { from {opacity:0;} to {opacity:1;} }
@keyframes slideUp { from {transform: translateY(50px); opacity:0;} to {transform: translateY(0); opacity:1;} }

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.slider-controls span {
    cursor: pointer;
    font-size: 40px;
    color: #fff;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}



/* INQUIRY FORM */
.inquiry-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.inquiry-form input, 
.inquiry-form textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.inquiry-form button {
    padding: 10px;
    border-radius: 6px;
    border: none;
    background: #004080;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.inquiry-form button:hover {
    background: #ffcc00;
    color: #004080;
}

/* ABOUT HOME SECTION */
.about-home {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
}

.about-home h2 {
    color: #004080;
    margin-bottom: 20px;
}

.about-home p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    color: #555;
}
/* =========================
   PROPERTY FILTER SECTION
========================= */
.property-filter-section {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
}

.property-filter-section h2 {
    color: #004080;
    margin-bottom: 20px;
}

.property-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* Centers the form */
    max-width: 800px;
    margin: 0 auto;
}

.property-filter input,
.property-filter select {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.property-filter button {
    background: #004080;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.property-filter button:hover {
    background: #ffcc00;
    color: #004080;
}



.caption {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    max-width: 500px;
}

.caption h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.caption p {
    font-size: 16px;
    margin-bottom: 15px;
}

.caption .btn {
    background: #ffcc00;
    color: #004080;
    padding: 8px 20px;
    border-radius: 4px;
}


.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
    gap: 20px;
    margin-top: 20px;
}

@media screen and (max-width: 1200px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    }
}

@media screen and (max-width: 900px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
}

@media screen and (max-width: 600px) {
    .property-grid {
        grid-template-columns: 1fr; /* 1 card per row on mobile */
    }
}

.property-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3b3b;
    color: #fff;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.property-details {
    padding: 15px;
}

.property-details h3 {
    margin: 0 0 10px;
}

.property-details .location {
    font-size: 14px;
    color: #555;
}

.property-details .price {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0;
}

.property-details .btn {
    display: inline-block;
    padding: 8px 15px;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}


.property-details-page .container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.property-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.property-main-image {
    flex: 1 1 500px;
}

.property-main-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    max-height: 500px;
}

.property-info {
    flex: 1 1 400px;
}

.property-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.property-info .location {
    color: #555;
    margin-bottom: 10px;
}

.property-info .price {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.property-info .description {
    margin-bottom: 15px;
    line-height: 1.6;
}

.property-info .details {
    margin-bottom: 10px;
    font-weight: 500;
}

.property-inquiry {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 10px;
}

.property-inquiry h3 {
    margin-bottom: 15px;
}

.property-inquiry form input,
.property-inquiry form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.property-inquiry form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.property-inquiry form button:hover {
    background: #0056b3;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .property-main {
        flex-direction: column;
    }
}


/* Slider controls */
.slider-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-controls span {
    font-size: 40px;
    cursor: pointer;
    color: #fff;
    padding: 5px 15px;
    pointer-events: all;
    transition: 0.3s;
}

.slider-controls span:hover {
    color: #ffcc00;
}

/* Fade Animation */
@keyframes fade {
    from {opacity: 0.4;}
    to {opacity: 1;}
}

/* ===== LATEST PROPERTIES ===== */
.latest-properties {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
}

.latest-properties h2 {
    margin-bottom: 30px;
    color: #004080;
}

/* ===== INQUIRY FORM ===== */
.inquiry-form {
    padding: 50px 20px;
    background: #ECECEC;
    text-align: center;
}

.inquiry-form h2 {
    margin-bottom: 25px;
    color: #004080;
}

.inquiry-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.inquiry-form input,
.inquiry-form textarea {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
}

.inquiry-form button {
    background: #000000;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.inquiry-form button:hover {
    background: #ffcc00;
    color: #004080;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .property-card { width: 45%; }
    .caption { bottom: 20px; left: 20px; max-width: 90%; }
}

@media screen and (max-width: 480px) {
    .property-card { width: 100%; }
    .caption h2 { font-size: 22px; }
    .caption p { font-size: 14px; }
}


/* =======================
   FOOTER STYLING
======================= */
footer {
    background: #00264d;
    color: #fff;
    padding: 50px 20px 20px 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-container div {
    flex: 1 1 220px;
}

.footer-about p,
.footer-contact p,
.footer-links ul li,
.footer-newsletter form input {
    font-size: 14px;
    color: #fff;
}

.footer-links h3,
.footer-about h3,
.footer-contact h3,
.footer-newsletter h3 {
    color: #ffcc00;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #ffcc00;
}

/* Contact Info */
.footer-contact p i {
    margin-right: 10px;
    color: #ffcc00;
}

/* Social Icons in Footer */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin-right: 8px;
    background: #004080;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #ffcc00;
    color: #004080;
    transform: scale(1.1);
}

/* Newsletter Form */
.footer-newsletter form {
    display: flex;
    flex-direction: column;
}

.footer-newsletter input[type="email"] {
    padding: 10px;
    border-radius: 6px;
    border: none;
    margin-bottom: 10px;
}

.footer-newsletter button {
    padding: 10px;
    border-radius: 6px;
    border: none;
    background: #ffcc00;
    color: #004080;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.footer-newsletter button:hover {
    background: #004080;
    color: #ffcc00;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 15px 0 0 0;
    background:#dd3333;
    margin-top: 20px;
    font-size: 13px;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    .footer-newsletter form { flex-direction: column; }
}

/* =======================
   ABOUT PAGE
======================= */
.about-page {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.about-page h2 {
    color: #004080;
    margin-bottom: 20px;
}

.about-page p {
    max-width: 800px;
    margin: 0 auto 15px auto;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* TEAM SECTION */
.team {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
}

.team h2 {
    color: #004080;
    margin-bottom: 30px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.team-card {
    width: 220px;
    background: #f4f4f4;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.team-card h3 {
    color: #004080;
    margin-bottom: 5px;
}

.team-card p {
    font-size: 14px;
    color: #555;
}

/* WHY CHOOSE US */
.why-choose-us {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.why-choose-us h2 {
    color: #004080;
    margin-bottom: 30px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.feature-card {
    width: 220px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.feature-card i {
    font-size: 28px;
    color: #ffcc00;
    margin-bottom: 10px;
}

.feature-card h3 {
    color: #004080;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #555;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .team-grid, .features-grid {
        flex-direction: column;
        align-items: center;
    }
}
/* ===== PROPERTY FILTER ===== */
.property-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.property-filter input,
.property-filter select {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.property-filter button {
    background: #004080;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.property-filter button:hover {
    background: #ffcc00;
    color: #004080;
}

/* Badge for new properties */
.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffcc00;
    color: #004080;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

/* Quick Inquiry Button */
.btn-inquiry {
    background: #ffcc00;
    color: #004080;
    margin-top: 5px;
}

.btn-inquiry:hover {
    background: #004080;
    color: #ffcc00;
}

/* PAGINATION */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    border: 1px solid #004080;
    color: #004080;
    text-decoration: none;
    transition: 0.3s;
}

.pagination a.active,
.pagination a:hover {
    background: #004080;
    color: #fff;
}



/* =======================
   NAVIGATION MENU
======================= */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.menu li {
    position: relative;
}

.menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.menu li a:hover {
    background: #ffcc00;
    color: #004080;
    border-radius: 4px;
}

/* DROPDOWN MENU */
.menu li.dropdown:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #004080;
    min-width: 180px;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1000;
}

.submenu li a {
    padding: 12px 20px;
}

.submenu li a:hover {
    background: #ffcc00;
    color: #004080;
}

/* =======================
   SLIDER
======================= */
.slider {
    position: relative;
    overflow: hidden;
    max-height: 500px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 30px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
}

.caption h2 {
    margin-bottom: 5px;
    font-size: 28px;
}

.caption p {
    font-size: 16px;
}

/* =======================
   FEATURED PROPERTIES
======================= */
.featured-properties {
    padding: 40px 20px;
    background: #f4f4f4;
    text-align: center;
}

.featured-properties h2 {
    margin-bottom: 30px;
    font-size: 32px;
    color: #004080;
}





/* =======================
   ABOUT SECTION
======================= */
.about {
    padding: 50px 20px;
    text-align: center;
    background: #fff;
}

.about h2 {
    margin-bottom: 20px;
    color: #004080;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: #555;
}

/* =======================
   FOOTER
======================= */
footer {
    background:#242c35;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

/* =======================
   RESPONSIVE DESIGN
======================= */
@media screen and (max-width: 1024px) {
    .property-card { width: 45%; }
}

@media screen and (max-width: 768px) {
    header { flex-direction: column; text-align: center; }
    .menu { flex-direction: column; }
    .submenu { position: relative; }
    .property-card { width: 100%; }
}

@media screen and (max-width: 480px) {
    .caption h2 { font-size: 22px; }
    .caption p { font-size: 14px; }
}
