* global */

:root {
    --border: rgba(255, 255, 255, 0.2) 0.6px solid;
}

* {
    transition: 0.5s linear;
}

html::-webkit-scrollbar {
    width: 1.2vw;

}

html::-webkit-scrollbar-thumb {
    background-color: #F59744;
    border-radius: 100vw;
    border: 0.25em solid rgba(1, 22, 64);



}

html::-webkit-scrollbar-thumb:hover {
    background-color: #ff7700;
}

html::-webkit-scrollbar-track {
    background: rgba(1, 22, 64);
    margin: 14px 0 14px 0;
}

html {
    scroll-padding-top: 9rem;
}

body {

    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    background-color: #041941b7;
}

section {
    width: 100%;
    height: 100%;
}

li {
    list-style: none;
}

.z2 {
    z-index: 5000;
}

.z1 {
    z-index: 2;
    position: relative;
}

a {
    text-decoration: none;
    color: white;
}


/* main-section */
#showcase {
    width: 100%;
    height: 100vh;
    position: relative;
    background:no-repeat center/cover;
    background-attachment: fixed;
}
.showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(1, 22, 64, 0.95);
}


/* nav-bar and logo */
#nav-bar {
    align-items: center;
    font-style: bold;
    font-size: 14px;
}

.logo {
    margin: 2rem;
    padding-left: 5.5rem;
}


/* nav-bar */
.nav-navg {
    padding-left: 3rem;
    position: absolute;
    margin: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(0.7em);
    width: 680px;
    height: 70px;
    text-align: center;
    align-items: center;
    justify-content: start;

}

.nav-navg a {
    padding-right: 2rem;
    padding-bottom: 0;
}

.nav-navg a:hover {
    border-bottom: #F59744 1px solid;
    padding-top: 0;
    transition: all 300ms ease;
}


.nav-navg a>[aria-hidden="true"] {
    font-weight: 700;
    margin-inline-end: 0.75em;
}



/* showcase-text  */
.showcase-text {
    padding-top: 50px;
    align-items: center;
}

.showcase-text h1 {
    font-size: 12px;
}

.showcase-text p {
    padding-top: 30px;
    font-size: 20px;
}

.white-text {
    color: white;
    font-size: 70px;
    text-transform: uppercase;
}

.h1-line {
    border-bottom: #F59744 1px solid;
    padding-bottom: 6px;
    color: white;
    font-size: 70px;
    text-transform: uppercase;

}

.orang-text {
    text-transform: uppercase;
    font-size: 70px;
    color: #F59744;
}


/* sticky-navbar */
.s-navbar {
    overflow: hidden;
    background: rgba(1, 22, 64, 0.88);
    backdrop-filter: blur(0.7em);
    z-index: 9999;
}

/* Navbar links */
.s-navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px;
    text-decoration: none;
}


/* Page content */
.n-content {
    padding: 16px;
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
    position: sticky;
    top: 0;
    width: 100%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky .content {
    padding-top: 60px;
}

.sticky-text {
    display: flex;
    align-content: space-between;
    gap: 25px;
    justify-content: center;
    align-items: center;

}

.sticky-text a:active {
    color: #F59744;

}

.sticky-text a:hover {
    color: #F59744;

}


/* OUR SERVICES text */

.services {
    background: #E1E1E1;
    width: 100%;
    height: 100%;
}

.services-text {
    padding-top: 4rem;
}

.services-text h1 {
    border-top: #041941 8px solid;
    width: 50px;

}

.services-itm {
    padding: 9rem 0rem 4rem 0rem;
}

.services-itm a {
    color: black;
}

.services-itm img {
    padding-bottom: 2rem;
}

.services-itm p {
    border-top: #F59744 2px solid;
    width: 15px;
}

.services-itm div {
    position: relative;
    transition: all 0.5s ease-out;
}

.services-itm div :hover {
    transform: scale(110%);
}


/* ABOUT US */

.about {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
    background: url('../img/about\ us.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: #041941;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(245, 151, 68, 0.3);
    backdrop-filter: blur(0.8em);

}

.about-text {
    margin-bottom: 0;
    position: relative;
    top: 30%;
    padding-left: 10%;
}

.about-text h1 {
    border-top: #F59744 8px solid;
    width: 50px;
    display: inline-block;
    padding-bottom: 2.2rem;

}

.about-text p {
    float: right;
    font-size: 20px;
    width: 100%;
}


/* our-team-section */

.team {
    background-color: #041941;
    height: 100%;
    padding-top: 20px;
    padding-bottom: 45px;

}

.team-text {
    margin-bottom: 0;
    padding: 2.5%;
}


.team h1 {
    border-top: #F59744 8px solid;
    width: 40px;
    display: inline;
    padding-bottom: 2.2rem;
    color: #E1E1E1;
}

.team p {
    width: 50%;
    float: right;
    color: #E1E1E1;

}

.our-team {
    border-radius: 15px;
    text-align: center;
    padding: 20px 15px 30px;
    background: #fff;

}

.our-team .pic {
    background: #fff;
    padding: 10px;
    margin-bottom: 25px;
    display: inline-block;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease 0s;
}

.our-team:hover .pic {
    background: #F59744;
    border-radius: 50%;
}

.pic img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.our-team .title {
    font-weight: 600;
    color: #2e282a;
    text-transform: uppercase;
    display: block;
    font-size: 20px;
    margin: 0 0 7px 0;
}

.our-team .post {
    color: #F59744;
    text-transform: capitalize;
    display: block;
    font-size: 15px;
    margin-bottom: 15px;
}



/* contact section starts */
#contact {
    background-color: #041941;
    color: white;
    overflow: hidden;
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
}

.contact span {
    border-top: #F59744 8px solid;
    width: 40px;
    display: inline;
    padding-bottom: 1.8rem;
    color: white;
}

#contact .row {
    display: flex;
    background-color: #F59744;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;

}

