/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}

:root {
--g2: linear-gradient(45deg, #8cb500, #0047aa);
}

/* HERO SECTION WITH BLACK TINT */
.hero {
    position: relative;
    height: 100vh;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), 
        url('assets/images/bhumilifehero.png');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

/* NAV */
nav {
    position: absolute;        /* 🔥 key fix */
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 20;
}

.nav-spacer {
    flex: 1;
}

.logo img {
    width: 300px;
    border-radius: 12px;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-links > li > a {
    position: relative;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    color: #000000;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: .4s ease;
    box-shadow: 0 0 10px #0047aa40;
}

/* RIPPLE */
.nav-links > li > a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--g2);
    opacity: .85;
    border-radius: inherit;
    transform: scale(0);
    transition: .5s ease;
    z-index: -1;
}

.nav-links > li > a:hover::after {
    transform: scale(1);
}

/* DROPDOWN */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 170%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    padding: .75rem;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .35s ease;

    display: grid;
    grid-template-columns: 1fr; /* default: single column */
    gap: .25rem;
    min-width: 160px;
}

/* 🔥 If dropdown has MORE THAN 3 items → 2 columns */
.dropdown:has(a:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    min-width: 340px;
}


/* ✅ ONLY JS CONTROLS VISIBILITY */
.nav-item.open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: .75rem 1.25rem;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: .3s ease;
}

.dropdown a:hover {
    background: var(--g2);
    transform: translateX(4px);
}



/* ================= HERO ================= */
.about-hero {
    position: relative;
    height: 100vh;
    display: flex;
    background: url("assets/images/bhumilifehero.png") center / cover no-repeat;
}

/* LEFT GLASS PANEL */
.about-panel {
    width: 42%;
    padding: 6rem 4rem;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    z-index: 5;
}

.about-logo {
    width: 260px;
    margin-bottom: 3rem;
    border-radius: 14px;
}

.about-panel h1 {
    margin-top: 3rem;
    font-size: 4.8rem;
    font-weight: 900;
    margin-bottom: .5rem;
    color: aliceblue;
}

.subtitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
    opacity: .7;
    color: aliceblue;
}

.about-panel h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: aliceblue;
}

.about-panel p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: .9;
    margin-bottom: 1.2rem;
    color: aliceblue;
}


/* SCROLL ICON */
.scroll-indicator {
    position: absolute;
    right: 4rem;
    bottom: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: .3s ease;
}

.scroll-indicator:hover {
    background: rgba(255,255,255,.15);
}


/* ========================================= */
/* CULTURE SECTION — FIXED LAYOUT & SPACING */
/* ========================================= */

.culture-section {
    max-width: 1200px;
    margin: 80px auto;          /* FIXED spacing from hero */
    padding: 40px 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* LEFT SIDE */
.culture-left {
    position: relative;
    width: 50%;
}

.img-top {
    width: 85%;
}

.img-top img,
.img-bottom img {
    width: 100%;
    border-radius: 8px;
}

.img-bottom {
    width: 85%;
    margin-top: -130px; 
    margin-left: 20px;
}

.img-bottom img {
    width: 100%;
    border-radius: 12px;
    border: 8px solid #ffffff;   /* 🔥 White border */
    box-shadow: 0 4px 18px rgba(0,0,0,0.18); /* optional softness */
}


/* QUOTE BOX — FIXED POSITION */
.quote-box {
    position: absolute;
    top: 120px;
    left: 400px;
    background: white;
    padding: 28px;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    color: #007a3d;
}

/* RIGHT SIDE */
.culture-right {
    width: 50%;
}

.culture-right h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0057c1;
}

.culture-right h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.culture-right p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.culture-right ul {
    margin-top: 0.5rem;
}

.culture-right li {
    margin-bottom: 10px;
}

/* ========================================= */
/* WORKLIFE SECTION — PERFECTED SPACING */
/* ========================================= */

.worklife-wrapper {
    max-width: 900px;
    margin: 40px auto 100px;
    padding: 30px 20px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #0057c1;
    margin-bottom: 32px;
}

.worklife-card {
    display: flex;
    padding: 26px 30px;
    border-radius: 14px;
    margin-bottom: 20px;
    align-items: center;
    gap: 20px;
}

.green { background: #c9e28d; }
.blue { background: #d2e7f6; }
.olive { background: #d7e3b3; }
.lightblue { background: #dfeffc; }

.worklife-card .left {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 260px;
}

.worklife-card h3 {
    font-size: 18px;
    font-weight: 700;
}

.worklife-card p {
    font-size: 15px;
    line-height: 1.5;
}

/* FOLLOW SECTION */
.follow h2 {
    margin-top: 40px;
    color: #0057c1;
    font-size: 24px;
}

.follow p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.social-list strong {
    display: block;
    margin-top: 4px;
}


/* ================= FOOTER ================= */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 50px 80px;
    background: linear-gradient(145deg, #0047a5, #003579);
    color: #fff;
    font-family: "Poppins", sans-serif;
    position: relative;
}

/* LEFT SIDE */
.footer-left h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-badges span {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #00d063;
    border-radius: 50%;
    margin-right: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    font-size: 15px;
    line-height: 1.9;
}

.footer-links li {
    cursor: pointer;
    transition: opacity 0.2s;
}

.footer-links li:hover {
    opacity: 0.7;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.85;
}

/* RIGHT SIDE */
.footer-right {
    width: 40%;
    text-align: right;
    margin-right: 60px;
}

.footer-desc {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 50px;
}

.footer-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: #fff;
    color: #003579;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 30px;
    transition: 0.3s;
}

.footer-btn:hover {
    transform: translateX(3px);
}

.arrow {
    margin-left: 6px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 20px 0;
}

.footer-logo img {
    width: 250px;
    margin-right: 15px;
    border-radius: 12px;
}

.footer-logo-text h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.footer-logo-text p {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.85;
}

.footer-legal {
    margin-top: 25px;
}

.footer-legal a {
    color: #fff;
    font-size: 13px;
    margin-left: 20px;
    text-decoration: none;
    opacity: 0.85;
}

.footer-legal a:hover {
    opacity: 1;
}

/* FLOATING ICONS */
.footer-floating-icons {
    position: absolute;
    right: 40px;
    top: 80px;
}

.circle-btn {
    width: 45px;
    height: 45px;
    background: #004fbb;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    margin-bottom: 15px;
}

.side-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #003f96;
    padding: 12px;
    border-radius: 30px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    background: #0051c5;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 18px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .indigenous-cards {
        grid-template-columns: 1fr;
    }

    .indigenous-header h1 {
        font-size: 4.5rem;
    }

    .indigenous-header h2 {
        font-size: 2.4rem;
    }

    .indigenous-header h3 {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    .impact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .values-timeline::before {
        left: 20px;
    }

    .value-row {
        grid-template-columns: 40px 1fr;
        gap: 2rem;
    }

    .icon,
    .marker {
        grid-column: 1;
    }

    .content {
        grid-column: 2;
        text-align: left !important;
    }
}