/* =========================================================
   INDUSTRIES PAGE
========================================================= */

:root {
    --industry-orange: #ff6500;
    --industry-dark: #10243e;
    --industry-border: #e5e5e5;
}


/* =========================================================
   CONTAINER
========================================================= */

.industry-container {
    width: min(1360px, 92%);
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.industry-header {
    height: 74px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    position: relative;

    z-index: 20;
}

.industry-nav {
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* LOGO */

.industry-logo {
    width: 155px;

    display: block;
}

.industry-logo img {
    width: 100%;

    display: block;
}


/* NAVIGATION */

.industry-navigation {
    display: flex;

    align-items: center;

    gap: 40px;

    margin-left: auto;

    margin-right: 35px;
}

.industry-navigation a {
    position: relative;

    color: #10243e;

    font-size: 14px;

    font-weight: 600;

    padding: 28px 0;
}

.industry-navigation a:hover,
.industry-navigation a.active {
    color: var(--industry-orange);
}

.industry-navigation a.active::after {
    content: "";

    position: absolute;

    bottom: 13px;

    left: 0;

    right: 0;

    height: 2px;

    background: var(--industry-orange);
}

.industry-navigation span {
    margin-left: 4px;
}


/* ACTIONS */

.industry-actions {
    display: flex;

    align-items: center;

    gap: 18px;
}

.industry-search {
    font-size: 30px;

    background: none;

    border: none;

    cursor: pointer;
}

.industry-brochure {
    background: var(--industry-orange);

    color: white;

    padding: 12px 19px;

    border-radius: 9px;

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;
}


/* =========================================================
   HERO
========================================================= */

.industry-hero {
    height: 278px;

    position: relative;

    background-image:
    url("/media/Images/industry_banner.png");
    background-size: cover;

    background-position: center;
}

.industry-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(11, 34, 53, 0.98) 0%,
            rgba(9, 31, 49, 0.9) 32%,
            rgba(11, 36, 56, 0.4) 70%,
            rgba(9, 29, 46, 0.1) 100%
        );
}

.industry-hero-content {
    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    color: white;
}


/* BREADCRUMB */

.industry-breadcrumb {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--industry-orange);

    font-size: 12px;

    font-weight: 600;

    margin-bottom: 14px;
}


/* HERO TITLE */

.industry-hero h1 {
    font-size: 42px;

    line-height: 1.03;

    font-weight: 900;

    letter-spacing: -1px;

    margin-bottom: 14px;
}

.industry-hero h1 span {
    color: var(--industry-orange);
}

.industry-hero p {
    font-size: 14px;

    line-height: 1.8;

    color: #eeeeee;
}


/* =========================================================
   INDUSTRIES SECTION
========================================================= */

.industries-section {
    background: #ffffff;

    padding: 32px 0 35px;
}


/* SECTION HEADING */

.industries-heading {
    text-align: center;

    margin-bottom: 22px;
}

.orange-label {
    color: var(--industry-orange);

    font-size: 12px;

    font-weight: 800;

    margin-bottom: 7px;
}

.industries-heading h2 {
    font-size: 26px;

    line-height: 1.2;

    margin-bottom: 9px;
}

.industries-heading p {
    font-size: 12px;

    color: #444;
}


/* =========================================================
   INDUSTRY GRID
========================================================= */

.industry-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px 20px;
}


/* =========================================================
   INDUSTRY CARD
========================================================= */

.industry-card {
    background: #ffffff;

    border: 1px solid #e5e5e5;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .04);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .10);
}


/* CARD IMAGE */

.industry-card-image {
    height: 132px;

    position: relative;

    overflow: visible;
}

.industry-card-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


/* IMAGE DARK OVERLAY */

.industry-card-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .05),
            rgba(0, 0, 0, .15)
        );

    pointer-events: none;
}


/* INDUSTRY ICON */

.industry-icon {
    position: absolute;

    z-index: 5;

    bottom: -19px;

    left: 17px;

    width: 43px;

    height: 43px;

    border-radius: 50%;

    background: var(--industry-orange);

    border: 3px solid white;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;
}


/* CARD CONTENT */

.industry-card-content {
    padding: 27px 16px 14px;
}

.industry-card-content h3 {
    font-size: 16px;

    margin-bottom: 7px;
}

.industry-card-content p {
    font-size: 15px;

    line-height: 1.55;

    color: #333333;

    min-height: 52px;

    margin-bottom: 8px;
}

.industry-card-content a {
    color: var(--industry-orange);

    font-size: 10px;

    font-weight: 800;

    display: inline-flex;

    align-items: center;

    gap: 5px;
}

.industry-card-content a span {
    font-size: 16px;

    transition: transform .2s;
}

.industry-card-content a:hover span {
    transform: translateX(4px);
}


/* =========================================================
   WHY CHOOSE SPECTRUM
========================================================= */

.why-industry {
    padding: 0 0 20px;
}

