* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e0e0e0 !important;
    min-height: 100vh;
    overflow-x: hidden;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #333 !important;
    font-size: 1.2rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1.1);
}

/* Hover effects */
.navbar-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2);
}

/* Alternative: Logo with text combination */
.navbar-brand.logo-with-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
    color: #1f2937 !important;
}

.navbar-brand.logo-with-text .navbar-logo {
    height: 35px;
    width: auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    width: 25%;
    height: 100%;
    display: flex;
    flex-shrink: 0;
}

/* Slide 1 - Original B&G Homes */
.slide-1 {
    background: linear-gradient(135deg, #a8cdf0 0%, #7fb3d3 100%);
}

/* Slide 2 - Property Management */
.slide-2 {
    background: linear-gradient(135deg, #73a6e7 0%, #73a6e7 100%);
}

/* Slide 3 - Analytics */
.slide-3 {
    background: linear-gradient(135deg, #eff0f0 0%, #eff0f0 100%);
}

/* Slide 4 - Contact */
.slide-4 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.left-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;

    
}

.img-2 {
    z-index: 4;
    width: 400px !important;
    height: 300px;
    object-fit: cover;
}

.img-3 {
    z-index: 4;
    width: 400px;
    height: 300px;
    margin-bottom: 100px !important;
}




/*.slide-3 .left-section .cityscape {
     background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    ), */
    /* background: url('../images/img/image10.png') no-repeat center center / cover fixed; */
    /* background: url('../images/img/image10.png') no-repeat center center / cover fixed; 
}*/



.right-section {
    flex: 1;
    background: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #ff5722;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.slide-2 .logo-icon {
    background: #667eea;
}

.slide-3 .logo-icon {
    background: #f5576c;
}

.slide-4 .logo-icon {
    background: #4facfe;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.logo-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.content {
    max-width: 400px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
    
}



.slide.active .content {
    opacity: 1;
    transform: translateX(0);
}

.welcome-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.2;
}

.highlight {
    color: #ff5722;
}

.slide-2 .highlight {
    color: #667eea;
}


.slide-4 .highlight {
    color: #4facfe;
}

.description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.start-btn {
    background: #ff5722;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 87, 34, 0.3);
}

.slide-2 .start-btn {
    background: #667eea;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.slide-3 .start-btn {
    background: #f5576c;
    box-shadow: 0 2px 10px rgba(245, 87, 108, 0.3);
}

.slide-4 .start-btn {
    background: #4facfe;
    box-shadow: 0 2px 10px rgba(79, 172, 254, 0.3);
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.carousel-nav {
    position: absolute;
    bottom: 30px;
    right: 0;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.nav-dot {
    /* width: 12px;
    height: 12px; */
    border-radius: 50%;
    background: #a5a1a1;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 11px;
    height: 9px;
    opacity: 1;
    /* border-radius: 30px; */
}

.nav-dot.active {
    background: #0B1C49;
    transform: scale(1.2);
    width: 27px;
    height: 7px;
    opacity: 1;
    border-radius: 30px;
}

.carousel-controls {
    position: absolute;
    top: 8%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 30px;
    height: 30px;
    padding: 0 auto;
    border-radius: 4px;
    color: #3a3838;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-controls:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    position: absolute;
    left: 55%;
    border: 1px solid rgba(37, 37, 37, 0.2);
}

.next-btn {
    right: 20px;
}

/* Slide indicator */
.slide-counter {
    position: absolute;
    top: 30px;
    right: 30px;
    color: black;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* City Illustration - Enhanced for carousel */
.cityscape {
    width: 100%;
    max-width: 500px;
    height: 300px;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s ease;
}

.slide.active .cityscape {
    opacity: 1;
    transform: scale(1);
}

.building {
    position: absolute;
    bottom: 0;
}

.building-1 {
    left: 10px;
    width: 60px;
    height: 300px;
    background: #4a90e2;
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 0 100%);
}

.building-2 {
    left: 70px;
    width: 80px;
    height: 280px;
    background: #5ba3f5;
}

.building-3 {
    left: 150px;
    width: 70px;
    height: 160px;
    background: #ff5722;
    border-radius: 4px 4px 0 0;
}

.building-4 {
    left: 220px;
    width: 60px;
    height: 120px;
    background: #4a90e2;
}

.building-5 {
    left: 280px;
    width: 50px;
    height: 70px;
    background: #6bb6ff;
}

.building-6 {
    left: 330px;
    width: 90px;
    height: 320px;
    background: #5ba3f5;
}

.building-7 {
    left: 420px;
    width: 70px;
    height: 280px;
    background: #4a90e2;
}

/* Different building colors for different slides */
.slide-2 .building-3 {
    background: #667eea;
}

/* .slide-3 .building-3 {
    background: #f5576c;
} */


.windows {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 70%;
}

.window {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

/* House */
.house {
    position: absolute;
    bottom: 0;
    right: 80px;
    width: 50px;
    height: 60px;
}

.house-base {
    width: 100%;
    height: 40px;
    background: white;
    position: absolute;
    bottom: 0;
}

.house-roof {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 20px solid #ff5722;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-2 .house-roof {
    border-bottom-color: #667eea;
}


.slide-4 .house-roof {
    border-bottom-color: #4facfe;
}

.house-door {
    width: 12px;
    height: 20px;
    background: #333;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.house-windows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
}

.house-window {
    width: 12px;
    height: 8px;
    background: #4a90e2;
}

/* Tree */
.tree {
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 30px;
    height: 50px;
}

.tree-trunk {
    width: 8px;
    height: 15px;
    background: #8b4513;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tree-leaves {
    width: 30px;
    height: 30px;
    background: #228b22;
    border-radius: 50%;
    position: absolute;
    top: 0;
}

/* Building animations for active slide */
.slide.active .building {
    animation: slideUp 0.8s ease-out;
}

.slide.active .building-2 { animation-delay: 0.1s; }
.slide.active .building-3 { animation-delay: 0.2s; }
.slide.active .building-4 { animation-delay: 0.3s; }
.slide.active .building-5 { animation-delay: 0.4s; }
.slide.active .building-6 { animation-delay: 0.5s; }
.slide.active .building-7 { animation-delay: 0.6s; }

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Auto-play progress bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    width: 0%;
    transition: width 0.1s linear;
    z-index: 101;
}

/* Responsive */
@media (max-width: 768px) {
    .slide {
        flex-direction: column;
    }
    
    .left-section {
        height: 40%;
    }
    
    .right-section {
        height: 60%;
        padding: 2rem;
    }
    
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .cityscape {
        max-width: 100%;
        height: 200px;
    }

    .carousel-controls {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}