/*************************************
    		Our History
**************************************/
.history-main {
    width: 100%;
}

.liner {
    background: #fff;
    height: 2px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: 50%;
    width: 96%;
    z-index: 1;
    position: relative;
}

.liner i {
    position: absolute;
    right: -2px;
    top: -9px;
    color: #fff;
}

.history-content {
    list-style: outside none none;
    padding: 125px 0;
    width: auto;
}

.history-1 {
    position: relative;
    left: 45px;
}

.history-2 {
    position: relative;
    margin-left: 30%;
}

.history-3 {
    position: relative;
    margin-left: 58%;
}

.history-4 {
    position: relative;
    margin-left: 95%;
}

.history-line {
    background: #fff;
    height: 60px;
    left: 3px;
    position: absolute;
    top: -75px;
    width: 2px;
    z-index: 9;
}

.history-time-lin {
    position: relative;
    top: 10px;
    z-index: 2;
}

.history-time-lin:before {
    bottom: 0;
}

.history-time-lin:before {
    background: #fff;
    border-radius: 50%;
    content: "";
    height: 20px;
    left: -5px;
    position: absolute;
    width: 20px;
    z-index: 1;
}

.history-time-lin:after {
    border: 2px solid #fff;
    background: #000;
    border-radius: 50%;
    content: "";
    height: 30px;
    left: -5px;
    position: absolute;
    width: 30px;
}

.history-time-lin:after {
    left: -10px;
    top: -25px;
}

.history-item {
    left: -20px;
    position: absolute;
    top: -125px;
}

.history-item a {
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.2);
    line-height: 45px;
    font-size: 14px;
    color: #fff;
    width: 50px;
    height: 50px;
    text-align: center;
    display: block;
}

.history-5 {
    position: relative;
    margin-left: 15%;
}

.history-6 {
    position: relative;
    margin-left: 53%;
}

.history-7 {
    position: relative;
    margin-left: 78%;
}

.history-line-2 {
    background: #fff none repeat scroll 0 0;
    height: 60px;
    left: 3px;
    position: absolute;
    top: 15px;
    width: 2px;
    z-index: 9;
}

.history-item-2 {
    left: -20px;
    position: absolute;
    top: 75px;
}

.history-item-2 a {
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.2);
    line-height: 45px;
    font-size: 14px;
    color: #fff;
    width: 50px;
    height: 50px;
    text-align: center;
    display: block;
}

/*Our History */
.our-history .timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.our-history .timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 2px;
    background-color: #e6e6e6;
    left: 50%;
    margin-left: -0.5px;
}

.our-history .timeline>li {
    margin-bottom: 20px;
    position: relative;
}

.our-history .timeline>li:before,
.our-history .timeline>li:after {
    content: " ";
    display: table;
}

.our-history .timeline>li:after {
    clear: both;
}

.our-history .timeline>li:before,
.our-history .timeline>li:after {
    content: " ";
    display: table;
}

.our-history .timeline>li:after {
    clear: both;
}

.our-history .timeline>li>.timeline-panel {
    width: 46%;
    float: left;
    padding: 15px 00px 25px 00px;
    position: relative;
}

.our-history .timeline>li>.timeline-panel:before {
    position: absolute;
    top: 23px;
    right: -25px;
    display: inline-block;
    width: 25px;
    height: 2px;
    background: #e6e6e6;
    content: " ";
}

.our-history .timeline>li>.timeline-badge {
    color: #fff;
    width: 18px;
    height: 18px;
    line-height: 10px;
    font-size: 0.7em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    border: 3px solid #84ba3f;
    margin-left: -9px;
    background-color: #fff;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    box-shadow: 0 0 0 5px #fff;
}

.our-history .timeline>li.timeline-inverted>.timeline-panel {
    float: right;
}

.our-history .timeline>li.timeline-inverted>.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -32px;
    right: auto;
}

.our-history .timeline>li.timeline-inverted>.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.our-history .timeline-body>p,
.our-history .timeline-body>ul {
    margin-bottom: 0;
}

