
@font-face {
    font-family: 'RM Neue';
    src: url('../fonts/rm-neue/RMNeue-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RM Neue';
    src: url('../fonts/rm-neue/RMNeue-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RM Neue';
    src: url('../fonts/rm-neue/RMNeue-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RM Neue';
    src: url('../fonts/rm-neue/RMNeue-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RM Neue';
    src: url('../fonts/rm-neue/RMNeue-Black.ttf') format('truetype');
    font-weight: 800 900;
    font-style: normal;
    font-display: swap;
}

@media (max-width: 767px) {
    .about-section,
    .stats-section,
    .products-section,
    .expertise-section,
    .why-imc-section,
    .sustainability-section,
    .news-section,
    .newsletter,
    .footer {
        max-width: 100%;
        overflow-x: hidden;
    }

    .about-img-wrap,
    .about-stats-box {
        max-width: 100%;
    }

    .expertise-img {
        max-width: 100%;
        height: auto;
    }

    .products-card,
    .products-img {
        max-width: 100%;
    }

    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-left p {
        max-width: 100%;
    }

    .subscribe-box {
        max-width: 100%;
        flex-direction: column;
    }
}

section[id] {
    scroll-margin-top: 90px;
}

:root {
    --primary-color: #1D562B;
    --secondary-color: #0D8B8A;
    --bg-light: #F1F1F1;
    --bg-green-light: #EEF6EE;
    --text-dark: #333333;
    --text-light: #666666;
    --font-display: 'RM Neue';
    --font-body: 'RM Neue';
}

* {
    font-family: var(--font-body);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6,
.main-nav .nav-link,
.btn,
.section-header h2,
.about-heading,
.products-heading,
.expertise-heading,
.why-imc-heading,
.sustainability-heading,
.products-card-title,
.expertise-title,
.service-card__heading,
.service-card__btn,
.newsletter-left h2,
.footer h5,
.footer-logo-title,
.section-title {
    font-family: var(--font-display) !important;
}

/* Desktop Original Header & Nav Styles */
.header-top {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.header-logo-img { height: 85px; width: auto; object-fit: contain; }

.main-nav {
    background-color: #0D8B8A;
    padding: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2050;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

@media (min-width: 1200px) {
    .main-nav {
        position: -webkit-sticky !important;
        position: sticky !important;
    }
}

@media (max-width: 991px) {
    .main-nav {
        background-color: #0D8B8A !important;
        padding: 12px 0 !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 2050 !important;
        box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08) !important;
        display: block !important;
    }
    .main-nav > .container {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .main-nav {
        position: -webkit-sticky !important;
        position: sticky !important;
    }
}

.main-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 16px;
    padding: 30px 22px !important;
}

/* Navigation Breakpoints & Visibility */
@media (min-width: 992px) {
    .main-nav .navbar-collapse {
        display: flex !important;
    }
    .main-nav .d-lg-none {
        display: none !important;
    }
    .main-nav .d-lg-flex {
        display: flex !important;
    }
}

@media (max-width: 991px) {
    .main-nav .navbar-collapse {
        display: none !important;
    }
    .main-nav .d-lg-none {
        display: flex !important;
    }
    .main-nav .d-lg-flex {
        display: none !important;
    }
}

@media (max-width: 1399px) {
    .main-nav .nav-link {
        padding: 25px 10px !important;
        font-size: 14px;
    }
    .btn-contact-nav {
        padding: 12px 18px !important;
        font-size: 13px;
    }
}

@media (max-width: 1199px) {
    .main-nav .nav-link {
        padding: 20px 6px !important;
        font-size: 13px;
    }
    .btn-contact-nav {
        padding: 10px 12px !important;
        font-size: 12px;
    }
}

.main-nav .nav-link:hover, .main-nav .nav-link.active {
    background-color: rgba(255,255,255,0.1);
    color: #fff !important;
}

.main-nav .nav-services-dropdown {
    position: relative;
}

.main-nav .nav-services-dropdown .dropdown-toggle::after {
    width: 8px;
    height: 8px;
    margin-left: 10px;
    vertical-align: 0.16em;
    border: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.main-nav .nav-services-dropdown:hover .dropdown-toggle::after,
.main-nav .nav-services-dropdown:focus-within .dropdown-toggle::after,
.main-nav .nav-services-dropdown .dropdown-toggle.show::after {
    transform: rotate(225deg) translate(-2px, -1px);
}

.main-nav .nav-services-menu {
    min-width: 270px;
    padding: 10px;
    margin-top: 0;
    background: #EEF6EE;
    border: 0;
    border-radius: 8px;
    border-left: 3px solid #0D8B8A;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
    overflow: hidden;
}

.main-nav .nav-services-menu::before {
    content: none;
}

.main-nav .nav-services-menu .dropdown-item {
    display: flex;
    align-items: center;
    margin: 0 0 8px;
    padding: 12px 14px;
    border-radius: 6px;
    color: #1D562B;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav .nav-services-menu li:last-child .dropdown-item {
    margin-bottom: 0;
}

.main-nav .nav-services-menu .dropdown-item:hover,
.main-nav .nav-services-menu .dropdown-item.active {
    background: #0D8B8A;
    color: #ffffff;
    transform: translateX(2px);
}

.main-nav .nav-services-menu .dropdown-item:focus {
    background: #0D8B8A;
    color: #ffffff;
}

@media (min-width: 992px) {
    .main-nav .nav-services-dropdown:hover .nav-services-menu,
    .main-nav .nav-services-dropdown:focus-within .nav-services-menu {
        display: block;
    }
}

.btn-contact-nav {
    background-color: #fff;
    color: #000 !important;
    font-weight: 700;
    padding: 16px 35px !important;
    border-radius: 4px;
    text-transform: none;
    font-size: 14px;
    border: none;
    transition: all 0.4s ease;
}

.btn-contact-nav:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #fff !important;
}

.btn-contact-nav.active {
    background-color: #fff !important;
    color: #000 !important;
}

.nav-actions {
    gap: 18px;
}

.btn-search-nav,
.btn-search-mobile-toggle {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    font-size: 19px;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-search-nav:hover,
.btn-search-nav:focus,
.btn-search-mobile-toggle:hover,
.btn-search-mobile-toggle:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    outline: none;
}

@media (max-width: 991px) {
    .btn-search-mobile-toggle,
    .btn-search-mobile-toggle:hover,
    .btn-search-mobile-toggle:focus {
        color: #0D8B8A;
    }
}

.btn-search-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: 1px solid rgba(13, 139, 138, 0.28);
    border-radius: 4px;
    background: #ffffff;
    color: #0D8B8A;
    font-weight: 700;
}

.btn-contact-mobile {
    background-color: #1D562B !important;
    color: #fff !important;
}

.btn-contact-mobile:hover {
    background-color: #0D8B8A !important;
    color: #fff !important;
}

.site-search-lock {
    overflow: hidden;
}

.site-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 92px 18px 24px;
    background: rgba(9, 25, 28, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.site-search-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-search-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - 124px);
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    transform: translateY(-10px);
    transition: transform 0.22s ease;
}

.site-search-overlay.is-open .site-search-dialog {
    transform: translateY(0);
}

.site-search-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 4px;
    background: #ffffff;
    color: #111827;
}

.site-search-heading {
    padding: 28px 28px 18px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.site-search-align-left .site-search-heading,
.site-search-align-left .site-search-empty,
.site-search-align-left .site-search-result {
    text-align: left;
}

.site-search-align-center .site-search-heading,
.site-search-align-center .site-search-empty,
.site-search-align-center .site-search-result {
    text-align: center;
}

.site-search-align-right .site-search-heading,
.site-search-align-right .site-search-empty,
.site-search-align-right .site-search-result {
    text-align: right;
}

.site-search-text-left {
    text-align: left !important;
}

.site-search-text-center {
    text-align: center !important;
}

.site-search-text-right {
    text-align: right !important;
}

.site-search-input-left {
    text-align: left;
}

.site-search-input-center {
    text-align: center;
}

.site-search-input-right {
    text-align: right;
}

.form-captcha {
    width: 100%;
    margin: 16px 0;
}

.form-captcha--left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.form-captcha--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.form-captcha--right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.contact-form .form-captcha,
.customer-care-form .form-captcha,
.career-apply-form .form-captcha,
.dynamic-form .form-captcha,
.newsletter-form .form-captcha,
.newsletter-form-wrapper .form-captcha {
    grid-column: 1 / -1;
}

.site-search-kicker {
    display: block;
    margin-bottom: 4px;
    color: #0D8B8A;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-search-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 1.65rem;
    font-weight: 700;
}

.site-search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 28px 18px;
    padding: 0 16px;
    min-height: 58px;
    border: 2px solid rgba(13, 139, 138, 0.22);
    border-radius: 6px;
    background: #f8fbfb;
    color: #0D8B8A;
}

.site-search-field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 1rem;
}

.site-search-results {
    max-height: min(430px, calc(100vh - 330px));
    overflow-y: auto;
    padding: 0 28px 28px;
}

.site-search-result {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    color: #111827;
    text-decoration: none;
}

.site-search-result:hover,
.site-search-result:focus {
    color: #0D8B8A;
}

.site-search-result-type {
    display: inline-flex;
    margin-bottom: 6px;
    color: #0D8B8A;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-search-result strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.06rem;
    font-weight: 700;
}

.site-search-result small,
.site-search-empty {
    display: block;
    color: rgba(17, 24, 39, 0.64);
    font-size: 0.95rem;
    line-height: 1.5;
}

.site-search-empty {
    padding: 18px 0 6px;
}

@media (max-width: 767px) {
    .site-search-overlay {
        padding-top: 74px;
    }

    .site-search-dialog {
        max-height: calc(100vh - 98px);
    }

    .site-search-heading {
        padding: 24px 20px 16px;
    }

    .site-search-heading h2 {
        font-size: 1.35rem;
        padding-right: 42px;
    }

    .site-search-field {
        margin: 18px 20px 14px;
    }

    .site-search-results {
        max-height: calc(100vh - 300px);
        padding: 0 20px 22px;
    }
}

@media (min-width: 992px) {
    .h-lg-100 { height: 100% !important; }
}

/* Mobile & Tablet Refinements */
@media (max-width: 991px) {
    .header-top {
        display: none !important;
    }
    .main-nav {
        background-color: #ffffff !important;
        padding: 4px 0 !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 2050 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
        display: block !important;
        border-bottom: 1px solid #f0f0f0;
    }
    .custom-toggler {
        background-color: #0D8B8A !important;
        border: none !important;
        outline: none !important;
        padding: 6px !important;
        border-radius: 6px !important;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(13, 139, 138, 0.2) !important;
    }
    .custom-toggler:focus,
    .custom-toggler:active,
    .custom-toggler:hover,
    .custom-toggler:focus-visible {
        outline: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    .custom-toggler .navbar-toggler-icon::before,
    .custom-toggler .navbar-toggler-icon::after,
    .toggler-line {
        background-color: #ffffff !important;
    }
    .mobile-logo-img {
        height: 40px;
        width: auto;
        object-fit: contain;
    }
    .mobile-secondary-logo-img {
        height: 62px;
        width: auto;
        object-fit: contain;
        flex-shrink: 0;
        display: block;
    }
    .custom-toggler:active {
        transform: scale(0.92);
    }
    .custom-toggler .navbar-toggler-icon {
        background-image: none !important;
        position: relative;
        width: 19px;
        height: 13px;
    }
    .toggler-line,
    .custom-toggler .navbar-toggler-icon::before,
    .custom-toggler .navbar-toggler-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    .custom-toggler .navbar-toggler-icon::before {
        top: 0;
    }
    .toggler-line {
        top: 50%;
        transform: translateY(-50%);
    }
    .custom-toggler .navbar-toggler-icon::after {
        bottom: 0;
    }
    .carousel-indicators-v2 {
        bottom: 12px !important;
        left: 15px !important;
        justify-content: flex-start !important;
    }
}

.offcanvas-header {
    background-color: #ffffff !important;
}

/* Drawer / Offcanvas Styles */
.offcanvas {
    width: 300px !important;
    z-index: 5060 !important;
}

.offcanvas-backdrop {
    z-index: 5055 !important;
}

.offcanvas-body .nav-link {
    color: #333 !important;
    font-size: 18px;
    padding: 15px 0 !important;
    border-bottom: 1px solid #f5f5f5;
}

.offcanvas-services-item {
    border-bottom: 1px solid #f5f5f5;
}

.offcanvas-services-toggle {
    display: flex;
    align-items: stretch;
}

.offcanvas-services-toggle .nav-link {
    flex: 1;
    border-bottom: 0;
}

.offcanvas-submenu-button {
    position: relative;
    width: 44px;
    flex: 0 0 44px;
    border: 0;
    background: transparent;
}

.offcanvas-submenu-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #0D8B8A;
    border-bottom: 2px solid #0D8B8A;
    transform: translate(-50%, -62%) rotate(45deg);
    transition: transform 0.22s ease;
}

.offcanvas-submenu-button:not(.collapsed)::before {
    transform: translate(-50%, -38%) rotate(225deg);
}

.offcanvas-services-menu {
    margin: 0 0 12px;
    padding: 8px 8px 8px 12px;
    background: #EEF6EE;
    border-left: 3px solid #0D8B8A;
    border-radius: 0 8px 8px 0;
}

.offcanvas-services-menu a {
    display: flex;
    align-items: center;
    margin: 0 0 8px;
    padding: 10px 12px;
    color: #1D562B;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    line-height: 1.3;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.offcanvas-services-menu a:last-child {
    margin-bottom: 0;
}

.offcanvas-services-menu a:hover,
.offcanvas-services-menu a:focus {
    background: #0D8B8A;
    color: #ffffff;
    transform: translateX(2px);
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE HEADERS & SLIDERS (Standardized) */
/* -------------------------------------------------------------------------- */

/* Global Banner & Hero Logic */
.about-page-wrapper img, 
.services-page-banner img,
.career-hero,
.sus-hero,
.technical-support-banner,
.empowering-hero,
.customer-care-hero,
.contact-hero,
.contact-hero__bg,
.blog-hero,
.legal-hero,
[class*="-banner"],
[class*="-hero"] {
    transition: all 0.3s ease;
}

/* Image-based Banners (About, Services) */
.about-page-wrapper img, 
.services-page-banner img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover !important;
}

/* Unified Top Banner Height (All inner pages except Home) */
.services-page-banner img,
.sus-banner-wrapper img,
.career-hero,
.technical-support-banner,
.empowering-hero,
.customer-care-hero,
.contact-hero,
.contact-hero__bg,
.contact-hero__img,
.blog-hero,
.legal-hero,
.form-page-hero {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1920 / 580;
}

.services-page-banner img,
.sus-banner-wrapper img,
.contact-hero__img {
    width: 100% !important;
    object-fit: cover !important;
}

/* Background-based Banners (All others) */
.career-hero,
.sus-hero,
.technical-support-banner,
.empowering-hero,
.customer-care-hero,
.contact-hero,
.blog-hero,
.legal-hero,
[class*="-hero"]:not(.hero-slider) {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

@media (max-width: 991px) {
    .services-page-banner img,
    .sus-banner-wrapper img,
    .career-hero,
    .technical-support-banner,
    .empowering-hero,
    .customer-care-hero,
    .contact-hero,
    .contact-hero__bg,
    .contact-hero__img,
    .blog-hero,
    .legal-hero,
    .form-page-hero {
        height: auto !important;
    }
}

@media (max-width: 767px) {
    /* Hero Slider Optimization - NO CROPPING */
    .hero-slider, .carousel-inner, .carousel-item {
        height: auto !important;
        min-height: unset !important;
        background-color: transparent !important;
        overflow-x: hidden;
    }

    .hero-slider {
        max-width: 100vw;
    }
    
    .hero-slide-img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important; /* Shows 100% of the image without cropping */
        object-position: center !important;
    }

    /* Banners - Ensuring they also show fully */
    .about-page-wrapper img, 
    .services-page-banner img {
        min-height: unset !important;
        object-fit: cover !important;
    }
}

@media (max-width: 575px) {
    .hero-slide-img {
        min-height: unset !important;
    }
    
    .services-page-banner img,
    .sus-banner-wrapper img,
    .career-hero,
    .technical-support-banner,
    .empowering-hero,
    .customer-care-hero,
    .contact-hero,
    .contact-hero__bg,
    .contact-hero__img,
    .blog-hero,
    .legal-hero,
    .form-page-hero {
        height: auto !important;
    }
}

/* IMAGE HERO SLIDER (Desktop/General) */
.hero-slider {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.hero-slide-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}


/* Standard Bootstrap Carousel */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Hero Arrows */
.hero-arrow {
    width: 48px;
    height: 48px;
    background-color: #0D8B8A !important;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.hero-arrow.carousel-control-prev {
    left: 15px;
}

.hero-arrow.carousel-control-next {
    right: 15px;
}

.hero-slider:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background-color: #0b7a79 !important;
    opacity: 1;
}

@media (max-width: 991px) {
    .hero-arrow {
        display: none !important;
    }
}

/* Global Content Width Optimization */
@media (min-width: 1200px) {
    .container {
        max-width: 95% !important;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 92% !important;
        padding-left: 60px;
        padding-right: 60px;
    }
}

/* Indicators — bottom-left fixed position */
.carousel-indicators-v2 {
    bottom: 30px;
    left: 15px;
    right: auto;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    width: auto;
}

@media (min-width: 1200px) {
    .carousel-indicators-v2 {
        left: calc(2.5vw + 40px);
    }
}

@media (min-width: 1400px) {
    .carousel-indicators-v2 {
        left: calc(4vw + 60px);
    }
}


.carousel-indicators-v2 [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #D9D9D9;
    border: none;
    margin: 0 10px 0 0; /* Only right margin to keep first one flush left */
    transition: all 0.3s;
    opacity: 1;
}

.carousel-indicators-v2 .active {
    width: 35px;
    border-radius: 5px;
    background-color: #0D8B8A;
    transform: none;
    opacity: 1;
}

/* Stats Section */
.stats-section {
    background-color: #0D8B8A;
    overflow-x: hidden;
}

.stats-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.stats-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 8px;
}

