/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --primary-black: #262660;
    --soft-blue: #f6f7fb;
    --accent-blue: #f6dc13;
    --text-gray: #666;
    --border-light: #ececec;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; text-decoration: none; }
body { background-color: var(--white); color: var(--primary-black); overflow-x: hidden; }

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: var(--primary-black);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
}
/* Sticky nav shadow effect */
nav.scrolled { border-bottom: 1px solid var(--border-light); }

.logo { font-size: 24px; font-weight: 700; color: var(--primary-black); }
.logo span { color: var(--accent-blue); }
.logo-img { height: 40px; width: auto; }

.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links > li { position: relative; }
.nav-links a { font-weight: 500; color: rgba(255, 255, 255, 0.8); transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-blue); font-weight: 600; }

/* Dropdown Menu */
.nav-links .dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-links .dropdown > a::after {
    content: '';
    border: solid rgba(255, 255, 255, 0.8);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: 0.3s;
    margin-top: -3px;
}
.nav-links .dropdown:hover > a::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    padding: 10px 15px;
    margin-top: 15px;
    z-index: 100;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li {
    list-style: none;
}
.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-black) !important;
    font-weight: 500;
    transition: 0.3s;
    border-radius: 10px;
}
.dropdown-menu a:hover {
    background: var(--primary-black);
    color: var(--accent-blue) !important;
}

.btn-outline {
    border: 1.5px solid var(--white);
    padding: 10px 24px;
    background: transparent;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); color: var(--white); border-color: var(--white); }

/* --- Hero Section --- */
.hero {
    background-color: var(--soft-blue);
    display: flex;
    align-items: center;
    padding: 100px 8% 50px 8%;
    min-height: auto;
    gap: 40px;
}
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 700; }
.hero-text p { font-size: 1rem; color: var(--text-gray); margin-bottom: 25px; max-width: 450px; line-height: 1.6; }

.hero-img-container { flex: 1; position: relative; height: 480px; }
.hero-card {
    position: absolute;
    width: 75%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: all 0.8s ease;
}
.hero-card.pos-1 { top: 0; right: 0; z-index: 3; opacity: 1; filter: brightness(1); }
.hero-card.pos-2 { top: 40px; right: 60px; z-index: 2; opacity: 0.85; filter: brightness(0.6); }
.hero-card.pos-3 { top: 80px; right: 120px; z-index: 1; opacity: 0.7; filter: brightness(0.35); }
.hero-card.no-transition { transition: none; }

.btn-filled {
    background: var(--primary-black);
    color: white;
    padding: 16px 35px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s;
}
.btn-filled:hover { background: var(--primary-black); color: var(--accent-blue); transform: translateY(-2px); }

.stats { display: flex; gap: 40px; margin-top: 30px; }
.stat-item h3 { font-size: 26px; font-weight: 700; }
.stat-item p { font-size: 13px; color: var(--text-gray); margin-top: 4px; }

/* --- Search Section --- */
.search-section {
    background-color: var(--soft-blue);
    padding: 20px 8% 100px 8%;
}

.search-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-end;
    gap: 15px;
}
.search-box {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.search-box:last-of-type {
    border-right: none;
}
.search-box:first-of-type {
    padding-left: 0;
}
.search-box label {
    display: block;
    font-size: 11px;
    color: var(--primary-black);
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.search-box input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-black);
    background: var(--soft-blue);
    transition: 0.3s;
    font-family: inherit;
}

.search-box input::placeholder {
    color: #aaa;
    font-weight: 400;
}

.search-box input:focus {
    color: var(--primary-black);
    border-color: var(--primary-black);
    background: var(--white);
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 12px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    background: var(--soft-blue);
    font-size: 14px;
    font-weight: 400;
    color: #aaa;
    transition: 0.3s;
}

.custom-select-trigger:hover {
    border-color: var(--primary-black);
    background: var(--white);
}

.custom-select-trigger.selected {
    color: var(--primary-black);
    font-weight: 500;
}

.custom-select-trigger svg {
    color: #999;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 8px;
}

.custom-select.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 15px);
    left: -20px;
    width: 220px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 8px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    max-height: 260px;
    overflow-y: auto;
}

.custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-black);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.custom-select-option:hover {
    background: var(--soft-blue);
}

.custom-select-option.active {
    background: var(--primary-black);
    color: white;
}

/* Vertical divider lines between inputs */
.search-divider {
    width: 1px;
    height: 40px;
    background-color: #eee;
    margin: 0 10px;
}

