/* Global Styles */
:root {
    --primary-color: #2a3f54;
    --secondary-color: #1abb9c;
    --accent-color: #e74c3c;
    --dark-color: #34495e;
    --light-color: #f5f7fa;
    --text-color: #333;
    --text-light: #777;
    --sidebar-width: 80px;
    --sidebar-expanded-width: 240px;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    padding-bottom: 400px;
    min-height: 100vh;
}
.home_tag
{
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
    transition: var(--transition);
    white-space: nowrap;
}

.container {
    display: flex;
    min-height: calc(100vh - 400px);
}

/* Hero Section */
.hero-section {
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.hero-content {
    max-width: 600px;
    color: white;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--primary-color);
    color: white;
    position: fixed;
    transition: var(--transition);
    overflow: hidden;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar:hover {
    width: var(--sidebar-expanded-width);
}

.sidebar.expanded {
    width: var(--sidebar-expanded-width);
}

.sidebar-header {
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo i {
    font-size: 24px;
    margin-right: 15px;
    color: var(--secondary-color);
}

.logo-text {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
    font-size: 18px;
}

.sidebar:hover .logo-text,
.sidebar.expanded .logo-text{
    opacity: 1;
}

.sidebar:hover .toggle-btn{
    display: none;
}

.btn-text {
    opacity: 0;
}

.sr-btn-text {
    opacity: 1;
    font-size: 16px;
}

.sidebar:hover .btn-text {
    opacity: 1 !important;
}

.srbtn-text {
    color: white;
}

.toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
}

.sidebar:hover .toggle-btn {
    opacity: 1;
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    position: relative;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.sidebar-footer span a
{
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.sidebar-footer span a:hover
{
    color: white;
}

.sidebar-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-menu li.active a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid var(--secondary-color);
}

.sidebar-menu li a i {
    font-size: 18px;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.sidebar-menu .menu-text {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 15px;
}

.sidebar:hover .menu-text,
.sidebar.expanded .menu-text {
    opacity: 1;
}

/* Sidebar Contact Button - Matches Profile Style */
.sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-bottom: 50px;
}

.sidebar-footer .fas {
    font-size: 1.5rem !important;
    margin-right: 25px;
}

/*.btn-contact {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}*/

.sidebar-footer:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: var(--transition);
    padding: 30px;
}

.sidebar:hover ~ .main-content,
.sidebar.expanded ~ .main-content {
    margin-left: var(--sidebar-expanded-width);
}

/* Search Section */
.search-section {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.search-container {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
}

.property-type-toggle {
    display: flex;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

.property-type-toggle input[type="radio"] {
    display: none;
}

.property-type-toggle label {
    flex: 1;
    padding: 12px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    vertical-align: middle;
}

.property-type-toggle label i {
    margin-right: 8px;
    font-size: 16px;
}

.property-type-toggle label:hover {
    background-color: rgba(26, 187, 156, 0.1);
}

.property-type-toggle input[type="radio"]:checked + label {
    background-color: var(--secondary-color);
    color: white;
}

.search-filters {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(26, 187, 156, 0.2);
}

.range-group {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.range-group.full-width {
    flex: 2;
}

.range-group label {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.range-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.range-group input[type="range"] {
    flex: 1;
    margin-bottom: 8px;
    -webkit-appearance: none;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    outline: none;
}

.range-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.range-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.range-group span {
    font-size: 14px;
    color: var(--text-color);
    min-width: 100px;
    text-align: right;
}

.search-btn {
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    height: 42px;
    align-self: flex-end;
}

.search-btn i {
    margin-right: 8px;
}

.search-btn:hover {
    background-color: #17a78b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Property Listings */
.property-listings {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.section-header h2 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.view-all {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
    font-size: 12px;
}

.view-all:hover {
    color: var(--primary-color);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.property-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.property-image {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
    text-transform: uppercase;
}

.property-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

.property-action-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.property-action-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.property-action-btn.favorite-active {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.property-action-btn.favorite-active {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.property-action-btn.favorite-active:hover {
    transform: scale(1.15);
}

.property-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.property-price span {
    font-size: 14px;
    color: var(--text-light);
    margin-left: 5px;
}

.property-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
}

.property-address {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.property-address i {
    margin-right: 8px;
    font-size: 15px;
}

.property-features {
/*    margin-top: auto;*/
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.property-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.property-feature i {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 18px;
}

.property-feature span {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

/* Premium Properties Section */
.premium-properties .property-card {
    border: 2px solid var(--secondary-color);
}

.premium-properties .property-badge {
    background-color: #FFD700;
    color: #8B6914;
    display: flex;
    align-items: center;
    padding: 5px 12px;
}

.premium-properties .property-badge::before {
    content: '\f521';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 6px;
    font-size: 14px;
}

/* Off Plan Properties Section */
.offplan-properties .property-badge {
    background-color: #3498db;
}

/* Newsletter - Visible by default */
.newsletter {
    background-color: var(--primary-color);
    border-radius: 8px;
    padding: 50px;
    color: white;
    margin-bottom: 40px;
    background-image: linear-gradient(135deg, var(--primary-color), #1e3a5f);
    display: block;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 6px 0 0 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    padding: 0 30px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.newsletter-form button:hover {
    background-color: #17a78b;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 70px 0 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: block;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 16px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.sidebar-menu .fas {
    font-size: 1.5rem !important;
    margin-right: 25px;
}

/* Responsive Styles - Fixed and Optimized */
@media (max-width: 1200px) {
    .sidebar {
        width: var(--sidebar-expanded-width);
    }
    
    .sidebar:hover {
        width: var(--sidebar-expanded-width);
    }
    
    .main-content {
        margin-left: var(--sidebar-expanded-width);
    }
    
    .sidebar:hover ~ .main-content,
    .sidebar.expanded ~ .main-content {
        margin-left: var(--sidebar-expanded-width);
    }
    
    .logo-text,
    .menu-text {
        opacity: 1 !important;
    }
    
    .toggle-btn {
        opacity: 1 !important;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .newsletter {
        padding: 40px 30px;
    }
    
    .newsletter h2 {
        font-size: 28px;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

/* Hide newsletter on tablets and mobile (768px and below) */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-content {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .search-btn {
        width: 100%;
        margin-left: 0;
    }
    
    .footer-row {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* Hide newsletter on tablets and mobile */
    .newsletter {
        display: none !important;
    }
    
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .sidebar {
        width: 0;
        overflow: hidden;
    }
    
    .sidebar.expanded {
        width: var(--sidebar-expanded-width);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .hero-section {
        height: 350px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 26px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .property-type-toggle label span {
        display: none;
    }
    
    .property-type-toggle label i {
        margin-right: 0;
    }
    
    .footer {
        padding-top: 50px;
    }
    
    body {
        padding-bottom: 600px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .property-card {
        max-width: 100%;
    }
    
    .property-image {
        height: 280px;
    }
    
    .search-section {
        padding: 20px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .main-content {
        padding: 15px;
    }
    
    .search-section {
        padding: 15px;
    }
    
    .search-container {
        padding: 15px;
    }
    
    .property-image {
        height: 250px;
    }
    
    .property-details {
        padding: 15px;
    }
    
    .property-title {
        font-size: 16px;
        min-height: 44px;
    }
    
    .property-price {
        font-size: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 6px;
    }
    
    .hero-section {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .hero-overlay {
        padding: 0 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .main-content {
        padding: 10px;
    }
    
    .property-features {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .property-feature {
        flex: 1;
        min-width: 45%;
    }
    
    .hero-content h1 {
        font-size: 22px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
}




.no-properties {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.no-properties p {
    margin: 0;
    font-size: 16px;
}


//

/* Updated property card styles */
.property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.2;
}

.property-bed-bath {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.bed-bath-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.bed-bath-item i {
    color: var(--secondary-color);
}

/*.property-features {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}*/

/*.property-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #7f8c8d;
    background: #f8f9fa;
    padding: 6px 10px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}*/

/*.property-feature i {
    font-size: 0.7rem;
    color: var(--secondary-color);
}*/

.property-feature-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.property-feature-more:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* Remove the old amenities styles since they're merged now */
/*.property-amenities {
    display: none;
}*/

.loading-properties {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    grid-column: 1 / -1;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-properties {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    grid-column: 1 / -1;
}

.no-properties p {
    margin: 0;
    font-size: 16px;
}


.badge-premium,.badge-luxury
{
    background-color: #FFD700;
    color: #8B6914;
    display: flex;
    align-items: center;
    padding: 5px 12px;
}

.badge-premium::before {
    content: '\f521';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 6px;
    font-size: 14px;
}

/*.badge-luxury
{
    background-color: #FFD700;
    color: #8B6914;
    display: flex;
    align-items: center;
    padding: 5px 12px;
}
*/
.badge-luxury::before {
    content: '\f521';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 6px;
    font-size: 14px;
}


/* Purpose Badges */
.property-purpose {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-sale {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.badge-rent {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

.badge-lease {
    background: linear-gradient(135deg, #45b7d1, #96c93d);
    color: white;
}

/* Property card click cursor */
.property-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Property image positioning for multiple badges */
.property-image {
    position: relative;
}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.property-purpose {
    position: absolute;
    top: 10px;
    right: 80px;
    z-index: 2;
}

/* QR Code Modal Styles - FIXED */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.qr-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.qr-modal-header {
    margin-bottom: 20px;
}

.qr-modal-header h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
}

.qr-modal-header p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.4;
}

#qr-code-container {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    width: 100%;
    position: relative;
}

.qr-code-canvas {
    width: 256px !important;
    height: 256px !important;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Fix for QR code image sizing */
#qr-code-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.qr-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
    border: 2px solid var(--secondary-color);
}

.qr-logo-overlay img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.qr-modal-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.qr-close-btn {
    padding: 10px 20px;
    background-color: var(--text-light);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
    max-width: 120px;
}

.qr-close-btn:hover {
    background-color: #555;
}

.qr-share-btn {
    padding: 10px 20px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 200px;
    justify-content: center;
}

.qr-share-btn:hover {
    background-color: #128C7E;
}

/* WhatsApp QR Code Icon */
.whatsapp-qr-icon {
    cursor: pointer;
    color: var(--secondary-color);
    transition: var(--transition);
    margin-left: 10px;
    font-size: 1.2rem !important;
}

.whatsapp-qr-icon:hover {
    color: #128C7E;
    transform: scale(1.1);
}

/* QR Code Loading Animation */
.qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 200px;
}

.qr-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(26, 187, 156, 0.2);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.qr-loading-text {
    color: var(--text-light);
    font-size: 14px;
}

/* Direct WhatsApp QR Code Styles */
.direct-whatsapp-qr {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.direct-whatsapp-qr:hover {
    transform: scale(1.02);
}




/* Properties Page Specific Styles */
.properties-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.properties-count {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.active-filter {
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.remove-filter {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    margin-left: 5px;
}

.remove-filter:hover {
    color: #e74c3c;
}

.view-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-controls label {
    font-weight: 500;
    color: #2c3e50;
}

.sort-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

.view-toggle {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.view-btn {
    padding: 8px 12px;
    background: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: #3498db;
    color: white;
}

.view-btn:hover:not(.active) {
    background: #f8f9fa;
}

/* List View */
.properties-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.properties-list .property-card {
    display: flex;
    flex-direction: row;
    height: auto;
}

.properties-list .property-image {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.properties-list .property-details {
    flex: 1;
    padding: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #f8f9fa;
}

.page-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.page-dots {
    padding: 8px 12px;
    color: #6c757d;
}

/* Category Benefits */
.category-benefits {
    margin: 40px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.benefit-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.benefit-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Commercial Types */
.commercial-types {
    margin: 40px 0;
}

.commercial-types h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.type-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-3px);
}

.type-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

.type-card h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.type-card p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Hero Section Variations */
.offplan-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
}

.commercial-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
}

.apartments-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
}

.villas-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1613977257363-707ba9348227?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
}

.townhouses-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
}

/* Loading and Error States */
.loading-state, .no-properties, .error-state {
    text-align: center;
    padding: 60px 20px;
}

.loading-state .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-properties i, .error-state i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.btn-clear-filters, .btn-retry {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.btn-clear-filters:hover, .btn-retry:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .properties-summary {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .view-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .properties-list .property-card {
        flex-direction: column;
    }
    
    .properties-list .property-image {
        width: 100%;
        height: 250px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1560520653-9e0e4c89eb11?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
}

.contact-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
    display: flex;
    align-items: center;
}

.contact-info h2 i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 24px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 15px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-note {
    color: var(--text-light);
    font-size: 14px;
}

.social-contact h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.social-contact .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-contact .social-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    position: relative;
}

.social-contact .social-link i {
    color: var(--secondary-color);
    font-size: 18px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.social-contact .social-link span {
    margin-left: 25px;
}

.social-contact .social-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.social-contact .social-link:hover i {
    color: white;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 28px;
    display: flex;
    align-items: center;
}

.contact-form-container h2 i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(26, 187, 156, 0.2);
}

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

.form-submit {
    margin-top: 10px;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    background: #17a78b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 10px;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: white;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    height: 400px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-placeholder {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    border: 2px dashed #dee2e6;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.map-placeholder h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.map-placeholder p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.map-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-map {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.btn-map:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(26, 187, 156, 0.05);
}

.faq-question h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    font-size: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

/* Form Messages */
.form-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.form-success {
    background: rgba(26, 187, 156, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(26, 187, 156, 0.2);
}

.form-error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-container {
        padding: 0 20px;
    }
    
    .contact-info h2,
    .contact-form-container h2 {
        font-size: 24px;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .social-contact .social-links {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .map-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-map {
        width: 200px;
        justify-content: center;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 30px 0;
    }
    
    .contact-container {
        padding: 0 15px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .contact-info h2,
    .contact-form-container h2 {
        font-size: 22px;
    }
    
    .contact-method {
        padding: 15px 10px;
    }
    
    .map-wrapper {
        height: 250px;
    }
    
    .faq-container {
        padding: 0 15px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .contact-info h2,
    .contact-form-container h2 {
        font-size: 20px;
    }
    
    .btn-map {
        width: 100%;
        max-width: 250px;
    }
    
    .map-wrapper {
        height: 200px;
    }
}

/* Contact Page Specific Fixes */

/* Center section header description */
.section-header {
    text-align: center;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

/* Fix social links icon positioning */
.social-contact .social-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 10px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    position: relative;
}

.social-contact .social-link i {
    color: var(--secondary-color);
    font-size: 18px;
    margin-right: 20px;
    width: 20px;
    text-align: center;
    position: static;
    transform: none;
}

.social-contact .social-link span {
    margin-left: 0;
}

.social-contact .social-link:hover {
    background: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.social-contact .social-link:hover i {
    color: white;
}

/* Fix map actions button hover */
.map-actions .btn-map {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.map-actions .btn-map i {
    color: var(--secondary-color);
    transition: var(--transition);
}

.map-actions .btn-map:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-actions .btn-map:hover i {
    color: white;
}

/* Map wrapper styles */
.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    height: 400px;
    margin-bottom: 20px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Remove the old map placeholder styles since we're using Google Maps */
.map-placeholder {
    display: none;
}

/* WhatsApp icon fix */
.contact-method .fa-brands.fa-whatsapp {
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

/* Contact icon perfect centering */
.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
}

.contact-icon i {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    line-height: 1;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .section-header {
        text-align: left;
    }
    
    .section-description {
        text-align: left;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .map-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .map-actions .btn-map {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .map-wrapper {
        height: 250px;
    }
    
    .social-contact .social-links {
        grid-template-columns: 1fr;
    }
}




/* Add these styles to your existing style.css */

/* Form validation styles */
.error-feedback {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.error {
    border-color: #dc3545 !important;
}

/* Success and Error messages */
.success-message,
.error-message {
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease-in;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 20px;
}

/* Loading spinner */
.fa-spinner {
    margin-right: 8px;
}

/* Form animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Enhance existing form styles */
.contact-form input,
.contact-form select,
.contact-form textarea {
    transition: border-color 0.3s ease;
}

.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Submit button loading state */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Mobile responsiveness for error messages */
@media (max-width: 768px) {
    .alert {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }
    
    .alert i {
        margin-bottom: 5px;
    }
}

/* Contact Form Styles */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
}

.contact-form-container h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-container h2 i {
    color: #667eea;
}

/*.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}*/

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

/* Form validation styles */
.error-feedback {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.error {
    border-color: #dc3545 !important;
}

/* Success and Error messages */
.success-message,
.error-message {
    margin-bottom: 25px;
    animation: fadeIn 0.3s ease-in;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 22px;
}

/* Submit button */
.form-submit {
    grid-column: 1 / -1;
    margin-top: 20px;
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.form-note {
    color: #999;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

/* Loading spinner */
.fa-spinner {
    margin-right: 8px;
}

/* Form animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .contact-form-container h2 {
        font-size: 24px;
    }
    
    .submit-btn {
        width: 100%;
        min-width: auto;
    }
    
    .alert {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 10px;
    }
    
    .alert i {
        margin-bottom: 5px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .contact-form-container {
        background: #1a1a1a;
        border-color: #333;
    }
    
    .contact-form-container h2 {
        color: #fff;
    }
    
    .form-group label {
        color: #ccc;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #2d2d2d;
        border-color: #444;
        color: #fff;
    }
    
    .form-note {
        color: #888;
    }
}