.our-history .timeline-body>p+p {
    margin-top: 5px;
}

.our-history .timeline>li {
    text-align: right;
}

.our-history .timeline>li.timeline-inverted {
    text-align: left;
}

.our-history .timeline .timeline-arrow {
    position: absolute;
    width: 100%;
    left: 0.5px;
    right: 0;
    text-align: center;
    color: #e6e6e6;
    bottom: -29px;
}

.our-history .timeline>li>.timeline-badge p {
    width: 200px;
    margin-top: -9px;
    margin-left: 25px;
    font-size: 17px;
    font-weight: bold;
    text-align: left;
}

.our-history .timeline>li.timeline-inverted .timeline-badge p {
    text-align: right;
    float: right;
    margin-right: 25px;
}

img {
    vertical-align: top !important;
}

.vertical-align {
    vertical-align: middle !important;
}

.iq-pb-08 {
    padding-bottom: 05px;
}

.cb {
    position: relative;
    margin-top: -1px;
    margin-left: 1px;
}

.align-items-center {
    -ms-flex-align: flex-start !important;
    align-items: flex-start !important;
}

/*************************************
Somnath Ferrocast Home About
**************************************/
.sf-about {
    position: relative;
    background: #f8f7f4;
    overflow: hidden;
}

.sf-about::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(227, 113, 51, 0.18), rgba(227, 113, 51, 0.04) 60%, rgba(227, 113, 51, 0) 70%);
}

.sf-about::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0) 70%);
}

.sf-about .container {
    position: relative;
    z-index: 1;
}

.sf-about__row {
    align-items: center;
}

.sf-about__content {
    padding-right: 40px;
}

.sf-about__content .small-title {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 18px;
}

.sf-about__content p {
    color: #4a4a4a;
    line-height: 1.75;
    margin-bottom: 16px;
}

.sf-about__content .fs-26 {
    font-size: 18px !important;
    line-height: 30px;
}

.sf-about__content .button {
    margin-top: 12px;
    padding: 10px 22px;
    border-radius: 4px;
    box-shadow: 0 10px 18px rgba(227, 113, 51, 0.2);
}

.sf-about__media .year-bg {
    background-repeat: no-repeat;
    background-position: center !important;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.sf-about__media img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

@media (max-width: 991px) {
    .sf-about__content {
        padding-right: 0;
        margin-bottom: 24px;
    }

    .sf-about::before {
        width: 300px;
        height: 300px;
        top: -90px;
        right: -120px;
    }

    .sf-about::after {
        width: 260px;
        height: 260px;
        bottom: -120px;
        left: -120px;
    }
}

@media (max-width: 575px) {
    .sf-about__content .small-title {
        font-size: 26px;
        line-height: 36px;
    }

    .sf-about__content p {
        font-size: 15px;
    }

    .sf-about__media .year-bg {
        padding: 12px;
    }
}

@media (max-width: 767px) {
    #total-plant-area .columns-2 {
        column-count: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #total-plant-area .columns-2>div:nth-child(2) {
        order: 1;
    }

    #total-plant-area .columns-2>div:nth-child(1) {
        order: 2;
    }

    #total-plant-area .py-24 {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    #total-plant-area h2 {
        margin-bottom: 12px;
    }

    #total-plant-area .text-lg {
        text-align: justify;
        text-wrap: pretty;
    }
}

@media (max-width: 767px) {
    #sand-plant {
        margin-left: 0 !important;
        padding-left: 16px;
        padding-right: 16px;
    }

    #sand-plant .row {
        flex-direction: column;
        gap: 16px;
    }

    #sand-plant h2,
    #sand-plant h4 {
        text-align: left;
        letter-spacing: normal;
        word-spacing: normal;
    }

    #sand-plant .mb-8 {
        text-align: justify;
        text-wrap: pretty;
    }
}