/* The Search Button */
.btn-search {
    background-color: var(--primary-black);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 22px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(38, 38, 96, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background-color: var(--primary-black);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(38, 38, 96, 0.3);
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .search-section {
        padding: 0 5% 30px 5%;
    }
    .search-container {
        flex-direction: column;
        border-radius: 14px;
        padding: 20px;
        gap: 10px;
    }
    .search-box {
        width: 100%;
        border-right: none;
    }
    .search-box:first-of-type {
        padding-left: 0;
    }
    .search-box:last-of-type {
        border-bottom: none;
    }
    .search-divider { display: none; }
    .btn-search { width: 100%; border-radius: 30px; height: 48px; margin-top: 10px; }
}

/* --- Common Page Layouts --- */
.page-header {
    background-color: var(--soft-blue);
    padding: 60px 8%;
    text-align: center;
}
.page-header h1 { font-size: 3rem; margin-bottom: 10px; }
.page-header p { color: var(--text-gray); }

.container { padding: 80px 8%; }

/* --- Grid & Cards --- */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: 0.4s;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.card img { width: 100%; height: 250px; object-fit: cover; }
.card-content { padding: 25px; }
.card-content h3 { font-size: 20px; margin-bottom: 10px; }
.card-content p { color: var(--text-gray); font-size: 14px; margin-bottom: 20px; }
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}
.price { font-size: 18px; font-weight: 700; color: var(--primary-black); }

/* --- 3D Carousel --- */
.carousel-3d-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    perspective: 1200px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    visibility: hidden;
}
.carousel-3d-wrapper.ready {
    visibility: visible;
    animation: carouselFadeIn 0.5s ease;
}
@keyframes carouselFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-3d {
    position: absolute;
    width: 320px;
    height: 420px;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    transform: translateX(-50%) translateY(-50%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-3d-item {
    position: absolute;
    width: 320px;
    left: 0;
    top: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease, filter 0.8s ease;
}
.carousel-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 420px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, filter 0.8s ease;
    filter: brightness(0.5);
}
.carousel-3d-item.active .carousel-card {
    filter: brightness(1);
}
.carousel-3d-item.active .carousel-card {
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.carousel-3d-item.active .carousel-card:hover {
    transform: scale(1.06);
}
.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
}
.carousel-card-state {
    color: white;
    font-weight: 700;
    font-size: 20px;
}
.carousel-card-overlay .btn-filled {
    padding: 12px 28px;
    font-size: 15px;
}
.carousel-3d-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary-black);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: white;
}
.carousel-3d-btn:hover {
    background: var(--primary-black);
    color: var(--accent-blue);
}
.carousel-3d-btn.prev {
    left: 20px;
}
.carousel-3d-btn.next {
    right: 20px;
}

