/*
ADDITIONAL STYLES
*/

:root {
    /* --primary: #ff5a1e; */
    --primary: #3F6EBE;
    --secondary: hsl(236, 100%, 25%);
    --white: #ffffff;
  }

/* -- REGISTER FORM SELECT -- */
.cfield select{
    min-width: 100%;
    min-height: 50px;
    border: 1px solid lightgray;
    padding: 10px;
    font-size: 12px;
    color:  gray;
}

/* Job Listing Page */
/* this one for homepage job search */
#listing{
    text-align: center;
    /* background-color: yellow; */
    padding: 5%;
    /* margin: 20px; */
}

#listing h1{
    text-transform: uppercase;
    text-align: center;
    padding: 30px;
    margin: 30px 0;
}

#listing form{
    text-align: center;
    padding: 20px;
    /* border: 1px solid var(--primary); */
    /* max-width: fit-content; */
    /* margin: auto; */

    border: 2px solid transparent;
    box-shadow: 0px 0px 10px 0px lightgray;
    /* background-color: yellow; */
}

#listing form input{
padding: 10px;
font-size: 20px;
margin: 2px;
background-color: white;
border: 1px solid grey;
}

#listing form button{
    padding: 10px;
    font-size: 20px;
    border: 1px solid var(--secondary);
    background-color: var(--white);
    color:var(--primary);

}

#listing form button:hover{
    box-shadow: 0px 0px 10px lightgray;

}

#listing .job-item{
    display: inline-block !important;
    margin: 10px;
}

.job-item:hover{
    box-shadow: 0px 0px 10px 0px lightgrey;
}

#details{
    padding: 20px;
    margin: 10px;
}

/* navbar */
/* #navbar2 ul li a,#logout { */
    /* color: #333 !important; //Change to your preferred color */
    /* text-decoration: none; */
    /* background-color: white; */
    /* padding: 5px; */
/* } */

/* #navbar2 ul li a:hover {
    color: #007bff !important; Change for hover effect */
/* } */

/* Default styles */
nav ul li a, .account-btns a {
    transition: color 0.3s ease;
}

/* Sticky navigation */
.sticky-nav nav ul li a, 
.sticky-nav .account-btns a {
    color: #000 !important; /* Black when sticky */
}

/* Homepage default */
.homepage-nav nav ul li a, 
.homepage-nav .account-btns a {
    color: #fff !important; /* White on homepage */
}

/* Hover effect */
nav ul li a:hover, .account-btns a:hover {
    color: black !important; /* Black on hover */
}

#navchild li a{
    color: black !important;
}

/* More Pages Dropdown - Always Black */
nav ul li.dropdown a {
    color: #000 !important; /* Ensures black color for dropdown items */
}

nav ul li.dropdown a:hover {
    color: black !important; /* Black on hover */
}

/* === update responsive navbar backgorund === */
.responsive-header{
    /* background-color: #2980b9; */
    background-color: white;
}

.responsive-opensec{
    background-color: rgba(255, 255, 255,0.8);
}


/* footer style */
.footer_bg{
    background: #3F6EBE;
}

/* -----User Profile Style------ */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Profile Container */
.profile-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 50px;
    max-width: 80%;
    margin: auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-header h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #2c3e50;
}

.profile-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin: 5px 0;
}

/* Section Styling */
h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
    border-bottom: 2px solid #2980b9;
    padding-bottom: 5px;
    margin-top: 20px;
}

p, li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

ul {
    padding-left: 20px;
}

/* Profile Items */
.skills ul, .languages ul, .certifications ul {
    list-style-type: none;
    padding-left: 0;
}

