/* ===================================
   BK GREEN ENERGY - CAREERS PAGE
   =================================== */

:root {
    --primary-green: #90cf4d;
    --secondary-green: #90cf4d;
    --white: #ffffff;
    --dark: #1a1a1a;
    --light-bg: #f8f9fa;
    --light-green-bg: #e8f5e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ==============================
   Light Transparent Navbar
================================ */

/* Base transparent navbar */
.custom-navbar {
    background-color: #fff6;
    border-radius: 50rem;
    justify-content: space-between;
    align-items: center;
    width: 97%;
    height: auto;
    min-height: 4.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
}

/* Nav link normal */
.custom-navbar .nav-link {
    color: #000000;
    font-weight: 700;        /* was 500 → now bold */
    margin-left: 18px;
    transition: 0.3s ease;
    letter-spacing: 0.5px;   /* optional: cleaner look */
}

.custom-navbar .nav-link:hover {
    color: #ffffff;
}

/* Contact button */
.btn-nav {
    /* border: 2px solid #0f7c3a; */
    padding: 6px 18px;
    border-radius: 30px;
    color: #0f7c3a;
    font-weight: 700;        /* make button text bold */
    transition: all 0.3s ease;
}

.btn-nav:hover {
    /* background: #0f7c3a; */
    color: #fff !important;
}

/* Mobile toggler icon style */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler::after {
    content: "☰";
    font-size: 24px;
    color: #0f7c3a;
}

/* Change navbar on scroll */
.navbar-scrolled {
    background: #90cf4d;
    padding: 12px 0;
    box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.15);
}

.navbar-scrolled .nav-link {
    color: #000000;
}

.navbar-scrolled .btn-nav {
    color: #000000;
}
/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/Carrers.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Flexbox wrapper: logo left, text right */
.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo block - left side */
.hero-logo-block {
    flex-shrink: 0;
}

.hero-big-logo {
    width: auto;
    height: 200px;
    padding: 15px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18), 0 0 18px rgba(144, 207, 77, 0.35);
    display: block;
}

/* Text content - right side */
.hero-content {
    flex: 1;
    text-align: left;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 15px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 3;
}

.scroll-indicator svg {
    width: 100%;
    height: 100%;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .hero-section {
        min-height: 75vh;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-big-logo {
        height: 160px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

/* ===================================
   WHY WORK WITH US SECTION
   =================================== */

.why-section {
    padding: 100px 20px;
    background: var(--white);
}

.why-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 60px;
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.why-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(15, 124, 58, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon svg {
    width: 45px;
    height: 45px;
}

.why-card h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.why-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* ===================================
   WORK CULTURE SECTION
   =================================== */

.culture-section {
    position: relative;
    padding: 100px 20px;
    background: #90cf4d;
    overflow: hidden;
}

.culture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.culture-text h2 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
}

.culture-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
}

.culture-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(15, 124, 58, 0.2));
}

.pulse-animate {
    animation: pulse 3s ease-in-out infinite;
}

.float-1 {
    animation: float 5s ease-in-out infinite;
}

.float-2 {
    animation: float 6s ease-in-out infinite 1s;
}

.bg-decoration {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 124, 58, 0.1), transparent);
    border-radius: 50%;
    z-index: 0;
}

/* ===================================
   WHO WE'RE LOOKING FOR SECTION
   =================================== */

.looking-section {
    padding: 100px 20px;
    background: var(--white);
}

.looking-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.role-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

/* Center last 2 cards in second row */
.role-card:nth-child(4) {
    grid-column: 1 / 2;
}

.role-card:nth-child(5) {
    grid-column: 2 / 3;
}

/* Tablet: 2 cards per row */
@media (max-width: 968px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .role-card:nth-child(4),
    .role-card:nth-child(5) {
        grid-column: auto;
    }
}

/* Mobile: 1 card per row */
@media (max-width: 640px) {
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.role-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 124, 58, 0.15);
}

