@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background: -webkit-linear-gradient(135deg, #f2f6fc 0%, #e1e7ef 100%);
    background: -moz-linear-gradient(135deg, #f2f6fc 0%, #e1e7ef 100%);
    background: linear-gradient(135deg, #f2f6fc 0%, #e1e7ef 100%);
    margin: 0;
    padding: 0;
    color: #22223b;
}

header {
    background: -webkit-linear-gradient(90deg, #6a82fb 0%, #fc5c7d 100%);
    background: -moz-linear-gradient(90deg, #6a82fb 0%, #fc5c7d 100%);
    background: linear-gradient(90deg, #6a82fb 0%, #fc5c7d 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem 2rem 1rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

header h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 0;
}

nav {
    background: #fff;
    box-shadow: 0 2px 8px rgba(106,130,251,0.04);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

nav li {
    margin: 0 1.5rem;
}

nav a {
    color: #6a82fb;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

nav a:hover {
    color: #fc5c7d;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(106,130,251,0.06);
    padding: 2rem;
}

section h2 {
    color: #6a82fb;
    margin-top: 0;
}

.image-text {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.image-text img {
    width: 180px;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(252,92,125,0.08);
}

.tips-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-around;
}

.tip-card {
    background: #f2f6fc;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(106,130,251,0.09);
    padding: 1.25rem;
    width: 265px;
    text-align: center;
    transition: transform 0.18s;
}

.tip-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 6px 24px rgba(252,92,125,0.13);
}

.tip-card img {
    width: 100%;
    border-radius: 13px;
    margin-bottom: 1rem;
}

.tip-card h3 {
    margin-top: 0.25rem;
    color: #fc5c7d;
}

.resource-list {
    list-style: none;
    padding: 0;
}

.resource-list li {
    margin-bottom: 0.6rem;
}

.resource-list a {
    color: #22223b;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}

.resource-list a:hover {
    color: #6a82fb;
}

footer {
    background: #6a82fb;
    color: white;
    text-align: center;
    padding: 2rem 1rem 3rem 1rem;
    border-radius: 32px 32px 0 0;
    margin-top: 3rem;
    box-shadow: 0 -2px 24px rgba(252,92,125,0.08);
    position: relative;
}

footer button {
    background: #fc5c7d;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(252,92,125,0.12);
    transition: background 0.2s;
}

footer button:hover {
    background: #6a82fb;
}

.random-tip {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-style: italic;
    color: #fffbe7;
    min-height: 2rem;
    transition: opacity 0.2s;
}

/* Responsive Styles */
@media (max-width: 950px) {
    .tips-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .image-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}