.skills li, .languages li, .certifications li {
    background-color: #ecf0f1;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}

.work-experience .experience-item, .projects .project-item {
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.experience-item h3, .project-item h3 {
    font-size: 1.5rem;
    color: #2980b9;
    margin-bottom: 10px;
}

.experience-item p, .project-item p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* Contact Information */
.contact-info p {
    font-size: 1.1rem;
    margin: 5px 0;
}

.contact-info a {
    color: #2980b9;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.project-item a {
    font-size: 1.1rem;
    color: #2980b9;
    text-decoration: none;
}

.project-item a:hover {
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 768px) {
    .profile-container {
        padding: 20px;
    }

    .profile-header h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}


/* Profile Dashboards */
.profile_dashboard .row div{
    margin-top: 10px;
    /* border: 1px solid red; */
}

.profile_dashboard{
    background-color: white;
    box-shadow: 0px 0px 3px 0px lightgray;
    padding: 30px 0px;
    margin-bottom: 15px !important;
}

.profile_dashboard:hover{
    box-shadow: 0px 0px 10px 0px lightgray;
}

/* User Profile Show Login Time */
#displaylastlogin{
    font-size: 10px;
}

/* Listing */

.blur{
    filter: blur(8px);
}


/* ======= Govt Jobs Page Styles ======== */
#govtjob table {
    width: 100%;
    border-collapse: collapse;
}

#govtjob th, #govtjob td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#govtjob th {
    background-color: #f4f4f4;
    font-weight: 700;
}

#govtjob tr:nth-child(even) {
    background-color: #f9f9f9;
}

#govtjob a {
    text-decoration: none;
    color: blue;
}

#govtjob .pagination {
    margin-top: 10px;
    text-align: center;
}

#govtjob .pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: black;
    background-color: #f4f4f4;
}

#govtjob .pagination a.active {
    font-weight: bold;
    background-color: #ddd;
}

#govtjob .description {
    max-height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#govtjob .read-more {
    color: blue;
    cursor: pointer;
}


/* ============ Homepage styles ============ */
.color::before{
    background: #3F6EBE !important;
}

/* ==========Listing Page =============== */
#listing-category{
    min-width: 100%;
    padding: 10px;
    min-height: 52px;
}

/* ==============Company profile =============== */
#job_category{
    min-width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

/* ============== Brands.php styles =============== */

.company-img{
    max-width: 500px;
    min-height: 300px;
    max-height: 400px;
    /* background-color: yellow; */
    /* border: 1px solid; */
    margin: 10px;
    padding: 5px;
}

/* Slider for Brands styles at homepage */
.slider {
    overflow: hidden;
    height: 310px;
    background: #fff;
    margin: 50px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
  }
  
  .slide-track {
    display: flex;
    width: calc(250px * 10); /* 5 logos × 2 (repeated) */
    animation: scroll 20s linear infinite;
  }
  
  .slide {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
  }
  
  .slide img {
    width: 250px;
    height: auto;
    object-fit: contain;
  }
  
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

/* Employer Login style - elogin */
#employer-login-6{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: xx-large;
    min-height: 100%;
    text-align: center;

    /* background: radial-gradient(circle, #eaeaea 10%, transparent 11%),radial-gradient(circle at bottom left, #eaeaea 5%, transparent 6%),radial-gradient(circle at bottom right, #eaeaea 5%, transparent 6%),radial-gradient(circle at top left, #eaeaea 5%, transparent 6%),radial-gradient(circle at top right, #eaeaea 5%, transparent 6%);
        background-size: 2em 2em;
        background-color: #ffffff;
        opacity: 1 */
    background-image: url('../images/resource/gtj_elogin_bg.jpg');
    background-position: center;
    background-size: cover;
}

#employer-login-6 h1{
    background-color: white;
    padding: 10px;
    opacity: 0.7;
}

/* Login form loginformcreateaccount */
.loginformcreateaccount{
    margin-top: 10px !important;
    text-decoration: underline;
    color: blue;
}

.loginformcreateaccount:hover{
    color: red;
}

/* form style update */

.modforms input[type=date],input[type=url],input[type=number],textarea,select{
    min-width: 100%;
    margin: 10px 0px !important;
}


/* allJob_category.php Page style */

.search-bar {
    margin: 40px auto 20px;
    max-width: 500px;
}
.p-category {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.p-category:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: #fff;
}
.p-category i {
    font-size: 28px;
    color: #007bff;
    display: block;
    margin-bottom: 10px;
}
.p-category span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.browse-all-cat {
    text-align: center;
    margin-top: 30px;
}


/* skilldev page styles */
#skilldevcontainer{
    margin-top: 100px !important;
}



/* -------------- */
.form-label::before{
    display: none;
}

label::before{
    display: none;
}