/* ----------------------------- */
/* ---------- BODY ------------- */
/* ----------------------------- */

html,
/* body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont,
        'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
        'Open Sans', 'Helvetica Neue', sans-serif;

    background: #ffffff;
    margin: 0;
    padding: 0;
} */
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    background: #ffffff;
    margin: 0;
    padding: 0;
}

/* Global Font */

html {
    scroll-behavior: smooth;
}

/* * {
    font-family: inherit;
} */

/* ----------------------------- */
/* ---------- navbar ------------- */
/* ----------------------------- */
/* Navbar link hover color */
.navbar .nav-link:hover {
    color: #f1800e !important;
}

.optx-logo {
    height: 30px;
}

.contact-btn {
    background-color: #fff;
    color: #000;
    font-size: 18px;
    border-radius: 10px;
    border: 2px solid transparent;
    padding: 10px 20px;
    /* LEFT faded → RIGHT strong border */
    background-image:
        linear-gradient(#fff, #fff),
        linear-gradient(90deg,
            rgba(241, 128, 14, 0.2),
            /* left fade */
            rgba(241, 128, 14, 1)
            /* right strong */
        );

    background-origin: border-box;
    background-clip: padding-box, border-box;

    transition: all 0.3s ease;
}

.contact-btn:hover {
    animation: pulse 1.5s infinite;
    border-color: #f1800e;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(241, 128, 14, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(241, 128, 14, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(241, 128, 14, 0);
    }
}

/* Mobile & Tablet (up to 991px) */
@media (max-width: 991.98px) {



    /* Nav links vertical spacing */
    .navbar-nav {
        row-gap: 16px;
        /* equal gap between links */
    }

    /* Space between nav links and Contact button */
    .navbar-collapse .contact-btn {
        margin-top: 10px;
    }
}

/* Mobile & Tablet - FASTEST VERSION */
@media (max-width: 991.98px) {
    .navbar {
        padding: 15px 0;
    }

    .nav-gab {
        gap: 6px !important;
    }

    .navbar-toggler {
        border: none;
        padding: 8px;
        background: none;
        cursor: pointer;
        transition: background 0.15s ease;
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(241, 128, 14, 0.3);
    }


    /* Toggler base */
    .navbar-toggler {
        border: none;
        background: none;
        padding: 8px;
    }

    /* Hamburger icon */
    .navbar-toggler-icon {
        width: 28px;
        height: 28px;
        background-image: url("../icons/nav-icon/menu.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: transform 0.2s ease;
    }

    /* When menu is OPEN → show close icon */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("../icons/nav-icon/close.svg");
        transform: rotate(90deg);
    }

    /* SUPER FAST dropdown animation */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-5px);
        transition: all 0.25s ease-out;
        z-index: 1000;
    }

    .navbar-collapse.show {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 20px;
        transition: all 0.1s ease-out;
    }

    /* Quick content fade-in */
    .nav-item {
        opacity: 0;
        transform: translateY(5px);
        transition: all 0.2s ease;
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    /* Very short staggered delay */
    .navbar-collapse.show .nav-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    .navbar-collapse.show .nav-item:nth-child(2) {
        transition-delay: 0.08s;
    }

    .navbar-collapse.show .nav-item:nth-child(3) {
        transition-delay: 0.11s;
    }

    /* Menu links */
    .nav-link {
        padding: 5px 20px !important;
        border-radius: 8px;
        margin: 5px 0;
        transition: all 0.15s ease;
        font-size: 18px;
    }

    .nav-link:hover {
        background: rgba(241, 128, 14, 0.08);
        color: #f1800e !important;
        transform: translateX(5px);
    }

    /* Contact button - quick */
    .navbar-collapse .contact-btn {
        margin-top: 15px;
        margin-bottom: 10px;
        margin-left: 12px;
        text-align: center;
        opacity: 0;
        transform: translateY(5px);
        transition: all 0.2s ease 0.15s;
    }

    .navbar-collapse.show .contact-btn {
        opacity: 1;
        transform: translateY(0);
    }

    .contact-btn:hover {
        animation: none;
        transform: scale(1.02);
    }

    .optx-logo {
        height: 32px;
    }
}


