/* ===== Global Styles ===== */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Navigation ===== */
nav {
    background-color: #2a9d8f;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav a {
    color: white;
    margin-left: 20px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    text-decoration: underline;
}

/* ===== Hero Section ===== */
.hero, .hero-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin: 40px auto 20px;
    max-width: 900px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .btn, .actions a {
    background-color: #2a9d8f;
    color: white;
    padding: 12px 25px;
    margin: 5px 10px 0 0;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.hero .btn:hover, .actions a:hover {
    background-color: #21867a;
    transform: scale(1.05);
}

/* ===== Features Section ===== */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 50px auto;
    max-width: 1200px;
}

.feature-card {
    background: white;
    flex: 1 1 250px;
    margin: 15px;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #264653;
}

.feature-card p {
    color: #555;
    font-size: 16px;
}

/* ===== Cards ===== */
.card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.card h2 {
    margin-top: 0;
    color: #264653;
}

/* ===== Forms ===== */
form input, form select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

form input[type="submit"] {
    background-color: #2a9d8f;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

form input[type="submit"]:hover {
    background-color: #21867a;
}

/* ===== Tables ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    padding: 12px;
    text-align: center;
}

table th {
    background-color: #e9ecef;
    color: #333;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #e0f7e9;
    cursor: pointer;
}

/* ===== Buttons ===== */
button {
    padding: 8px 15px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.freeze {
    background-color: #e63946;
    color: white;
}

.freeze:hover {
    background-color: #c5303f;
}

.unfreeze {
    background-color: #2a9d8f;
    color: white;
}

.unfreeze:hover {
    background-color: #21867a;
}

/* ===== Messages ===== */
.message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    background-color: #e0f7e9;
    color: #2a9d8f;
    font-weight: bold;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #2a9d8f;
    color: white;
    margin-top: 30px;
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .features {
        flex-direction: column;
        align-items: center;
    }
    nav {
        flex-direction: column;
        gap: 10px;
    }
    table th, table td {
        padding: 8px;
    }
    .hero, .hero-card, .card {
        padding: 20px;
        margin: 20px 10px;
    }
}