.stats-col-empty {
    flex: 0.5;
}

.stats-divider {
    width: 1.5px;
    background-color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 14px;
    font-family: 'RM Neue';
}

.stats-label {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    font-family: 'RM Neue';
}

@media (max-width: 767px) {
    .stats-inner {
        flex-direction: column;
    }
    .stats-col-empty {
        display: none;
    }
    .stats-divider {
        width: 60%;
        height: 1.5px;
        align-self: center;
    }
    .stats-number { font-size: 3rem; }
    .stats-label { font-size: 0.9rem; }
    .stats-col { padding: 30px 20px; width: 100%; }
}

/* Our Products Section */
.products-section {
    background-color: #F1F1F1;
    overflow-x: hidden;
}

.products-heading {
    font-size: 2.8rem;
    font-weight: 600;
    color: #111111;
    margin: 0;
    font-family: 'RM Neue';
    line-height: 1.15;
    text-align: center;
}

.products-heading::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background-color: #1D562B;
    border-radius: 10px;
    margin: 16px auto 0;
}

.products-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.products-img {
    width: 100%;
    height: auto;
    display: block;
}

.products-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(29, 86, 43, 0.85);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 20px;
    margin: 0;
    text-align: center;
}

.products-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-overlay-box {
    background-color: #1B3A5C;
    padding: 28px 40px;
    border-radius: 8px;
    text-align: center;
}

