/* style.css - Main Content Only (No Navbar Code) */

:root {
    --primary-color: #0056b3;
    --secondary-color: #d32f2f;
    --bg-color: #f0f2f5;
    --white: #ffffff;
    --text-color: #333;
}

html { scroll-behavior: smooth; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.postmanage{
       /* आपके स्पेसिफिक सेक्शन या पूरी बॉडी के लिए */
    font-weight: 450;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 2;  /* पढ़ने में आसानी के लिए */
     color: #333;     /* प्रोफेशनल लुक के लिए */
}
body {
 

    background-color: var(--bg-color);
    padding-top: 70px; /* Header Space */
}

/* --- Categories (Grid) --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cat-box {
    background: var(--white);
    padding: 20px 10px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 3px solid var(--primary-color);
    transition: transform 0.2s;
}

.cat-box:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: white;
}

.cat-box i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.cat-box:hover i { color: white; }

/* --- Section Titles --- */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 20px 0;
    color: var(--secondary-color);
    background: white;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- Social Links --- */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px 20px 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    min-width: 200px;
    justify-content: center;
}

.wa-btn { background: #25D366; }
.tg-btn { background: #0088cc; }

/* --- Job Listings --- */
.job-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.job-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.job-header {
    background: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.job-links { list-style: none; padding: 10px; }
.job-links li { border-bottom: 1px dotted #ccc; padding: 10px 5px; }
.job-links li:last-child { border-bottom: none; }

.job-links a {
    text-decoration: none;
    color: #004a99;
    font-weight: 500;
    display: block; /* Flex hata kar block kiya taki text flow natural rahe */
    padding: 8px 4px;
    font-size: 11px;
    line-height: 1.4;
    text-align: left;
}

/* Text ko 2 lines tak limit karne ke liye */
.job-text {
    display: inline; /* Ise inline rakhein taki badge iske turant baad aaye */
    word-wrap: break-word;
}

/* Container jo 2 line ke baad content chhupaye */
.job-links li {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2 line limit */
    -webkit-box-orient: vertical;
    overflow: hidden;
    border-bottom: 1px dotted #ccc;
}

.blink-new {
    display: inline-block; /* Text khatam hote hi line ke end mein aane ke liye */
    color: red;
    font-weight: bold;
    font-size: 9px;
    animation: blinker 1s linear infinite;
    background: #ffe6e6;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
    white-space: nowrap;
}

.job-links a:hover { color: var(--secondary-color); }

/* Blinking Badge */
.blink-new {
    color: red;
    font-weight: bold;
    font-size: 0.85rem;
    margin-left: 5px;
    animation: blinker 1s linear infinite;
    background: #ffe6e6;
    padding: 2px 6px;
    border-radius: 4px;
}
@keyframes blinker { 50% { opacity: 0; } }

/* Read More */
.read-more-wrapper {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.read-more-btn-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.read-more-btn-link:hover { background-color: var(--secondary-color); }

/* --- FOOTER CSS --- */
.custom-footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 5px solid var(--primary-color);
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.footer-warning {
    font-size: 0.95rem;
    color: #ffcccc;
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-quote {
    font-size: 1.1rem;
    color: #ffd700;
    font-style: italic;
    margin-bottom: 30px;
    display: block;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-social-icons a {
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s, color 0.3s;
    text-decoration: none;
}

.footer-social-icons a:hover { transform: scale(1.2); }

/* Icon Colors */
.fa-facebook:hover { color: #1877F2; }
.fa-instagram:hover { color: #E1306C; }
.fa-youtube:hover { color: #FF0000; }
.fa-whatsapp:hover { color: #25D366; }
.fa-telegram:hover { color: #0088cc; }

.copyright-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

/* Floating WA */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.float-wa:hover { transform: scale(1.1); }

/* --- Only Phone View Adjustments --- */
/* --- Only Phone View: Minimized Gaps --- */
@media (max-width: 768px) {
    /* कंटेनर की साइड की खाली जगह को लगभग खत्म कर दिया (सिर्फ 4px रखा है) */
    .job-container {
        grid-template-columns: 1fr 1fr; 
        gap: 5px; /* बीच का बहुत बारीक गैप */
        padding: 4px; /* लेफ्ट और राइट का बहुत बारीक गैप */
        width: 100%;
        max-width: 100%;
    }

    .job-column {
        gap: 10px; /* ऊपर-नीचे के बॉक्सेस के बीच का गैप */
    }

    .job-header {
        font-size: 1rem; /* मोबाइल पर हेडर थोड़ा छोटा ताकि जगह बचे */
        padding: 8px 5px;
    }

    .job-links {
        padding: 0 !important;
        margin: 0 !important;
    }

    .job-links li {
        padding: 6px 3px; /* लिस्ट के बीच का गैप भी बारीक किया */
        display: block;
        border-bottom: 1px dotted #ccc;
    }

    .job-links a {
        font-size: 10.5px; /* टेक्स्ट थोड़ा सा और एडजस्ट किया ताकि फिट रहे */
        line-height: 1.2;
        display: inline;
        word-break: break-word;
    }

    .blink-new {
        font-size: 7px !important;
        padding: 1px 2px !important;
        margin-left: 1px;
    }
}

/* मोबाइल के लिए विशेष सुधार */
@media (max-width: 600px) {
    .company-hero-image {
        width: 100% !important;
        height: auto !important; /* ऊंचाई अपने आप सेट होगी ताकि फोटो न कटे */
        max-height: 250px; /* एक लिमिट सेट की है ताकि फोटो बहुत बड़ी न दिखे */
        object-fit: contain !important; /* पूरी फोटो बिना कटे फ्रेम में दिखेगी */
        background-color: #f4f4f4; /* खाली जगह पर हल्का रंग दिखेगा */
        padding: 5px;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
}

/* Job Card ka naya design jo har page par kaam karega */



.job-card {
    background-color: #fff;
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    overflow: hidden;
}

.job-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.job-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-details {
    flex-grow: 1;
}

.job-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.new-badge {
    color: red;
    font-weight: bold;
    font-size: 14px;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Mobile ke liye design adjust karein */
@media (max-width: 600px) {
    .job-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .job-image {
        width: 100%;
        height: 200px;
    }
}
/* Read More Button Styling (Jaise pehle tha) */
.read-more-btn {
    display: inline-block;
    background-color: #3498db; /* Blue color */
    color: white !important; /* Text color white */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px; /* Rounded corners */
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s;
    margin-top: 10px;
    border: none;
}

.read-more-btn:hover {
    background-color: #2980b9; /* Darker blue on hover */
    color: white !important;
    text-decoration: none;
}

/* Company Description Styling */
.company-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: justify;
}

.social-join-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    flex-wrap: wrap;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: white !important;
    font-weight: bold;
    font-size: 18px;
    min-width: 220px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.btn-whatsapp { background-color: #25D366; }
.btn-telegram { background-color: #0088cc; }
.social-icon { width: 24px; height: 24px; margin-right: 10px; fill: white; }

@media (max-width: 600px) {
    .social-join-container { flex-direction: column; align-items: center; }
    .social-btn { width: 90%; }
}


/* --- Job Post Specific Design --- */


.container {
    max-width: 650px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.company-hero-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    background-color: #ddd;
}
.header-section {
    padding: 25px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
}
.company-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 0;
}
.new-blink {
    color: #e74c3c;
    font-weight: bold;
    animation: blink-animation 1s steps(5, start) infinite;
}
@keyframes blink-animation { to { visibility: hidden; } }

.content-section {
    padding: 25px;
    border-bottom: 1px solid #eee;
}
h3.section-title {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 20px;
    border-left: 5px solid #3498db;
    padding-left: 12px;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px 20px;
}
.grid-label { font-weight: 700; color: #555; }
.highlight-box {
    background-color: #eef7fc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dceefc;
}
.contact-list a { text-decoration: none; color: #3498db; font-weight: 700; }
.hidden { display: none !important; } /* Isse khali data apne aap chhup jayega */







/* --- Dynamic Footer Buttons Style --- */
.social-buttons-container {
    padding: 30px 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 220px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-whatsapp { background-color: #25D366; }
.btn-telegram { background-color: #0088cc; }

/* Mobile optimization */
@media (max-width: 768px) {
    .social-buttons-container { flex-direction: column; align-items: center; }
    .social-btn { width: 100%; max-width: 300px; }
}

/* Desktop ke liye (Badi screen par font size bada rahega) */
@media (min-width: 769px) {
    .job-links a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px; /* Ise aap 18px bhi kar sakte hain agar aur bada chahiye */
        padding: 12px 10px; /* Desktop par space badhane ke liye */
        font-weight: 600;
    }

    .blink-new {
        font-size: 0.85rem; /* Desktop par normal/bada size */
        padding: 2px 6px;
    }

    /* Desktop par agar aap chahte hain ki boundary se thoda gap rahe */
    .job-links li {
        padding: 10px;
    }
}