/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #2c2c2c;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== NAVIGATION ===== */
nav {
    background-color: #1BDBDB;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-logo span {
    color: #003b4a;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #003b4a;
}

.nav-links a.active {
    border-bottom: 2px solid #fff;
    padding-bottom: 2px;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #1BDBDB 0%, #0fa8a8 100%);
    color: white;
    padding: 70px 40px;
    text-align: center;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.92;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-white {
    background-color: #fff;
    color: #1BDBDB;
    border: 2px solid #fff;
}

.btn-white:hover {
    background-color: transparent;
    color: #fff;
}

.btn-teal {
    background-color: #1BDBDB;
    color: #fff;
    border: 2px solid #1BDBDB;
}

.btn-teal:hover {
    background-color: #0fa8a8;
    border-color: #0fa8a8;
}

/* ===== QUICK LINKS ===== */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 50px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #1BDBDB;
}

.card p {
    font-size: 0.88rem;
    color: #666;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    padding: 40px 40px 10px;
    font-size: 1.6rem;
    color: #003b4a;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* ===== KNOWLEDGE BASE CARDS ===== */
.kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 40px 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.kb-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border-left: 4px solid #1BDBDB;
    transition: transform 0.2s;
}

.kb-card:hover {
    transform: translateY(-3px);
}

.kb-card h3 {
    font-size: 1rem;
    color: #003b4a;
    margin-bottom: 10px;
}

.kb-card p {
    font-size: 0.87rem;
    color: #666;
    margin-bottom: 15px;
}

.kb-tag {
    display: inline-block;
    background: #e0fafa;
    color: #0fa8a8;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* ===== FORM ===== */
.form-container {
    max-width: 680px;
    margin: 20px auto 60px;
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #003b4a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1BDBDB;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* ===== FAQ ACCORDION ===== */
.faq-container {
    max-width: 780px;
    margin: 20px auto 60px;
    padding: 0 40px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #003b4a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f0fefe;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.9rem;
    color: #555;
}

.faq-answer.open {
    max-height: 200px;
    padding: 15px 20px;
}

/* ===== ESCALATION BOX ===== */
.escalation-box {
    max-width: 780px;
    margin: 0 auto 60px;
    padding: 0 40px;
}

.escalation-card {
    background: linear-gradient(135deg, #1BDBDB, #0fa8a8);
    color: white;
    border-radius: 10px;
    padding: 30px;
}

.escalation-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.escalation-steps {
    list-style: none;
    counter-reset: steps;
}

.escalation-steps li {
    counter-increment: steps;
    padding: 8px 0 8px 40px;
    position: relative;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.escalation-steps li:last-child {
    border-bottom: none;
}

.escalation-steps li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 8px;
    background: rgba(255,255,255,0.3);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: #003b4a;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
}

footer span {
    color: #1BDBDB;
}
/* ===== KB CARD LINKS ===== */
.kb-grid a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===== ARTICLE PAGE ===== */
.article-container {
    max-width: 780px;
    margin: 40px auto 60px;
    padding: 0 40px;
}

.article-container h2 {
    color: #003b4a;
    font-size: 1.4rem;
    margin: 30px 0 12px;
}

.article-container p {
    color: #555;
    font-size: 0.93rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.article-container ul, 
.article-container ol {
    color: #555;
    font-size: 0.93rem;
    margin: 0 0 15px 20px;
    line-height: 1.8;
}

.article-container .tip-box {
    background: #e0fafa;
    border-left: 4px solid #1BDBDB;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #0a6e6e;
}

.article-container .warning-box {
    background: #fff4e0;
    border-left: 4px solid #f0a500;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #7a5200;
}

.back-link {
    display: inline-block;
    margin: 30px 40px 0;
    color: #1BDBDB;
    font-weight: 600;
    font-size: 0.92rem;
}

.back-link:hover {
    color: #0fa8a8;
}