/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: "Hi Melody", sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Navigation Bar */
header {
    background: #1976d2;
    color: #fff;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

nav h1 {
    font-size: 1.8rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero img {
    max-width: 250px;
    margin: 20px auto;
    display: block;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero p {
    margin-bottom: 20px;
}

/* =====================
   Need a Boost Button
   ===================== */
#reminderBtn {
    background-color: #1976d2;   /* Your favicon blue */
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;          /* Rounded pill look */
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: fixed;              /* Stick to bottom right */
    bottom: 20px;
    right: 20px;
    z-index: 1000;                /* Keep above other elements */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Hover effect */
#reminderBtn:hover {
  background-color: #1565c0;   /* Slightly darker blue */
  transform: scale(1.05);
}

/* Active/clicked state */
#reminderBtn:active {
  transform: scale(0.95);
}


.btn {
    display: inline-block;
    background: #1976d2;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
}

.btn:hover {
    background: #145ca8;
}

/* Features Section */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px;
    text-align: center;
}

.feature-list img {
    width: 80px;
    margin-bottom: 10px;
}

/* Demo Form */
.demo {
    margin: 30px;
    text-align: center;
}

#medForm input, 
#medForm button {
    padding: 10px;
    margin: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Contact Form */
.contact-img {
    max-width: 200px;
    display: block;
    margin: 20px auto;
}

#contactForm {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 400px;
    margin: auto;
}

#contactForm input,
#contactForm textarea,
#contactForm button {
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

#contactForm button {
    background: #1976d2;
    color: #fff;
    border: none;
    cursor: pointer;
}

#contactForm button:hover {
    background: #145ca8;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease-in-out;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1976d2;
    cursor: pointer;
}

.close:hover {
    color: #145ca8;
}

/* Footer */
footer {
    background: #1976d2;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* Simple fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Fixes */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}
