* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f9f9f9;
    color: #fff;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff4d6d;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}
.login {
    background: #ff4d6d;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffe6eb, #f5f5ff);
}

.hero h1 {
    color: #ff4d6d;
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    margin-bottom: 30px;
    color: #666;
}

/* Search Box */
.search-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.search-box input,
.search-box select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 180px;
}

.search-box button {
    background: #ff4d6d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: #e6395c;
	
}

/* Profiles Section */
.profiles {
    padding: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-header a {
    text-decoration: none;
    color: #ff4d6d;
    font-weight: bold;
}

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

/* Card */
.card {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-body h3 {
    margin-bottom: 5px;
}

.location {
    display: block;
    color: #777;
    font-size: 14px;
}

.status {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.available {
    background: #e6f7ec;
    color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .profiles {
        padding: 20px;
    }
}


.hero-image {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    max-width: 900px;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}



/* Responsive Header */
header {
    background: #000;
    width: 100%;
    padding: 14px 24px;
    box-sizing: border-box;
}

.header-container,
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: nowrap;
}

.logo,
header h1 {
    color: #fff;
    font-size: 24px;
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
}

/* Better Hero Section */
.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-image img {
    width: 100%;
    max-width: 1100px;
    height: 520px;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px;
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    .hero-image img {
        height: 420px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    header {
        padding: 12px 16px;
    }

    .header-container,
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        overflow-x: auto;
    }

    .logo,
    header h1 {
        font-size: 18px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 13px;
    }

    .hero-image {
        padding: 10px;
    }

    .hero-image img {
        height: 280px;
        border-radius: 16px;
        object-position: center center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-image img {
        height: 220px;
    }

    nav a {
        font-size: 12px;
    }
}
