/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Open+Sans:wght@400;500;600&display=swap');

/* ===== BODY ===== */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #EAF2FF, #FFFFFF);
    color: #333;
}

/* ===== HERO TITLE SECTION ===== */
.hero-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* Main Title */
.hero-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    margin: 0;

    /* Gradient animated text */
    background: linear-gradient(270deg, #2563EB, #60A5FA, #2563EB);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;

    animation: shine 4s linear infinite;
}

/* Gradient Animation */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Stylish underline glow */
.hero-title h1::after {
    content: "";
    display: block;
    width: 140px;
    height: 4px;
    margin: 15px auto;
    border-radius: 10px;
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

/* Tagline */
.hero-title p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #64748B;
    letter-spacing: 0.5px;
    margin-top: 10px;

    /* subtle fade animation */
    animation: fadeUp 1.5s ease;
}

/* Floating animation */
.hero-title {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

/* Tagline fade */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FORM CARD ===== */
.form {
    max-width: 420px;
    margin: auto;
    background: #FFFFFF;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    transition: 0.3s ease;
}

.form:hover {
    transform: translateY(-3px);
}

/* ===== INPUTS ===== */
.form input,
.form select {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border-radius: 8px;
    border: 1px solid #dbeafe;
    font-size: 14px;
    transition: 0.3s;
}

.form input:focus,
.form select:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.3);
}

/* ===== BUTTON ===== */
.form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(45deg, #2563EB, #1E40AF);
    color: white;
    transition: 0.3s;
}

.form button:hover {
    background: linear-gradient(45deg, #1E40AF, #1E3A8A);
    transform: scale(1.03);
}

/* ===== SEARCH BAR ===== */
#searchBox {
    width: 60%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #dbeafe;
    margin-top: 20px;
}

button {
    padding: 10px 15px;
    background: #2563EB;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background: #1E40AF;
}

/* ===== MAP ===== */
#map {
    height: 420px;
    margin-top: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    border: 4px solid white;
}

/* ===== REMINDER LIST ===== */
h3 {
    font-family: 'Playfair Display', serif;
    color: #2563EB;
    margin-top: 30px;
}

/* Reminder Card */
#list li {
    list-style: none;
    background: #FFFFFF;
    padding: 15px;
    margin: 12px 0;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== PRIORITY BADGES ===== */
.priority {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: 600;
}

.high {
    background: #EF4444;
}

.medium {
    background: #F59E0B;
}

.low {
    background: #10B981;
}

#list button {
    background: #EF4444;
    border: none;
    padding: 6px 10px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 5px;
}

#list button:hover {
    background: #DC2626;
}
.dashboard {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}



#list {
    padding: 0;
}

#list li {
    list-style: none;
    background: #F8FAFF;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
    display: flex;
    justify-content: space-between;
}

#list li:hover {
    transform: translateX(5px);
}

#list button {
    background: #EF4444;
    border: none;
    padding: 6px 12px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.priority {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: 600;
}

.high { background: #EF4444; }
.medium { background: #F59E0B; }
.low { background: #10B981; }
map {
    height: 400px;
    width: 100%;
}

.reminderGrid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(280px,1fr));
    gap:18px;
    margin-top:15px;
}

.reminderCard{
    background:white;
    padding:18px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
    transition:0.3s;
    border-left:6px solid #2563EB;
}

.reminderCard:hover{
    transform:translateY(-4px);
}

.reminderTitle{
    font-size:18px;
    font-weight:600;
    margin-bottom:6px;
}

.reminderLocation{
    font-size:14px;
    color:#555;
}

.reminderTime{
    font-size:13px;
    color:#888;
    margin-top:5px;
}

.deleteBtn{
    margin-top:12px;
    background:#EF4444;
    color:white;
    border:none;
    padding:7px 12px;
    border-radius:6px;
    cursor:pointer;
}

.deleteBtn:hover{
    background:#dc2626;
}