/* --- Admin Styles --- */
.admin-layout { display: flex; gap: 40px; min-height: 60vh; }
.sidebar { width: 250px; border-right: 1px solid var(--border-light); }
.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 15px; }
.sidebar a { color: var(--text-gray); font-weight: 600; display: block; padding: 10px; border-radius: 8px; }
.sidebar a:hover, .sidebar a.active { background: var(--soft-blue); color: var(--primary-black); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
}
.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.admin-table th { text-align: left; padding: 15px; background: var(--soft-blue); font-size: 14px; }
.admin-table td { padding: 15px; border-bottom: 1px solid var(--border-light); font-size: 14px; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding-top: 60px; padding-bottom: 60px; }
    .hero-img-container { width: 100%; height: 400px; flex: none; position: relative; }
    .hero-card {
        position: absolute;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        border-radius: 16px;
        filter: none !important;
        transition: opacity 0.8s ease !important;
    }
    .hero-card.pos-1 { opacity: 1 !important; z-index: 3 !important; }
    .hero-card.pos-2,
    .hero-card.pos-3 { opacity: 0 !important; z-index: 1 !important; }
    .hero-text h1 { font-size: 3rem; }
    .hero-text p { margin: 0 auto 35px auto; }
    .stats { justify-content: center; }
    .search-container { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 20px; }
    .search-box label { text-align: center; }
    .search-box input { text-align: center; }
    .custom-select-trigger { justify-content: center; }
    .btn-search { width: 100%; border-radius: 30px; height: 48px; margin-top: 10px; }
    .admin-layout { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-light); padding-bottom: 20px; }
    .carousel-3d-btn { display: none; }
    .banner-section { padding: 30px 5%; }
    .banner-slider { min-height: 350px; border-radius: 15px; }
    .banner-overlay { background: linear-gradient(to top, rgba(0,0,0,0.8) 40%, transparent 100%); }
    .banner-content { top: 50%; bottom: auto; left: 0; right: 0; transform: translateY(-50%); text-align: center; max-width: 100%; padding: 0 20px; width: 100%; }
    .banner-content h2 { font-size: 24px; }
    .banner-content p { font-size: 13px; }
    .banner-arrow { display: none; }

    /* Testimonials — tablet */
    .testi-carousel-wrapper {
        padding: 0 30px;
        height: 560px;
    }
    .testi-carousel .testi-card {
        width: 420px;
    }
    .testi-body {
        min-height: 380px;
        padding: 56px 26px 26px;
    }
    .testi-carousel .testi-card.prev {
        transform: translateX(-440px) scale(0.8) rotateY(25deg);
        opacity: 0.4;
    }
    .testi-carousel .testi-card.next {
        transform: translateX(440px) scale(0.8) rotateY(-25deg);
        opacity: 0.4;
    }
    .testi-carousel .testi-card.far-prev,
    .testi-carousel .testi-card.far-next {
        opacity: 0;
    }

}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 15px 5%;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary-black);
        flex-direction: column;
        gap: 0;
        padding: 20px 5%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 99;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links > li > a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 15px 0;
        font-size: 15px;
    }

    /* Mobile — disable hover color change */
    .nav-links a:hover {
        color: rgba(255, 255, 255, 0.8) !important;
        font-weight: 500 !important;
    }
    .nav-links a.active {
        color: var(--accent-blue) !important;
        font-weight: 600 !important;
    }

    /* Mobile Dropdown */
    .nav-links .dropdown > a::after {
        border-color: rgba(255, 255, 255, 0.8);
    }
    .nav-links .dropdown:hover > a::after,
    .nav-links .dropdown > a::after {
        transform: rotate(45deg) !important;
        margin-top: -3px !important;
    }
    .nav-links .dropdown.active:hover > a::after,
    .nav-links .dropdown.active > a::after {
        transform: rotate(-135deg) !important;
        margin-top: 3px !important;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.1);
        box-shadow: none;
        margin-top: 10px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 12px 20px;
        display: block;
        text-align: center;
    }
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1);
        color: var(--accent-blue) !important;
    }

    .menu-toggle {
        display: flex;
    }

    nav .btn-outline {
        display: none;
    }

    /* Hero Section */
    .hero {
        padding: 40px 5% 50px 5%;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-img-container {
        width: 100%;
        height: 320px;
        min-height: 320px;
        flex: none;
        position: relative;
        margin-bottom: 20px;
    }
    .hero-card {
        position: absolute;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        border-radius: 16px;
        filter: none !important;
        transition: opacity 0.8s ease !important;
    }
    .hero-card.pos-1 {
        opacity: 1 !important;
        z-index: 3 !important;
    }
    .hero-card.pos-2,
    .hero-card.pos-3 {
        opacity: 0 !important;
        z-index: 1 !important;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Search Container */
    .search-container {
        grid-template-columns: 1fr;
        width: 95%;
        padding: 15px;
        gap: 10px;
    }

    .search-box {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 10px 0;
    }

    .search-box:last-of-type {
        border-bottom: none;
    }

    /* Page Header */
    .page-header {
        padding: 40px 5%;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Container */
    .container {
        padding: 40px 5%;
    }

    /* Property Grid */
    .property-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 3D Carousel Mobile */
    .carousel-3d-wrapper {
        height: 480px;
        margin: 20px 0;
    }
    .carousel-3d-item {
        width: 70vw;
    }
    .carousel-3d {
        width: 70vw;
    }
    .carousel-3d-btn {
        display: none;
    }

    /* Cards */
    .card-content {
        padding: 20px;
    }

    /* Footer */
    footer {
        padding: 50px 5% 20px 5%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    /* Feature Cards */
    .feature-card {
        padding: 25px;
    }

    /* Buttons */
    .btn-filled, .btn-outline {
        width: 100%;
        text-align: center;
        display: block;
    }
    .banner-content .btn-filled,
    .carousel-card-overlay .btn-filled {
        width: auto;
        display: inline-block;
    }

    .error-actions {
        flex-direction: column;
        width: 100%;
    }

    .error-actions a {
        width: 100%;
    }

    /* Testimonials — mobile */
    .testi-carousel-wrapper {
        padding: 0 16px;
        height: 530px;
    }
    .testi-carousel .testi-card {
        width: calc(100vw - 80px);
        max-width: 380px;
    }
    .testi-body {
        padding: 62px 22px 22px;
        min-height: 360px;
    }
    .testi-carousel .testi-card.prev,
    .testi-carousel .testi-card.next,
    .testi-carousel .testi-card.far-prev,
    .testi-carousel .testi-card.far-next {
        opacity: 0;
    }
    .testi-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Login Page */
    .login-card {
        padding: 30px 20px;
    }

    /* Amenities List */
    .amenities-list {
        grid-template-columns: 1fr;
    }

    /* Link Grid (404 page) */
    .link-grid {
        grid-template-columns: 1fr;
    }

    /* Error Container */
    .error-container {
        padding: 40px 5%;
    }

    .error-icon {
        font-size: 5rem;
    }

    .error-container h1 {
        font-size: 4rem;
    }

    .search-box-404 {
        padding: 20px;
        max-width: 100%;
    }

    /* Legal Content */
    .legal-content {
        padding: 40px 5%;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    /* Table Responsive */
    .admin-table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
    }

    .admin-table th, .admin-table td {
        padding: 10px 8px;
    }

    /* Price Tag */
    .price-tag {
        font-size: 24px;
    }

    /* Stats Bar */
    .stats-bar {
        padding: 20px;
        gap: 15px;
        flex-wrap: wrap;
    }
}

/* --- Banner Slider --- */
.banner-section {
    padding: 60px 8%;
}

.banner-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 600px;
    max-width: 1600px;
    margin: 0 auto;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 600px;
    width: 100%;
}

.banner-badge {
    background: #e53935;
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.banner-content h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: white;
}

.banner-content p {
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 25px;
}

.banner-content .btn-filled {
    border-radius: 30px;
    padding: 12px 30px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    transition: color 0.3s;
}

.banner-arrow:hover {
    color: var(--accent-blue);
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}

@media (max-width: 768px) {
    .banner-section {
        padding: 30px 5%;
    }

    .banner-slider {
        min-height: 350px;
        border-radius: 15px;
    }

    .banner-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.8) 40%, transparent 100%);
    }

    .banner-content {
        top: 50%;
        bottom: auto;
        right: 0;
        left: 0;
        transform: translateY(-50%);
        text-align: center;
        max-width: 100%;
        padding: 0 15px;
        width: 100%;
    }

    .banner-content h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .banner-content p {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .banner-badge {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 10px;
    }

    .banner-content .btn-filled {
        padding: 8px 20px;
        font-size: 13px;
    }

    .banner-arrow {
        display: none;
    }
}

