/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=Playfair+Display:wght@400;700&display=swap');

/* Base Styles */
:root {
    --primary: #346f8f;
    --primary-dark: #428ab1;
    --secondary: #6c757d;
    --dark: #212529;
    --light: #f8f9fa;
    --dark-2: #1a1e21;
    --facebook: #3b5998;
    --instagram: #e1306c;
    --linkedin: #0077b5;
    --youtube: #ff0000;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
}

/* Text Colors */
.text-primary {
    color: var(--primary) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.text-light {
    color: var(--light) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-dark-2 {
    background-color: var(--dark-2);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-link {
    text-decoration: none;
}

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
}

.top-bar a:hover {
    color: var(--primary) !important;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand h1 {
    font-size: 1.8rem;
    line-height: 1;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 600;
    padding: 8px 15px !important;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    left: 15px;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: calc(100% - 30px);
}

.dropdown-menu {
    border: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-weight: 500;
    padding: 8px 20px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.hero-slider-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: 0;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.hero-slider-controls button:hover {
    background: var(--primary);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.3rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Search Section */
.search-section {
    position: relative;
    margin-top: -50px;
    z-index: 10;
}

.search-box {
    transition: all 0.3s ease;
}

.search-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Property Cards */
.property-card {
    transition: all 0.3s ease;
    border-radius: 8px !important;
    overflow: hidden;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    color:white;
}

.property-thumb {
    position: relative;
    overflow: hidden;
}

.property-thumb img {
    transition: transform 0.5s ease;
    min-height: 312px;
    object-fit: cover;
    max-height: 312px;
}

.property-card:hover .property-thumb img {
    transform: scale(1.05);
}

.property-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 600;
}

.property-features span {
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 8px !important;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary) !important;
    color: white !important;
}

/* About Section */
.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 120px;
    height: 120px;
    z-index: 2;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    border-radius: 8px !important;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-rating i {
    margin-right: 3px;
}

/* Team Cards */
.team-card {
    transition: all 0.3s ease;
    border-radius: 8px !important;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.team-image {
    width: 150px;
    height: 150px;
    position: relative;
    transition: all 0.3s ease;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(52 111 143 / 78%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
}

.team-social a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: white;
    color: var(--primary) !important;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta-shape-2 {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
    border-radius: 8px !important;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-thumb {
    position: relative;
    overflow: hidden;
}

.blog-thumb img {
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    border-radius: 8px !important;
}

.form-control {
    padding: 12px 15px;
    border-radius: 4px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.bg-facebook {
    background: var(--facebook);
}

.bg-instagram {
    background: var(--instagram);
}

.bg-linkedin {
    background: var(--linkedin);
}

.bg-youtube {
    background: var(--youtube);
}

/* Map Section */
.map-section iframe {
    filter: grayscale(100%);
    opacity: 0.9;
}

/* Footer */
.footer-contact p {
    transition: all 0.3s ease;
}

.footer-contact p:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

.footer a {
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 600px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .navbar-brand h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 500px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 5px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .search-box {
        margin-top: 20px;
    }
}



.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: var(--bs-btn-active-color);
    background-color: var(--primary);
    border-color: var(--primary);
}


.social-icon {
    text-decoration: none !important;
}