@media (max-width: 767px) {
    #laboratory .lab-table-wrap {
        overflow-x: visible;
    }

    #laboratory .lab-table,
    #laboratory .lab-table tbody {
        display: block;
        width: 100%;
    }

    #laboratory .lab-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
        padding: 10px 12px;
        border: 1px solid #ef7f1a;
        border-radius: 8px;
        background: #f7f7f7;
        margin-bottom: 12px;
    }

    #laboratory .lab-table td {
        border: 0;
        background: transparent;
        padding: 0;
        font-size: 13px;
        line-height: 1.35;
        word-break: break-word;
    }
}

.metal-testing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.metal-testing-grid>* {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 20px;
    color: #333333;
}

.metal-testing-grid>* h4 {
    margin-bottom: 10px;
    font-weight: 700;
}

.metal-testing-grid>* p {
    margin: 0;
    color: inherit;
}

.metal-testing-grid>*:first-child {

    /* border-color: #e1791c; */
    color: #000000;
}

@media (max-width: 767px) {
    .metal-testing-grid {
        grid-template-columns: 1fr;
    }
}

/*************************************
Somnath Ferrocast Careers
**************************************/
.sf-careers {
    --sf-accent: #ef7f1a;
    --sf-accent-dark: #d8640b;
    --sf-dark: #0c0f12;
    --sf-soft: #f4f6f8;
    --sf-text: #2e2f33;
    --sf-muted: #6a7077;
    font-family: 'Open Sans', sans-serif;
    background: var(--sf-soft);
}

.sf-careers-hero {
    position: relative;
    padding: 150px 0 110px;
    background-color: var(--sf-dark);
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.sf-careers-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(5, 7, 9, 0.9), rgba(5, 7, 9, 0.45));
}

.sf-careers-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 25%, rgba(239, 127, 26, 0.3), rgba(239, 127, 26, 0) 40%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.sf-careers-hero .container {
    position: relative;
    z-index: 1;
}

.sf-hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.sf-hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.sf-hero-title span {
    color: var(--sf-accent);
}

.sf-hero-sub {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 26px;
}

.sf-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.sf-hero-link {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.sf-hero-link:hover {
    color: var(--sf-accent);
    transform: translateX(4px);
}

.sf-hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sf-badge {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

.sf-badge i {
    color: var(--sf-accent);
    font-size: 20px;
    margin-top: 2px;
}

.sf-badge h6 {
    margin: 0 0 4px;
    font-weight: 700;
    color: #fff;
}

.sf-badge p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.sf-hero-card {
    background: rgba(11, 13, 16, 0.8);
    border-radius: 22px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.sf-hero-card__header span {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.sf-hero-card__header h3 {
    margin: 10px 0 18px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.sf-hero-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.sf-hero-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.sf-hero-card__list i {
    color: var(--sf-accent);
}

.sf-hero-card__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sf-hero-card__cta .button.white {
    background: #fff;
    color: var(--sf-dark);
}

.sf-hero-card__cta span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.sf-hero-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 127, 26, 0.55), rgba(239, 127, 26, 0));
    animation: sfFloat 6s ease-in-out infinite;
    z-index: 0;
}

.sf-hero-orb--one {
    width: 220px;
    height: 220px;
    top: 40px;
    right: 10%;
    animation-delay: 0s;
}

.sf-hero-orb--two {
    width: 300px;
    height: 300px;
    bottom: -60px;
    left: 10%;
    animation-delay: 1.5s;
}

@keyframes sfFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.sf-section-title span {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    color: var(--sf-accent-dark);
    display: inline-block;
    margin-bottom: 12px;
}

.sf-section-title h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 34px;
    margin-bottom: 14px;
    color: var(--sf-text);
}

.sf-section-title h2 strong {
    color: var(--sf-accent);
}

.sf-section-title p {
    color: var(--sf-muted);
    line-height: 1.7;
}

.sf-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sf-value-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid #eceff2;
    box-shadow: 0 15px 35px rgba(15, 15, 15, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sf-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 15, 15, 0.12);
}

.sf-value-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(239, 127, 26, 0.12);
    color: var(--sf-accent);
    margin-bottom: 16px;
    font-size: 20px;
}

.sf-value-card h4 {
    margin-bottom: 8px;
    font-weight: 700;
}

