/* homepage.css - Styles specifically for the RIL inspired homepage */

/* Shared Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-1 {
    margin-bottom: 10px;
}

.mt-4 {
    margin-top: 40px;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 13px;
}

.btn-outline-white {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline-white:hover {
    background: #fff;
    color: #333;
}

.btn-outline-dark {
    border: 1px solid #333;
    color: #333;
    background: transparent;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline-dark:hover {
    background: #333;
    color: #fff;
}

.btn-outline-green {
    border: 1px solid #1a8b3e;
    color: #1a8b3e;
    background: transparent;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline-green:hover {
    background: #1a8b3e;
    color: #fff;
}

.btn-solid-green {
    border: 1px solid #1a8b3e;
    color: #fff;
    background: #1a8b3e;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-solid-green:hover {
    background: #147230;
}

/* Image Text Mask Effect */
.text-mask {
    background: url('../public/image/career.jpg') center/cover;
    background-size: 250%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    animation: panMaskBackground 20s ease-in-out infinite alternate;
}

@keyframes panMaskBackground {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.text-mask-large {
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1000&q=80') center/cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* fallback */
    font-weight: 900;
    font-size: 100px;
    line-height: 1;
}

/* Hero Section Updates */
.hero.hero-ril {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: none;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.15);
    animation: modernSlide 35s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

@media (max-width: 768px) {
    .hero-slider .slide {
        background-position: center top; /* Keeps the important top/center of the image visible */
    }
    .hero-ril {
        height: 85vh; /* slightly reduce height on mobile to fit content better */
    }
}

.hero-slider .slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slider .slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slider .slide:nth-child(3) {
    animation-delay: 10s;
}

.hero-slider .slide:nth-child(4) {
    animation-delay: 15s;
}

.hero-slider .slide:nth-child(5) {
    animation-delay: 20s;
}

.hero-slider .slide:nth-child(6) {
    animation-delay: 25s;
}

.hero-slider .slide:nth-child(7) {
    animation-delay: 30s;
}

@keyframes modernSlide {
    0% {
        opacity: 0;
        transform: scale(1.2) translate(1.5%, 1.5%);
    }

    3% {
        opacity: 1;
        transform: scale(1.15) translate(0%, 0%);
    }

    15% {
        opacity: 1;
        transform: scale(1.08) translate(-1%, -1%);
    }

    18% {
        opacity: 0;
        transform: scale(1.05) translate(-1.5%, -1.5%);
    }

    100% {
        opacity: 0;
        transform: scale(1.05) translate(-1.5%, -1.5%);
    }
}

.hero-ril::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-ril .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

@keyframes revealText {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        letter-spacing: -3px;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: -1px;
    }
}

.hero-main-title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.3;
}