/* ----------------------------- */
/* ---------- HERO SECTION ----- */
/* ----------------------------- */

.text-charcoal {
    color: #343d44;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 650px) {
    .hero-title {
        font-size: 45px;
    }
    .rs-project.style1 .project-img .image-text-overlay h3

 {
    font-size: 20px !important;
}
}

/* Gradient ONLY behind image */
.hero-media {
    width: 100%;
}

/* Underline below gradient */
.hero-divider {
    width: 100%;
    height: 1px;
    background-color: #d1d5db;
}

/* ============================= */
/* ===== SYSTEM / CASE STUDIES === */
/* ============================= */

.rs-project {
    position: relative;
    width: 100%;
}



/* ============================= */
/* ===== PROJECT GRID STYLE 1 === */
/* ============================= */

.rs-project.style1 .project-item {
    position: relative;
    overflow: visible;
    transition: all 0.4s ease-in-out;
}

.rs-project-padding {
    padding-top: 4rem !important;
    padding-bottom: 2rem !important;
}

/* Image wrapper */
.rs-project.style1 .project-item .project-img {
    position: relative;
    overflow: hidden;
    border: 1px solid #D9D9D9;
}

/* Title */
.rs-project.style1 .project-item .project-content .title a {
    color: #101010;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 991px) {


    .rs-project.style1 .project-item .project-content {
        margin: 0 10px;
        padding: 24px 18px;
    }
}

@media (max-width: 767px) {


    .rs-project.style1 .project-item .project-content {
        top: -18px;
    }
}




/* ============================= */
/* ===== SYSTEM / CASE STUDIES === */
/* ============================= */

.rs-project {
    position: relative;
    width: 100%;
}

.rs-project.style1 .project-item .project-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    transition: transform 0.6s ease;
    background-color: #F9F9F9;
}

/* Content card */
.rs-project.style1 .project-item .project-content {
    /* background: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15); */
    position: relative;
    top: 0;
    margin: 10px 0px;
    padding: 21px 0px;
    border-radius: 6px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    z-index: 5;
}

/* Title */
.rs-project.style1 .project-item .project-content .title {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    margin: 0;
}


.rs-project.style1 .project-item:hover .project-content {
    transform: translateY(-6px);

    /* box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2); */
}

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

@media (max-width: 991px) {

    .rs-project.style1 .project-item .project-content {
        margin: 0 10px;
    }

    .rs-project.style1 .project-item .project-content .title {
        font-size: 16px;
    }

}

/* ============================= */
/* ===== SECTION TITLE ===== */
/* ============================= */

.sec-title2 .sub-text {
    color: #f47b20;
    /* accent color */
}

.sec-title2 .title {
    font-size: 36px;
    line-height: 1.3;
    color: #101010;
}

/* Responsive sizes */
@media (max-width: 991px) {
    .sec-title2 .title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .sec-title2 .title {
        font-size: 26px;
    }
}

/* ============================= */
/* === ICON + CONTENT LAYOUT === */
/* ============================= */



/* Flex row */
/* .rs-project.style1 .project-content .content-row {
    display: flex;
    align-items: center;
} */

/* Icon circle */
.rs-project.style1 .project-content .icon-box {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1810f;
}

.rs-project.style1 .project-content .icon-box img {
    width: 22px;
    height: 22px;
}

/* Text area */
.rs-project.style1 .project-content .text-box {
    flex: 1;
    text-align: left;

}

/* Change text color when entire card is hovered */
.rs-project.style1 .project-item:hover .project-content .title a {
    color: #f47b20;
}

/* ============================= */
/* ===== IMAGE TEXT OVERLAY ==== */
/* ============================= */
.rs-project.style1 .project-img .image-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 25px;
    color: white;
    z-index: 2;
    transition: all 0.4s ease;
}

.rs-project.style1 .project-img .image-text-overlay h3 {
    font-size: 23px;
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
}



/* Image zoom + blur when hovering image OR text */
.rs-project.style1 .project-item:hover .project-img img {
    transform: scale(1.12);
    filter: blur(0.4px);
    transition: transform 0.6s ease, filter 0.6s ease;
    background-color: #F9F9F9;
}