.why-industry-inner {
    background: #f6f6f6;

    border-radius: 12px;

    padding: 25px;

    display: grid;

    grid-template-columns: 1.15fr 2fr;

    gap: 30px;

    align-items: center;
}


/* WHY TEXT */

.why-text h2 {
    font-size: 22px;

    line-height: 1.25;

    margin-bottom: 12px;
}

.why-text p {
    font-size: 11px;

    line-height: 1.6;

    max-width: 350px;

    color: #444;
}


/* WHY FEATURES */

.why-features {
    display: grid;

    grid-template-columns: repeat(5, 1fr);
}

.why-feature {
    text-align: center;

    padding: 0 12px;

    border-left: 1px solid #dddddd;
}

.why-feature:first-child {
    border-left: none;
}

.why-icon img{
    height: 55px;
    width: 55px;
    margin-left: 30%;

    margin-bottom: 8px;
}

.why-feature h3 {
    font-size: 11px;

    line-height: 1.3;

    margin-bottom: 8px;
}

.why-feature p {
    font-size: 9px;

    line-height: 1.45;

    color: #555;
}


/* =========================================================
   HELP BANNER
========================================================= */

.industry-help {
    padding: 0 0 20px;
}

.industry-help-inner {
    height: 116px;

    border-radius: 9px;

    overflow: hidden;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 25px 45px;

    color: white;

    background: #151515;
}


/* BACKGROUND IMAGE */

.industry-help-background {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(12, 38, 77, 0.94),
            rgba(9, 26, 51, 0.8),
            rgba(13, 30, 61, 0.35)
        ),
        url("https://cdn.corporatefinanceinstitute.com/assets/Industry-1024x576.jpeg");

    background-size: cover;

    background-position: center;

    z-index: 0;
}


/* HELP CONTENT */

.industry-help-content {
    position: relative;

    z-index: 2;
}

.industry-help-content .orange-label {
    font-size: 10px;
}

.industry-help-content h2 {
    font-size: 22px;

    margin-bottom: 5px;
}

.industry-help-content p {
    font-size: 10px;

    color: #eeeeee;
}


/* EXPERT BUTTON */

.expert-btn {
    position: relative;

    z-index: 2;

    background: var(--industry-orange);

    color: white;

    padding: 12px 25px;

    border-radius: 5px;

    font-size: 10px;

    font-weight: 800;

    white-space: nowrap;
}

.expert-btn span {
    font-size: 16px;

    margin-left: 8px;
}


/* =========================================================
   FOOTER
========================================================= */

.industry-footer {
    background: #121212;

    color: white;

    padding-top: 25px;
}


/* FOOTER GRID */

.footer-grid {
    display: grid;

    grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr;

    gap: 40px;

    padding-bottom: 22px;
}


/* ABOUT */

.footer-about img {
    width: 145px;

    margin-bottom: 10px;

    filter: brightness(0) invert(1);
}

.footer-about p {
    max-width: 220px;

    color: #cccccc;

    font-size: 10px;

    line-height: 1.6;
}

.footer-social {
    display: flex;

    gap: 10px;

    margin-top: 12px;
}

.footer-social span {
    width: 25px;

    height: 25px;

    border-radius: 50%;

    background: #ffffff;

    color: #111111;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 11px;

    font-weight: bold;
}


/* FOOTER COLUMNS */

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.footer-column h3 {
    color: white;

    font-size: 11px;

    margin-bottom: 5px;
}

.footer-column a,
.footer-column p {
    color: #cccccc;

    font-size: 10px;

    line-height: 1.4;
}

.footer-column a:hover {
    color: var(--industry-orange);
}

.footer-column .footer-active {
    color: var(--industry-orange);
}


/* CONTACT */

.footer-contact p {
    margin-bottom: 2px;
}


/* FOOTER BOTTOM */

.footer-bottom {
    border-top: 1px solid #333333;

    padding: 12px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #aaa;

    font-size: 9px;
}


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

