/* =========================================
   🟡 Gatello Jobs — Global Theme Styles
   ========================================= */

/*  Theme Variables */
:root {
    --primary-color: #F8CE61; 
    --secondary-color:#FFE6A6;       
    --accent-color: #000000;         
    
    --light-color: #fff;
    --dark-color: #0F172A;
    --text-color: #0F172A;
    --font-family: "Poppins", sans-serif;

    --heading-size: 50px;
    --subheading-size: 25px;
    --body-size: 1rem;

    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
}

*{
    font-size:16px;
    /* box-sizing: border-box; */
}
/* Base Reset */
body {
    font-family: var(--font-family);
    font-size: var(--body-size);
    color: var(--text-color);
    background-color: var(--light-color);
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}

/* Text Colors */
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-dark { color: var(--dark-color) !important; }
.text-light { color: var(--light-color) !important; }

/* Background Colors */
.bg-primary { background-color:var(--primary-color)  !important; color: var(--accent-color); }
.bg-secondary { background-color: var(--secondary-color) !important; color: var(--accent-color); }
.bg-accent { background-color: var(--accent-color) !important; color: white; }
.bg-light { background-color: var(--light-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; color: white; }

/* Font Sizes */

.fs-heading { font-size: calc(0.7 * var(--heading-size)); font-weight: 500; }
.fs-subheading { font-size: calc(0.7 * var(--subheading-size)); font-weight: 400; }

@media (min-width:768px) {
    .fs-heading { font-size: calc(0.9 * var(--heading-size)); font-weight: 500; }
    .fs-subheading { font-size: calc(0.9 * var(--subheading-size)); font-weight: 400; }
}
@media (min-width:992px) {
    .fs-heading { font-size: var(--heading-size); font-weight: 500; }
    .fs-subheading { font-size: var(--subheading-size); font-weight: 400; }
}
.fs-body { font-size: var(--body-size); }

/* Spacing 
.m-xs { margin: var(--spacing-xs) !important; }
.m-sm { margin: var(--spacing-sm) !important; }
.m-md { margin: var(--spacing-md) !important; }
.m-lg { margin: var(--spacing-lg) !important; }

.p-xs { padding: var(--spacing-xs) !important; }
.p-sm { padding: var(--spacing-sm) !important; }
.p-md { padding: var(--spacing-md) !important; }
.p-lg { padding: var(--spacing-lg) !important; } */

/* Rounded Corners */
.rounded-sm { border-radius: 0.25rem !important; }
.rounded-md { border-radius: 0.5rem !important; }
.rounded-lg { border-radius: 1rem !important; }

/* Buttons */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--accent-color);
    font-weight: 600;
    border:none;
    padding:10px 20px;
    border-radius:5px;
}
.btn-secondary{
    border: 1px solid #ADADAD;
    background-color: none !important;
    color: var(--accent-color);
    font-weight: 600;
    border:none;
    padding:10px 20px;
    border-radius:5px;
}
.btn-primary:hover {
    background-color: #e4bb55;
    border-color: #e4bb55;
    color: var(--accent-color);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}
.btn-accent:hover {
    background-color: #333;
    border-color: #333;
}
.anchor-btn{
    padding:7px 20px;
    border-radius:5px;
    border:1px solid var(--dark-color);
}
.card{
    background : var(--light-color);
    border-radius: 20px;
    padding:30px 40px;
}
.ip_main{
    position: relative;
}
.ip_main input{
    width:100%;
    border:1px solid #ADADAD;
    padding:10px 10px 10px 35px;
    color:var(--accent-color);
    border-radius:10px;
}
.ip_main input::placeholder{
    color:#ADADAD;
    font-size:16px;
}
.ip_main .icon{
    position: absolute;
    left:8px;
    top:50%;
    transform: translateY(-50%);
    width:20px;
    height:auto;
}
.ip_main input[type=submit]{
    padding:10px;
    border:none;
    font-size: 20px;
}
section{
    margin-top:50px;
}
@media (min-width:992px) {
    
section{
    margin-top:90px;
}
}
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

.suggestions li {
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.suggestions li:hover {
    background: #f8f9fa;
}
.text-bold{
    font-weight: 600;
}
.fs-10{
    font-size: 10px;
}
.fs-12{
    font-size: 12px;
}
.fs-14{
    font-size: 14px;
}
.fs-16{
    font-size: 16px;
}
.fs-18{
    font-size: 18px;
}
.fs-20{
    font-size: 20px;
}
.fs-24{
    font-size: 24px;
}
.b-top{
    border-top:1px solid rgba(173,173,173,.85);
}

/* navbar */
.navbar{
    padding:15px 25px;
    background-color: var(--primary-color) !important;
}
.navbar-collapse{
    justify-content:space-between;
    padding-left:25px;
}

.navbar .navbar-brand{
    font-weight:800;
    font-size:25px;
}
.navbar .navbar-brand span{
    font-weight:400;
    color:#000000;
}
.navbar .nav-item{
    margin-left:15px;
}
.navbar .nav-item .nav-link{
    font-size:20px;
    color:var(--dark-color);
}
.nav-action{
    gap:30px;
}
.nav-action a{
    color:var(--dark-color);
    font-size:20px;
}
.hlink{
    color:var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--primary-color);

}