/* --- Feature Grid (locked 3 columns) --- */
.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Feature Cards (Why Choose Us) --- */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.icon-box {
    font-size: 30px;
    margin-bottom: 20px;
    background: var(--soft-blue);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- Testimonial 3D Carousel --- */
.testi-section {
    padding: 80px 0;
    overflow: hidden;
    background: var(--primary-black);
}
.testi-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}
.testi-carousel {
    position: relative;
    width: 100%;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testi-carousel .testi-card {
    position: absolute;
    width: 400px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    pointer-events: none;
    filter: blur(2px);
}
.testi-carousel .testi-card.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
    filter: none;
}
.testi-carousel .testi-card.prev {
    transform: translateX(-420px) scale(0.85) rotateY(25deg);
    opacity: 0.6;
    z-index: 2;
    filter: none;
}
.testi-carousel .testi-card.next {
    transform: translateX(420px) scale(0.85) rotateY(-25deg);
    opacity: 0.6;
    z-index: 2;
    filter: none;
}
.testi-carousel .testi-card.far-prev {
    transform: translateX(-720px) scale(0.7) rotateY(40deg);
    opacity: 0.25;
    z-index: 1;
    filter: blur(1px);
}
.testi-carousel .testi-card.far-next {
    transform: translateX(720px) scale(0.7) rotateY(-40deg);
    opacity: 0.25;
    z-index: 1;
    filter: blur(1px);
}
.testi-nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
}
.testi-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.testi-nav-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.1);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

.testi-card {
    position: relative;
}

/* Body — house shaped */
.testi-body {
    background: white;
    padding: 60px 28px 28px;
    border-radius: 0 0 12px 12px;
    clip-path: polygon(0% 14%, 50% 0%, 100% 14%, 100% 100%, 0% 100%);
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
}

/* Meta row — type badge + location */
.testi-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.testi-type {
    background: var(--primary-black);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}
.testi-location {
    font-size: 12px;
    color: var(--text-gray);
}

/* Stars — inside roof area */
.testi-stars {
    color: var(--accent-blue);
    font-size: 16px;
    letter-spacing: 2px;
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.testi-body p {
    font-size: 14px;
    font-style: italic;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile */
.testi-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.testi-profile img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    filter: blur(4px);
}
.testi-profile h4 {
    font-size: 16px;
    font-weight: 700;
}
.testi-profile span {
    display: none;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-black);
    color: white;
    padding: 80px 8% 20px 8%;
    margin-top: 0;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* Brand gets more space */
    gap: 40px;
    margin-bottom: 60px;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    line-height: 1.6;
}
.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}
.footer-links ul li a:hover { color: var(--accent-blue); }
.footer-links ul li { color: rgba(255, 255, 255, 0.7); }