@media (max-width: 1100px) {

    .industry-navigation {
        gap: 20px;

        margin-right: 15px;
    }

    .industry-navigation a {
        font-size: 12px;
    }

    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 900px) {

    .industry-navigation {
        display: none;
    }

    .industry-actions {
        margin-left: auto;
    }

    .why-industry-inner {
        grid-template-columns: 1fr;
    }

    .why-features {
        grid-template-columns: repeat(5, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 700px) {

    .industry-hero {
        height: 300px;
    }

    .industry-hero h1 {
        font-size: 32px;
    }

    .industry-hero p {
        font-size: 12px;
    }

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

    .why-features {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }

    .why-feature {
        border-left: none;
    }

    .industry-help-inner {
        height: auto;

        min-height: 200px;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 20px;

        padding: 25px;
    }

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

}


@media (max-width: 500px) {

    .industry-header {
        height: 70px;
    }

    .industry-logo {
        width: 130px;
    }

    .industry-brochure {
        display: none;
    }

    .industry-hero {
        height: 330px;
    }

    .industry-hero h1 {
        font-size: 28px;
    }

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

    .why-features {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;

        gap: 8px;

        text-align: center;
    }

}

/* =====================================================
   FLOATING NANDI CONTACT BUTTON
===================================================== */

/* FLOATING NANDI CONTACT BUTTON */
.nandi-contact {
    position: fixed;
    left: 83%;
    bottom: 20px;

    width: 205px;
    height: 205px;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    border-radius: 50%;
    background: transparent;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: nandiFloat 3s ease-in-out infinite;
}

.nandi-contact img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nandi-contact:hover {
    transform: scale(1.05);
}

/* TABLET */
@media (max-width: 700px) {
    .nandi-contact {
        left: auto;
        right: 14px;
        bottom: 14px;
        width: 64px;
        height: 64px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .nandi-contact {
        left: 12px;
        right: auto;
        bottom: 15px;
        width: 65px;
        height: 65px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .nandi-contact {
        animation: none;
        transition: none;
    }
}

/* =====================================================
   HELP LABEL
===================================================== */

.nandi-help {

    position: absolute;

    right: 130px;
    bottom: 20px;

    background: #0b46c5;

    color: white;

    padding: 8px 14px;

    border-radius: 20px;

    font-family: Arial, sans-serif;

    font-size: 15px;

    font-weight: 600;

    white-space: nowrap;

    opacity: 0;

    transform: translateX(-8px);

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


/* SHOW LABEL ON HOVER */

.nandi-contact:hover .nandi-help {

    opacity: 1;

    transform: translateX(0);
}


/* =====================================================
   SMALL FLOATING ANIMATION
===================================================== */

.nandi-contact {

    animation: nandiFloat 3s ease-in-out infinite;
}


@keyframes nandiFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .nandi-contact {

        left: 12px;
        bottom: 15px;

        width: 65px;
        height: 65px;
    }

    .nandi-help {

        display: none;
    }

}



/* Industry card typography */
.industry-card h3 {
    font-size: 20px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.industry-card p {
    font-size: 15px;
    line-height: 1.6;
}

.industry-card-content a {
    font-size: 14px;
}

/* Small screens */
@media (max-width: 700px) {
    .industry-card h3 {
        font-size: 18px;
    }

    .industry-card p {
        font-size: 14px;
        min-height: 0;
    }
}


/* =====================================================
   INDUSTRIES PAGE — FINAL RESPONSIVE PATCH
===================================================== */

.industry-container {
    min-width: 0;
}

.industry-grid > *,
.why-industry-inner > *,
.industry-help-inner > *,
.footer-grid > * {
    min-width: 0;
}

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

@media (max-width: 900px) {
    .industry-hero h1 {
        font-size: clamp(30px, 5vw, 40px);
    }

    .why-industry-inner {
        padding: 24px;
        gap: 25px;
    }

    .why-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 24px;
    }

    .why-icon img {
        display: block;
        margin: 0 auto 8px;
    }

    .why-feature {
        padding: 0 10px;
        border-left: none;
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 700px) {
    .industry-container {
        width: calc(100% - 32px);
    }

    .industry-hero {
        height: auto;
        min-height: 280px;
    }

    .industry-hero-content {
        min-height: 280px;
        padding: 35px 0;
    }

    .industry-hero h1 {
        font-size: clamp(27px, 7vw, 34px);
        line-height: 1.15;
    }

    .industry-hero p {
        max-width: 100%;
        font-size: 14px;
    }

    .industries-section {
        padding: 28px 0;
    }

    .industries-heading h2 {
        font-size: clamp(22px, 5.5vw, 28px);
    }

    .industries-heading p {
        font-size: 14px;
        line-height: 1.6;
    }

    .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .industry-card-image {
        height: 145px;
    }

    .industry-card-content {
        padding: 27px 13px 16px;
    }

    .why-industry-inner {
        padding: 22px 18px;
    }

    .why-text h2 {
        font-size: 23px;
    }

    .why-text p {
        font-size: 14px;
    }

    .why-feature h3 {
        font-size: 13px;
    }

    .why-feature p {
        font-size: 12px;
    }

    .industry-help-inner {
        padding: 24px 20px;
        gap: 18px;
    }

    .industry-help-content h2 {
        font-size: 21px;
        line-height: 1.3;
    }

    .industry-help-content p {
        font-size: 13px;
        line-height: 1.6;
    }

    .expert-btn {
        white-space: normal;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 500px) {
    .industry-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .industry-card-image {
        height: 185px;
    }

    .industry-card-content h3 {
        font-size: 19px;
    }

    .industry-card-content p {
        font-size: 14px;
    }

    .why-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .why-feature {
        padding: 0 6px;
    }

    .industry-help-inner {
        align-items: stretch;
    }

    .expert-btn {
        align-self: flex-start;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom {
        align-items: center;
        text-align: center;
    }
}