#contact .row .map {
    flex: 1 1 45rem;
    width: 100%;
    height: 450px;
    padding: 0.8rem 3rem;
}

#contact .row .address h1 {
    padding: 0 2rem;
    text-align: center;
}

#contact .row .address h4 {
    color: #041941;
}

#contact .row .address {
    flex: 1 1 45rem;
}


/* contact section ends */

/* footer section starts */
.footer {
    background: #041941;
    text-align: center;
    margin: 0;
    padding-top: 3rem;
}

.footer .share {
    padding: 1rem 0;
}

.footer .share a {
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    border: var(--border);
    padding: 0.3rem;
    border-radius: 5%;
}

.footer .share a:hover {
    background-color: #F59744;
    color: #041941;

}

.footer .rights {
    color: white;
    text-transform: uppercase;
}

.footer .rights span {
    color: #F59744;
    border: none;
}

.footer .links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    gap: 1rem;
}

.footer .links a {
    padding: 0.7rem 2rem;
    border: var(--border);
    font-size: 1.4rem;
}

.footer .links a:hover {
    background-color: #F59744;
}

/* footer section ends */



@media(max-width:993px) {
    .padding {
        padding: 20px;
    }

}


@media(max-width:993px) {
    .services-itm {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        justify-content: center;
        align-items: center;
        justify-items: center;
    }



    #contact .row .address {
        padding: 0 4rem;
        text-align: center;
    }
}



@media (max-width:993px) {
    /* placeholder to keep media grouping */
}

/* mobile contact spacing adjustments */
@media (max-width: 767px) {
    #contact .row {
        gap: 0 !important;
    }
    #contact .row .map,
    #contact .row .address {
        padding: 0.5rem 1rem;
    }
    #contact .row .map {
        height: 250px;
    }
    #contact .row .address h1 {
        font-size: 1.5rem;
    }
    #contact .row .address h4,
    #contact .row .address p {
        font-size: 0.9rem;
    }
    /* reduce any additional whitespace between components */
}

@media (max-width:993px) {

    .nav-navg {
        overflow: hidden;
        position: fixed;
        z-index: 10000;
        width: 400px;
        height: 100vh;
        inset: 0 0 0 60%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: min(20vh, 8rem) 2rem;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(0.7em);
        font-size: 14px;
        transform: translateX(100%);
        transition: transform 500ms ease-out;

    }

    .s-navbar {
        display: none;
    }

    .nav-navg[data-visible="true"] {
        transform: translateX(0%);
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        position: fixed;
        background: url("../icon/X.png") no-repeat;
    }

    .mobile-nav-toggle {

        position: fixed;
        z-index: 9999;
        background: url("../icon/menu 1.png") no-repeat;
        width: 32px;
        border: none;
        aspect-ratio: 1;
        top: 2rem;
        right: 2rem;
    }

    .nav-navg li {
        padding: 2rem;
    }

}

@media (max-width:560px) {

    .nav-navg {
        overflow: hidden;
        position: fixed;
        z-index: 10000;
        width: 80%;
        height: 100%;
        inset: 0 0 0 30%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: min(10vh, 4rem) 2rem;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(0.7em);
        font-size: 14px;
        transform: translateX(100%);
        transition: transform 500ms ease-out;

    }

    .s-navbar {
        display: none;
    }

    .nav-navg[data-visible="true"] {
        transform: translateX(0%);
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        position: fixed;
        background: url("../icon/X.png") no-repeat;
    }

    .mobile-nav-toggle {

        position: fixed;
        z-index: 9999;
        background: url("../icon/menu 1.png") no-repeat;
        width: 32px;
        border: none;
        aspect-ratio: 1;
        top: 2rem;
        right: 2rem;
    }

    .nav-navg li {
        padding: 2rem;
    }

    .white-text {
        font-size: 35px;
    }

    .h1-line {
        padding-bottom: 6px;
        font-size: 35px;

    }

    .orang-text {
        font-size: 35px;
    }
}