.hero-titles-wrapper {
    position: relative;
    min-height: 300px;
    width: 300%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-title {
    position: absolute;
    width: 100%;
    left: -32%;
    top: 50%;
    text-align: center;
    margin: 0;
    opacity: 0;
    animation: modernTitleSlide 35s infinite;
    backface-visibility: hidden;
    transform: translateY(-50%);
}

.slide-title:nth-child(1) {
    animation-delay: 0s;
}

.slide-title:nth-child(2) {
    animation-delay: 5s;
}

.slide-title:nth-child(3) {
    animation-delay: 10s;
}

.slide-title:nth-child(4) {
    animation-delay: 15s;
}

.slide-title:nth-child(5) {
    animation-delay: 20s;
}

.slide-title:nth-child(6) {
    animation-delay: 25s;
}

.slide-title:nth-child(7) {
    animation-delay: 30s;
}

@keyframes modernTitleSlide {
    0% {
        opacity: 0;
        transform: translateY(-50%);
        filter: blur(10px);
    }

    4% {
        opacity: 1;
        transform: translateY(-50%);
        filter: blur(0px);
    }

    14% {
        opacity: 1;
        transform: translateY(-50%);
        filter: blur(0px);
    }

    18% {
        opacity: 0;
        transform: translateY(-50%);
        filter: blur(10px);
    }

    100% {
        opacity: 0;
        transform: translateY(-50%);
        filter: blur(10px);
    }
}

.center-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* WE CARE Section */
.we-care-section {
    background-color: #fcf9f2;
    padding: 10px 5%;
    text-align: center;
    overflow: hidden;
}

.we-care-title {
    font-size: 100px;
    margin-bottom: 20px;
    letter-spacing: 12px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    display: inline-block;
    transition: transform 0.5s ease;
}

.we-care-title:hover {
    transform: scale(1.05);
}

.we-care-text {
    font-size: 28px;
    color: #222;
    font-weight: 300;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .we-care-title {
        font-size: 80px;
        letter-spacing: 5px;
    }

    .we-care-text {
        font-size: 20px;
    }
}

/* Business Verticals Redesign */
.business-verticals {
    position: relative;
    padding: 20px 5%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.business-verticals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 20, 25, 0.95) 0%, rgba(15, 20, 25, 0.85) 45%, rgba(15, 20, 25, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.business-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.business-left {
    flex: 0 0 50%;
}

.section-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    color: #fff;
}

.diamond-icon {
    color: #d4a017;
    font-size: 30px;
}

.verticals-content {
    display: grid;
}

.vertical-text {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.vertical-text.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: fadeInSlideUp 0.6s ease forwards;
}

/* Vertical Logo Styling */
.vertical-logo {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
}

.vertical-logo img {
    height: 60px;
    width: 180px;
    object-fit: contain;
    object-position: left center;
    transition: all 0.3s ease;
}

.vertical-text.active .vertical-logo {
    animation: logoFadeIn 0.7s ease 0.15s both;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Honesty Parking — smaller logo */
#v-1 .vertical-logo img {
    height: 45px;
    width: 150px;
}

/* MSP, Aditya — bigger logos */
#v-3 .vertical-logo img,
#v-4 .vertical-logo img {
    height: 80px;
    width: 220px;
}

/* Digital — largest logo */
#v-5 .vertical-logo img {
    height: 100px;
    width: 260px;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vertical-text h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 65px;
    font-weight: 400;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.vertical-text p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    max-width: 90%;
}

.btn-rounded {
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-top: 20px;
    display: inline-block;
}