/* Copyright Bar */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* Stack everything on mobile */
        gap: 30px;
        text-align: center;
    }
}

/* --- Property Details Page Styles --- */

/* Gallery */
.back-btn-wrapper {
    padding: 20px 0;
}
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    background: var(--primary-black);
    color: var(--white);
    border: 1px solid var(--primary-black);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-back:hover {
    background: var(--primary-black);
    color: var(--accent-blue);
    transform: translateX(-6px);
}

.gallery-section {
    padding: 0 8% 20px;
}
/* Layout (Left Content / Right Sidebar) */
.details-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
.details-left { min-width: 0; }
.details-content { padding-top: 20px; }

.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}
.gallery-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.gallery-main:hover { transform: scale(1.01); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); transition: 0.3s; }

.details-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.agent-card-wrapper {
    flex: 1;
}

.sub-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.sub-images img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.sub-images img.tall-img {
    height: 500px;
}
.sub-images img:hover { transform: scale(1.02); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); }
.mobile-only { display: none !important; }

/* Header Info */
.details-header {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 80px 30px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.3) 85%, transparent 100%);
    color: white;
}
.details-header h1 { color: white; }
.details-header .location-text { color: rgba(255,255,255,0.85); }
.details-header .price-tag { color: white; }
.badge {
    background: var(--accent-blue);
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}
.location-text { color: var(--text-gray); font-size: 16px; margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.location-text::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #e53935;
    -webkit-mask: url("data:image/svg+xml,%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%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%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%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}
.price-tag {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-black);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-between;
    background: var(--soft-blue);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
}
.stat-box span { display: block; font-size: 14px; color: var(--text-gray); margin-bottom: 5px; }
.stat-box strong { font-size: 18px; color: var(--primary-black); }

.divider { border: 0; border-top: 2px solid #eee; margin: 40px 0; }

/* General Content Blocks */
.content-block { margin-bottom: 40px; }
.content-block h3 { font-size: 22px; margin-bottom: 20px; }
.content-block p { color: var(--text-gray); margin-bottom: 15px; line-height: 1.8; }

/* Amenities List */
.amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
}
.amenities-list li { font-weight: 500; color: #444; display: flex; align-items: center; gap: 8px; }

/* Map */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Agent Sidebar */
.agent-card {
    background: white;
    padding: 25px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.sticky-card {
    position: sticky;
    top: 120px; /* Sticks when scrolling */
}
.btn-whatsapp {
    background: #25D366 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-whatsapp:hover {
    background: #1ebe57 !important;
    color: white !important;
}
.agent-card-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 12px;
}
.agent-card-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.agent-card-info {
    flex: 1;
}
.agent-card-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
}
.agent-card-position {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 2px;
}
.agent-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0 0;
}
.agent-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.agent-profile h4 { font-size: 16px; margin-bottom: 3px; }
.agent-profile p { font-size: 12px; color: var(--text-gray); }

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
}
.full-width { width: 100%; text-align: center; }
.contact-actions { margin-top: 15px; }
.contact-actions a { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn-whatsapp { background: #25D366; border-color: #25D366; }
.btn-whatsapp:hover { background: #1fb855; }
.contact-actions .btn-outline { border-color: var(--deep-navy); color: var(--deep-navy); }
.contact-actions .btn-outline:hover { background: var(--deep-navy); color: white; }

/* Sub Images Bottom (Side by Side below main image) */
.sub-images-bottom {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.sub-images-bottom img {
    flex: 1;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    min-width: 0;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.sub-images-bottom img:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); }

/* View More Gallery */
.view-more-gallery {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}
.view-more-gallery:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); }
.view-more-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.view-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}
.view-more-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent-blue);
}
.view-more-overlay:hover svg {
    stroke: var(--accent-blue);
}

/* Photo Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s;
}
.lightbox-close:hover { color: #E53935; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: rgba(255, 255, 255, 0.6); }
.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

/* Gallery Modal (All Photos) */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.gallery-modal.active {
    display: flex;
}
.gallery-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
}
.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.gallery-modal-header h3 {
    font-size: 20px;
}
.gallery-modal-header .lightbox-close {
    position: static;
    color: var(--text-gray);
    font-size: 36px;
    transition: color 0.2s;
    cursor: pointer;
}
.gallery-modal-header .lightbox-close:hover {
    color: #E53935;
    opacity: 1;
}
.gallery-modal-grid {
    columns: 3;
    column-gap: 12px;
}
.gallery-modal-grid img {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 12px;
    display: block;
}
.gallery-modal-grid img:hover { opacity: 0.85; }

