:root {
    --primary-color: #213448;
    --accent-color: #2c587d;
    --highlight: #EB8317;
    --bg-light: #f5f8fc;
    --text-dark: #213448;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.nav-container {
    background: #fff;
    text-align: center;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.nav-links a {
    margin: 0 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-bar {
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    padding: 20px 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.logo img {
    height: 80px;
    margin-bottom: -20px;
    margin-top: -20px;
}

.search-bar-inline {
    display: flex;
    flex-grow: 1;
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 30px 10px 18px;
    border: 3px solid #213448;
    border-radius: 10px 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: #213448;
    background-color: #fdfdfd;
    box-shadow: inset 0 0 5px rgba(33, 52, 72, 0.2);
    transition: border 0.3s ease;
}

.search-input-wrapper input:focus {
    border-color: #1d5a96;
    outline: none;
}

.clear-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    display: none;
    transition: color 0.2s;
}

.clear-icon:hover {
    color: #000;
}

.search-input-wrapper.has-value .clear-icon {
    display: block;
}

.search-bar-inline button {
    padding: 10px 22px;
    background: #213448;
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.search-bar-inline button:hover {
    background: #1d5a96;
}

.suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #213448;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(33, 52, 72, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.suggestions li {
    padding: 14px 18px;
    font-weight: bold;
    color: #213448;
    cursor: pointer;
    transition: background 0.2s ease;
}

.suggestions li:hover {
    background-color: #f0f4f8;
}

.buttons {
    display: flex;
    gap: 10px;
}

.buttons button {
    padding: 10px 18px;
    background-color: #fff;
    color: var(--primary-color);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buttons button:hover {
    background-color: #e2e8f0;
}

.content {
    padding: 40px 5%;
}

h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.write-review-container {
    display: flex;
    justify-content: center;
    margin-bottom: 99px;
}

.write-review-box {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    max-width: 600px;
}

.write-review-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.write-review-box p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.write-review-btn {
    display: inline-block;
    background: #EB8317;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

.write-review-btn:hover {
    background: #d56c10;
}

.review-box {
    background: #ffffff;
    border: 1px solid #363434;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(5, 5, 5, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--highlight);
}

.review-author {
    font-weight: 700;
    font-size: 18px;
}

.review-time {
    font-size: 13px;
    color: #999;
}

.rating {
    margin-top: 3px;
    font-size: 18px;
    color: #f39c12;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.review-box::before {
    content: "“";
    font-size: 100px;
    color: rgba(1, 15, 29, 0.08);
    position: absolute;
    top: -20px;
    left: 15px;
    z-index: 0;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.review-button {
    display: inline-block;
    background-color: var(--highlight);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin: 20px auto;
    text-align: center;
}

footer {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .menu-bar {
        flex-direction: column;
        gap: 15px;
    }

    .buttons {
        margin-top: 10px;
    }
}