.business-right {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

.verticals-tabs {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.v-tab {
    background: transparent;
    border: 1px solid transparent;
    /* Placeholder for active state border */
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    text-align: left;
    padding: 20px 15px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: -1px;
    /* Overlap borders */
}

.v-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.v-tab.active {
    border: 2px solid #fff;
    border-bottom: 2px solid transparent;
    /* The progress bar will act as the bottom border */
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

/* Progress bar for active tab */
.v-tab .progress-bar {
    position: absolute;
    bottom: -2px;
    /* Position it exactly over the bottom border area */
    left: 0;
    height: 4px;
    background-color: #d4a017;
    width: 0;
    z-index: 3;
}

.v-tab.active .progress-bar {
    animation: fillProgress 5s linear forwards;
}

@keyframes fillProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.business-container:hover .v-tab.active .progress-bar {
    animation-play-state: paused;
}

@media (max-width: 992px) {
    .business-container {
        flex-direction: column;
        gap: 40px;
    }

    .business-left,
    .business-right {
        flex: 1 1 100%;
        width: 100%;
    }

    .business-right {
        padding-top: 20px;
    }

    .vertical-text h2 {
        font-size: 40px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vertical-text h2 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
}

.vertical-text p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
    max-width: 800px;
}

/* HONESTY Foundation */
.foundation-section {
    background-color: #f4efe6;
    padding: 80px 5%;
}

.foundation-card {
    background: #fff;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 2px;
    display: flex;
    overflow: hidden;
    align-items: stretch;
}

.f-card-text {
    flex: 0 0 45%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.f-card-text p {
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-pill {
    border-radius: 50px;
    padding: 8px 24px;
    border: 1px solid #777;
    color: #555;
    background: transparent;
    font-size: 13px;
    align-self: flex-start;
    text-transform: lowercase;
}

.f-card-image {
    flex: 0 0 55%;
    height: auto;
    position: relative;
    min-height: 400px;
}

.f-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Foundation Slider */
.foundation-slider .f-slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.foundation-slider .f-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Making a Difference */
.difference-section {
    background-color: #388e3c;
    /* Solid green */
    color: #fff;
    padding: 40px 5%;
}

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

.diff-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.diff-tabs span {
    padding: 10px 0;
    cursor: pointer;
    opacity: 0.7;
    font-size: 14px;
    font-weight: 500;
}

.diff-tabs span.active {
    opacity: 1;
    border-bottom: 2px solid #fff;
}

.diff-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.diff-text {
    flex: 1;
    display: none;
}

.diff-text.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.diff-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.diff-text p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e8f5e9;
}

.diff-image {
    flex: 1;
    position: relative;
}

.diff-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

.diff-image img.active {
    display: block;
    animation: fadeIn 0.5s ease;
}



/* Viksit Bharat Banner */
.viksit-bharat {
    background-color: #18315e;
    padding: 40px 5%;
}

.vb-card {
    display: flex;
    background: #fff;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    align-items: stretch;
}

.vb-text {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vb-text h2 {
    font-size: 42px;
    color: #2e7d32;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.vb-text p.mb-1 {
    font-size: 18px;
    color: #222;
    font-weight: 600;
    margin-bottom: 15px;
}

.vb-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.vb-link {
    font-size: 14px;
    color: #fff;
    background: #2e7d32;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.vb-link:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.vb-image {
    flex: 1.2;
    position: relative;
}

.vb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Life at HONESTY */
.life-at-honesty {
    background-color: #ffe8e8;
    padding: 30px 5% 0;
}

.life-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 50px;
}

.life-text {
    flex: 1;
}

.life-text h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
}

.life-text p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.life-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.life-link {
    font-size: 13px;
    color: #2e7d32;
    font-weight: 600;
    text-decoration: none;
}

.life-mask {
    flex: 1;
    text-align: center;
}

/* Light Footer */
.footer-light {
    background-color: #fff;
    color: #333;
    padding: 60px 5% 20px;
    border-top: 1px solid #eaeaea;
}

.footer-light-top {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 50px;
    gap: 50px;
}

.fl-logo {
    flex: 1;
    max-width: 300px;
}

.fl-logo .text-mask {
    font-size: 32px;
    margin-bottom: 5px;
}

.fl-logo .tagline {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.fl-logo .small-text {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
}

.fl-links {
    display: flex;
    gap: 80px;
}

.fl-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

.fl-col a {
    display: block;
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s;
}

.fl-col a:hover {
    color: #1a8b3e;
}

.footer-light-middle {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
}

.subscribe p {
    font-size: 14px;
    margin-bottom: 10px;
}

.sub-form {
    display: flex;
    gap: 10px;
}

.sub-form input {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 250px;
    font-size: 13px;
}

.sub-form button {
    cursor: pointer;
    padding: 8px 20px;
}

.social-links a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #f0f0f0;
    color: #555;
    border-radius: 50%;
    margin-left: 10px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
}

.social-links a:hover {
    background: #1a8b3e;
    color: #fff;
}

.footer-light-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}

.fl-legal {
    display: flex;
    gap: 20px;
}

.fl-legal a {
    color: #888;
    text-decoration: none;
}

.fl-legal a:hover {
    color: #333;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.navbar.scrolled .hamburger {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .hamburger:hover {
    background: rgba(0, 0, 0, 0.08);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 4px;
    display: block;
}

.hamburger span:nth-child(2) {
    width: 18px;
    margin-left: auto;
}

.hamburger span:nth-child(3) {
    width: 12px;
    margin-left: auto;
}

.navbar.scrolled .hamburger span {
    background-color: #333;
}

.hamburger.active {
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
    transform: scale(1);
}

.hamburger.active span {
    width: 24px;
    margin-left: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: #333;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #333;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .logo {
        position: relative;
        z-index: 1001;
    }

    .navbar.menu-active {
        background-color: #fdfaf5 !important;
    }

    .navbar.menu-active .logo-text {
        color: #111 !important;
    }

    .hamburger {
        display: flex !important;
    }

    .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 120px 40px 40px 40px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        align-items: flex-start !important;
        gap: 25px !important;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links>.nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 12px;
    }

    .nav-links a {
        color: #111 !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        text-transform: capitalize;
        letter-spacing: 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-links a .dropdown-icon {
        font-size: 24px;
        transition: transform 0.3s ease;
        font-weight: 300;
        color: #f36c21;
        padding: 0 10px;
    }

    .nav-item.dropdown.open .dropdown-icon {
        transform: rotate(180deg);
    }

    .mega-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        padding: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-top: none;
        flex-direction: column;
        gap: 15px;
        text-align: left;
        margin-top: 20px;
        padding-left: 15px;
        border-left: 2px solid #f36c21;
    }

    .nav-item.dropdown:hover .mega-menu {
        display: none;
    }

    .nav-item.dropdown.open .mega-menu {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .mega-menu h4 {
        font-size: 14px;
        color: #888;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mega-menu a {
        font-size: 16px !important;
        color: #444 !important;
        font-weight: 400 !important;
        padding: 5px 0;
        border: none;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-top-bar {
        display: none !important;
    }

    .nav-right-side {
        align-items: center !important;
    }

    .f-card-text {
        padding: 30px;
    }

    .diff-content {
        flex-direction: column;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .life-content {
        flex-direction: column;
    }

    .footer-light-top {
        flex-direction: column;
        gap: 30px;
    }

    .fl-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .hero-main-title {
        font-size: 45px;
    }

    .we-care-title {
        font-size: 45px;
        letter-spacing: 2px;
        word-break: break-word;
    }

    .text-mask-large {
        font-size: 60px;
    }

    .vertical-text h2 {
        font-size: 38px;
    }

    .vertical-logo {
        margin-bottom: 15px;
    }

    .vertical-logo img {
        height: 50px;
        width: 150px;
    }

    .diff-text h2 {
        font-size: 36px;
    }

    .ob-title {
        font-size: 55px;
    }

    .ob-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    /* Header styles inherited from 992px media query */

    /* Hero Section */
    .hero-titles-wrapper {
        min-height: 260px;
        padding: 0 10px;
        width: 100%;
    }

    .center-buttons {
        margin-top: 60px !important;
    }

    .slide-title {
        left: 0;
    }

    .hero-main-title {
        font-size: 28px;
        line-height: 1.4;
    }

    .we-care-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .text-mask-large {
        font-size: 12vw;
    }

    .vertical-text h2 {
        font-size: 26px;
    }

    .vertical-logo {
        margin-bottom: 12px;
    }

    .vertical-logo img {
        height: 45px;
        width: 140px;
    }

    .diff-text h2 {
        font-size: 26px;
    }

    .ob-title {
        font-size: 40px;
    }

    .ob-subtitle {
        font-size: 20px;
    }

    .diff-tabs {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .verticals-tabs {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .business-container {
        flex-direction: column;
    }

    .business-left {
        min-height: 480px;
        /* Force stable height to prevent layout jump */
        width: 100%;
    }

    .f-card-text {
        padding: 20px;
    }

    .f-logo {
        flex-direction: column;
        text-align: center;
    }

    .foundation-card {
        flex-direction: column;
    }

    .vb-card {
        flex-direction: column;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Decarbonisation Bottom Section */
    .decarb-bottom {
        padding: 40px 5% 60px !important;
    }

    .decarb-bottom h2 {
        font-size: 30px !important;
        margin-bottom: 30px !important;
        line-height: 1.2 !important;
    }

    .db-card {
        padding: 20px !important;
    }

    .db-card h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    .db-list p,
    .db-list li {
        font-size: 14px !important;
    }

    .footer-light-middle {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-light-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* Mega Menu Styles for Navbar */
.nav-item {
    position: relative;
    padding: 0px 0;
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (min-width: 993px) {
    .mega-menu {
        position: absolute;
        top: 100%;
        left: -50px;
        background-color: #fff;
        min-width: 600px;
        padding: 30px;
        display: flex;
        gap: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1000;
        text-align: left;
        color: #333;
        border-top: 3px solid #d4a017;
    }

    .nav-item.dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.mega-col {
    flex: 1;
}

.mega-col h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
    text-transform: none;
    letter-spacing: 0;
}

.mega-col h4.mt-4 {
    margin-top: 25px;
}

.mega-col a {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    padding: 0;
}

.mega-col a::after {
    display: none !important;
}

.mega-col a:hover {
    color: #d4a017;
}

/* Icons */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 20px;
    margin-left: 20px;
    cursor: pointer;
}

.nav-icons span {
    transition: transform 0.2s;
}

.nav-icons span:hover {
    transform: scale(1.1);
}

/* Custom Footer Styling */
.footer-custom {
    background-image: linear-gradient(rgba(228, 237, 255, 0.85), rgba(255, 223, 236, 0.85)), url('../public/image/footer2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    color: #5b2929;
    font-family: 'Inter', Arial, sans-serif;
    width: 100%;
}

.fc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.fc-middle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 5% 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.fc-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #111;
    font-weight: 600;
}

.fc-col a {
    display: block;
    color: #3a3434;
    font-size: 13px;
    margin-bottom: 15px;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.fc-col a:hover {
    color: #ca8638;
}

.fc-col-group h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #111;
    font-weight: 600;
}

.fc-col-group a {
    display: block;
    color: #3a3434;
    font-size: 13px;
    margin-bottom: 15px;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.fc-col-group a:hover {
    color: #ca8638;
}

.fc-logo-divider {
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #2d2c2fbf;
    z-index: 1;
}

.fc-logo-circle {
    position: relative;
    z-index: 2;
    width: 45px;
    height: 45px;
    background-color: #c3c3c3bf;
    /* Light Gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #336901;
    font-size: 26px;
    font-family: serif;
    font-weight: bold;
}

.fc-logo-circle span {
    margin-top: -3px;
}

.fc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 5% 0px;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 12px;
    color: #000000;
    font-weight: 400;
}

.fc-legal a {
    color: #000000;
    text-decoration: none;
    margin-left: 20px;
}

.fc-legal a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .fc-top {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .fc-sub-form {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .fc-sub-form input {
        width: 100%;
        border-radius: 25px;
    }

    .fc-sub-form input:focus {
        width: 100%;
    }

    .fc-sub-form .btn-subscribe {
        width: 100%;
        border-radius: 25px;
    }

    .fc-middle {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .fc-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .fc-legal a {
        margin-left: 0;
        margin-right: 10px;
        margin-left: 10px;
        display: inline-block;
        margin-bottom: 10px;
    }

    .new-social {
        justify-content: center;
        margin-left: 0;
    }
}

/* Our Businesses Page Styles */
.our-business-page {
    background-color: #f4efe6;
    min-height: 100vh;
    padding-bottom: 80px;
}

.ob-hero {
    position: relative;
    padding: 20px 5% 100px;
    background: url('../public/image/our-businesses.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 0px;
}

.ob-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.breadcrumb-bar {
    background-color: #fcf9f2;
    padding: 15px 5%;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 40px;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-container a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-container a:hover {
    color: #0047b3;
}

.breadcrumb-container .separator {
    color: #0047b3;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.breadcrumb-container .current {
    color: #000;
    font-weight: 400;
}

.ob-title {
    font-size: 85px;
    font-family: 'Times New Roman', Times, serif;
    color: #fff;
    font-weight: normal;
    position: relative;
    z-index: 2;
    line-height: 1.1;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.4);
}

.ob-subtitle {
    font-size: 38px;
    font-family: 'Outfit', sans-serif;
    color: #f4efe6;
    font-weight: 300;
    position: relative;
    z-index: 2;
    margin-top: 10px;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.4);
}

.ob-grid-section {
    padding: 0 5%;
}

.ob-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ob-card {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.ob-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ob-card:hover .ob-card-bg {
    transform: scale(1.08);
}

.ob-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    pointer-events: none;
}

.ob-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 40px;
    color: #fff;
    z-index: 2;
}

.ob-card-content h2 {
    font-size: 40px;
    font-family: 'Times New Roman', Times, serif;
    color: #c39d56;
    margin-bottom: 15px;
    font-weight: normal;
}

.ob-card-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #fff;
    max-width: 90%;
}

.btn-explore {
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 8px 24px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 14px;
}

.btn-explore:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .ob-grid {
        grid-template-columns: 1fr;
    }

    .ob-card {
        height: 450px;
    }
}

/* External Link Banner */
.msp-banner-bottom {
    max-width: 1200px;
    margin: 20px auto 30px;
    text-align: center;
    font-size: 14px;
    color: #555;
    padding: 0 5%;
}

.msp-banner-btn {
    display: inline-block;
    border: 1px solid #333;
    padding: 8px 20px;
    border-radius: 20px;
    margin-left: 10px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.msp-banner-btn:hover {
    background: #333;
    color: #fff;
}

@media (max-width: 768px) {
    .msp-banner-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .msp-banner-btn {
        margin-left: 0;
    }
}

/* Social Icons in Footer */
.new-social {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    margin-left: -5px;
}

.new-social a {
    color: #666;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eaeaea;
    font-size: 18px;
    text-decoration: none;
}

.new-social a.social-fb:hover {
    background: #1877F2;
    color: #fff;
}

.new-social a.social-tw:hover {
    background: #000000;
    color: #fff;
}

.new-social a.social-in:hover {
    background: #0A66C2;
    color: #fff;
}

.new-social a.social-yt:hover {
    background: #FF0000;
    color: #fff;
}

.new-social a.social-ig:hover {
    background: #E1306C;
    color: #fff;
}

/* ============================================
   Vision & Mission — Side-by-Side Panels
   ============================================ */
.vm-section {
    padding: 0;
    margin: 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Individual Panel */
.vm-panel {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 600px;
}

/* Background Image Layer */
.vm-panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
    opacity: 0;
}

.vm-panel:hover .vm-panel-bg {
    transform: scale(1);
    opacity: 1;
}

/* Overlay Layer */
.vm-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: background 0.6s ease;
    z-index: 1;
}

/* Default solid colors (visible when not hovered) */
.vm-panel-vision .vm-panel-overlay {
    background: #1a3a2a;
}

.vm-panel-mission .vm-panel-overlay {
    background: #c39d56;
}

/* On hover: show image with dark gradient overlay */
.vm-panel:hover .vm-panel-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

/* Content Layer */
.vm-panel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px 50px;
    color: #fff;
}

/* Title */
.vm-panel-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 52px;
    font-weight: normal;
    color: #fff;
    margin-bottom: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    line-height: 1.1;
}

.vm-panel:hover .vm-panel-title {
    transform: translateY(-20px);
}

/* Body Text — hidden by default, revealed on hover */
.vm-panel-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 0.5s ease 0.1s,
                transform 0.5s ease;
    transform: translateY(30px);
}

.vm-panel:hover .vm-panel-body {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
}

.vm-panel-body p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    font-weight: 300;
}

.vm-panel-body p:first-child {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 18px;
}

.vm-panel-body p strong {
    color: #fff;
    font-weight: 600;
}

/* Arrow Icon */
.vm-panel-arrow {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.4s ease;
    opacity: 0.6;
}

.vm-panel:hover .vm-panel-arrow {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translate(3px, -3px);
}

/* Vision & Mission Responsive */
@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }
    .vm-panel {
        min-height: 450px;
    }
    .vm-panel-title {
        font-size: 36px;
    }
    .vm-panel-content {
        padding: 40px 25px;
    }
    .vm-panel-body p {
        font-size: 14px;
    }
    .vm-panel-body p:first-child {
        font-size: 16px;
    }
    .vm-panel-arrow {
        bottom: 25px;
        right: 25px;
    }
}

/* New Brands Slider Section */
.new-brands-slider-section {
    padding: 80px 5%;
    background-color: #fcf9f2;
    overflow: hidden;
}

.nbs-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nbs-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #138a36;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nbs-header p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.nbs-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.nbs-track {
    display: flex;
    width: max-content;
    animation: scrollBrands 25s linear infinite;
}