/* Home page */

.hero{
    display:flex;
    height:100vh;
    background-color: var(--primary-color);
    justify-content: center;
    align-items: center;
    flex-direction:column;
    padding:80px 0;
}
@media (min-width:992px) {
    .hero{
        height:60vh;
    }
}
@media (min-width:1400) {
}
.hero .card{
    width:100%;
}
.popular{
    color:var(--dark-color);
    font-size: 18px;
    align-self: flex-start;
}
.popular .tags{
    gap:15px;
}

.popular .tags span{
    padding:3px 10px;
    font-size: 12px;
    border-radius: 20px;
    background-color: var(--secondary-color);
}
@media (min-width:992px) {
    .popular .tags span{
        padding:5px 15px;
        font-size: 16px;
    }
}


/* top companies */
.container {
    position: relative;
    overflow: hidden;
}


.top-company::before,
.top-company::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px; 
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

@media (min-width:1000) {
    .top-company::before,
    .top-company::after {
        width: 300px; 
    }
}
.top-company::before {
    left: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.top-company::after {
    right: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}


/* featured jobs */
.featured_jobs{
    padding-left:20px;
    padding-right:20px;
    margin-bottom:240px;
}
@media (min-width:992px) {
    .featured_jobs{
        padding-left:40px;
        padding-right:40px;
    }    
}
@media (min-width:1200px) {
    .featured_jobs{
        padding-left:80px;
        padding-right:80px;
    }    
}
@media (min-width:1400px) {
    .featured_jobs{
        padding-left:120px;
        padding-right:120px;
    }    
}

.featured-card{
    box-shadow: 0 0 10px 0 var(--primary-color);
    border-color: var(--primary-color);
}
.featured-card .tag{
    display:flex;
    align-items: center;
    gap:8px;
    border-radius: 30px;
    background-color: rgba(173,173,173,.1);
    padding: 4px 15px;
    font-size:11px;
}
.featured-card .tag span{
    font-size:11px;
}
.featured-card .tag img{
    width:10px;
    height:auto;
}

@media (min-width:992px) {
    .featured-card .tag{
    gap:8px;
    font-size:14px;
    padding: 7px 20px;
    }
    
    .featured-card .tag span{
        font-size:14px;
    }
    .featured-card .tag img{
    width:15px;
    }

}
.bg-semi{
    position:relative;
}
.bg-semi::before{
    content:"";
    width:100%;
    height:300px;
    position: absolute;
    bottom:0;
    left:0;
    transform: translateY(50%);
    background-color: var(--secondary-color);

}


/* category section */

.find_category .card img{
    width:60%;
    height:auto;
}





/* employer login */


.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
}

.login-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 900px;
}

.login-left {
    background: url('../images/employer/hr_dubai.png') no-repeat center center;
    background-size: cover;
    min-height: 100%;
}

.login-right {
    background-color: #fff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h3 {
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.login-right p {
    color: #666;
    margin-bottom: 30px;
}

.auth-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 0;
    background: #fff;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: 0.2s ease;
}

.auth-btn:hover {
    background-color: #f9f9f9;
}

.auth-btn img {
    width: 20px;
    height: 20px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #ddd;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.divider span {
    background-color: #fff;
    padding: 0 10px;
    font-size: 0.9rem;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    font-size: 0.95rem;
}

.btn-primary {
    width: 100%;
    margin-top: 10px;
}

.forgot {
    text-align: right;
    font-size: 0.9rem;
    margin-top: 10px;
}

.forgot a {
    color: var(--accent-color);
    text-decoration: none;
}

.forgot a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-left {
        display: none;
    }
}



/* employer registration */

.register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
}

.register-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 900px;
}

.register-left {
    background: url('../images/employer/hr_team1.png') no-repeat center center;
    background-size: cover;
    min-height: 100%;
}

.register-right {
    background-color: #fff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.register-right h3 {
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.step {
    display: none;
}
.step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

.btn-primary, .btn-secondary {
    width: 48%;
}

.step-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step-nav .circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #eaeaea;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.step-nav .active {
    background: var(--primary-color);
    color: #000;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 12px;
    font-size: 0.95rem;
}

.btn-group-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .register-left {
        display: none;
    }
}

.invalid-field {
    /* border-color: red !important; */
}

.form-label{
    font-size:14px;
    margin-bottom:0.3rem;
}
.step .text-danger{
    font-size:12px;
}
.step div.mb-1 {
    position:relative;
    padding-bottom:15px;
}
.step .text-danger{
    position:absolute;
    left:-1px;
    bottom:0px;

}