.products-overlay-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    line-height: 1.3;
    font-family: 'RM Neue';
}

/* Our Expertise Section */
.expertise-section {
    background-color: #fff;
    overflow-x: hidden;
}

.expertise-heading {
    font-size: 2.8rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 0;
    font-family: 'RM Neue';
    line-height: 1.15;
}

.expertise-heading::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background-color: #1D562B;
    border-radius: 10px;
    margin-top: 14px;
    margin-bottom: 50px;
}

.expertise-item {
    margin-bottom: 60px;
}

.expertise-item:last-child {
    margin-bottom: 0;
}

.expertise-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 16px;
    font-family: 'RM Neue';
}

.expertise-item-text {
    font-size: 1.05rem;
    color: #000000;
    line-height: 1.75;
    margin-bottom: 0;
}

.expertise-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

@media (max-width: 991px) {
    .expertise-item { margin-bottom: 40px; }
    .expertise-heading { font-size: 1.5rem; }
    .expertise-item-title { font-size: 1.1rem; }
}

/* Why IMC Section */
.why-imc-section {
    background-color: #0D8B8A;
    padding: 70px 0;
    overflow-x: hidden;
}

.why-imc-heading {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'RM Neue';
}

.why-imc-heading::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 14px auto 45px;
}

.why-imc-card {
    background-color: #f3f3f3;
    padding: 25px 12px 40px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: solid #1D562B 10px;
    height: 100%;
    transition: transform 0.3s ease;
}

.why-imc-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 152px;
    height: 18px;
    background: #1D562B;
    border-top-left-radius: 30px;
}

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

.why-imc-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    font-family: 'RM Neue';
}

.why-imc-card-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 5px;
    background: #0D8B8A;
    margin: 12px auto 0;
    border-radius: 10px;
}

.why-imc-card-text {
    font-size: 1.05rem;
    color: #000000;
    line-height: 1.65;
    margin-top: 20px;
    margin-bottom: 0;
}

/* Sustainability Section */
.sustainability-section {
    background-color: #EEF6EE;
    padding: 80px 0;
}

.sustainability-section .container {
    max-width: 95% !important;
}

@media (min-width: 992px) {
    /* Homepage Sustainability: 2-column grid inside the section container */
    .sustainability-section .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem; /* match Bootstrap g-5 spacing */
        align-items: center;
    }
}

.sustainability-heading {
    font-size: 2.8rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 10px;
    font-family: 'RM Neue';
}

.sustainability-heading::after {
    content: "";
    display: block;
    width: 70px;
    height: 5px;
    background: #0D8B8A;
    margin-top: 14px;
    border-radius: 10px;
}

.sustainability-main-text {
    font-size: 1.05rem;
    color: #000000;
    line-height: 1.75;
    margin-top: 1.2rem;
    margin-bottom: 1.6rem;
    max-width: none;
    width: 100%;
}

.sustainability-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    background: #1D562B;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.sustainability-btn:hover {
    background: #0D8B8A;
    transform: translateX(3px);
}

.sustainability-right-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 0;
}

.sus-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.sus-card-full {
    grid-column: span 2;
}

.sus-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1D562B;
    margin-bottom: 12px;
    font-family: 'RM Neue';
}

.sus-card-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 5px;
    background: #0D8B8A;
    margin-top: 14px;
    border-radius: 10px;
}

.sus-card-text {
    font-size: 1.05rem;
    color: #000000;
    line-height: 1.75;
    color: #000000;
    line-height: 1.65;
    margin-top: 15px;
    margin-bottom: 0;
}

/* News & Blogs Section */
.news-label {
    color: #0D8B8A;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2.5px;
    margin-bottom: 0.4rem;
    display: block;
}

.news-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 0;
    font-family: 'RM Neue';
    line-height: 1.15;
}

