/* =======================
   Hero SECTION
======================= */

.hero {
    background: url('/images/hero.jpg') no-repeat center center/cover;
    height: 90vh;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.home-search-box {
    margin-left: 15%;
    background: #fff;
    width: 70%;
}

.category-box {
    background: #fff;
    color: #000;
    padding: 15px 20px;
    border-radius: 10px;
    width: 120px;
    transition: 0.3s;
}

.category-box:hover {
    background: #0d6efd;
    color: #fff;
}


/* =======================
   SERVICES SECTION
======================= */

.services-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.service-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card i {
    font-size: 40px;
    color: #0d6efd;
    margin-bottom: 15px;
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #6c757d;
}


/* Hover Effect */

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* =======================
   PROPERTIES SECTION
======================= */

.properties-section {
    padding: 60px 0;
}

.property-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
}

.property-card img {
    height: 220px;
    object-fit: cover;
}

.property-card .card-body {
    padding: 20px;
}

.property-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.property-price {
    color: #0d6efd;
    font-weight: bold;
    font-size: 18px;
}

.property-location {
    font-size: 14px;
    color: #6c757d;
}


/* Hover Effect */

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* Button */

.property-card .btn {
    border-radius: 20px;
}


/* =======================
   PRODUCTS SECTION
======================= */

.products-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    text-align: center;
    height: 100%;
}

.product-img {
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s;
}


/* Zoom Effect */

.product-card:hover img {
    transform: scale(1.08);
}

.product-body {
    padding: 15px;
}

.product-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.product-price {
    color: #0d6efd;
    font-weight: bold;
    margin-bottom: 10px;
}


/* Hover Card */

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* =======================
   ADS SECTION
======================= */

.ads-section {
    padding: 60px 0;
}

.ad-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.ad-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
}


/* Overlay */

.ad-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.ad-content h4 {
    font-weight: bold;
}

.ad-content p {
    font-size: 14px;
    margin-bottom: 10px;
}


/* Hover Effect */

.ad-card:hover img {
    transform: scale(1.08);
}


/* =======================
   Enquiry-form SECTION
======================= */

.enquiry-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.enquiry-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
}

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

.enquiry-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    border-color: #007bff;
    outline: none;
}

.enquiry-form textarea {
    min-height: 120px;
    resize: vertical;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #0056b3;
}


/* Responsive */

@media (max-width: 768px) {
    .enquiry-container {
        margin: 30px 15px;
        padding: 20px;
    }
}


/* =======================
  Contact SECTION
======================= */

.contact-container {
    max-width: 650px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.contact-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 25px;
    color: #333;
}

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

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #28a745;
    outline: none;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .contact-container {
        margin: 30px 15px;
        padding: 20px;
    }
}
/* Form Layout */
.search-form {
    gap: 10px;
}
 
/* Search Box */
.search-box {
    border-radius: 25px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    width: 220px;
    transition: all 0.3s ease;
}
 
.search-box:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}
 
/* Icon Buttons */
.icon-btn {
    width: 38px; 
    height: 38px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}
 
.icon-btn i {
    font-size: 16px;
}
 
/* Hover Effect */
.icon-btn:hover {
    background: #0d6efd;
    color: #000;
}
 
/* Responsive */
@media (max-width: 768px) {
    .search-box {
        width: 150px;
    }
}
 