/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: linear-gradient(135deg, #fceabb, #f8b500);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: 2.5rem;
    color: #d62828;
}

header p {
    font-size: 1.2rem;
    color: #222;
    margin-top: 10px;
}

/* Main sections */
main {
    flex: 1;
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
}

/* Section styling */
section {
    background: rgba(255,255,255,0.85);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

section:hover {
    transform: translateY(-3px);
}

section h2 {
    color: #d62828;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

/* SOS Button */
#sosBtn {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: none;
    background: red;
    color: white;
    font-size: 32px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 25px rgba(255,0,0,0.6);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Trusted Contacts */
.contact-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.contact-form input {
    padding: 10px;
    margin: 5px;
    width: 180px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-form button {
    padding: 10px 15px;
    margin: 5px;
    border-radius: 8px;
    border: none;
    background: #d62828;
    color: white;
    cursor: pointer;
    font-size: 1rem;
}

ul {
    list-style: none;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
}

li {
    background: #f8f9fa;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

li button {
    background: #d62828;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
}

/* Safe Walk */
.safe-walk input {
    padding: 10px;
    margin: 5px;
    width: 150px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.safe-walk button {
    padding: 10px 15px;
    margin: 5px;
    border-radius: 8px;
    border: none;
    background: #f77f00;
    color: white;
    cursor: pointer;
}

#timer {
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    color: #023e8a;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    color: #222;
}