.role-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.role-icon svg {
    width: 40px;
    height: 40px;
}

.role-card h3 {
    font-size: 1.2rem;
    color: var(--primary-green);
    font-weight: 600;
    line-height: 1.4;
}

.closing-text {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===================================
   APPLY NOW CTA SECTION
   =================================== */

.apply-section {
    position: relative;
    padding: 100px 20px;
    background: #90cf4d;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.apply-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.apply-content p {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.email-link {
    display: inline-block;
    font-size: 2rem;
    color: var(--white);
    text-decoration: none;
    padding: 20px 50px;
    border: 3px solid var(--white);
    border-radius: 50px;
    margin: 20px 0;
    transition: all 0.4s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.email-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.email-link:hover::before {
    width: 400px;
    height: 400px;
}

.email-link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.tagline {
    font-size: 1.5rem;
    margin-top: 30px;
    font-weight: 600;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
}

/* ===================================
   Footer SECTION
   =================================== */

footer {
    background: #000000;
    color: #e2e8f0;
    padding: 60px 40px 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
}

/* Top Row */
.footer-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid rgba(255,255,255,0.1);
    padding-bottom:20px;
}

/* Circular logo */
.footer-logo img{
    height:70px;
    width:70px;
    object-fit:contain;
    background:#fff;
    padding:8px;
    border-radius:50%;
}

/* Contact right side */
.footer-contact{
    display:flex;
    flex-direction:column;   /* stack vertically */
    align-items:flex-end;    /* keep aligned to right side */
    gap:6px;
    font-size:16px;
}


.footer-contact a{
    color:#cbd5e1;
    text-decoration:none;
    transition:0.3s;
    text-align:right;
}

.footer-contact a:hover{
    color:#90cf4d;
}



/* Columns */
.footer-columns{
    display:flex;
    justify-content:space-between;
    gap:40px;
    margin-top:40px;
}

/* Links stay left */
.footer-links{
    text-align:left;
}

/* Address pushed to right */
.footer-address{
    text-align:right;
    margin-left:auto;   /* pushes it to the right */
}


.footer-title {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.footer-link {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #90cf4d;
    padding-left: 5px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-col a:hover {
    color: #90cf4d;
}


/* ===== FIXED ADDRESS + VIDEO ALIGNMENT ===== */

.address-video-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.address-text {
    flex: 1;
}

.map-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.map-placeholder video {
    width: 150px;
    height: 150px;
    object-fit: contain;
}
/* Divider */
.footer-divider {
    height: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}



/* Footer Bottom Layout */
.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:20px;
    font-size:13px;
    color:#94a3b8;
}

/* Social icons container */
.footer-social{
    display:flex;
    gap:15px;
}

/* Icon style */
.footer-social a{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    color:#cbd5e1;
    font-size:16px;
    transition:0.3s;
}

/* Hover effect */
.footer-social a:hover{
    background:#0f7c3a;
    color:#fff;
    transform:translateY(-3px);
}
.footer-social img{
    width: 70px;
    height:40px;
    object-fit:cover;
}

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

.footer-social a:hover{
    background:#0f7c3a;
    transform:translateY(-3px);
}




/* ===================================
   ANIMATIONS
   =================================== */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.why-card:nth-child(2),
.role-card:nth-child(2) {
    transition-delay: 0.1s;
}

.why-card:nth-child(3),
.role-card:nth-child(3) {
    transition-delay: 0.2s;
}

.why-card:nth-child(4),
.role-card:nth-child(4) {
    transition-delay: 0.3s;
}

.why-card:nth-child(5),
.role-card:nth-child(5) {
    transition-delay: 0.4s;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* ===== TABLET ===== */
@media (max-width: 968px) {

    /* ---------- NAVBAR FIX ---------- */
    .custom-navbar{
        width:92%;
        margin:10px auto;
        border-radius:40px;
        padding:10px 16px;
    }

    .navbar > .container{
        padding-left:0;
        padding-right:0;
    }

    .navbar-collapse{
        width:100%;
        margin-top:12px;
    }


    .hero h1 { font-size: 2.5rem; }

    .hero p { font-size: 1.1rem; }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .services-heading h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto;
    }
}


/* ===== MOBILE ===== */
@media (max-width: 768px){
    /* Fix navbar overlap */
    body {
        padding-top: 80px;
    }

    /* Navbar alignment */
    .custom-navbar {
        padding: 10px 12px !important;
    }

    .custom-navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }

    .navbar-brand {
        font-size: 20px !important;
    }

    /* Hero section mobile */
    .hero-section {
        padding-top: 80px;
        min-height: auto;
    }

    .hero-content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
    }

    .hero-logo-img {
        max-width: 220px;
        height: auto;
    }

    /* Why cards grid */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .why-card {
        width: 100%;
    }

    /* Roles grid */
    .roles-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 16px;
    }

    .role-card {
        width: 100%;
        grid-column: auto !important;
    }

    /* Apply section email pill */
    .email-link {
        width: 100%;
        max-width: 100%;
        font-size: 1.2rem;
        padding: 16px 20px;
        word-break: break-word;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }

    .apply-content {
        padding: 0 16px;
    }

    .footer-top{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }

    .footer-contact{
        flex-direction:column;
        gap:8px;
        align-items:center;
    }

    .footer-columns{
        flex-direction:column;
        text-align:center;
    }

    .footer-address{
        text-align:center;
        margin-left:0;
    }
}


