/* ===============================
   Global Styles
================================= */

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #ffffff;
    color: #222;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 15px;
}

h2 {
    color: #009966; /* Green accent */
}

/* ===============================
   Header
================================= */

header {
    padding: 40px 20px;
    background: linear-gradient(to right, #3444D5, #00b3b3);
    color: white;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.header-text {
    text-align: left;
}

.hero-image {
    width: 120px;
    border-radius: 8px;
}

/* ===============================
   Navigation
================================= */

nav {
    background: white;
    padding: 15px;
    border-bottom: 2px solid #e5e5e5;
}

/* Navbar links */
nav a {
    color: #009966;      /* green text */
    text-decoration: none;
    margin: 0 20px;
    font-weight: 600;
    position: relative;  /* needed for ::after */
    transition: color 0.3s;
}

/* Hover changes text color */
nav a:hover {
    color: #0077cc;      /* turns blue on hover */
}

/* Underline using ::after */
nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;       /* distance below text */
    width: 0%;
    height: 2px;        /* thickness of the line */
    background-color: #0077cc;  /* blue line */
    transition: width 0.3s;
}

/* Animate underline on hover */
nav a:hover::after {
    width: 100%;
}

/* ===============================
   Slideshow (Top Scrolling Wheel)
================================= */

.slideshow {
    position: relative;
    max-width: 1100px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slide.active {
    display: block;
}

/* ===============================
   Sections
================================= */

section {
    padding: 60px 20px;
}

.section-light {
    background: #f9f9f9;
}

/* ===============================
   Split Layout (Join + Status)
================================= */

.split-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

.split {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Individual Panelsf */

.split-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Join Button inside split */
.split-card .button {
    align-self: flex-start;
    margin-top: 20px;
}
#joinnow{
    color:#3444D5;
}
/* ===============================
   Server Status Box
================================= */

.stat-box {
    margin-top: 15px;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
}

/* ONLINE */
.stat-box.online {
    background: #e6f7f2;
    color: #009966;
    border-left: 6px solid #009966;
}

/* OFFLINE */
.stat-box.offline {
    background: #fceaea;
    color: #cc0000;
    border-left: 6px solid #cc0000;
}


/* ===============================
   Cards
================================= */

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Hover Effect: Brighter border + glow */
/* ===============================
   Cards with Visible Hover Glow
================================= */

.card,
.split-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #3444D5; /* Default blue border */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover,
.split-card:hover {
    transform: translateY(-5px);
    border-color: #5A6EFF; /* Brighter blue border */

    /* Stronger blue glow shadow */
    box-shadow: 
        0 8px 25px rgba(52, 68, 213, 0.4),   /* main glow */
        0 0 15px rgba(52, 68, 213, 0.6),     /* softer outer glow */
        0 0 30px rgba(52, 68, 213, 0.3);     /* extra subtle spread */
}

/* ===============================
   Buttons
================================= */

.button {
    display: inline-block;
    padding: 14px 28px;
    background: #009966;
    color: white;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.button:hover {
    background: #0077cc;
}

/* ===============================
   History Page
================================= */
.history-list{
    text-align:left;    
}
.history-p{
    text-align:left;
}


/* ===============================
   History Table
================================= */

#history-table {
    padding: 60px 20px;
    background: #f4f4f4;
}

#history-table table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#history-table caption {
    font-size: 22px;
    font-weight: 600;
    padding: 20px;
    color: #009966;
}

#history-table tbody tr:first-child {
    background: #009966;
    color: white;
    font-weight: bold;
}

#history-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

#history-table tbody tr:not(:first-child):hover {
    background: #f2f9f7;
}

#history-table tbody tr:last-child td {
    border-bottom: none;
}


/* ===============================
   Footer
================================= */

footer {
    background: #4a58d4;
    color: white;
    padding: 20px;
    
     display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* spacing between items */
    flex-wrap: nowrap; /* keeps everything on one line */
}

footer p {
    margin: 0;
}
footer a {
    color: #ffffff;
    text-decoration: underline;
}

.copyright {
    margin-top: 10px;
    font-size: 14px;
}
.footer-logo{
    width:50px;
}

/* ===============================
   Responsive
================================= */

@media (max-width: 768px) {

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-text {
        text-align: center;
    }

    .slide img {
        height: 250px;
    }
}


/* Footer */
#footer {
    display: flex;
    justify-content: space-between; /* left, center, right */
    align-items: flex-start;
    background-color: #3444D5;
    padding: 20px 40px;  /* add some side padding */
    color: whitesmoke;
    flex-wrap: wrap;      /* mobile-friendly */
    padding-bottom:0px;
}

/* Columns */
#footer > div {
    display: flex;
    flex-direction: column;
    min-width: 200px;    /* ensures they don’t shrink too much */
}

/* Logo */
.logofooter {
    width: 140px;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Headings */
#footer h6 {
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0;
    font-size: 16px;
}

/* Lists */
#footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer li {
    margin-bottom: 10px;
}

/* Links */
.linkfooter {
    color: whitesmoke;
    text-decoration: none;
}

.linkfooter:hover {
    text-decoration: underline;
}

/* Social Icons */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
}

/* Left column */
.footerleft {
    display: flex;
    flex-direction: column;
    align-items: center; /* centers everything horizontally in this column */
    text-align: center;  /* makes text below logo centered */
    min-width: 200px;
}

/* Optional: Keep list items left-aligned but logo centered */
.footerleft ul {
    text-align: center; /* keeps contact info aligned left */
    margin-top: 10px;
}

/* ===============================
   Admin Page
================================= */

#adminteam {
    display: flex;
    flex-direction: column;
    gap: 30px;            /* space between each admin block */
    padding: 40px 0px;
    text-align: left;     /* overrides your global center text */
}

/* Each admin block */
.admin-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Title badge */
.lefttitle {
    background-color: black;
    color: white;

    display: inline-block;          /* only as wide as text */
    padding: 10px 25px;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;

    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

/* Name text under title */
.leftp {
    margin: 8px 0 0 0;
    font-size: 16px;
    padding-left: 15px;
}

/* Admin title block */
.admintitle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 25px;
}

/* Name + Image row */
.admin-person {
    display: flex;
    align-items: center;
    gap: 15px; /* space between name and image */
    margin-top: 8px;
}

.many-admin-people{
    flex-direction: column;
    align-items: flex-start;
    gap: 5px; /* less space when stacked vertically */
}

/* Image styling */
.admin-img {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* makes it circular */
    object-fit: cover;
    border: 2px solid #3444D5; /* matches your brand blue */
}