﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */

:root {
    --navy: #051F34;
    --gold: #C9A14A;
    --gray: #D1D4D5;
}
/*html {
        scroll-behavior: smooth;
    }*/
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
/*input,
    select,
    textarea {
        max-width: 280px;
    }*/

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}



/* Show ONLY on Home page */
body.home .hero-full {
    display: block;
    height: 600px;
    width: 100%;
    background: url('../Images/logo-dark.png') no-repeat center center;
    background-size: cover;
}

@media (max-width:768px){

    body.home .hero-full{
        height:420px;
        background-size:115%;
        background-position:center top;
    }

}


/* HERO */
/* .hero {
        min-height: 60vh;
        padding: 60px 0;
        /* HERO */
/* background: url('../Images/logo-dark.png') no-repeat center; */
/* background-size: contain; */
/*display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    background: none;
    } */



.hero-logo {
    width: 250px;
    max-width: 80%;
}

/* GOLD LINE */
.gold-line {
    width: 200px;
    height: 3px;
    background: #C9A14A;
    margin: 20px auto;
}

/* TAGLINE */
.tagline {
    font-size: 1.4rem;
    color: #dcdcdc;
    letter-spacing: 1px;
}

.btn-brand {
    background: var(--gold);
    color: black;
    border-radius: 5px;
    padding: 10px 20px;
}

    .btn-brand:hover {
        background: #b8923f;
    }

.navbar-brand img {
    transition: 0.3s;
}

    .navbar-brand img:hover {
        transform: scale(1.08);
    }

.hero-content {
    text-align: center;
    padding-top: 20%;
}
/*.navbar {
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        height: 80px;
        background: rgba(5, 31, 52, 0.85) !important;
        backdrop-filter: blur(6px);
    }*/
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    height: 80px;
    background: #0b1f3a !important; /* solid color */
}

.nav-link {
    margin-left: 15px;
    transition: 0.3s;
}

    .nav-link:hover {
        color: #C9A14A !important;
    }

section {
    scroll-margin-top: 80px;
}

.content-wrapper {
    flex: 1;
}

.footer {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.section {
    padding: 100px 0; /* ✅ balanced spacing */
    position: relative;
    z-index: 2;
    background: #ffffff; /* VERY IMPORTANT */
}

#about {
    background: #f8f9fb;
}

#services {
    background: #ffffff;
}

.section + .section {
    margin-top: 40px;
}

#contact input,
#contact textarea {
    border-radius: 8px;
    padding: 12px;
}

#contact label {
    margin-bottom: 5px;
    color: #0B1F3A;
}

.contact-premium {
    background: linear-gradient(135deg, #f8f9fb, #eef2f7);
}

/* Glass Card */
.contact-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
}

    .contact-card:hover {
        transform: translateY(-5px);
    }

    /* Floating Inputs */
    .contact-card .form-control {
        border-radius: 10px;
        border: 1px solid #ddd;
        padding: 12px;
        transition: 0.3s;
    }

        .contact-card .form-control:focus {
            border-color: #C9A14A;
            box-shadow: 0 0 0 0.2rem rgba(201,161,74,0.2);
        }

/* Button */
.btn-brand {
    background: #C9A14A;
    color: #000;
    border-radius: 10px;
    transition: 0.3s;
}

    .btn-brand:hover {
        background: #b8923f;
        transform: scale(1.02);
    }

.form-floating > label {
    color: #6c757d;
}

.form-control:focus {
    border-color: #C9A14A;
    box-shadow: 0 0 0 0.2rem rgba(201,161,74,0.25);
}

    .form-control:focus + label {
        color: #C9A14A;
    }

/* FIX floating label overlap */
.form-floating > label {
    padding: 0.75rem 0.75rem;
    pointer-events: none;
    color: #6c757d;
}

form-floating {
    padding: 1.6rem 0.75rem 0.5rem 0.75rem !important;
}

/*.form-floating > .form-control {
        padding: 1.6rem 0.75rem 0.5rem 0.75rem !important;
    }  */

/* When typing */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-0.8rem) translateX(0.15rem);
    opacity: 1;
    color: #C9A14A;
}
/* FIX TEXTAREA FLOATING LABEL */
.form-floating textarea.form-control {
    height: 140px !important;
    padding-top: 2rem !important;
    padding-bottom: 0.5rem !important;
    resize: none;
}

    /* LABEL POSITION FIX FOR TEXTAREA */
    .form-floating textarea.form-control:focus ~ label,
    .form-floating textarea.form-control:not(:placeholder-shown) ~ label {
        transform: scale(0.85) translateY(-0.9rem) translateX(0.15rem);
        color: #C9A14A;
    }

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(201,161,74,0.25);
    border-color: #C9A14A;
}

.dark-section {
    color: white;
}

    .dark-section h1,
    .dark-section p {
        color: white !important;
    }

.navbar a,
.navbar-brand,
.navbar span {
    color: #ffffff !important; /* WHITE */
    opacity: 1 !important;
}