.sf-value-card p {
    margin: 0;
    color: var(--sf-muted);
    font-size: 14px;
    line-height: 1.6;
}

.sf-careers-gallery {
    padding: 80px 0;
    background: #fff;
}

.sf-gallery-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.sf-gallery-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    color: var(--sf-muted);
}

.sf-gallery-list i {
    color: var(--sf-accent);
}

.sf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 16px;
}

.sf-gallery-item {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.sf-gallery-item--large {
    grid-row: span 2;
}

.sf-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sf-careers-openings {
    background: var(--sf-soft);
}

.sf-careers-openings .row {
    row-gap: 32px;
}

.sf-role-card {
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid #eceff2;
    margin-bottom: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sf-role-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(15, 15, 15, 0.1);
}

.sf-role-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.sf-role-card__top h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.sf-role-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(239, 127, 26, 0.12);
    color: var(--sf-accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    min-height: 24px;
}

.sf-role-card p {
    color: var(--sf-muted);
    font-size: 14px;
    line-height: 1.6;
    min-height: 72px;
    margin-bottom: 18px;
    flex: 1 1 auto;
}

.sf-role-meta {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    font-size: 12px;
    color: var(--sf-muted);
    margin-top: 12px;
}

.sf-role-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sf-role-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: var(--sf-accent);
    box-shadow: 0 10px 20px rgba(239, 127, 26, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sf-role-link:hover {
    background: var(--sf-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(239, 127, 26, 0.28);
    color: #000;
}

.sf-careers-process {
    padding: 80px 0;
    background: linear-gradient(120deg, #1c1f24, #101214);
    color: #fff;
}

.sf-careers-process .sf-section-title span {
    color: rgba(255, 255, 255, 0.6);
}

.sf-careers-process .sf-section-title h2 {
    color: #fff;
}

.sf-process-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    height: 100%;
}

.sf-process-step {
    font-size: 22px;
    font-weight: 700;
    color: var(--sf-accent);
    margin-bottom: 12px;
}

.sf-process-card h4 {
    color: #fff;
    margin-bottom: 10px;
}

.sf-process-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
}

.sf-careers-apply {
    background: #fff;
}

.sf-apply-info span {
    color: var(--sf-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.sf-apply-info h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 32px;
    margin-bottom: 12px;
}

.sf-apply-info p {
    color: var(--sf-muted);
    line-height: 1.7;
}

.sf-apply-highlight {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--sf-soft);
    padding: 14px 16px;
    border-radius: 14px;
    margin-top: 14px;
}

.sf-apply-highlight i {
    color: var(--sf-accent);
    font-size: 18px;
}

.sf-apply-highlight h5 {
    margin: 0 0 4px;
    font-weight: 700;
}

.sf-apply-highlight p {
    margin: 0;
    font-size: 13px;
    color: var(--sf-muted);
}

.sf-apply-card {
    background: var(--sf-soft);
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.sf-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sf-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.sf-form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--sf-text);
}

.sf-form-group input,
.sf-form-group select,
.sf-form-group textarea {
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
    color: var(--sf-text);
}

.sf-form-group small {
    margin-top: 6px;
    font-size: 12px;
    color: var(--sf-muted);
}

.sf-form-group textarea {
    resize: vertical;
}

.sf-careers-apply .button {
    padding: 12px 28px;
    border-radius: 8px;
    background: var(--sf-accent);
    border: none;
    color: #fff;
}

.sf-careers-apply .button:hover {
    background: var(--sf-accent-dark);
}

@media (max-width: 991px) {
    .sf-careers-hero {
        padding: 130px 0 80px;
    }

    .sf-hero-title {
        font-size: 38px;
    }

    .sf-hero-badges {
        grid-template-columns: 1fr;
    }

    .sf-values-grid {
        grid-template-columns: 1fr;
    }

    .sf-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .sf-gallery-item--large {
        grid-row: span 1;
    }

    .sf-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .sf-hero-title {
        font-size: 32px;
    }

    .sf-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .sf-role-meta {
        flex-direction: column;
        gap: 6px;
    }
}

/*************************************
Somnath Ferrocast Gallery
**************************************/
.sf-gallery-page {
    --sf-gallery-accent: #ef7f1a;
    --sf-gallery-accent-dark: #d8640b;
    --sf-gallery-dark: #0d0f12;
    --sf-gallery-text: #25262a;
    --sf-gallery-muted: #6f7680;
    background: #f5f6f8;
    color: var(--sf-gallery-text);
}

.sf-gallery-hero {
    position: relative;
    padding: 150px 0 110px;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.sf-gallery-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 7, 9, 0.92), rgba(6, 7, 9, 0.45));
}