.nbs-track:hover {
    animation-play-state: paused;
}

.nbs-slide-group {
    display: flex;
    gap: 30px;
    padding-right: 30px; /* match the gap so it seamlessly repeats */
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.nbs-card {
    width: 350px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 5px solid #138a36;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.nbs-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.nbs-logo-box {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.nbs-logo-box img {
    max-height: 100px;
    max-width: 200px;
    object-fit: contain;
}

.nbs-card h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 15px;
    font-weight: 600;
}

.nbs-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .new-brands-slider-section {
        padding: 50px 5%;
    }
    .nbs-card {
        width: 280px;
        padding: 30px 20px;
    }
    .nbs-logo-box {
        height: 100px;
    }
    .nbs-logo-box img {
        max-height: 80px;
        max-width: 150px;
    }
}

/* Future Investment Section */
.future-investment {
    position: relative;
    padding: 20px 5%;
    background-color: #ffda99;
    color: #3a3a3a;
    overflow: hidden;
}

.future-investment::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(19, 138, 54, 0.15) 0%, rgba(19, 138, 54, 0) 70%);
    border-radius: 50%;
    animation: floatGlow 10s infinite alternate ease-in-out;
    z-index: 0;
    pointer-events: none;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.2); }
}

.fi-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.fi-content {
    flex: 1;
}