/* ========================================
   NEW STYLES FOR RECRUITMENT WEBSITE
   ======================================== */

/* authentication pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #041941 0%, #0d2f92 100%);
}

.auth-card {
    padding: 2rem;
    border-radius: 1rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.auth-card .form-label {
    font-weight: 500;
}

.auth-card .btn-primary {
    background-color: #0d2f92;
    border-color: #0d2f92;
}

.auth-card .btn-primary:hover {
    background-color: #041941;
    border-color: #041941;
}

.auth-card .btn-outline-secondary {
    color: #0d2f92;
    border-color: #0d2f92;
}

.auth-card .btn-outline-secondary:hover {
    background-color: #0d2f92;
    color: #fff;
}

/* CSS Variables */
:root {
    --primary-color: #0d2f92;
    --secondary-color: #F59744;
    --success-color: #28a745;
    --dark-color: #041941;
    --light-color: #f8f9fa;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-section h1 {
    color: #041941;
    line-height: 1.2;
}

.hero-section .text-primary {
    color: var(--primary-color) !important;
}

.hero-section .text-orange {
    color: var(--secondary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a246a;
    border-color: #0a246a;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    background-color: #f8f9fa;
}

.stats-card {
    transition: transform 0.3s ease;
}

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

/* Category Card */
.category-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.category-card .card-body {
    border-radius: 15px;
}

.category-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4fb5 100%);
    border-radius: 50%;
}

.category-icon i {
    color: white;
    font-size: 28px;
}

/* Job Card */
.job-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.job-card .card-body {
    border-radius: 15px;
}

.company-logo {
    flex-shrink: 0;
}

/* Partner Logo */
.partner-logo {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partner-logo-placeholder {
    padding: 20px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: inline-block;
}

/* Success Stories Card */
.success-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.success-profile img {
    border: 3px solid var(--primary-color);
    padding: 3px;
}

/* For Companies Section */
.for-companies-section {
    background-color: white;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d4edda;
    border-radius: 50%;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4fb5 100%) !important;
}

/* Footer Enhancement */
.footer-section {
    background-color: #041941;
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: white;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom span {
    color: var(--secondary-color);
}

/* Navbar Enhancement */
.navbar-section {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color) !important;
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .stats-card {
        margin-bottom: 1rem;
    }

    .category-card {
        margin-bottom: 1rem;
    }
}


.review-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.rating {
    direction: rtl;
    display: inline-flex;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 40px;
    color: #ddd;
    cursor: pointer;
    transition: 0.3s;
}

/* Hover effect */
.rating label:hover,
.rating label:hover ~ label {
    color: gold;
}

/* Checked effect */
.rating input:checked ~ label {
    color: gold;
}

/* Button style */
.btn-submit {
    background: #111;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: gold;
    color: #000;
}

.reviews-section {
    background: #fafafa;
    padding: 30px;
    border-radius: 15px;
}

.average-rating {
    text-align: center;
}

.star {
    font-size: 22px;
    color: #ddd;
}

.star.filled {
    color: gold;
}

.review-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.review-header {
    font-size: 14px;
    color: #555;
}


 Carousel */

#quote-carousel {
    padding: 0 10px 30px 10px;
    margin-top: 30px;
    /* Control buttons  */
    /* Previous button  */
    /* Next button  */
    /* Changes the position of the indicators */
    /* Changes the color of the indicators */
}
#quote-carousel .carousel-control {
    background: none;
    color: #CACACA;
    font-size: 2.3em;
    text-shadow: none;
    margin-top: 30px;
}
#quote-carousel .carousel-control.left {
    left: -60px;
}
#quote-carousel .carousel-control.right {
    right: -60px;
}
#quote-carousel .carousel-indicators {
    right: 50%;
    top: auto;
    bottom: 0px;
    margin-right: -19px;
}
#quote-carousel .carousel-indicators li {
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    border: 4px solid #CCC;
    border-radius: 50px;
    opacity: 0.4;
    overflow: hidden;
    transition: all 0.4s;
}
#quote-carousel .carousel-indicators .active {
    background: #333333;
    width: 128px;
    height: 128px;
    border-radius: 100px;
    border-color: #f33;
    opacity: 1;
    overflow: hidden;
}
.carousel-inner {
    min-height: 300px;
}
.item blockquote {
    border-left: none;
    margin: 0;
}
.item blockquote p:before {
    content: "\f10d";
    font-family: 'Fontawesome';
    float: left;
    margin-right: 10px;
}
