﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8faff, #eaf0ff);
    color: #333;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.about-section {
    background: linear-gradient(135deg, #eef3ff, #ffffff);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-top: 3px solid #397DFA;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-container {
    max-width: 1000px;
    color: #333;
}

.about-container h2 {
    color: #1f3b73;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 600;
}

.about-container p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
    font-size: 1rem;
}

.p-text {
    text-align: justify;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(57, 125, 250, 0.15);
    border: 1px solid #dbe3ff;
    padding: 35px 25px;
    width: 280px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(57, 125, 250, 0.25);
    background: linear-gradient(135deg, #f0f5ff, #ffffff);
}

.value-card .material-icons {
    font-size: 50px;
    color: #397DFA;
    margin-bottom: 15px;
    background-color: rgba(57, 125, 250, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.value-card h3 {
    color: #1f3b73;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.value-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.how-section {
    padding: 70px 20px;
    background: #f5f8ff;
    text-align: center;
}

.how-section h2 {
    font-size: 2em;
    color: #1f3b73;
    font-weight: 700;
}

.how-intro {
    max-width: 760px;
    margin: 10px auto 40px;
    color: #556;
    line-height: 1.7;
}

.steps-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: left;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 26px;
    background: white;
    border-radius: 14px;
    border: 1px solid #e2e8ff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #397dfa;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: 700;
}

.step-content h3 {
    margin: 0;
    color: #1f3b73;
    font-size: 1.2em;
}

.step-content p {
    margin-top: 4px;
    color: #444;
    line-height: 1.6;
}

.safety-section {
    background: linear-gradient(135deg, #eef3ff, #ffffff);
    padding: 60px 20px;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 10px 25px rgba(57, 125, 250, 0.1);
}

.safety-section h2 {
    font-size: 2em;
    font-weight: 700;
    color: #1f3b73;
    margin-bottom: 35px;
    text-align: center;
}

.safety-section ol {
    list-style: none;
    counter-reset: tip-counter;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.safety-section ol>li {
    counter-increment: tip-counter;
    background: #ffffff;
    border-radius: 18px;
    padding: 25px 20px;
    flex: 1 1 250px;
    min-width: 250px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.safety-section ol>li:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(57, 125, 250, 0.25);
}

.safety-section ol>li::before {
    content: counter(tip-counter);
    position: absolute;
    top: -15px;
    left: -15px;
    background: #397DFA;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
}

.safety-section li strong {
    font-size: 1.1em;
    color: #1f3b73;
    display: block;
    margin-bottom: 8px;
}

.safety-section ul {
    margin-left: 15px;
    padding-left: 10px;
}

.safety-section ul li {
    font-weight: 400;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.hotlines-section {
    padding: 70px 20px;
    background: #f9faff;
    text-align: center;
}

.hotlines-container {
    max-width: 1000px;
    margin: 0 auto;
}

.hotlines-container h2 {
    font-size: 2em;
    color: #1f3b73;
    font-weight: 700;
    margin-bottom: 10px;
}

.hotlines-container p {
    color: #555;
    margin-bottom: 40px;
}

.hotline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.hotline-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef3ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hotline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(57, 125, 250, 0.15);
    border-color: #397DFA;
}

.hotline-card .material-icons {
    font-size: 40px;
    color: #397DFA;
    margin-bottom: 15px;
    background-color: rgba(57, 125, 250, 0.1);
    padding: 12px;
    border-radius: 50%;
}

.hotline-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.hotline-card .number {
    font-size: 1.5rem;
    color: #d32f2f;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.hotline-card .desc {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.contact-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 20px 80px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
    text-align: left;
}

.contact-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 450px;
    width: 100%;
}

.contact-form h2 {
    color: #1f3b73;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1px solid #397DFA;
}

.btnsend {
    width: 100%;
    padding: 12px;
    background-color: #397DFA;
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btnsend:hover {
    background-color: #2f6be0;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(57, 125, 250, 0.25);
}

.contact-info {
    max-width: 400px;
    text-align: center;
}

.contact-info img {
    width: 100%;
    max-width: 280px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.contact-info h2 {
    color: #1f3b73;
    margin-bottom: 15px;
}

.contact-info p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.person {
    text-align: left;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
}

.social-icons a {
    color: #1f3b73;
    font-size: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #397DFA;
    transform: translateY(-3px);
}

.social-icons .fab,
.social-icons .material-icons {
    font-size: 28px;
}

.footer {
    background-color: #397DFA;
    color: white;
    text-align: center;
    padding: 18px 0;
    width: 100%;
    font-size: 0.95em;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
    display: block;
    cursor: pointer;
}

.dropbtn:hover {
    color: #397DFA;
}

.dropdown:hover .dropdown-content1 {
    display: flex;
}

.dropdown-content1 {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    min-width: 180px;
    z-index: 2000;
    top: 100%;
    left: 0;
    margin-top: -2px;
}

.dropdown-content1 a {
    padding: 10px 14px;
    display: block;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content1 a:last-child {
    border-bottom: none;
}

.dropdown-content1 a:hover {
    background-color: #f0f5ff;
    color: #397DFA;
}

.dropdown-content1.show {
    display: flex;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    cursor: pointer;
    color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 100px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    right: 0;
    border-radius: 8px;
}

.dropdown-content a {
    color: #000;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    border-radius: 8px;
}

.user-dropdown.show .dropdown-content {
    display: block;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .about-values {
        flex-direction: column;
        align-items: center;
    }

    .value-card {
        width: 90%;
    }

    .step {
        flex-direction: column;
        text-align: left;
    }

    .step-number {
        margin-bottom: 8px;
    }

    .safety-section ol {
        flex-direction: column;
        align-items: center;
    }

    .safety-section ol>li {
        width: 90%;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .contact-info {
        max-width: 90%;
    }
}