/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f9fbfd;
    line-height: 1.6;
    color: #333;
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 60px;
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 22px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 0.85;
}

.btn-nav {
    background: white;
    color: #0077b6;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
}

/* Login / Logout Buttons */
.login-btn,
.logout-btn {
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Login Button */
.login-btn {
    background: #2ecc71;          /* Green background */
    color: #ffffff;               /* White text */
}

.login-btn:hover {
    background: #27ae60;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Logout Button */
.logout-btn {
    background: #e74c3c;          /* Red background */
    color: #ffffff;               /* White text */
}

.logout-btn:hover {
    background: #c0392b;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ================= HERO ================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 90px 60px;
    gap: 40px;
    background: linear-gradient(to right, #e0f7fa, #f1faff);
}

.hero-text h1 {
    font-size: 50px;
    color: #023e8a;
}

.hero-text p {
    margin: 18px 0;
    font-size: 18px;
    max-width: 520px;
}

.btn-main {
    display: inline-block;
    margin-top: 20px;
    background: #0077b6;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-main:hover {
    background: #023e8a;
    transform: translateY(-2px);
}

/* ================= SERVICES ================= */
.services {
    padding: 80px 60px;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    color: #023e8a;
}

.service-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 42px;
    color: #0077b6;
    margin-bottom: 18px;
}

/* ================= APPOINTMENT ================= */
.appointment {
    background: linear-gradient(135deg, #caf0f8, #e0f7fa);
    padding: 80px 20px;
    text-align: center;
}

.appointment h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #023e8a;
}

.appointment form {
    max-width: 420px;
    margin: auto;
}

.appointment input,
.appointment textarea {
    width: 100%;
    margin: 12px 0;
    padding: 14px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
}

.appointment button {
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    background: #023e8a;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

.appointment button:hover {
    background: #0077b6;
}

/* ================= FOOTER ================= */
footer {
    background: #023e8a;
    color: white;
    padding: 50px 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.social i {
    font-size: 22px;
    margin-right: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.social i:hover {
    color: #90e0ef;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .navbar {
        padding: 14px 25px;
        flex-wrap: wrap;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .nav-links li {
        margin: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 25px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .services {
        padding: 60px 25px;
    }

    footer {
        padding: 40px 25px;
        text-align: center;
    }
}