@media (max-width: 991px) {
    /* Match About Us label/heading scale on tablet/mobile */
    .news-label { font-size: 0.78rem; }
    .news-title { font-size: 1.6rem; }
}

.news-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 5px;
    background: #0D8B8A;
    margin-top: 14px;
    border-radius: 10px;
}

.news-filters {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0;
}

.news-tab {
    cursor: pointer;
    color: #888;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    padding-bottom: 12px;
    position: relative;
}

.news-tab.active {
    color: #1f5f3d;
}

.news-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #1f5f3d;
}

.news-carousel-wrapper {
    position: relative;
    margin-top: 30px;
    overflow: hidden;
}

.news-swiper, .blogs-swiper {
    width: 100%;
    position: relative;
    overflow: hidden !important;
    padding: 5px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-wrapper {
    display: flex;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.swiper-slide {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-section {
    overflow-x: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .news-section {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Consolidated Carousel Nav Buttons */
.carousel-nav-btn, .side-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #ffffff !important;
    color: #2a8c7b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    z-index: 100 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.carousel-nav-btn:hover, .side-nav-btn:hover {
    background: #2a8c7b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(42, 140, 123, 0.5) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.news-prev, .blogs-prev {
    left: 10px;
}

.news-next, .blogs-next {
    right: 10px;
}

@media (max-width: 767px) {
    .news-top-bar {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 25px;
    }
    .news-filters {
        width: 100%;
    }
    .news-title {
        font-size: 34px;
    }

    .news-section {
        overflow-x: hidden !important;
    }

    .news-carousel-wrapper {
        overflow: hidden !important;
    }

    .news-prev,
    .news-next {
        display: none !important;
    }

    .blog-image-card {
        height: 220px;
        min-height: 220px;
    }

    .blog-image-card img {
        height: 100%;
        object-fit: contain;
        width: 100%;
    }

    .blogs-prev,
    .blogs-next {
        display: flex !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }

    .blogs-prev {
        left: 8px !important;
    }

    .blogs-next {
        right: 8px !important;
    }
}

.news-card {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
    z-index: 1;
}

.news-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    text-align: left;
}

.news-badge {
    display: inline-block;
    background: #2a8c7b;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: none;
}

.news-date {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.news-date i {
    font-size: 14px;
    margin-right: 6px;
}

.news-card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 5px 0 10px;
    line-height: 1.3;
    color: #ffffff;
}

.news-card-title::after {
    display: none;
}

.news-card-text {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: #2a8c7b;
    font-size: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.news-read-more i {
    font-size: 18px;
    transition: 0.3s;
}

.news-read-more:hover {
    color: #ffffff;
}

.news-read-more:hover i {
    transform: translateX(4px);
}


.news-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.news-card:hover img {
    transform: scale(1.05);
    transition: 0.4s;
}

.blog-image-link {
    display: block;
    text-decoration: none;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.blog-image-card {
    height: 280px;
    background: transparent !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.blog-image-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent !important;
    border-radius: 16px !important;
}

.blog-image-card::after {
    display: none;
}

.blog-image-link:hover .blog-image-card,
.blog-image-link:focus-visible .blog-image-card,
.blog-image-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.blog-image-link:hover .blog-image-card img,
.blog-image-link:focus-visible .blog-image-card img,
.blog-image-card:hover img {
    transform: none !important;
}

@media (max-width: 767px) {
    #blogs-carousel .swiper-slide {
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .blog-image-card {
        height: 220px;
        min-height: 220px;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .blog-image-card img {
        height: 100%;
        object-fit: contain;
        width: 100%;
        border-radius: 16px !important;
    }
}

@media (max-width: 991px) {
    .sustainability-right-grid {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .sustainability-right-grid {
        grid-template-columns: 1fr;
    }
    .sus-card-full {
        grid-column: span 1;
    }
    .sustainability-heading {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .why-imc-section { padding: 50px 0; }
    .why-imc-heading { font-size: 1.8rem; }
    .why-imc-card { padding: 20px; }
    .why-imc-card-title { font-size: 1rem; }
}

/* Standard Sections */
.section-padding { padding: 80px 0; }

@media (max-width: 767px) {
    .section-padding { padding: 35px 0; }
    .products-heading { font-size: 1.8rem; }
    .sustainability-section { padding: 35px 0; }
    .leadership-section { padding: 30px 0; }
}
.section-title { color: var(--primary-color); font-weight: 700; margin-bottom: 1.5rem; }
/* Footer Design */
.footer {
    background: #0D8B8A;
    width: 100%;
    color: #ffffff;
}

.footer a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Newsletter Section */
.newsletter {
    border-bottom: 1px solid rgba(255,255,255,0.18);
    padding: 40px 0;
    overflow-x: hidden;
}

.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-left small {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0.85;
    font-weight: 700;
}

.newsletter-left h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
}

.newsletter-left p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
}

.subscribe-box {
    display: flex;
    width: 100%;
    max-width: 500px;
    gap: 12px;
}

.subscribe-box input {
    flex: 1;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    outline: none;
}

.subscribe-box input::placeholder {
    color: rgba(255,255,255,0.7);
}

.subscribe-box button {
    padding: 18px 28px;
    border: none;
    background: #146C2E;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.subscribe-box button:hover {
    background: #0f5724;
}

.subscribe-hint {
    margin-top: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
}

.newsletter-form-wrapper {
    width: 100%;
}

.newsletter-success-msg {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 18px 22px;
    border-radius: 6px;
    max-width: 500px;
}

/* Footer Main */
.footer-main {
    padding: 50px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
}

.footer-logo {
    width: 320px;
    max-width: 100%;
    margin-bottom: 18px;
}

.brand-desc {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    max-width: 450px;
    margin-bottom: 22px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: #ffffff;
    color: #0D8B8A;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #146C2E;
    color: #fff;
}

.footer-column h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list li a {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}

.footer-links-list li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.contact-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
    flex-wrap: nowrap !important;
}

.contact-item span {
    flex: 1;
    display: block;
    text-align: left;
    margin-top: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-item i {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    background: #ffffff;
    color: #0D8B8A;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px;
    flex-shrink: 0 !important;
    font-size: 1.2rem;
}

/* Bottom Footer */
.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 15px;
    color: #ffffff;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 17px;
    color: #ffffff;
}

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

@media (max-width: 991px) {
    .newsletter-left h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .newsletter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .newsletter-right {
        width: 100%;
    }
    .newsletter-form-wrapper {
        width: 100%;
    }
    .subscribe-box {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
    }
    .subscribe-box input {
        min-width: 0;
        padding: 14px 16px;
        flex: 1 1 0;
    }
    .subscribe-box button {
        padding: 14px 18px;
        font-size: 15px;
        flex-shrink: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    /* Keep Quick Links + Our Products side-by-side; Contact full width below */
    .footer-grid > .footer-column:last-child {
        grid-column: 1 / -1;
    }
    .footer-bottom-container {
        /* Mobile: links first, copyright last */
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links { order: 1; }
    .footer-bottom p {
        order: 2;
        font-size: 13px;
        white-space: nowrap;
        margin-top: 0;
        margin-bottom: 0 !important;
    }
    .footer-bottom-links {
        display: flex;
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    .footer-bottom-links a {
        font-size: 14px;
        white-space: nowrap;
    }

    /* Mobile: keep footer column headings in a single line */
    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 18px;
        white-space: nowrap;
    }

    /* Mobile: add more space below social icons list in footer brand */
    .footer-brand .social-icons {
        margin-bottom: 18px;
    }
}

/* Overview Section (About Page) */
.overview-section {
    /* Styles now handled by .section-padding and .container wrapper */
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 10px;
    color: #111111;
    font-family: 'RM Neue';
}

.overview-underline {
    width: 70px;
    height: 5px;
    background: #0D8B8A;
    margin: 14px auto 0;
    border-radius: 10px;
}

.section-header p {
    max-width: 100%;
    margin: 25px auto 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #000000;
    font-weight: 400;
}

/* Interactive Grid */
.overview-grid {
    display: flex;
    gap: 18px;
    width: 100%;
    min-height: 650px;
    height: 650px; /* Fixed same height */
}

/* ALL CARDS */
.overview-card {
    position: relative;
    flex: 1;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s ease;
}

/* FIRST BOX DEFAULT OPEN */
.overview-card:first-child {
    flex: 2.8;
}

/* WHEN HOVERING GRID */
.overview-grid:hover .overview-card {
    flex: 1;
}

/* HOVERED CARD EXPANDS */
.overview-grid .overview-card:hover {
    flex: 2.8;
}

/* IMAGE */
.overview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.overview-card:hover img,
.overview-card:first-child img {
    transform: scale(1.08);
}

/* OVERLAY */
.overview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
    transition: 0.4s ease;
}

.overview-card:hover .overview-overlay,
.overview-card:first-child .overview-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

/* EXPAND CONTENT */
.expand-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    z-index: 3;
}

/* TITLE DEFAULT HEADING - VERTICAL */
.expand-content h3 {
    position: absolute;
    left: 30px; /* Align with left padding */
    bottom: 30px;
    top: auto;
    transform-origin: 0% 50%;
    transform: rotate(-90deg);
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
    transition: all 0.5s ease;
    width: max-content;
    word-spacing: 2px;
    letter-spacing: 0.5px;
}

/* FIRST BOX CONTENT VISIBLE */
.overview-card:first-child .expand-content h3 {
    position: relative;
    left: auto;
    bottom: auto;
    top: auto;
    transform: none;
    font-size: 26px;
    font-weight: 600;
    white-space: normal;
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
    word-spacing: normal;
    letter-spacing: normal;
}

/* HOVER CONTENT VISIBLE */
.overview-card:hover .expand-content h3 {
    position: relative;
    left: auto;
    bottom: auto;
    top: auto;
    transform: none;
    font-size: 26px;
    font-weight: 600;
    white-space: normal;
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
    word-spacing: normal;
    letter-spacing: normal;
}

/* RESET FIRST BOX IF ANOTHER IS HOVERED */
.overview-grid:hover .overview-card:first-child .expand-content h3 {
    position: absolute;
    left: 30px; /* Align with left padding */
    bottom: 30px;
    top: auto;
    transform-origin: 0% 50%;
    transform: rotate(-90deg);
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
    width: max-content;
    text-align: left;
    word-spacing: 2px;
    letter-spacing: 0.5px;
}

/* Keep current hovered card active overriding the reset above */
.overview-grid:hover .overview-card:hover .expand-content h3 {
    position: relative;
    left: auto;
    bottom: auto;
    top: auto;
    transform: none;
    font-size: 26px;
    font-weight: 600;
    white-space: normal;
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
}

/* TEXT */
.expand-content p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    margin: 0;
    opacity: 0;
    max-height: 0;
    transform: translateY(15px);
    transition: all 0.5s ease;
    overflow: hidden;
}

.overview-card:first-child .expand-content p {
    opacity: 1;
    max-height: 400px;
    transform: translateY(0);
    margin-top: 10px;
}

.overview-card:hover .expand-content p {
    opacity: 1;
    max-height: 400px;
    transform: translateY(0);
    margin-top: 10px;
}

/* RESET FIRST BOX IF ANOTHER IS HOVERED */
.overview-grid:hover .overview-card:first-child .expand-content p {
    opacity: 0;
    max-height: 0;
    transform: translateY(15px);
    margin-top: 0;
}

/* Keep current hovered card active overriding the reset above */
.overview-grid:hover .overview-card:hover .expand-content p {
    opacity: 1;
    max-height: 400px;
    transform: translateY(0);
    margin-top: 10px;
}

@media (max-width: 1100px) {
    .overview-grid {
        flex-direction: column;
        height: auto;
    }

    .overview-card,
    .overview-card:first-child,
    .overview-grid:hover .overview-card,
    .overview-grid .overview-card:hover {
        flex: unset;
        min-height: auto;
        height: auto;
    }

    .overview-card {
        display: flex;
        flex-direction: column;
    }
    
    .overview-card img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .overview-overlay {
        z-index: 2;
        background: rgba(0, 0, 0, 0.55) !important;
    }

    .overview-card:hover .overview-overlay,
    .overview-card:first-child .overview-overlay {
        background: rgba(0, 0, 0, 0.55) !important;
    }

    .expand-content {
        position: relative;
        z-index: 3;
        flex: 1;
        justify-content: center;
        padding: 40px 20px;
    }

    .expand-content h3 {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        transform: none;
        font-size: 24px;
        white-space: normal;
        margin-bottom: 16px;
        width: 100%;
        text-align: center;
    }

    .overview-grid:hover .overview-card:first-child .expand-content h3,
    .overview-card:first-child .expand-content h3,
    .overview-card:hover .expand-content h3,
    .overview-grid:hover .overview-card:hover .expand-content h3 {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        transform: none;
        font-size: 24px;
        white-space: normal;
        margin-bottom: 16px;
        width: 100%;
        text-align: center;
    }

    .expand-content p,
    .overview-card:first-child .expand-content p,
    .overview-card:hover .expand-content p,
    .overview-grid:hover .overview-card .expand-content p,
    .overview-grid:hover .overview-card:first-child .expand-content p,
    .overview-grid:hover .overview-card:hover .expand-content p {
        opacity: 1 !important;
        max-height: none !important;
        transform: translateY(0) !important;
        margin-top: 0;
        font-size: 15px;
        line-height: 1.6;
        text-align: center;
    }}

/* Board of Directors Section (About Page) */
.directors-section {
    background: #EEF2EE;
}

.directors-header {
    margin-bottom: 40px;
}

.directors-header h2 {
    color: #111111;
    font-family: 'RM Neue';
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 10px;
}

.directors-underline {
    width: 70px;
    height: 5px;
    background: #0D8B8A;
    border-radius: 10px;
    margin: 14px auto 0;
}

.directors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
    width: 100%;
}

.director-card {
    background: #ffffff;
    border-radius: 12px;
    height: 420px;
    overflow: hidden;
    position: relative;
    width: calc((100% - 75px) / 4);
}

.director-card img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
    width: 100%;
}

.director-card:hover img {
    transform: scale(1.05);
}

.director-info {
    background: #1d562bd1;
    bottom: 0;
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 130px;
    justify-content: center;
    left: 0;
    padding: 22px 10px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.director-info h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 16px;
}

.director-info button {
    background: #ffffff;
    border: 0;
    border-radius: 5px;
    color: #111111;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    min-width: 170px;
    padding: 10px 18px;
    margin: 0 auto;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.director-info button:hover {
    background: #0D8B8A;
    color: #ffffff;
}

/* Leadership Team Section (About Page) */
.leadership-section {
    background: #ffffff;
    padding: 60px 0;
}

.leadership-header {
    margin-bottom: 40px;
}

.leadership-header h2 {
    color: #111111;
    font-family: 'RM Neue';
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 10px;
}

.leadership-underline {
    background: #0D8B8A;
    border-radius: 10px;
    height: 5px;
    margin: 14px auto 0;
    width: 70px;
}

.leadership-header p {
    color: #000000;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.75;
    margin: 25px auto 0;
    max-width: 100%;
}

.leadership-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    width: 100%;
}

.leadership-card {
    background: #ffffff;
    border-radius: 12px;
    height: 420px;
    overflow: hidden;
    position: relative;
    width: calc((100% - 75px) / 4);
}

.leadership-card img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
    width: 100%;
}

.leadership-card:hover img {
    transform: scale(1.05);
}

.leadership-info {
    background: #1d562bd1;
    bottom: 0;
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 130px;
    justify-content: center;
    left: 0;
    padding: 22px 10px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.leadership-info h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
}

.leadership-info-designation {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    margin: 0 0 12px;
}

.leadership-info button {
    background: #ffffff;
    border: 0;
    border-radius: 5px;
    color: #111111;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin: 0 auto;
    min-width: 170px;
    padding: 10px 18px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.leadership-info button:hover {
    background: #0D8B8A;
    color: #ffffff;
}

/* About Values Section */
.about-values-section {
    background: #0D8B8A;
    padding: 70px 0;
}

.about-values-header {
    margin-bottom: 55px;
    text-align: center;
}

.about-values-header h2 {
    color: #ffffff;
    font-family: 'RM Neue';
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 10px;
}

.about-values-underline {
    background: #ffffff;
    border-radius: 10px;
    height: 5px;
    margin: 14px auto 0;
    width: 70px;
}

.about-values-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

.about-value-card {
    background: #ffffff;
    border-bottom: 16px solid #285d32;
    border-radius: 18px;
    min-height: 420px;
    overflow: hidden;
    padding: 36px 28px 52px;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

.about-value-card::after {
    background: #285d32;
    border-top-left-radius: 20px;
    bottom: 0;
    content: "";
    height: 22px;
    position: absolute;
    right: 0;
    width: 44%;
}

.about-value-card:hover {
    transform: translateY(-8px);
}

.about-value-icon {
    align-items: center;
    background: #eef4ee;
    border-radius: 7px;
    box-shadow: 0 5px 0 #285d32;
    color: #1D562B;
    display: flex;
    font-size: 42px;
    height: 88px;
    justify-content: center;
    margin: 0 auto 34px;
    width: 88px;
}

.about-value-card h3 {
    color: #000000;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
}

.about-value-card p {
    color: #000000;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 420px;
}

/* Core Values Section */
.core-values-section {
    background-color: #EEF6EE;
    background-image: url('../images/core-value-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 70px 0;
}

.core-values-header {
    margin-bottom: 40px;
    text-align: left;
}

.core-values-header h2 {
    color: #111111;
    font-family: 'RM Neue';
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 10px;
}

.core-values-underline {
    background: #0D8B8A;
    border-radius: 10px;
    height: 5px;
    margin: 14px 0 0;
    width: 70px;
}

.core-values-list {
    display: grid;
    gap: 20px;
}

.core-value-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid #1e4d35;
    border-radius: 10px;
    box-shadow: 0 4px 0 #1e4d35;
    display: grid;
    gap: 20px;
    grid-template-columns: 80px minmax(180px, 220px) 1fr;
    overflow: hidden;
    padding: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

.core-value-item::after {
    background: #1e4d35;
    border-top-left-radius: 20px;
    bottom: 0;
    content: "";
    height: 18px;
    position: absolute;
    right: 0;
    width: 200px;
}

.core-value-item:hover {
    transform: translateY(-3px);
}

.core-value-icon {
    align-items: center;
    background: #1e4d35;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    font-size: 36px;
    height: 75px;
    justify-content: center;
    width: 75px;
}

.core-value-item h3 {
    color: #111111;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.core-value-item p {
    color: #000000;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}

.director-modal .modal-dialog {
    max-width: 1040px;
    padding: 16px;
}

.director-modal .modal-content {
    background: #ffffff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    position: relative;
}

.director-modal-close {
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #111111;
    display: flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 18px;
    transition: background-color 0.25s ease, color 0.25s ease;
    width: 42px;
    z-index: 5;
}

.director-modal-close:hover {
    background: #0D8B8A;
    color: #ffffff;
}

.director-modal-layout {
    display: grid;
    grid-template-columns: minmax(280px, 38%) 1fr;
    min-height: 520px;
}

.director-modal-image {
    background: #EEF2EE;
    min-height: 520px;
    overflow: hidden;
}

.director-modal-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    width: 100%;
}

.director-modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 64px;
}

.director-modal-label {
    color: #0D8B8A;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.director-modal-body h2 {
    color: #111111;
    font-family: 'RM Neue';
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
}

.director-modal-body h3 {
    color: #1D562B;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 12px 0 22px;
}

.director-modal-body p {
    color: #222222;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.director-modal-body ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.director-modal-body li {
    color: #222222;
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
}

.director-modal-body li::before {
    background: #0D8B8A;
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 4px;
    position: absolute;
    top: 10px;
    width: 8px;
}

.modal-backdrop.show {
    opacity: 0.72;
}

@media (max-width: 992px) {
    .about-values-header h2 {
        font-size: 2.6rem;
    }

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

@media (max-width: 768px) {
    .directors-grid {
        gap: 15px;
    }

    .leadership-grid {
        gap: 15px;
    }

    .director-card {
        width: calc(50% - 8px);
    }

    .leadership-card {
        width: 45%;
    }

    .director-modal .modal-dialog {
        padding: 10px;
    }

    .director-modal-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .director-modal-image {
        aspect-ratio: auto;
        min-height: 0;
        height: auto;
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .director-modal-image img {
        height: auto;
        max-height: 280px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .director-modal-body {
        padding: 30px 24px 34px;
    }

    .director-modal-body h2 {
        font-size: 1.9rem;
    }

    .about-values-section,
    .core-values-section {
        padding: 55px 0;
    }

    .about-values-header {
        margin-bottom: 40px;
    }

    .about-values-header h2 {
        font-size: 2.1rem;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-value-card {
        min-height: auto;
        padding: 28px 24px 34px;
        border-bottom-width: 8px;
    }

    .about-value-card::after {
        height: 11px;
    }

    .core-values-header h2 {
        font-size: 2rem;
    }

    .core-value-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .core-value-item .core-value-icon {
        flex-shrink: 0;
    }

    .core-value-item h3 {
        flex: 1;
        margin: 0;
    }

    .core-value-item p {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .directors-header h2 {
        font-size: 1.8rem;
    }

    .director-card {
        width: 100%;
    }

    .leadership-header h2 {
        font-size: 1.8rem;
    }

    .leadership-card {
        width: 100%;
    }

    .director-modal-close {
        height: 38px;
        right: 12px;
        top: 12px;
        width: 38px;
    }

    .director-modal-body {
        padding: 26px 20px 30px;
    }

    .director-modal-body h2 {
        font-size: 1.65rem;
    }

    .director-modal-body p,
    .director-modal-body li {
        font-size: 0.95rem;
    }

    .about-values-header h2,
    .core-values-header h2 {
        font-size: 1.8rem;
    }

    .about-value-icon {
        font-size: 32px;
        height: 64px;
        width: 64px;
    }

    .about-value-card h3 {
        font-size: 22px;
    }

    .about-value-card p {
        font-size: 16px;
    }

    .core-value-item {
        padding: 22px 18px 26px;
    }

    .core-value-item::after {
        width: 145px;
    }
}

/* About Section */
.about-section { background-color: #EEF6EE; }

@media (max-width: 767px) {
    /* Mobile: reduce vertical gap between image and text columns (row uses Bootstrap g-5) */
    .about-section .row.g-5 {
        --bs-gutter-y: 0.5rem;
    }

    /* Mobile: reduce vertical gap between expertise image and text */
    .expertise-section .row.g-5 {
        --bs-gutter-y: 1.25rem;
    }
}

.about-img-wrap {
    position: relative;
    width: 100%;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.about-stats-box {
    position: absolute;
    top: 50px;
    right: 5px;
    z-index: 2;
    background-color: var(--primary-color);
    color: #fff;
    padding: 18px 22px;
    border-radius: 10px;
}

.about-stats-number {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'RM Neue';
}

.about-stats-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.5;
}

.about-label {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2.5px;
    margin-bottom: 0.4rem;
    display: block;
}

.about-heading {
    color: #0d0d0d;
    font-weight: 600;
    font-size: 2.8rem;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    font-family: 'RM Neue';
    line-height: 1.15;
}

.about-heading::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background-color: var(--primary-color);
    margin-top: 16px;
    border-radius: 8px;
}

.about-desc {
    color: #000000;
    margin-bottom: 1.6rem;
    margin-top: 1.2rem;
    line-height: 1.75;
    font-size: 1.05rem;
}

.about-features { margin-bottom: 1.6rem; }

.about-feature-item { margin-bottom: 1.1rem; }

.about-feature-title {
    font-weight: 700;
    color: #1D562B;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    font-family: 'RM Neue';
}

.about-feature-text {
    color: #000000;
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.65;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #1D562B;
    background-color: #1D562B;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'RM Neue';
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.about-btn:hover {
    background-color: #0D8B8A;
    border-color: #0D8B8A;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .about-stats-box {
        padding: 14px 16px;
        top: 15px;
        right: 15px;
    }
    .about-stats-number { font-size: 1.8rem; }
    .about-stats-label { font-size: 0.65rem; }
    .about-label { font-size: 0.78rem; }
    .about-heading { font-size: 1.6rem; }
}

/* CONTACT US */
.contact-hero {
    position: relative;
    overflow: hidden;
}

.contact-hero__bg {
    position: relative;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 520px;
}

.contact-hero__img {
    width: 100%;
    height: auto;
    display: none;
}

.contact-intro {
    padding: 80px 0 35px;
}

.contact-intro__head h2 {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.15;
    color: #111111;
    margin: 0;
    font-family: 'RM Neue';
}

.contact-intro__underline {
    width: 70px;
    height: 5px;
    border-radius: 10px;
    background: var(--secondary-color);
    margin: 14px auto 0;
}

.contact-intro__head p {
    max-width: 980px;
    margin: 25px auto 0;
    color: #000000;
    font-size: 1.05rem;
    line-height: 1.75;
}

.contact-body {
    padding: 25px 0 90px;
}

.contact-form-card {
    border: 1px solid #1D562B;
    border-radius: 8px;
    background: #fff;
    padding: 26px 26px 22px;
}

.contact-form {
    width: 100%;
}

.contact-form .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.contact-form [class*='col-'] {
    padding: 0 0.5rem;
}

.contact-form .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.contact-form .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.contact-form .g-3 > * {
    margin-bottom: 0.5rem;
}

.contact-form .g-lg-4 > * {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .contact-form .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.contact-label {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-req {
    color: #d11;
    margin-left: 2px;
}

.contact-input {
    background: #f7f7f7;
    border-color: #e6e6e6;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
}

.contact-input::placeholder {
    color: #9a9a9a;
}

.contact-query-input {
    min-height: 64px;
}

.contact-phone-group .contact-phone-code {
    max-width: 110px;
    border-radius: 8px 0 0 8px;
    background: #f7f7f7;
    border-color: #e6e6e6;
    font-weight: 600;
    font-size: 14px;
}

.contact-phone-group .contact-input {
    border-radius: 0 8px 8px 0;
}

.contact-textarea {
    height: 96px;
    min-height: 96px;
    resize: none;
    width: 100%;
}

.contact-actions {
    display: flex;
    justify-content: center;
    padding-top: 18px;
}

.contact-submit-btn {
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 6px;
    padding: 12px 80px;
    font-weight: 700;
    font-size: 14px;
}

.contact-submit-btn:hover {
    background: #174622;
}

.contact-details {
    padding-top: 0;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    background: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.contact-icon i {
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

.contact-icon-image {
    background: var(--primary-color);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.contact-icon-image img {
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.contact-detail-title {
    font-weight: 800;
    color: #111;
    font-size: 20px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.contact-detail-value {
    color: #111;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 1199px) {
    .contact-hero {
        min-height: 0 !important;
        height: auto !important;
        line-height: 0;
    }
    .contact-hero__bg {
        display: none !important;
    }
    .contact-hero__img {
        display: block !important;
    }
}

@media (max-width: 991px) {
    .contact-intro {
        padding: 50px 0 22px;
    }
    .contact-intro__head h2 {
        font-size: 1.6rem;
    }
    .contact-body {
        padding: 20px 0 70px;
    }
    .contact-form-card {
        padding: 18px 16px 14px;
    }
    .contact-submit-btn {
        width: 100%;
        padding: 12px 24px;
    }
}

/* Dynamic Form Page */
.form-page-hero {
    background: linear-gradient(135deg, #0D8B8A 0%, #1D562B 100%);
    padding: 60px 0 50px;
    text-align: center;
    color: #fff;
}

.form-page-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.form-page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.form-body {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.dynamic-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.dynamic-form .form-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.dynamic-form .form-control,
.dynamic-form .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dynamic-form .form-control:focus,
.dynamic-form .form-select:focus {
    border-color: #0D8B8A;
    box-shadow: 0 0 0 3px rgba(13, 139, 138, 0.15);
    outline: none;
}

.dynamic-form .form-control.is-invalid,
.dynamic-form .form-select.is-invalid {
    border-color: #dc3545;
}

.dynamic-form .form-control.is-invalid:focus,
.dynamic-form .form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.dynamic-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.dynamic-form .invalid-feedback {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 4px;
}

.dynamic-form .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    border: 2px solid #ddd;
}

.dynamic-form .form-check-input:checked {
    background-color: #0D8B8A;
    border-color: #0D8B8A;
}

.dynamic-form .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(13, 139, 138, 0.15);
}

.form-actions {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.btn-form-submit {
    background: linear-gradient(135deg, #1D562B 0%, #0D8B8A 100%);
    color: #fff;
    font-weight: 600;
    padding: 14px 48px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 139, 138, 0.3);
    color: #fff;
}

.btn-form-submit:active {
    transform: translateY(0);
}

.phone-input-group {
    display: flex;
    gap: 0;
}

.phone-input-group .phone-country-code {
    width: 130px;
    flex-shrink: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    background: #f5f5f5;
    font-size: 0.9rem;
    padding: 12px 8px;
}

.phone-input-group .phone-country-code:focus {
    border-color: #0D8B8A;
    box-shadow: 0 0 0 3px rgba(13, 139, 138, 0.15);
    z-index: 2;
    border-right: 1px solid #0D8B8A;
}

.phone-input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    flex: 1;
}

.phone-input-group .form-control:focus {
    z-index: 1;
    border-left: none;
    box-shadow: -1px 0 0 3px rgba(13, 139, 138, 0.15);
}

/* Form Block in Pages */
.form-block-wrapper {
    background: #f8f9fa;
    padding: 60px 0;
}

.form-block-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
}

/* Phone Select Dropdown Styling */
.phone-select-display {
    max-width: 80px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.375rem 0.75rem !important;
}

.phone-select-display:focus {
    width: auto !important;
    max-width: none !important;
}

.phone-select-display option {
    white-space: normal;
    padding: 8px;
}

.contact-phone-group .phone-select-display {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

/* Submissions Table Styling */
.table-responsive {
    font-size: 13px;
}

.table-striped tbody tr:hover {
    background-color: #f8f9fa;
}

.table td {
    vertical-align: middle;
    word-wrap: break-word;
}

.table th {
    font-weight: 600;
    text-transform: capitalize;
}

@media (max-width: 767px) {
    .form-page-hero {
        padding: 40px 0 30px;
    }
    .form-page-header h1 {
        font-size: 1.8rem;
    }
    .form-body {
        padding: 30px 0 50px;
    }
    .dynamic-form-card {
        padding: 24px 20px;
    }
    .btn-form-submit {
        width: 100%;
        padding: 14px 24px;
    }

    .phone-select-display {
        max-width: 70px !important;
    }
}

/* Project-wide responsive hardening */
html {
    max-width: 100%;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

p,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.dropdown-item,
.btn {
    overflow-wrap: anywhere;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

.container {
    min-width: 0;
}

.row > * {
    min-width: 0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.section-header h2,
.about-heading,
.expertise-main-heading,
.why-imc-heading,
.products-heading,
.sustainability-heading,
.news-main-heading,
.section-title,
.directors-header h2,
.leadership-header h2,
.about-values-header h2,
.core-values-header h2,
.contact-intro__head h2,
.form-page-header h1 {
    font-size: clamp(1.8rem, 4.4vw, 2.8rem);
    line-height: 1.15;
}

.hero-content h1,
.page-hero h1,
.banner-title {
    font-size: clamp(2rem, 7vw, 3.5rem);
    line-height: 1.05;
}

.section-padding,
.leadership-section,
.about-values-section,
.core-values-section {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 575px) {
    .header-logo-img {
        height: 40px;
    }
}

@media (max-width: 991px) {
    .header-logo-img {
        height: 52px;
    }

    .offcanvas {
        width: min(300px, 88vw) !important;
    }

    .hero-slide-img {
        min-height: 320px;
        object-fit: cover;
        object-position: center;
    }

    .stats-section,
    .about-section,
    .expertise-section,
    .why-imc-section,
    .products-section,
    .sustainability-section,
    .news-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .overview-grid {
        min-height: 0;
    }

    .director-card,
    .leadership-card {
        height: auto;
        min-height: 360px;
    }

    .director-card img,
    .leadership-card img {
        min-height: 360px;
    }

    .core-value-item {
        grid-template-columns: 70px 1fr;
    }

    .core-value-item p {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .navbar {
        min-width: 0;
    }

    .navbar .gap-4 {
        gap: 14px !important;
    }

    .navbar img[style*="height: 35px"] {
        height: 30px !important;
        max-width: 42vw;
        object-fit: contain;
    }

    .hero-slide-img {
        min-height: 280px;
    }

    .stats-card,
    .why-imc-card,
    .product-card,
    .news-card,
    .sus-card,
    .about-value-card,
    .core-value-item,
    .contact-form-card,
    .dynamic-form-card,
    .form-block-card {
        border-radius: 8px;
    }

    .overview-card,
    .overview-card:first-child,
    .overview-grid:hover .overview-card,
    .overview-grid .overview-card:hover {
        min-height: 340px;
        height: auto;
    }

    .expand-content {
        padding: 22px;
    }

    .expand-content h3,
    .overview-card:first-child .expand-content h3,
    .overview-card:hover .expand-content h3,
    .overview-grid:hover .overview-card:first-child .expand-content h3 {
        font-size: 1.45rem;
    }

    .expand-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .directors-grid,
    .leadership-grid,
    .about-values-grid {
        gap: 18px;
    }

    .director-card,
    .leadership-card {
        width: calc(50% - 9px);
        min-height: 250px;
    }

    .director-card img,
    .leadership-card img {
        min-height: 200px;
    }

    .director-info,
    .leadership-info {
        height: auto;
        min-height: 80px;
        padding: 10px 6px;
    }

.director-info h3,
.leadership-info h3 {
    font-size: 12px;
    margin: 0 0 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    display: block;
}

.leadership-info-designation {
    font-size: 12px;
    font-weight: 400;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

    .director-info button,
    .leadership-info button {
        min-width: 0;
        width: 100%;
        max-width: 140px;
        font-size: 11px;
        padding: 4px 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .core-value-item {
        grid-template-columns: 56px 1fr;
        padding: 20px 16px 24px;
    }

    .core-value-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .core-value-item h3 {
        text-align: left;
        font-size: 1rem;
    }

    .contact-detail-item {
        gap: 14px;
        align-items: flex-start;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .contact-detail-value {
        overflow-wrap: anywhere;
    }

    .phone-input-group,
    .contact-phone-group {
        flex-wrap: nowrap;
        width: 100%;
    }

    .phone-input-group .phone-country-code,
    .contact-phone-group .contact-phone-code,
    .phone-select-display {
        width: 86px !important;
        max-width: 86px !important;
        flex: 0 0 86px;
    }

	    .footer-grid {
	        /* Mobile footer: show Quick Links + Our Products side-by-side */
	        grid-template-columns: 1fr 1fr;
	        gap: 20px;
	    }

	    .footer-brand {
	        grid-column: 1 / -1;
	    }

	    /* Contact column full width below the two link columns */
	    .footer-grid > .footer-column:last-child {
	        grid-column: 1 / -1;
	    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .navbar img[style*="height: 35px"] {
        height: 26px !important;
        max-width: 39vw;
    }

    .hero-slide-img {
        min-height: 240px;
    }

    .contact-submit-btn,
    .btn-form-submit,
    .about-btn,
    .btn-contact-mobile {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile header final styling */

@media (max-width: 420px) {
    .main-nav {
        min-height: 0;
        padding: 0 !important;
    }
    
    /* .mobile-logo-img removed as logos are now in header-top */

    .custom-toggler {
        width: 34px;
        height: 34px;
        border-radius: 6px !important;
    }
}

@media (max-width: 767px) {
    .newsletter-left h2 {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }
    /* Global: keep headings readable and prevent overflow on small screens */
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.2;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 5vw, 1.6rem); }
    h4 { font-size: clamp(1.1rem, 4.5vw, 1.35rem); }
    h5 { font-size: clamp(1rem, 4vw, 1.15rem); }
    h6 { font-size: clamp(0.9rem, 3.5vw, 1rem); }

    /* Heading-like display text (not always h-tags) */
    .products-overlay-text {
        font-size: clamp(1.25rem, 5.5vw, 1.6rem);
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

/* Modal z-index fix */
.modal {
    z-index: 3050 !important;
}
.modal-backdrop {
    z-index: 3045 !important;
}
.thank-you-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thank-you-lightbox.show {
    opacity: 1;
    visibility: visible;
}

.thank-you-modal {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.thank-you-icon {
    font-size: 60px;
    color: #0D8B8A;
    margin-bottom: 20px;
}

.thank-you-modal h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.thank-you-modal p {
    color: #666;
    margin-bottom: 0;
}

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

/* Frontend Notification Lightbox (error / warning / info) */
.fe-notif-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.48);
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.fe-notif-overlay.show {
    opacity: 1;
    visibility: visible;
}
.fe-notif-box {
    background: #fff;
    border-radius: 16px;
    padding: 38px 42px 28px;
    min-width: 290px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 16px 50px rgba(0,0,0,0.2);
    animation: feNotifIn 0.32s cubic-bezier(.22,.68,0,1.2);
}
@keyframes feNotifIn {
    from { opacity:0; transform: scale(0.82) translateY(-16px); }
    to   { opacity:1; transform: scale(1) translateY(0); }
}
.fe-notif-close {
    position: absolute; top: 12px; right: 15px;
    background: none; border: none;
    font-size: 22px; color: #bbb; cursor: pointer; line-height: 1;
    transition: color .2s;
}
.fe-notif-close:hover { color: #555; }
.fe-notif-icon { font-size: 56px; margin-bottom: 12px; }
.fe-notif-title { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.fe-notif-msg   { font-size: 14.5px; color: #555; margin-bottom: 20px; line-height: 1.55; }
.fe-notif-track { height: 4px; background: #ebebeb; border-radius: 4px; overflow: hidden; }
.fe-notif-bar   { height: 100%; width: 100%; border-radius: 4px; transition: width linear; }

.fe-notif-error   .fe-notif-icon { color: #dc3545; }
.fe-notif-error   .fe-notif-bar  { background: #dc3545; }
.fe-notif-warning .fe-notif-icon { color: #e6a817; }
.fe-notif-warning .fe-notif-bar  { background: #e6a817; }
.fe-notif-info    .fe-notif-icon { color: #0D8B8A; }
.fe-notif-info    .fe-notif-bar  { background: #0D8B8A; }