/* Make the entire image area clickable */
.rs-project.style1 .project-img a {
    display: block;
    position: relative;
}

/* Ensure text stays on top */
.rs-project.style1 .project-img .image-text-overlay {
    pointer-events: none;
}

.rs-project.style1 .project-img .image-text-overlay * {
    pointer-events: none;
}


@media (max-width: 767px) {
    .rs-project.style1 .project-img .image-text-overlay {
        padding: 15px 30px;
    }

    /* .rs-project.style1 .project-img .image-text-overlay h3 {
        font-size: 15px;
    } */


}

.rs-project.style1 .project-content .content-row {
    display: flex;
    align-items: center;
    gap: 14px;
    /* 🔥 THIS FIXES ICON GAP */
}




.rs-project.style1 .project-item:hover .icon-box {
    background-color: #f47b20;
}

.rs-project.style1 .project-item:hover .icon-box img {
    filter: brightness(0) invert(1);
}


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

/* Section with background image */
.industries-section {
    position: relative;
    background-image: url("../images/industries_bg.png");
    /* update path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Soft gradient overlay (matches reference image) */
.industries-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.90) 0%,
            rgba(255, 255, 255, 0.70) 55%,
            rgba(255, 255, 255, 0.45) 100%);
    z-index: 1;
}

/* Keep content above overlay */
.industries-section .container {
    position: relative;
    z-index: 2;
}

/* Section heading */
.industries-section h2 {
    font-weight: 700;
    color: #000;
}

/* Orange subtitle */
.text-orange {
    color: #f57c00;
}

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

.industry-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    padding: 42px 20px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
}

/* Hover effect */
.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

/* Icon circle */
.icon-circle {
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon image */
.icon-circle img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Card title */
.industry-card h6 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin-bottom: 0;
}

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

@media (max-width: 768px) {
    .industry-card {
        padding: 36px 18px;
    }

    .icon-circle {
        width: 64px;
        height: 64px;
    }

    .icon-circle img {
        width: 30px;
        height: 30px;
    }
}

/* ============================= */
/* ======== IMAPCT CARD ========= */
/* ============================= */
/* Card Container */

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {}


.impact-card {
    border: 2px solid #ffd9b3;
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 30px;
}

/* Base List Styling */
.indicator-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    display: inline-block;
    /* Keeps the line tight to the content */
    width: 100%;
}

.indicator-list li {
    position: relative;
    padding: 10px 0;
    font-weight: 600;
    color: #333;
    font-size: 21px;
    z-index: 2;
    /* Ensures text is above the line */
}

/* The Vertical Line Logic */
/* We create a line that starts at the top of the first 'li' and ends at the bottom of the last 'li' */
.indicator-list::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #f39200;
    /* This centers the line vertically between the first and last dot */
    top: 25px;
    /* Adjust based on your font-size to hit the middle of the first li */
    bottom: 25px;
    /* Adjust based on your font-size to hit the middle of the last li */
}

/* Right aligned (Top Card) */
.list-right-indicator {
    text-align: right;
    padding-right: 35px;
}

.list-right-indicator::before {
    right: 0;
    /* Align line to the right */
}

.list-right-indicator li::after {
    content: '';
    position: absolute;
    right: -40px;
    /* Aligns dot exactly on the line */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #f39200;
    border-radius: 50%;
}

/* Left aligned (Bottom Card) */
.list-left-indicator {
    text-align: left;
    padding-left: 35px;
}

.list-left-indicator::before {
    left: 0;
    /* Align line to the left */
}

.list-left-indicator li::before {
    content: '';
    position: absolute;
    left: -40px;
    /* Aligns dot exactly on the line */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #f39200;
    border-radius: 50%;
}

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

/* ============================= */
/* ===== EXPECTED OUTCOMES ===== */
/* ============================= */

.expect-outcomes {
    background-color: #ffffff;
}

/* Card container */
.outcome-box {
    background: #fff6ef;
    border-radius: 16px;
    padding: 20px 20px;
}

/* Individual column */
.outcome-item {
    padding: 20px;
}

/* Icon wrapper */
.outcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

/* Image inside icon */
.outcome-icon img {
    object-fit: contain;
}

/* Percentage text */
.percent-text {
    color: #f57c00;
    font-weight: 700;
}