@media (max-width: 768px) {
    .gallery-modal { padding: 20px; }
    .gallery-modal-grid { columns: 2; column-gap: 8px; }
    .gallery-modal-grid img { margin-bottom: 8px; }
}

/* Responsive Details */
@media (max-width: 1024px) {
    .back-btn-wrapper { text-align: center; }
    .details-layout { grid-template-columns: 1fr; }
    .details-right .sticky-card { position: static; }
    .details-right .sub-images { display: none; }
    .view-more-gallery { display: none; }
    .sub-images-bottom { display: none; }
    .mobile-only { display: flex !important; flex-direction: row; gap: 10px; margin-top: 10px; }
    .mobile-only img { height: 150px; flex: 1; min-width: 0; border-radius: 12px; }
    .gallery-main img { height: 300px; }
    .gallery-main .details-header { display: none; }
    .mobile-header { display: flex !important; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 10px; position: static; background: none; color: var(--deep-navy); padding: 15px 0; }
    .mobile-header h1 { color: var(--deep-navy); font-size: 22px; }
    .mobile-header .location-text { color: var(--text-gray); font-size: 13px; }
    .mobile-header .price-tag { color: var(--deep-navy); font-size: 20px; }
    .mobile-header .badge { font-size: 10px; padding: 4px 10px; }
    .stats-bar { flex-wrap: wrap; gap: 20px; }
    .lightbox-prev, .lightbox-next { display: none; }

    /* Make map smaller on mobile */
    .map-container iframe { height: 300px; }
}

/* Small mobile — 480px and below */
@media (max-width: 480px) {
    .testi-carousel-wrapper {
        height: 490px;
        padding: 0 12px;
    }
    .testi-carousel .testi-card {
        width: calc(100vw - 50px);
        max-width: 340px;
    }
    .testi-body {
        padding: 58px 18px 18px;
        min-height: 320px;
    }
    .testi-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .mobile-header { flex-direction: column; align-items: flex-start; }
}

/* --- Login Page Styles --- */

.login-body {
    background-color: var(--soft-blue);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo {
    font-size: 32px;
    margin-bottom: 10px;
    display: inline-block;
}

.login-header p {
    color: var(--text-gray);
    font-size: 15px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 15px;
    transition: 0.3s;
    outline: none;
    font-family: inherit;
}

.form-group input:focus {
    border-color: var(--primary-black);
}

/* Actions (Remember Me / Forgot PW) */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    cursor: pointer;
}

.forgot-pass {
    color: var(--primary-black);
    font-weight: 600;
    text-decoration: none;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-gray);
}

.login-footer a {
    color: var(--primary-black);
    font-weight: 700;
    text-decoration: none;
}

/* Button override for login to make it stand out */
.btn-filled.full-width {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border-radius: 10px;
}

/* --- Buy Properties Page --- */

/* Hero */
.buy-hero {
    position: relative;
    min-height: 340px;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(38,38,96,0.9) 0%, rgba(38,38,96,0.7) 100%);
}

.buy-hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 650px;
    padding: 60px 20px;
}

.buy-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

.buy-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.6;
}

/* Search Bar */
.buy-search-section {
    padding: 0 8%;
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}

.buy-search-bar {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    padding: 25px 30px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.buy-search-input {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.buy-search-input label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-black);
}

.buy-search-input input {
    padding: 12px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--primary-black);
    background: var(--soft-blue);
    outline: none;
    transition: 0.3s;
}

.buy-search-input input:focus {
    border-color: var(--primary-black);
    background: var(--white);
}

.buy-search-input .custom-select-options {
    left: 0;
    width: 100%;
    min-width: 180px;
}

.buy-search-bar {
    flex-wrap: wrap;
}

.buy-search-actions {
    width: 100%;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 5px;
}

.buy-search-actions .btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

.buy-search-actions .btn-search svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.buy-search-actions .btn-reset {
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    box-sizing: border-box;
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1.5px solid #e53935;
    background: #e53935;
    color: white;
    transition: 0.3s;
}

.btn-reset:hover {
    background: #c62828;
    color: var(--accent-blue);
    border-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(229, 57, 53, 0.3);
}

/* Results Section */
.buy-results-section {
    padding: 30px 8% 60px 8%;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 60vh;
}

.buy-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.buy-results-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.buy-results-header p {
    color: var(--text-gray);
    margin-top: 5px;
    font-size: 14px;
}

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