.navbar-custom {
    background-color: #0b1f3a; /* DARK NAVY */
    height: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* FORCE NAVBAR TEXT VISIBILITY */


    /*.navbar {
    background-color: #0b1f3a !important;
}*/

.navbar-custom .nav-link,
.navbar-custom .navbar-brand,
.navbar-custom span {
    color: #ffffff !important;
}

    .navbar-custom .nav-link:hover {
        color: #C9A14A !important;
    }

.navbar-nav {
    flex-wrap: nowrap !important;
}

.nav-link {
    white-space: nowrap;
}

html, body {
    overflow-x: hidden; /* 🔥 stops page shifting */
}

.navbar a,
.navbar .nav-link,
.navbar .navbar-nav .nav-link {
    color: #ffffff !important;
}
    /* 🔥 Hover effect (optional premium look) */
    .navbar a:hover,
    .navbar .nav-link:hover {
        color: #C9A14A !important; /* gold accent */
    }

header a {
    color: #ffffff !important;
}
/* Logo positioning */
/*.brand-wrapper {margin-left: -20px; /* 🔥 move left */ /*}*/

.logo-img {
    height: 40px;
    margin-right: 10px;
}

/* Brand text */
.brand-text {
    color: #C9A14A !important;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(201,161,74,0.35);
}

/* 🔥 Transparent glass navbar */
.navbar {
    background: rgba(5, 31, 52, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    /* On scroll (solid look) */
    .navbar.scrolled {
        background: rgba(5, 31, 52, 0.95) !important;
    }

.btn-outline-light {
    border-radius: 20px;
    padding: 6px 16px;
}

    .btn-outline-light:hover {
        background: #C9A14A;
        border-color: #C9A14A;
        color: #000;
    }
/* 🔥 Fix navbar logo size everywhere */
.navbar .logo-img {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
}

/* Prevent large image inheritance */
.navbar img {
    max-height: 40px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}
    /* Header logo control */
    .navbar-brand img,
    .site-logo img {
        height: 40px !important;
        width: auto !important;
        object-fit: contain;
    }

header img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
}

body.candidate-dashboard .hero-full,
body.candidate_dashboard .hero-full,
body.candidate\/dashboard .hero-full {
    display: none !important;
}

.navbar {
    height: 80px;
    background: rgba(5, 31, 52, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logo-img {
    height: 42px !important;
    width: auto !important;
    max-height: 42px !important;
    object-fit: contain;
}

.site-footer {
    background: #0b1f3a; /* SAME as navbar */
    color: #ffffff;
    border-top: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

    .site-footer a {
        color: #ffffff;
        margin-left: 20px;
        text-decoration: none;
        transition: 0.3s;
    }

        .site-footer a:hover {
            color: #C9A14A; /* gold hover like navbar */
        }

/* Mobile fix */
@media (max-width: 768px) {
    .site-footer {
        text-align: center;
    }

    .footer-right {
        margin-top: 10px;
    }

    .site-footer a {
        display: inline-block;
        margin: 5px 10px;
    }
}
html, body {
    height: 100%;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
}

/* =========================
   ABOUT SECTION
========================= */

.about-section {
    background: #0d1b2a;
    padding: 90px 8%;
    color: #fff;
    overflow: hidden;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

    .about-header h2 {
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #fff;
    }

.underline {
    width: 90px;
    height: 4px;
    background: #f4b400;
    margin: auto;
    border-radius: 10px;
}

/* About Content */

.about-content {
    max-width: 1200px;
    margin: auto;
}

    .about-content p {
        font-size: 17px;
        line-height: 1.9;
        text-align: justify;
        margin-bottom: 22px;
        color: #d9d9d9;
    }

/* Features */
/* ================================
   ABOUT FEATURE CARDS
================================ */

.about-features {
    width: 100%;
    margin-top: 60px;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Feature Card */

.feature-box {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-height: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

    .feature-box:hover {
        transform: translateY(-6px);
    }

/* Icon */

.icon-circle {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: #08244a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .icon-circle i {
        color: #f4b400;
        font-size: 28px;
    }

/* Text */

.feature-text h4 {
    font-size: 22px;
    font-weight: 700;
    color: #08244a;
    margin-bottom: 12px;
}

.feature-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Tablet */

@media (max-width: 992px) {

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */

@media (max-width: 768px) {

    .about-features {
        grid-template-columns: 1fr;
    }

    .feature-box {
        min-height: auto;
    }
}
.contact-email-box {
    margin-top: 20px;
    text-align: center;
}

.contact-email {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    display:inline;
}

    .contact-email:hover {
        text-decoration: underline;
    }

.contact-email-box p {
    margin-bottom: 8px;
    text-align: center;
}
.careers-content p {
    text-align: justify;
    line-height: 1.9;
    font-size: 16px;
    color: #333;
    margin-bottom: 18px;
}

/* MOBILE NAVBAR FIX */
@media (max-width: 768px) {

    .navbar-collapse {
        background: #071c3d;
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
    }

    .navbar-nav {
        align-items: flex-start !important;
        text-align: left !important;
        width: 100%;
    }

        .navbar-nav .nav-item {
            width: 100%;
            margin-bottom: 12px;
        }

        .navbar-nav .nav-link,
        .navbar-nav .btn {
            text-align: left !important;
            width: 100%;
        }

    .btn-outline-light {
        border-radius: 12px;
    }
}

.navbar-toggler {
    border:2px solid #A67C00 !important;
    border-radius:10px;
}

.navbar-toggler-icon{
    background-image:none !important;
    position:relative;
    width:24px;
    height:3px;
    background:#A67C00;
}

.navbar-toggler-icon:before,
.navbar-toggler-icon:after{
    content:"";
    position:absolute;
    left:0;
    width:24px;
    height:3px;
    background:#A67C00;
}

.navbar-toggler-icon:before{
    top:-8px;
}

.navbar-toggler-icon:after{
    top:8px;
}