.fi-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #d4a017;
}

.fi-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.fi-content .highlight-text {
    color: #138a36;
}

.fi-content > p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 40px;
    max-width: 90%;
}

.fi-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 45px;
}

.fi-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.fi-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fi-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(19, 138, 54, 0.1);
    border: 1px solid rgba(19, 138, 54, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #138a36;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.fi-feature-item:hover .fi-icon-box {
    background: #138a36;
    color: #fff;
    transform: translateY(-5px);
}

.fi-text-box h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #405436;
}

.fi-text-box p {
    font-size: 15px;
    color: rgba(42, 40, 40, 0.7);
    line-height: 1.5;
    margin: 0;
}

.fi-btn {
    padding: 12px 30px;
    border: 1px solid #138a36;
    color: #138a36;
    border-radius: 30px;
    font-size: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.fi-btn:hover {
    background-color: #138a36;
    color: #fff;
}

.fi-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fi-image-wrapper {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    max-width: 550px;
    width: 100%;
}

.fi-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0px;
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
}

.fi-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fi-image-wrapper:hover img {
    transform: scale(1.08);
}

.fi-overlay-stats {
    position: absolute;
    bottom: -25px;
    left: -25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px 30px;
    border-radius: 16px;
    z-index: 2;
    animation: floatingBox 6s infinite ease-in-out;
}

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