.sf-gallery-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(239, 127, 26, 0.35), rgba(239, 127, 26, 0) 45%),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%);
    pointer-events: none;
}

.sf-gallery-hero .container {
    position: relative;
    z-index: 1;
}

.sf-gallery-hero__tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.sf-gallery-hero__title {
    font-family: 'Raleway', sans-serif;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 16px;
}

.sf-gallery-hero__title span {
    color: var(--sf-gallery-accent);
}

.sf-gallery-hero__text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 24px;
}

.sf-gallery-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sf-gallery-hero__link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.sf-gallery-hero__link:hover {
    color: var(--sf-gallery-accent);
    transform: translateX(4px);
}

.sf-gallery-hero__card {
    background: rgba(12, 14, 17, 0.82);
    border-radius: 22px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.sf-gallery-hero__card h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 22px;
}

.sf-gallery-hero__card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.sf-gallery-hero__card li {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.sf-gallery-hero__card li i {
    color: var(--sf-gallery-accent);
}

.sf-gallery-hero__stat {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sf-gallery-hero__stat h3 {
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.sf-gallery-hero__stat span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.sf-gallery-hero__orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 127, 26, 0.5), rgba(239, 127, 26, 0));
    animation: sfFloat 7s ease-in-out infinite;
    z-index: 0;
}

.sf-gallery-hero__orb--one {
    width: 240px;
    height: 240px;
    top: 40px;
    right: 8%;
}

.sf-gallery-hero__orb--two {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: 6%;
    animation-delay: 1.8s;
}

.sf-gallery-highlights {
    background: #fff;
}

.sf-gallery-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sf-gallery-highlight {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #eceff2;
    box-shadow: 0 12px 28px rgba(15, 15, 15, 0.08);
}

.sf-gallery-highlight i {
    color: var(--sf-gallery-accent);
    font-size: 20px;
    margin-bottom: 12px;
}

.sf-gallery-highlight h5 {
    margin-bottom: 8px;
    font-weight: 700;
}

.sf-gallery-highlight p {
    margin: 0;
    color: var(--sf-gallery-muted);
    font-size: 14px;
}

.sf-gallery-grid-section {
    padding: 80px 0 100px;
    background: #f5f6f8;
}

.sf-gallery-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    grid-auto-rows: auto;
}

.sf-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    transform: translateZ(0);
    background: #fff;
    aspect-ratio: 1 / 1;
}

.sf-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
    background: #fff;
}

.sf-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sf-gallery-overlay {
    position: absolute;
    left: 20px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s ease;
}

.sf-gallery-overlay span {
    display: inline-block;
    background: rgba(239, 127, 26, 0.9);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.sf-gallery-overlay h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.sf-gallery-item:hover img {
    transform: scale(1.06);
}

.sf-gallery-item:hover::after {
    opacity: 1;
}

.sf-gallery-item:hover .sf-gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.sf-gallery-empty {
    grid-column: 1 / -1;
    background: #fff;
    border-radius: 16px;
    padding: 46px 30px;
    text-align: center;
    color: var(--sf-gallery-muted);
    box-shadow: 0 12px 28px rgba(15, 15, 15, 0.08);
    border: 1px dashed rgba(239, 127, 26, 0.35);
}

.sf-gallery-empty__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    background: rgba(239, 127, 26, 0.12);
    color: var(--sf-gallery-accent);
    font-size: 26px;
}

.sf-gallery-empty h4 {
    margin-bottom: 8px;
    color: var(--sf-gallery-text);
    font-weight: 700;
}