.buy-sort label {
    font-size: 14px;
    color: var(--text-gray);
    white-space: nowrap;
}

.buy-sort select {
    padding: 10px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--primary-black);
    font-weight: 600;
    outline: none;
    cursor: pointer;
    background: var(--white);
}

/* Property Grid */
.buy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Property Card */
.buy-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.buy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.buy-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.buy-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.buy-card:hover .buy-card-img img {
    transform: scale(1.05);
}

.buy-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e53935;
    color: white;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.buy-card-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    color: white;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.buy-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.buy-card-location {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 6px;
    font-weight: 500;
}

.buy-card-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary-black);
}

.buy-card-features {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.buy-card-features span {
    background: var(--soft-blue);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-black);
}

.buy-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    margin-top: auto;
}

.buy-card-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-black);
}

.buy-card-agent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.buy-card-agent img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.buy-card-agent span {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Pagination */
.buy-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.buy-page-btn {
    width: 45px;
    height: 45px;
    border: 1.5px solid var(--border-light);
    background: var(--white);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    color: var(--primary-black);
    font-family: inherit;
}

.buy-page-btn:first-child,
.buy-page-btn:last-child {
    width: auto;
    padding: 0 20px;
}

.buy-page-btn:hover {
    border-color: var(--primary-black);
}

.buy-page-btn.active {
    background: var(--primary-black);
    color: white;
    border-color: var(--primary-black);
}

/* No Results */
.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}
.no-results-message h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 16px 0 8px;
}
.no-results-message p {
    font-size: 15px;
    color: var(--text-gray);
}

/* CTA Section */
.buy-cta {
    background: var(--primary-black);
    padding: 80px 8%;
    text-align: center;
}

.buy-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.buy-cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.buy-cta-content p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 30px;
}

.buy-cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.buy-cta-actions .btn-filled {
    background: var(--accent-blue);
    color: var(--primary-black);
    font-weight: 700;
}

.buy-cta-actions .btn-filled:hover {
    background: white;
    color: var(--primary-black);
}

.buy-cta-actions .btn-outline:hover {
    background: rgba(255,255,255,0.15);
}

/* Buy Page Responsive */
@media (max-width: 1024px) {
    .buy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .buy-search-input {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .buy-hero-content h1 {
        font-size: 2rem;
    }

    .buy-hero {
        min-height: 260px;
    }

    .buy-search-section {
        padding: 0 5%;
        margin-top: -25px;
    }

    .buy-search-bar {
        flex-direction: column;
        padding: 20px;
        border-radius: 14px;
    }

    .buy-search-input {
        width: 100%;
        min-width: 100%;
    }

    .buy-search-actions {
        flex-direction: column;
    }

    .buy-search-actions .btn-search,
    .buy-search-actions .btn-reset {
        width: 100%;
        border-radius: 30px;
        height: 48px;
        justify-content: center;
    }

    .buy-results-section {
        padding: 30px 5% 50px 5%;
    }

    .buy-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .buy-results-header h2 {
        font-size: 22px;
    }

    .buy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .buy-cta {
        padding: 50px 5%;
    }

    .buy-cta-content h2 {
        font-size: 24px;
    }

    .buy-cta-actions {
        flex-direction: column;
    }

    .buy-cta-actions .btn-filled,
    .buy-cta-actions .btn-outline {
        width: 100%;
        text-align: center;
        display: block;
    }
}

/* --- Rent Properties Page --- */

.rent-hero {
    position: relative;
    min-height: 340px;
    background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rent-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21,101,192,0.85) 0%, rgba(38,38,96,0.8) 100%);
}

.rent-hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 650px;
    padding: 60px 20px;
}

.rent-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

.rent-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.6;
}

.rent-badge {
    background: #1565c0 !important;
}

.rent-furnished {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
}

.buy-card-price small {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .rent-hero-content h1 {
        font-size: 2rem;
    }

    .rent-hero {
        min-height: 260px;
    }
}

/* --- Sell Properties Page --- */

/* Hero */
.sell-hero {
    position: relative;
    min-height: 380px;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(38,38,96,0.92) 0%, rgba(21,101,192,0.8) 100%);
}

.sell-hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 60px 20px;
}

.sell-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.15;
}

.sell-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.7;
}

.sell-badge {
    background: #43a047 !important;
}

/* How It Works */
.sell-steps-section {
    padding: 80px 8%;
    text-align: center;
}

.sell-steps-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.sell-steps-header p {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 50px;
}

.sell-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.sell-step-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px 25px 35px;
    transition: 0.4s;
}

.sell-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.sell-step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-black);
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.sell-step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 12px;
}

