/* =====================
   Reset & Base
   ===================== */
* {
    box-sizing: border-box;
}

body {
    background-color: #dbdbdb;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* =====================
   Typography
   ===================== */
h1 {
    font-size: 1.5em;
    color: #000;
    margin-left: 50px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

h2 {
    font-size: 1.5em;
    color: #000;
    margin: 10px 0 20px 0;
    font-family: Arial, Helvetica, sans-serif;
}

h3 {
    font-size: 1.1em;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 0;
}

p {
    font-size: 1em;
    color: #000;
    margin: 0 0 12px 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* =====================
   Navigation
   ===================== */
.topnav {
    background-color: #333;
    overflow: hidden;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav button.split,
.topnav a.split {
    display: block !important;
    float: right !important;
    background-color: #00bfff !important;
    color: white !important;
    height: 48px;
    width: 80px;
    font-size: 17px;
    line-height: 48px;
    text-align: center;
    padding: 0 !important;
    border: none;
}

.topnav a.split:hover,
.topnav button.split:hover {
    background-color: #00bfff !important;
    color: white !important;
    opacity: 0.8;
}

/* =====================
   Logo Icon
   ===================== */
.icon_png {
    position: absolute;
    z-index: -99999;
    top: 0;
    left: 0;
    width: 45px;
    height: auto;
}

.icon_png img {
    width: 100%;
}

/* =====================
   Buttons
   ===================== */
button {
    background-color: #00bfff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

.cta-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background-color: #00bfff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95em;
}

.cta-btn:hover {
    opacity: 0.8;
}

/* =====================
   About Page Layout
   ===================== */
.about-layout {
    display: flex;
    gap: 0;
    padding: 20px 50px;
    align-items: flex-start;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin: 0 0 12px 0;
}

.about-content p {
    margin: 0 0 12px 0;
}

/* =====================
   Side Navigation
   ===================== */
.side-nav {
    width: 180px;
    flex-shrink: 0;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-right: 24px;
    overflow: hidden;
}

.side-nav h3 {
    background-color: #333;
    color: #f2f2f2;
    margin: 0;
    padding: 12px 16px;
    font-size: 1em;
}

.side-nav a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95em;
    border-bottom: 1px solid #ddd;
    transition: background 0.2s;
}

.side-nav a:hover {
    background-color: #ddd;
}

.side-nav a.active {
    background-color: #00bfff;
    color: white;
    font-weight: bold;
}

/* =====================
   Info Cards
   ===================== */
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.info-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    border: 1px solid #ccc;
}

.info-card h3 {
    margin: 0 0 8px 0;
}

.info-card ul {
    padding-left: 18px;
    margin: 8px 0 0;
}

.info-card li {
    margin-bottom: 6px;
    font-size: 0.95em;
    font-family: Arial, Helvetica, sans-serif;
}

.info-card p {
    font-size: 0.95em;
}

/* =====================
   Team Cards
   ===================== */
.team-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.team-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    width: calc(33.333% - 14px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.team-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-card-body h3 {
    margin: 0 0 4px;
}

.team-role {
    color: #00bfff;
    font-weight: bold;
    font-size: 0.9em;
    margin: 0 0 10px;
}

.team-card-body p {
    flex: 1;
    margin: 0 0 14px;
    font-size: 0.95em;
}

/* =====================
   Modal
   ===================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto;
    border: 1px solid #888;
    width: 40%;
}

.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: red;
}

.animate {
    animation: animatezoom 0.6s;
    -webkit-animation: animatezoom 0.6s;
}

@keyframes animatezoom {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

@-webkit-keyframes animatezoom {
    from { -webkit-transform: scale(0); }
    to   { -webkit-transform: scale(1); }
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 20%;
    border-radius: 50%;
}

.container {
    padding: 0 16px;
}

.container input[type=text],
.container input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.container a {
    color: #00bfff;
    text-decoration: none;
}

.container::after,
.row::after {
    content: "";
    clear: both;
    display: table;
}

span.psw {
    float: right;
    padding-top: 16px;
}

.psw {
    color: #000;
    text-decoration: none;
    padding-right: 10px;
}

/* =====================
   Responsive
   ===================== */
@media screen and (max-width: 768px) {
    .about-layout {
        flex-direction: column;
        padding: 16px;
    }

    .side-nav {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .side-nav a {
        display: inline-block;
        width: auto;
        border-bottom: none;
        border-right: 1px solid #ddd;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .team-card {
        width: 100%;
    }
}

@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}

/* =====================
   FAQ
   ===================== */
.faq-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: #fff;
    color: #000;
    padding: 14px 16px;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f1f1f1;
    opacity: 1;
}

.faq-arrow {
    font-size: 0.85em;
    color: #00bfff;
}

.faq-answer {
    display: none;
    padding: 0 16px 14px;
    font-size: 0.95em;
    border-top: 1px solid #eee;
}

.faq-answer p {
    margin: 12px 0 0;
}

.faq-answer ul {
    padding-left: 18px;
    margin: 8px 0 0;
}

.faq-answer li {
    margin-bottom: 6px;
}

.faq-answer a {
    color: #00bfff;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}