/* ===== SMALL MOBILE ===== */
@media (max-width: 640px) {

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

    .hero p { font-size: 1rem; }

    .hero-logo { max-width: 150px; }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn { width: 100%; }

    .about-text h2,
    .consultation h2,
    .location h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .location-details {
        flex-direction: column;
    }
}


.navbar-brand {
    font-weight: 900;
    color: #000 !important;
    font-size: 22px !important;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 18px !important;
    }
}


/* ===== BIG NAVBAR + BIG TEXT ===== */

/* Navbar container bigger vertical space */
.custom-navbar {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
    min-height: 100px !important;    /* sets bigger navbar height */
}

/* Brand text BIG */
.custom-navbar .navbar-brand-text,
.custom-navbar .navbar-brand,
.custom-navbar .navbar-brand-text a {
    font-size: 27px !important;       /* large brand text */
    font-weight: 800 !important;      /* bold text */
    color: #000000 !important;
}

/* Nav links bigger */
.custom-navbar .nav-link {
    font-size: 20px !important;      /* larger menu text */
    font-weight: 700 !important;
    padding: 12px 20px !important;   /* bigger clickable padding */
}

/* Nav link spacing */
.custom-navbar .nav-item + .nav-item {
    margin-left: 3px;               /* more gap between links */
}

/* Contact button bigger */
.btn-nav {
    font-size: 20px !important;
    padding: 12px 10px !important;
    font-weight: 900 !important;
}

/* Toggler icon bigger (mobile) */
.navbar-toggler::after {
    font-size: 20px !important;
}
.hero-title{
    font-weight: 800;   /* or 900 for extra bold */
}
.roles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.role-card {
    grid-column: span 2;
}

.role-card:nth-child(4) {
    grid-column: 2 / 4;
}

.role-card:nth-child(5) {
    grid-column: 4 / 6;
}



/* ✅ Careers HERO mobile alignment + navbar keela logo */
.hero-logo-img {
    width: 280px;
    max-width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
    background: #fff;
    padding: 10px 12px;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        padding-left: 16px;
        padding-right: 16px;
        gap: 20px;
    }

    .hero-logo-block {
        display: block;
        margin: 0 auto 14px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
        margin: 0 0 10px;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        margin: 0 auto 12px;
        max-width: 320px;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.6;
        margin: 0 auto 10px;
        max-width: 320px;
    }
}

/* Brand text styling */
.brand-text {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.brand-text:hover {
    color: #0f7c3a;
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 27px;
    }
}
