/* =========================
   HERO SECTION
========================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 20, 60, 0.65);
    z-index: -1;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
}

/* Row Height */
.hero-row {
    width: 100%;
    min-height: 80vh;
    align-items: center;
}

/* Text Area */
.hero-text {
    color: white;
    text-align: left;
    max-width: 650px;
}

/* Heading */
.hero-text h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

/* Subtext */
.hero-text p {
    font-size: 18px;
    margin-top: 20px;
    opacity: 0.9;
}

/* Hero Button */
.btn-hero {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 34px;
    background: #ffffff;
    color: #1b4ed8;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-hero:hover {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}
/* Image Banner Size */

.hero-banner{
    height:420px;
}


/* Image Background */

.hero-bg{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    z-index:-2;
}
.hero-banner .hero-text{
    text-align:center;
    margin:auto;
}

/* DIGITAL ENGINEERING */
.about-img-frame{
    display:inline-block;
    padding:12px;
    border:1px solid #e6ecf5;
    border-radius:18px;
    background:#ffffff;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}
.about-img-frame:hover .about-img{
    transform:scale(1.08);
}

.feature-box {
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* SERVICE CARDS */
.service-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card img {
    height: 170px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1) !important;
    will-change: transform;
}

.service-card:hover img {
    transform: scale(1.15) !important;
}

.service-card .card-body {
    padding: 1.5rem 1rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    margin-bottom: 0;
}

.service-card ul li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 14px;
    color: var(--text-dark);
    border-bottom: 1px dashed #eef2f6;
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li::before {
    content: "▹";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* INDUSTRIES SECTION */
.industries-section {
    background: #ffffff;
    padding: 70px 0 80px;
}

.industry-heading {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.industry-desc {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partner-heading {
    color: #2563eb;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-desc {
    color: #334155;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.industries-section .industry-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #e9eef2;
    background-color: #f8fafc;
}

.industries-section .industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(37, 99, 235, 0.1);
}

.industries-section .industry-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background-color: #f8fafc;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1) !important;
    will-change: transform;
}

.industries-section .industry-card:hover img {
    transform: scale(1.2) !important;
}

.industries-section .industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    pointer-events: none;
}

.industries-section .carousel-indicators {
    bottom: -50px;
}

.industries-section .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    margin: 0 5px;
    border: none;
}

.industries-section .carousel-indicators button.active {
    background-color: #2563eb;
    transform: scale(1.2);
}

.industries-section .carousel-control-prev,
.industries-section .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #2563eb;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.industries-section .carousel-control-prev {
    left: -20px;
}

.industries-section .carousel-control-next {
    right: -20px;
}

.industries-section .carousel-control-prev:hover,
.industries-section .carousel-control-next:hover {
    opacity: 1;
    background-color: #1d4ed8;
}

/* WHY PARTNER */
.why-section {
    background: #eaf1fb;
}

.why-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.why-card img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.why-card:hover img {
    transform: scale(1.15);
}

.why-card h6 {
    font-weight: 600;
    color: #1f4ed8;
    margin-bottom: 5px;
}

.why-card p {
    font-size: 14px;
    margin: 0;
}

.why-big-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 18px;
}

.why-big-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.why-big-img:hover img {
    transform: scale(1.2);
}

.why-flex-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.why-flex-card img {
    width: 120px;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.why-flex-card:hover img {
    transform: scale(1.1);
}

.why-flex-card h6 {
    color: #1f4ed8;
    font-weight: 600;
}

.why-flex-card ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.why-flex-card ul li {
    font-size: 14px;
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
}

.why-flex-card ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #1f4ed8;
    font-weight: bold;
}

/* CLIENTS */
.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scrollLogo 25s linear infinite;
    align-items: center;
}

.client-logo {
    height: 60px;
    opacity: 0.7;
    transition: 0.3s;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

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

/* CTA SECTION */
.cta {
    background: url('../images/footer_image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    padding: 90px 0;
    text-align: center;
    position: relative;
}

.cta h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 20px;
}

.cta .btn-light {
    background: white;
    color: var(--primary) !important;
    border: none;
    padding: 12px 35px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    text-decoration: none;
    border-radius: 6px;
}

.cta .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.cta .container {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 38px;
    }
    .hero-text {
        text-align: center;
    }
    .nav-pill {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .cta {
        padding: 60px 0;
        background-attachment: scroll;
    }
    .cta h2 {
        font-size: 28px;
    }
    .cta p {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .industry-heading {
        font-size: 32px;
    }
    .industries-section .carousel-control-prev,
    .industries-section .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    .industries-section .carousel-control-prev {
        left: -15px;
    }
    .industries-section .carousel-control-next {
        right: -15px;
    }
}

@media (max-width: 767px) {
    .industry-heading {
        font-size: 28px;
    }
    .industry-desc {
        font-size: 15px;
        padding: 0 15px;
    }
    .partner-heading {
        font-size: 16px;
    }
    .partner-desc {
        font-size: 14px;
        padding: 0 15px;
    }
    .industries-section .carousel-control-prev,
    .industries-section .carousel-control-next {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .industries-section .carousel-indicators {
        bottom: -40px;
    }
    .industry-heading {
        font-size: 24px;
    }
}

/* Magnify Effects */
.img-fluid.rounded-4.shadow {
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.img-fluid.rounded-4.shadow:hover {
    transform: scale(1.08);
}

.industries-section .mt-4 {
    overflow: hidden;
}

.industries-section .mt-4 img {
    transition: transform 0.4s ease;
}

.industries-section .mt-4 img:hover {
    transform: scale(1.1);
}