.sell-step-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Why Sell With Us */
.sell-why-section {
    padding: 80px 8%;
    background: var(--soft-blue);
}

.sell-why-content {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sell-why-text {
    flex: 1;
}

.sell-why-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 30px;
}

.sell-why-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sell-why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sell-why-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-black);
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.sell-why-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 4px;
}

.sell-why-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.sell-why-image {
    flex: 1;
    max-width: 480px;
}

.sell-why-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    height: 500px;
}

/* Sell Form */
.sell-form-section {
    padding: 80px 8%;
}

.sell-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.sell-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.sell-form-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.sell-form-header p {
    color: var(--text-gray);
    font-size: 16px;
}

.sell-form-group {
    margin-bottom: 35px;
}

.sell-form-group h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

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

.sell-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    margin-top: 10px;
}

/* Stats Section */
.sell-stats-section {
    padding: 60px 8%;
    background: var(--primary-black);
}

.sell-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.sell-stat h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.sell-stat p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* Sell Page Responsive */
@media (max-width: 1024px) {
    .sell-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sell-why-content {
        flex-direction: column;
    }

    .sell-why-image {
        max-width: 100%;
    }

    .sell-why-image img {
        height: 350px;
        width: 100%;
    }

    .sell-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sell-hero-content h1 {
        font-size: 2rem;
    }

    .sell-hero {
        min-height: 300px;
    }

    .sell-steps-section {
        padding: 50px 5%;
    }

    .sell-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sell-why-section {
        padding: 50px 5%;
    }

    .sell-why-text h2 {
        font-size: 24px;
    }

    .sell-why-image img {
        height: 280px;
    }

    .sell-form-section {
        padding: 50px 5%;
    }

    .sell-form.property-form {
        padding: 25px;
        border-radius: 14px;
    }

    .sell-form .form-grid-3col,
    .sell-form .form-grid-4col {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sell-form-header h2,
    .sell-steps-header h2 {
        font-size: 24px;
    }

    .sell-stats-section {
        padding: 40px 5%;
    }

    .sell-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .sell-stat h2 {
        font-size: 28px;
    }
}

/* --- Commercial Properties Page --- */

/* Hero */
.commercial-hero {
    position: relative;
    min-height: 340px;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.commercial-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,30,60,0.92) 0%, rgba(55,71,79,0.85) 100%);
}

.commercial-hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 60px 20px;
}

.commercial-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

.commercial-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.7;
}

.commercial-badge {
    background: #37474f !important;
}

@media (max-width: 768px) {
    .commercial-hero-content h1 {
        font-size: 2rem;
    }

    .commercial-hero {
        min-height: 260px;
    }
}

/* --- New Launch Properties Page --- */

/* Hero */
.newlaunch-hero {
    position: relative;
    min-height: 340px;
    background: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newlaunch-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230,81,0,0.85) 0%, rgba(38,38,96,0.9) 100%);
}

.newlaunch-hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 60px 20px;
}

.newlaunch-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

.newlaunch-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.7;
}

.newlaunch-badge {
    background: #e65100 !important;
}

.newlaunch-upcoming {
    background: #7b1fa2 !important;
    color: white;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.newlaunch-construction {
    background: #f57f17 !important;
    color: white;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.newlaunch-status {
    background: #fff3e0 !important;
    color: #e65100 !important;
}

/* Featured Project */
.newlaunch-featured {
    padding: 50px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.newlaunch-featured-content {
    display: flex;
    gap: 40px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
}

.newlaunch-featured-img {
    flex: 1.2;
    position: relative;
    min-height: 400px;
}

.newlaunch-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newlaunch-featured-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-black);
    color: var(--accent-blue);
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.newlaunch-featured-info {
    flex: 1;
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newlaunch-featured-info h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-black);
    margin: 15px 0 8px;
}

.newlaunch-featured-location {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 15px;
}

.newlaunch-featured-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.newlaunch-featured-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.newlaunch-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.newlaunch-detail-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

.newlaunch-detail-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
}

/* New Launch Responsive */
@media (max-width: 1024px) {
    .newlaunch-featured-content {
        flex-direction: column;
    }

    .newlaunch-featured-img {
        min-height: 300px;
    }

    .newlaunch-featured-info {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .newlaunch-hero-content h1 {
        font-size: 2rem;
    }

    .newlaunch-hero {
        min-height: 260px;
    }

    .newlaunch-featured {
        padding: 30px 5%;
    }

    .newlaunch-featured-img {
        min-height: 220px;
    }

    .newlaunch-featured-info {
        padding: 25px;
    }

    .newlaunch-featured-info h2 {
        font-size: 22px;
    }

    .newlaunch-featured-details {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

