/* Refined about.css using forum.css structure - Mobile friendly without media queries */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #d5d5d5;
}

.main-content {
    min-height: 100vh;
    background-image: url('../images/logo/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    position: relative;
}

.main-content::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.admin-tools {
    position: absolute;
    top: 7px;
    left: 15px;
}

.admin-button {
    background-color: #2c7c5e;
    color: white;
    border: none;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.admin-button:hover {
    background-color: #1e5a42;
    transform: scale(1.05);
}

.top-bar {
    display: flex;
    font-weight: bold;
    justify-content: flex-end;
    gap: 4px;
    padding: 10px 15px;
    background-color: #222;
    color: #fff;
    width: 100%;
}

.top-bar .top-link {
    color: #fff;
    text-decoration: none;
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    transition: color 0.3s ease-in-out;
}

.top-bar .top-link:hover {
    color: #4caf50;
}

.top-role {
    font-size: 0.85rem;
    color: #ffffff;
    text-align: right;
    width: 100%;
    padding-right: 15px;
}

.header {
    width: 100vw;
    max-width: 100%;
    background-color: #222;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: cover;
}

.logo {
    display: flex;
    justify-content: center;
    overflow: hidden;
    align-items: center;
    width: 100%;
}

.tagline {
    font-size: 1rem;
    text-align: center;
    padding: 5px 20px;
    color: #d5d5d5;
    font-style: italic;
    display: inline-block;
}

.navbar {
    width: 100%;
    background-color: black;
    padding: 0.5rem;
    margin: auto;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.nav-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    justify-content: center;
    padding: 0 10px;
    list-style: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    text-decoration: none;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: max-content;
    white-space: nowrap;
}

.nav-text {
    display: block !important;
    font-size: clamp(0.7rem, 2vw, 0.95rem);
    margin: 2px;
}

.nav-list .active a {
    color: #4CAF50;
    font-weight: bold;
}



.contact-link i {
    color: white;
    transition: color 0.3s ease;
}

.contact-link:hover i {
    color: #4caf50; /* green on hover */
}


.main {
    text-align: center;
    margin: 0px 10px;
}

.main h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.centered-card {
    margin: 0 auto;
    text-align: center;
}

.container h2 em {
    font-family: 'Georgia', 'Times New Roman', serif; /* or any custom font you like */
    font-size: 1.7rem;
    color: #e0e0e0; /* optional: softer color for emphasis */
    font-style: italic;
}


.container:hover {
    transform: scale(1.05);
}

.container h2 {
    font-size: 2rem;
    color: #cdcdcd;
    margin-bottom: 10px;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

.image-container {
    text-align: center;
    margin: 20px 0;
}

.image-container img {
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out;
}

.image-container img:hover {
    transform: scale(1.05);
}

.contact-container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    color: #ddd;
}

.contact-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* smaller cards */
    gap: 15px;
    padding: 10px 0;
    justify-content: center;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.04);
    padding: 14px;
    border-radius: 6px;
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.4;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.03);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}


.contact-card h3 {
    font-size: 1.1rem;
    margin: 0 0 6px 0;
}
.contact-card p {
    margin: 4px 0;
    font-size: 0.9rem;
}


.contact-card a {
    color: #4fa3ff;
    text-decoration: none;
}

.contact-card a:hover {
    display: inline;
    color: #133050;
    text-decoration: none;
}



.footer {
    text-align: center;
    padding: 10px;
    background-color: #222;
    color: #fff;
    font-size: 0.9rem;
}