.sf-gallery-empty p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 991px) {
    .sf-gallery-hero {
        padding: 130px 0 80px;
    }

    .sf-gallery-hero__title {
        font-size: 38px;
    }

    .sf-gallery-highlight-grid {
        grid-template-columns: 1fr;
    }

    .sf-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .sf-gallery-hero__title {
        font-size: 32px;
    }

    .sf-gallery-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .sf-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Sectors Mega Menu */
@media screen and (min-width: 1023px) {
    .mega-menu .menu-links > li.sectors-menu {
        position: relative;
    }

    .mega-menu .menu-links > li.sectors-menu > a i.fa {
        margin-left: 6px;
        font-size: 12px;
    }

    .mega-menu .menu-links > li.sectors-menu > .sectors-mega-panel {
        width: 1120px;
        max-width: calc(100vw - 70px);
        left: 50% !important;
        top: 100% !important;
        transform: translateX(-50%);
        padding: 22px 24px;
        background: #ffffff;
        border: 1px solid #ececec;
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
        border-radius: 0;
        z-index: 99999;
    }

    .mega-menu .menu-links > li.sectors-menu > .sectors-mega-panel .grid-col-12 {
        padding: 0 !important;
    }

    .mega-menu .menu-links > li.sectors-menu:hover > .sectors-mega-panel {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .sectors-mega-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .mega-menu .sectors-mega-panel .sector-card {
        width: 100%;
        max-width: none;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        min-height: 168px;
        padding: 12px 8px !important;
        text-align: center;
        text-decoration: none;
        background: #ffffff;
        border: 1px solid transparent;
    }

    .mega-menu .sectors-mega-panel .sector-card i.fa {
        color: #111111;
        font-size: 64px;
        width: 72px;
        text-align: center;
        line-height: 1;
        margin: 0 0 14px;
        padding: 0;
    }

    .mega-menu .sectors-mega-panel .sector-card span {
        color: #1f1f1f;
        font-size: 19px;
        font-weight: 600;
        line-height: 1.3;
        width: 100%;
        min-height: 50px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        text-align: center;
    }

    .mega-menu .sectors-mega-panel .sector-card:hover {
        border-color: #f0f0f0;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    }

    .mega-menu .sectors-mega-panel .sector-card:hover span,
    .mega-menu .sectors-mega-panel .sector-card:hover i.fa {
        color: #e37133;
    }

    .mega-menu.desktopTopFixed .menu-list-items {
        overflow: visible;
    }

    .mega-menu.desktopTopFixed .menu-list-items .sectors-mega-panel.grid-col-12 {
        width: 1120px;
        max-width: calc(100vw - 70px);
        margin: 0;
    }

    .mega-menu.desktopTopFixed .menu-links > li.sectors-menu > .sectors-mega-panel {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        overflow: visible;
    }
}

@media screen and (max-width: 1022px) {
    .mega-menu .menu-links > li.sectors-menu > a i.fa {
        display: none !important;
    }

    .mega-menu .menu-links > li.sectors-menu > .sectors-mega-panel {
        position: relative;
        left: 0 !important;
        top: 0 !important;
        transform: none;
        width: 100% !important;
        max-width: 100%;
        padding: 10px;
        border: none;
        box-shadow: none;
        background: #fff7ef;
    }

    .sectors-mega-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mega-menu .sectors-mega-panel .sector-card {
        width: 100%;
        max-width: none;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 12px 10px !important;
        background: #ffffff;
        border: 1px solid #f0d8ca;
        border-radius: 10px;
        min-height: 126px;
    }

    .mega-menu .sectors-mega-panel .sector-card i.fa {
        color: #1f1f1f;
        font-size: 38px;
        width: 44px;
        text-align: center;
        margin: 0 0 10px;
        padding: 0;
    }

    .mega-menu .sectors-mega-panel .sector-card span {
        color: #333333;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
        width: 100%;
        min-height: 36px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        text-align: center;
    }
}

@media screen and (max-width: 575px) {
    .sectors-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
