   /* ===== BODY & WRAPPER ===== */
    body {
        margin: 0;
        font-family: 'Times New Roman', serif;
        background-color: #f8eed1;
        overflow-x: auto; /* horizontal scroll for small screens */
    }

    .wrapper {
        width: 1280px; /* fixed desktop width */
        margin: 0 auto;
        transform-origin: top left;
    }

    @media (max-width: 1280px) {
        .wrapper {
            transform: scale(calc(100vw / 1280));
        }
    }

    /* ===== HEADER WITH LOGO ===== */
    header {
        background-color: #181818;
        color: #f1c75b;
        padding: 25px 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header .logo-title {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    header .logo {
        height: 90px; /* adjust logo height */
        margin-left: 60px;
        width: auto;
    }

    header .title h1 {
        margin: 0;
        font-size: 40px;
    }
    
    header .title p {
        font-style: italic;
        font-size: 18px;
        color: #f5e3a6;
        margin: 2px 0 0;
    }

    /* ===== NAVIGATION BAR ===== */
nav {
    position: relative;
    background-color: #0a1326;
    text-align: center;
    padding: 12px 0;
    overflow: visible; /* line visible rahe */
}

/* Golden top border (exactly above nav) */
nav::before {
    content: "";
    position: absolute;
    top: 1px;              /* moves line slightly above nav bar */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: #f1c75b;
    border-radius: 2px;
}
    nav a {
        color: #fff;
        text-decoration: none;
        margin: 0 25px;
        font-weight: bold;
        font-size: 17px;
        transition: all 0.3s ease;
    }
    nav a:hover {
        color: #f1c75b;
        border-bottom: 2px solid #f1c75b;
        padding-bottom: 4px;
    }

    /* ===== CATEGORY BUTTONS — 4 PER ROW ===== */
    .category {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 90%;
  margin: 25px auto;
}

.category a {
  display: inline-block;
  text-align: center;
  background-color: #1a3c78;
  color: #f1c75b;
  font-weight: bold;
  font-size: 17px;
  padding: 15px 0;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.category a:nth-child(2) { background-color: #5a1e1e; }
.category a:nth-child(3) { background-color: #1a3c78; }
.category a:nth-child(4) { background-color: #143d2c; }
.category a:nth-child(5) { background-color: #5a2a83; }
.category a:nth-child(6) { background-color: #1a1a40; }
.category a:nth-child(7) { background-color: #3e2723; }
.category a:nth-child(8) { background-color: #800020; }
.category a:nth-child(9) { background-color: #0e3c7e; }

.category a:hover {
  background-color: #000;
  color: #f1c75b;
  transform: scale(1.05);
}

    /* ===== CONTENT BOXES ===== */
    .content {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 40px;
        align-items: stretch;
    }
    .box {
        background-color: #fdfcf7;
        border: 1px solid #c2a463;
        width: 340px;
        padding: 15px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .box h3 {
        background-color: #a5752b;
        color: white;
        padding: 10px;
        margin: -15px -15px 10px -15px;
        text-align: center;
        border-radius: 5px 5px 0 0;
        font-size: 20px;
    }
    .box ul {
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
    }
    .box li {
        margin: 12px 0;
        font-size: 17px;
        position: relative;
        padding-left: 20px;
        border-bottom: 1px solid #ddd;
    }
    .box li::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        color: #000;
        font-size: 22px;
        line-height: 20px;
    }
/* ===== LINKS COLORS ===== */
.box a {
    color: blue;        /* normal links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.box a:hover {
    color: #f1c75b;     /* hover color */
    text-decoration: underline;
}

.box a:visited {
    color: #F5AE90;     /* visited links */
}


    /* ===== VIEW MORE BUTTON ===== */
    .view-more {
        display: block;
        text-align: center;
        margin-top: 15px;
        background-color: #a5752b;
        color: #fff !important;
        padding: 8px;
        text-decoration: none !important;
        border-radius: 4px;
        transition: 0.3s;
    }
    .view-more:hover {
        background-color: #000;
        color: #f1c75b !important;
    }
    
        /* ===== FOOTER ===== */
    footer {
        background-color: #181818;
        color: #f1c75b;
        padding: 40px 0;
        border-top: 2px solid #f1c75b;
        font-family: 'Georgia', serif;
    }

    .footer-container {
        width: 90%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .footer-left, .footer-center, .footer-right {
        flex: 1 1 300px;
        margin: 10px;
    }

    .footer-left h3,
    .footer-right h3 {
        margin-bottom: 10px;
        font-size: 18px;
        color: #f1c75b;
    }

    .footer-left p {
        margin: 6px 0;
        color: #f5e3a6;
        font-size: 14px;
    }

    .footer-left a {
        color: #fff;
        text-decoration: none;
    }

    .footer-left a:hover {
        color: #f1c75b;
        text-decoration: underline;
    }

    .footer-center {
        text-align: center;
    }

    .footer-center h2 {
        margin: 0;
        font-size: 22px;
    }

    .footer-center p {
        color: #f5e3a6;
        font-style: italic;
        font-size: 14px;
        margin-top: 5px;
    }

    .footer-links {
        margin-top: 10px;
        white-space: nowrap;
    }

    .footer-links a {
        color: #fff;
        text-decoration: none;
        margin: 0 8px;
        font-weight: bold;
        font-size: 14px;
        
    }

    .footer-links a:hover {
        color: #f1c75b;
        text-decoration: underline;
    }

    .copy {
        margin-top: 12px;
        font-size: 13px;
        color: #c9b060;
    }

    /* ===== FOLLOW US (RIGHT SIDE) ===== */
    .footer-right {
        text-align: right;
    }

    .social-icons {
        display: inline-flex;
        gap: 10px;
        margin-top: 10px;
    }

    .social-icons img {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
        transition: 0.3s;
    }

    .social-icons img:hover {
        transform: scale(1.15);
        filter: brightness(1) sepia(1) hue-rotate(20deg) saturate(3);
    }

        /* Admin login styling (uses same theme colors) */
        .login-page {
            background: #f8eed1;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding-top: 60px; /* fixed top gap */
            margin: 0;
        }
        .login-box {
            background: #181818;
            border: 2px solid #f1c75b;
            color: #f8eed1;
            border-radius: 10px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 0 15px rgba(241,199,91,0.4);
        }
        .login-box img {
            width: 100px;
            margin-bottom: 10px;
        }
        .login-box h2 {
            color: #f1c75b;
            font-size: 22px;
            margin-bottom: 20px;
        }
        .login-box input[type="password"] {
            width: 100%;
            padding: 10px;
            border-radius: 6px;
            border: 1px solid #f1c75b;
            background: #0a0a0a;
            color: #f8eed1;
            margin-bottom: 15px;
        }
        .login-box button {
            width: 100%;
            background: #f1c75b;
            color: #000;
            font-weight: bold;
            border: none;
            border-radius: 6px;
            padding: 10px;
            cursor: pointer;
        }
        .login-box button:hover {
            background: #000;
            color: #f1c75b;
        }
        /* ==========================
/* ==========================
   🔹 RAILWAY ALL UPDATE PAGE
   ========================== */

.section-heading {
  text-align: center;
  font-family: 'Georgia', serif;
  font-size: 26px;
  font-weight: bold;
  color: #f1c75b;
  background-color: #181818;
  padding: 12px 0;
  margin: 25px auto 30px;
  width: 65%;
  border-top: 2px solid #f1c75b;
  border-bottom: 2px solid #f1c75b;
  letter-spacing: 1px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(241, 199, 91, 0.4);
}

/* 4 columns in single row */
.railway-content {
  display: flex;
  justify-content: center;
  align-items: stretch; /* ✅ all boxes equal height */
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 40px;
  overflow-x: auto;
  box-sizing: border-box;
}

.railway-content .box {
  flex: 0 0 24%;
  background-color: #fdfcf7;
  border: 1px solid #c2a463;
  border-radius: 6px;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; /* ✅ allows View More to stay at bottom */
  justify-content: space-between;
  transition: transform 0.3s ease;
}

/* ===== ADMIN LOGIN BUTTON (HEADER) ===== */
.admin-login-btn {
    margin-top: 20px;
    text-align: right;
}

.admin-login-btn a {
    background: #f1c75b; /* same as headings */
    color: #000;
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.admin-login-btn a:hover {
    background: #000;
    color: #f1c75b;
}
.scheme-container {
    width: 90%;
    margin: 40px auto;
}

.scheme-tools {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.scheme-tools select, .scheme-tools input {
    width: 48%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #c2a463;
    background: #fdfcf7;
    font-size: 17px;
}

.scheme-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

.scheme-card {
    border: 1px solid #c2a463;
    background: #fffaf0;
    padding: 18px;
    border-radius: 6px;
    text-align: center;
    font-family: 'Times New Roman';
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.scheme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 12px rgba(241,199,91,0.6);
    background: #fff4d0;
}

.scheme-card a {
    text-decoration: none;
    color: #1a3c78;
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
}

.scheme-card small {
    color: #6f4e13;
    font-size: 14px;
    font-style: italic;
}

/* ===== VACANCY + ADVERTISEMENT LAYOUT ===== */
.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    margin: 40px auto;
    gap: 20px;
}

/* LEFT COLUMN: Vacancy List */
.vacancy-section {
    width: 50%;
    background: #fffaf0;
    border: 1px solid #c2a463;
    border-radius: 8px;
    padding: 15px 20px;
}

.vacancy-section h3 {
    background: #a5752b;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 5px 5px 0 0;
    margin: -15px -20px 10px -20px;
}

.vacancy-section ul {
    list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
}

.vacancy-section li {
    position: relative;
    padding-left: 15px; /* ताकि bullet और text overlap न करें */
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}
.vacancy-section li::before {
    content: "•";
    position: absolute;
    left: -15px; /* थोड़ा बाएँ ताकि link के पास दिखे */
    color: #000;
    font-size: 18px;
    line-height: 18px;
}

.vacancy-section a {
    color: #0000cc;
    text-decoration: none;
}

.vacancy-section a:hover {
    color: #a5752b;
    text-decoration: underline;
}

/* RIGHT COLUMN: Advertisement */
.advert-section {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ad-box {
    background: #181818;
    border: 1px solid #f1c75b;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.ad-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