/* Light orange border color */
.border-orange {
    border-color: #fbc08a !important;
    /* light orange */
}

/* Mobile fix */
@media (max-width: 767px) {
    .outcome-item {
        border: none !important;
        margin-bottom: 25px;
    }
}


/* ============================= */
/* ===== CONNECT SECTION ======= */
/* ============================= */

.connect-section {
    width: 100%;
    min-height: 70vh;
    /* FULL WIDTH BACKGROUND */
    background-image: url("../images/lets-connect.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

/* Heading */
.connect-title {
    font-size: 2.5rem;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}



/* Button */
.btn-orange {
    background-color: #f57c00;
    color: #ffffff;
    border-radius: 30px;
    font-weight: 600;
    padding: 10px 30px;
}

.btn-orange:hover {
    background-color: #fff !important;
    color: #f57c00 !important;
}

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

@media (max-width: 968px) {
    .connect-section {
        min-height: 360px;
        padding: 60px 15px;
    }

    .connect-title {
        font-size: 1.9rem;
    }
    .connect-section
 {
    min-height: 54vh !important;
 }
}
/* ----------------------------- */
/* FOOTER SECTION */
/* ----------------------------- */

.footer-section {
    position: relative;
}

/* EVOX logo */
.footer-evox-logo {
    height: 32px;
}
/* ----------------------------- */
/* FOOTER BACKGROUND IMAGE */
/* ----------------------------- */

.footer-section {
    position: relative;
    background-image: url("../images/footer_image.png"); /* <-- your image path */
    background-size: cover;
    background-repeat: no-repeat;
}


/* -------------------------------- */
/* ROUND SOCIAL ICONS */
/* -------------------------------- */

.social-round {
    width: 35px;
    height: 35px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.35s ease;
}

.social-round i {
    font-size: 16px;
    color: #000000;
    transition: all 0.35s ease;
}


/* ================================ */
/* BRAND BACKGROUND ON HOVER */
/* ================================ */

/* Instagram */
.social-round:hover:has(.fa-instagram) {
    background: radial-gradient(
        circle at 30% 110%,
        #fdf497 0%,
        #fdf497 5%,
        #fd5949 45%,
        #d6249f 60%,
        #285AEB 90%
    );
}

.social-round:hover:has(.fa-instagram) i {
    color: #ffffff;
}


/* Facebook */
.social-round:hover:has(.fa-facebook) {
    background-color: #1877F2;
}

.social-round:hover:has(.fa-facebook) i {
    color: #ffffff;
}


/* LinkedIn */
.social-round:hover:has(.fa-linkedin) {
    background-color: #0A66C2;
}

.social-round:hover:has(.fa-linkedin) i {
    color: #ffffff;
}

/* X (Twitter) */
.social-round:hover:has(.fa-x-twitter) {
    background-color: #000000;
}

.social-round:hover:has(.fa-x-twitter) i {
    color: #ffffff;
}


/* Hover scale effect */
.social-round:hover {
    transform: scale(1.08);
}

/* -------------------------------- */
/* FOOTER LINKS */
/* -------------------------------- */

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 19px;
    font-weight: 400;
    transition: color 0.3s ease;
}



/* -------------------------------- */
/* CONTACT LIST */
/* -------------------------------- */

.contact-list li {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.contact-list i {
    font-size: 18px;
    color: #ffffff;
    width: 25px;
}

/* -------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------- */

@media (max-width: 767px) {
    .footer-links {
        justify-content: flex-start !important;
        text-align: left;
        gap: 22px !important;
    }

    .footer-links li {
        margin-right: 20px;
    }
}

.footer-text {
    font-size: 17px;
    line-height: 1.6;
    color: #e0e0e0;
    font-weight: 600;
}
/* ----------------------------- */
/* FOOTER CENTER NAV LINKS */
/* ----------------------------- */

.footer-links a {
    color: #ffffff;          /* default white */
    font-size: 19px;         /* font size */
    font-weight: 600;        /* semi-bold */
    text-decoration: none;   /* remove underline */
    transition: color 0.3s ease;
}

/* Hover color */
.footer-links a:hover {
    color: #f57c00;          /* orange hover */
}