.stat-box {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #138a36;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .fi-container {
        flex-direction: column;
        gap: 50px;
    }
    .fi-visual {
        width: 100%;
        margin-top: 30px;
    }
    .fi-overlay-stats {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .future-investment {
        padding: 60px 5%;
    }
    .fi-content h2 {
        font-size: 36px;
    }
}

/* Leadership Impact Section */
.leadership-impact {
    background: linear-gradient(rgba(0, 0, 0, 0.366), rgba(0, 0, 0, 0.804)), url('../public/image/vision2.jpg') center/cover no-repeat;
    color: #fff;
    padding: 80px 5%;
    text-align: center;
}

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

.leadership-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 42px;
    font-weight: normal;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-family: 'Times New Roman', Times, serif;
    font-size: 65px;
    font-weight: bold;
    color: #d4af37; /* Gold color */
    margin-bottom: 15px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .stats-row {
        flex-direction: column;
        gap: 40px;
    }
    .stat-divider {
        width: 100px;
        height: 1px;
    }
    .leadership-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
}

/* -------------------------------------------
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ------------------------------------------- */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-main-title { font-size: 32px !important; }
    .we-care-title { font-size: 45px !important; letter-spacing: 2px !important; }
    .we-care-text { font-size: 16px !important; }
    
    /* Business Verticals */
    .vertical-text h2 { font-size: 28px !important; }
    .vertical-text p { font-size: 14px !important; }
    .v-tabs { flex-wrap: wrap; gap: 10px; }
    .v-tab { flex: 1 1 45%; justify-content: center; font-size: 14px; padding: 15px; }

    /* Core Offerings */
    .co2-cards-container { grid-template-columns: 1fr !important; }
    .co2-card { height: auto !important; padding: 20px !important; }
    .co2-card-image img { height: 200px !important; }

    /* Vision Mission */
    .vm-section { padding: 40px 5% !important; }
    .vm-grid { grid-template-columns: 1fr !important; }
    .vm-panel { min-height: 400px; }
    .vm-panel-title { font-size: 32px !important; }
    .vm-panel-body p { font-size: 14px !important; }

    /* Foundation (Viksit Bharat) */
    .viksit-bharat { padding: 30px 5% !important; }
    .vb-card { flex-direction: column !important; padding: 20px !important; }
    .vb-text { padding: 0 !important; margin-bottom: 25px; }
    .vb-text h2 { font-size: 26px !important; margin-bottom: 15px !important; }
    .vb-text p.mb-1 { font-size: 15px !important; margin-bottom: 12px !important; }
    .vb-text p { font-size: 14px !important; line-height: 1.5 !important; }
    .vb-image { min-height: 250px !important; width: 100% !important; flex: none !important; }

    /* Brands Slider */
    .new-brands-slider-section { padding: 40px 5% !important; }
    .nbs-header h2 { font-size: 32px !important; }
    .nbs-track { display: flex; flex-wrap: nowrap; gap: 20px; } 
    .nbs-card { width: 260px !important; padding: 20px 15px !important; }
    
    /* Footer Custom Mobile Fixes */
    .fc-col-group a {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .v-tab { flex: 1 1 100%; }
}