
/* =========================
   stats section
========================= */

.stats-section.py-5{
    padding-top:15px !important;
    padding-bottom:15px !important;
    background:#ffffff;
}

.stat-item{
    position:relative;
    padding:20px;
}

/* Vertical Divider */
.stat-item:not(:last-child)::after{
    content:"";
    position:absolute;
    top:50%;
    right:0;
    transform:translateY(-50%);
    width:1px;
    height:70px;
    background:rgba(0, 0, 0, 0.15);
}

.stat-item h2{
    font-size:50px;
    font-weight:700;
    color:#555;
    margin-bottom:10px;
    line-height:1;
}

.stat-item p{
    color:#555;
    font-size:16px;
    margin:0;
    text-transform:uppercase;
    letter-spacing:1px;
}
.stat-item:hover h2,
.stat-item:hover p {
    color: #10609F;
}
/* Tablet */

@media(max-width:991px){

.stat-item::after{
    display:none;
}

.stat-item h2{
    font-size:48px;
}

}

/* Mobile */

@media(max-width:576px){

.stat-item h2{
    font-size:38px;
}

.stat-item p{
    font-size:14px;
}

}

/*=================================================
DIE CUT ABOUT SECTION
==================================================*/

.diecut-about-section{
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    min-height: 550px;
    /* background-image: url("../img/about-us.png"); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;   
}

.diecut-about-section::before{
    display: none;
}
.diecut-about-section .container{
    position: relative;
    z-index: 2;
}

.diecut-about-section img{
    width:100%;
    height:500px;
    /* object-fit:cover; */
    border-radius:24px;
    transition:.45s ease;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.diecut-about-section img:hover{
    transform:scale(1.03);
}

.diecut-about-section h2{
    font-weight:700;
}

.diecut-about-section p{
    color:#000000;
}

@media (max-width: 768px) {
    .diecut-about-section img {
        height: 350px !important;
    }
}
/*=============================================
DIE CUT FEATURE CARD
=============================================*/

.diecut-feature-card{

    display:flex;
    align-items:center;
    gap:15px;

    background:#fff;

    padding:18px 22px;

    border-radius:16px;

    border:1px solid #e8edf3;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

    transition:all .35s ease;
}

.diecut-feature-card i{

    width:42px;
    height:42px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:rgba(71,128,157,.12);

    color:var(--accent-color);

    font-size:18px;

    transition:.35s;
}

.diecut-feature-card:hover{

    transform:translateY(-6px);

    border-color:var(--accent-color);

    box-shadow:0 18px 35px rgba(71,128,157,.15);
}

.diecut-feature-card:hover i{

    background:var(--accent-color);

    color:#fff;
}

/* =========================
   WHAT WE DO SECTION
========================= */

#what-we-do {
  background: #f8fafc;
  padding: 80px 0;
}

/* Section Title */
#what-we-do .section-title h2 {
  font-size: 34px;
  font-weight: 700;
  color: #000;
  position: relative;
  display: inline-block;
}

/* =========================
   CARD
========================= */

.service-card{
    position:relative;
    height:420px;
    overflow:hidden;
    border-radius:22px;
    cursor:pointer;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
    transition:.45s ease;
}

/* Image */

.service-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:1s;
}

/* Gradient */

.service-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(5,10,18,.96) 5%,
        rgba(16,96,159,.70) 45%,
        rgba(16,96,159,.20) 75%,
        transparent 100%
    );
    transition:.45s;
}

/* Top Line */

.service-card::before{

    content:"";
    position:absolute;
    top:0;
    left:0;
    width:0;
    height:4px;
    background:#10609F;
    z-index:10;
    transition:.45s;
}

.service-card:hover::before{
    width:100%;
}

/* Content */

.service-content{

    position:absolute;
    left:28px;
    right:28px;
    bottom:28px;
    z-index:5;
}

/* Glass Icon */

.service-icon{
    width:65px;
    height:65px;
    border-radius:18px;
    background: linear-gradient(135deg, #10609F, #3da9fc);
    backdrop-filter:blur(12px);
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:28px;
    margin-bottom:18px;
    transition:.4s;
}

/* Tag */

.service-tag{

    display:inline-block;

    padding:6px 14px;

    background:#10609F;

    color:#fff;

    border-radius:30px;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:15px;
}

/* Heading */

.service-content h4{

    color:#fff;

    font-size:25px;

    font-weight:700;

    margin-bottom:12px;
}

/* Paragraph */

.service-content p{

    color:#f0f0f0;

    line-height:1.7;

    font-size:15px;

    margin-bottom:22px;
}

/* Button */

.service-btn{

    color:#fff;

    text-decoration:none;

    display:inline-flex;

    align-items:center;

    gap:10px;

    font-weight:600;

    transition:.35s;
}

.service-btn i{
    transition:.35s;
}

/* Hover */

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 60px rgba(16,96,159,.28);
}

.service-card:hover img{

    transform:scale(1.08);
}

.service-card:hover .service-overlay{

    background:linear-gradient(
        to top,
        rgba(5,10,18,.92) 5%,
        rgba(16,96,159,.55) 45%,
        rgba(16,96,159,.10) 75%,
        transparent 100%
    );
}

.service-card:hover .service-icon{
    transform:rotate(-10deg) scale(1.08);
    background: linear-gradient(135deg, #10609F, #3da9fc);
}

.service-card:hover .service-btn i{
    transform:translateX(8px);
}

.service-card:hover .service-btn{
    color:#0d6efd;
}

/* Bottom Glow */

.service-card::after{
    content:"";
    position:absolute;
    left:-40%;
    top:0;
    width:40%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );
    transform:skewX(-25deg);
    transition:.8s;
}

.service-card:hover::after{
    left:130%;
}

/* =========================
   Responsive
========================= */

@media(max-width:991px){

.service-card{
    height:380px;
}

.service-content h4{
    font-size:22px;
}

}

@media(max-width:768px){

.service-card{
    height:340px;
}

.service-content{

    left:22px;
    right:22px;
    bottom:22px;
}

.service-icon{

    width:55px;
    height:55px;
    font-size:22px;
}

.service-content h4{

    font-size:20px;
}

.service-content p{

    font-size:14px;
    margin-bottom:18px;
}

}

@media(max-width:576px){

.service-card{
    height:320px;
}

}

/* =========================
   INDUSTRIES SECTION
========================= */
.industry-strip{
    background:#f8fafc;
}

.industry-row{
    display:flex;
    justify-content:space-between;
    align-items:stretch;
    gap:18px;
    flex-wrap:nowrap;
}

.industry-item{
    flex:1;
    min-width:145px;
    background:#fff;
    border-radius:18px;
    padding:30px 15px;
    text-align:center;
    border:1px solid #e8edf5;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    transition:.35s;
    position:relative;
    overflow:hidden;
}

.industry-item::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:0;
    height:4px;
    background:#10609F;
    transition:.4s;
}

.industry-item:hover::before{
    width:100%;
}

.industry-icon{
    width:65px;
    height:65px;
    margin:0 auto 18px;
    border-radius:50%;
    background:linear-gradient(135deg,#10609F,#3da9fc);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.4s;
}

.industry-icon i{
    color:#fff;
    font-size:28px;
}

.industry-item span{
    display:block;
    font-size:16px;
    font-weight:600;
    color:#1d3557;
    line-height:1.5;
}

.industry-item:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(16,96,159,.18);
}

.industry-item:hover .industry-icon{
    transform:rotate(-10deg) scale(1.08);
}

/* Tablet */

@media (max-width:991px){

    .industry-row{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:18px;
    }

    .industry-item{
        min-width:100%;
    }

}

/* Mobile */

@media (max-width:576px){

    .industry-row{
        grid-template-columns:1fr;
        gap:15px;
    }

    .industry-item{
        padding:25px 20px;
        border-radius:15px;
    }

    .industry-icon{
        width:55px;
        height:55px;
        margin-bottom:15px;
    }
}

/* =========================
   CARD WRAPPER LINK
========================= */

.device-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* =========================
   DEVICE CARD
========================= */

.device-card {
  position: relative;
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

/* Hover lift */
.device-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

/* Image */
.device-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Zoom effect */
.device-card:hover img {
  transform: scale(1.08);
}

/* Dark overlay */
.device-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.15));
}

/* =========================
   CONTENT
========================= */

.device-content {
  position: absolute;
  bottom: 0;
  padding: 20px;
  z-index: 2;
  color: #fff;
}

.device-content h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.device-content p {
  font-size: 13.5px;
  opacity: 0.9;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* CTA */
.device-cta {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.9;
  transition: all 0.3s ease;
  display: inline-block;
}

/* CTA hover */
.device-card:hover .device-cta {
  opacity: 1;
  transform: translateX(6px);
}
.device-cta:hover {
  color: #0d6efd;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .device-card {
    height: 260px;
  }

  .device-content h5 {
    font-size: 16px;
  }
}

/*==================================================
  PRODUCT CATEGORIES
==================================================*/

.product-categories{
    padding:90px 0;
    background:#f8fbff;
}

.product-categories .section-title p{
    /* max-width:750px;
    margin:15px auto 0; */
    color:#6b7280;
    line-height:1.8;
}

/*==================================================
  PORTFOLIO CARD
==================================================*/

.portfolio-card{
    display:block;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    text-decoration:none;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    transition:.4s ease;
    height:100%;
    border:1px solid #eef2f7;
}

.portfolio-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

/*==================================================
  IMAGE
==================================================*/

.portfolio-image{
    position:relative;
    overflow:hidden;
    height:250px;
    background:#f4f9fc;
}

.portfolio-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.portfolio-card:hover .portfolio-image img{
    transform:scale(1.08);
}

.portfolio-image::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:90px;
    background:linear-gradient(to top,
        rgba(0,0,0,.35),
        rgba(0,0,0,0));
}

/*==================================================
  CONTENT
==================================================*/

.portfolio-content{
    padding:28px;
}

.portfolio-content h4{
    font-size:24px;
    font-weight:700;
    color:#10609F;
    margin-bottom:15px;
    transition:.3s;
}

.portfolio-card:hover h4{
    color:#3da9fc;
}

.portfolio-content p{
    color:#555;
    font-size:15px;
    line-height:1.8;
    margin-bottom:25px;
    min-height:85px;
}

/*==================================================
  BUTTON
==================================================*/

.portfolio-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 22px;
    border-radius:40px;
    background:#0d6efd;
    color:#fff;
    font-weight:600;
    transition:.35s;
}

.portfolio-card:hover .portfolio-btn{
    background:#10609F;
    color:#fff;
}

.portfolio-btn i{
    transition:.35s;
}

.portfolio-card:hover .portfolio-btn i{
    transform:translateX(5px);
}

/*==================================================
  RESPONSIVE
==================================================*/

@media(max-width:991px){

    .portfolio-image{
        height:220px;
    }

    .portfolio-content h4{
        font-size:22px;
    }

}

@media(max-width:767px){

    .product-categories{
        padding:70px 0;
    }

    .portfolio-image{
        height:220px;
    }

    .portfolio-content{
        padding:22px;
    }

    .portfolio-content h4{
        font-size:20px;
    }

    .portfolio-content p{
        min-height:auto;
        margin-bottom:18px;
    }

    .portfolio-btn{
        width:100%;
        justify-content:center;
    }

}

/*-----------------------------------Industry Solution on Home Page-------------------------------------*/

.solutions-section{
    position: relative;
    padding: 100px 0;
    background-image: url("../img/why-us-bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.solutions-section::before{
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(0,0,0,.0); */
    z-index: 1;
}

.solutions-section .container{
    position: relative;
    z-index: 2;
}

.solution-mini{
    /* background: transparent;
    border: 1px solid rgba(255,255,255,.08); */
    border-radius:18px;
    padding:35px 25px;
    text-align:center;
    transition:.4s;
    position:relative;
    overflow:hidden;
    height:100%;
}

.solution-mini::before{

    content:"";
    position:absolute;
    left:0;
    top:0;
    width:0;
    height:4px;
    background:#10609F;
    transition:.4s;
}

.solution-mini:hover::before{
    width:100%;
}

.solution-mini i{

    width:75px;
    height:75px;
    border-radius:50%;
    background: linear-gradient(135deg, #10609F, #3da9fc);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin:0 auto 25px;
    transition:.4s;
}

.solution-mini h4{

    color:#fff;
    font-size:22px;
    margin-bottom:10px;
}

.solution-mini p{

    color:#bfbfbf;
    font-size:15px;
    margin-bottom:25px;
}

.solution-mini a{

    color:#49a8ff;
    text-decoration:none;
    font-weight:600;
}

.solution-mini a i{

    background:none;
    width:auto;
    height:auto;
    font-size:14px;
    display:inline;
    margin-left:8px;
}

.solution-mini:hover{
    background-color: #000;
    transform:translateY(-10px);
    border-color:#10609F;
    box-shadow:0 20px 45px rgba(16,96,159,.25);
}

.solution-mini:hover>i{

    transform:rotate(-10deg) scale(1.1);
}

.solution-mini:hover a{
    color:#fff;
}

@media(max-width:991px){

.solution-mini{
margin-bottom:20px;
}

}

/* ----------------------------Why choose us--------------------------------------- */

.why-choose-section .section-title {
    margin-bottom: 22px;
}

.why-choose-section .section-title h2 {
    font-weight: 700;
    line-height: 1.2;
    color: #111111;
    letter-spacing: 0.3px;
}

.why-choose-section .section-title h2 span {
    color: #10609F;
}


/* ===================================
   WHY CHOOSE LIST
=================================== */

.why-choose-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: #ffffff;
}


/* ===================================
   WHY ITEM
=================================== */

.why-item {
    position: relative;

    min-height: 125px;
    padding: 15px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-right: 1px solid #e5e7eb;

    transition:
        transform 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;

    z-index: 1;
}


/* Remove last border */

.why-item:last-child {
    border-right: none;
}


/* ===================================
   ICON CIRCLE
=================================== */

.why-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    border: 1px solid #dce5ef;
    border-radius: 50%;

    background: #ffffff;

    transition:
        transform 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


.why-icon i {
    font-size: 25px;
    color: #10609F;

    transition:
        transform 0.45s ease;
}


/* ===================================
   TITLE
=================================== */

.why-item h5 {
    margin: 0;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    color: #111111;

    transition:
        color 0.35s ease,
        transform 0.35s ease;
}


/* ===================================
   HOVER ANIMATION
=================================== */

.why-item:hover {
    background: #f8fbff;
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(7, 88, 165, 0.10);

    z-index: 5;
}


.why-item:hover .why-icon {
    transform: translateY(-4px) scale(1.08);

    border-color: #10609F;

    box-shadow:
        0 6px 18px rgba(7, 88, 165, 0.18);
}


.why-item:hover .why-icon i {
    color: #10609F;
    transform: scale(1.1) rotate(-3deg);
}


.why-item:hover h5 {
    color: #10609F;
    transform: translateY(-2px);
}


/* ===================================
   TABLET
=================================== */

@media (max-width: 1199px) {

    .why-choose-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-item:nth-child(3) {
        border-right: none;
    }

    .why-item:nth-child(n+4) {
        border-top: 1px solid #e5e7eb;
    }

    .why-item:nth-child(6) {
        border-right: none;
    }
}


/* ===================================
   MOBILE
=================================== */

@media (max-width: 767px) {

    .why-choose-section {
        padding: 25px 0;
    }

    .why-choose-section .section-title {
        margin-bottom: 18px;
    }

    .why-choose-section .section-title h2 {
        font-size: 23px;
    }

    .why-choose-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-item {
        min-height: 115px;
        padding: 12px 6px;
        border-bottom: 1px solid #e5e7eb;
    }

    .why-item:nth-child(odd) {
        border-right: 1px solid #e5e7eb;
    }

    .why-item:nth-child(even) {
        border-right: none;
    }

    .why-item:nth-child(5),
    .why-item:nth-child(6) {
        border-bottom: none;
    }

    .why-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .why-icon i {
        font-size: 21px;
    }

    .why-item h5 {
        font-size: 12px;
    }
}


/* ===================================
   SMALL MOBILE
=================================== */

@media (max-width: 480px) {

    .why-choose-section {
        padding: 50px 0;
    }

    .why-choose-section .section-title h2 {
        font-size: 20px;
    }

    .why-item {
        min-height: 105px;
    }

    .why-icon {
        width: 43px;
        height: 43px;
        margin-bottom: 7px;
    }

    .why-icon i {
        font-size: 19px;
    }

    .why-item h5 {
        font-size: 11px;
    }
}


.newsletter-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 27px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(15, 96, 159, 0.15);
}


.newsletter-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  width: 350px;
  max-width: 100%;
  padding: 15px 20px;
  border: 2px solid #dce7f2;
  border-radius: 50px;
  font-size: 16px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: rgb(15, 96, 159);
}

.newsletter-form button {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  background: rgb(15, 96, 159);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #0b4d82;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .newsletter-container {
    padding: 35px 25px;
  }

  .newsletter-container h2 {
    font-size: 30px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form button,
  .newsletter-form input {
    width: 100%;
  }
}


/* Testimonials */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding-top:15px;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 40px;
    color: #ddd;
    position: absolute;
    top: 10px;
    right: 15px;
}

.review-text {
    font-size: 14px;
    color: #444;
    margin-bottom: 15px;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.customer-info h5 {
    margin: 0;
    font-size: 15px;
}

.customer-info span {
    font-size: 12px;
    color: #777;
}

.stars {
    margin-top: 10px;
    color: #f5a623;
}

/* ===============================
   THERMAL TEXT MARQUEE
================================ */

.thermal-marquee {
    width: 100%;
    overflow: hidden;
    background: #050505;
    padding: 15px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.thermal-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: thermalMarquee 28s linear infinite;
}

.thermal-marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 18px;

    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;

    padding-right: 80px;
}

.thermal-marquee-item span {
    font-size: 22px;
    color: #fff;
}

/* Continuous movement */
@keyframes thermalMarquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

/* Stop when mouse is over it */
.thermal-marquee:hover .thermal-marquee-track {
    animation-play-state: paused;
}


/* ===============================
   TABLET
================================ */

@media (max-width: 991px) {

    .thermal-marquee-item {
        font-size: 18px;
        padding-right: 60px;
    }

}


/* ===============================
   MOBILE
================================ */

@media (max-width: 576px) {

    .thermal-marquee {
        padding: 12px 0;
    }

    .thermal-marquee-item {
        font-size: 15px;
        gap: 12px;
        padding-right: 45px;
    }

    .thermal-marquee-item span {
        font-size: 17px;
    }

}


/* New Product Portfolio Design */
/* ==========================================
   MODERN PRODUCT PORTFOLIO
========================================== */

.modern-portfolio {
    position: relative;
    padding: 100px 0;
    background: #f5f7fa;
    overflow: hidden;
}

.modern-portfolio .container {
    position: relative;
    z-index: 1;
}


/* ==========================================
   SECTION HEADER
========================================== */

.modern-portfolio-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 50px;
}

.modern-portfolio-heading {
    max-width: 600px;
}

.modern-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #0878d1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.6;
}

.modern-portfolio-heading h2 {
    margin: 0;
    color: #10233f;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.modern-portfolio-heading h2 span {
    display: inline-block;
    color: #0878d1;
}

.modern-portfolio-intro {
    max-width: 410px;
}

.modern-portfolio-intro p {
    margin-bottom: 18px;
    color: #647187;
    font-size: 15px;
    line-height: 1.8;
}

.modern-portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #10233f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-portfolio-link i {
    color: #0878d1;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.modern-portfolio-link:hover {
    color: #0878d1;
}

.modern-portfolio-link:hover i {
    transform: translate(4px, -3px);
}


/* ==========================================
   PRODUCT GRID
========================================== */

.modern-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}


/* ==========================================
   PRODUCT CARD
========================================== */

.modern-product-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(16, 35, 63, 0.035);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.modern-product-card:hover {
    transform: translateY(-7px);
    border-color: #cbdff2;
    box-shadow: 0 18px 40px rgba(16, 35, 63, 0.10);
}


/* ==========================================
   PRODUCT IMAGE
========================================== */

.modern-product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #e8eef5;
}

.modern-product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 28, 51, 0.12) 0%,
        transparent 35%,
        rgba(10, 28, 51, 0.18) 100%
    );
    pointer-events: none;
}

.modern-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-product-card:hover .modern-product-image img {
    transform: scale(1.07);
}


/* Product number */

.modern-product-number {
    position: absolute;
    top: 17px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 32px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 5px;
    color: #10233f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* Floating icon */

.modern-product-icon {
    position: absolute;
    right: 18px;
    bottom: 17px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #0878d1;
    border: 3px solid rgba(255, 255, 255, 0.85);
    border-radius: 9px;
    color: #ffffff;
    font-size: 22px;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.modern-product-card:hover .modern-product-icon {
    background: #10233f;
    transform: rotate(-5deg);
}


/* ==========================================
   PRODUCT CONTENT
========================================== */

.modern-product-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 250px;
    padding: 27px 25px 25px;
}

.modern-product-category {
    display: block;
    margin-bottom: 12px;
    color: #0878d1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    line-height: 1.6;
}

.modern-product-content h3 {
    margin: 0 0 13px;
    color: #10233f;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: -0.4px;
}

.modern-product-content p {
    margin: 0 0 22px;
    color: #687589;
    font-size: 14px;
    line-height: 1.8;
}

.modern-product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 5px;
    color: #10233f;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-product-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #eaf4ff;
    border-radius: 50%;
    color: #0878d1;
    font-size: 15px;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.modern-product-link:hover {
    color: #0878d1;
}

.modern-product-link:hover i {
    background: #0878d1;
    color: #ffffff;
    transform: translateX(4px);
}


/* ==========================================
   CUSTOM SOLUTION CTA CARD
========================================== */

.modern-product-cta {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    align-items: center;
    padding: 35px;
    background: #102b4b;
    border: 1px solid #1e4167;
    border-radius: 12px;
    color: #ffffff;
}

.modern-cta-pattern {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(141, 204, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.modern-cta-pattern::before,
.modern-cta-pattern::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(141, 204, 255, 0.12);
    border-radius: 50%;
}

.modern-cta-pattern::before {
    inset: 30px;
}

.modern-cta-pattern::after {
    inset: 65px;
}

.modern-cta-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.modern-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 28px;
    background: rgba(141, 204, 255, 0.12);
    border: 1px solid rgba(141, 204, 255, 0.25);
    border-radius: 10px;
    color: #8dccff;
    font-size: 27px;
}

.modern-product-cta .modern-eyebrow {
    color: #8dccff;
    font-size: 10px;
}

.modern-cta-content h3 {
    max-width: 340px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(25px, 2.3vw, 31px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.6px;
}

.modern-cta-content h3 span {
    display: block;
    color: #8dccff;
}

.modern-cta-content p {
    max-width: 370px;
    margin: 0 0 26px;
    color: #c5d3e2;
    font-size: 14px;
    line-height: 1.85;
}

.modern-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 18px;
    background: #0878d1;
    border: 1px solid #0878d1;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.modern-cta-button:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #10233f;
    transform: translateY(-3px);
}

.modern-cta-decoration {
    position: absolute;
    right: 22px;
    bottom: 19px;
    color: rgba(255, 255, 255, 0.28);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .modern-portfolio {
        padding: 75px 0;
    }

    .modern-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .modern-portfolio-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 38px;
    }

    .modern-portfolio-intro {
        max-width: 600px;
    }

    .modern-product-image {
        height: 230px;
    }

    .modern-product-content {
        min-height: 245px;
    }

    .modern-product-cta {
        padding: 30px;
    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 575px) {

    .modern-portfolio {
        padding: 55px 0;
    }

    .modern-portfolio-header {
        gap: 17px;
        margin-bottom: 30px;
    }

    .modern-portfolio-heading h2 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .modern-portfolio-intro p {
        font-size: 14px;
    }

    .modern-portfolio-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .modern-product-image {
        height: 240px;
    }

    .modern-product-content {
        min-height: auto;
        padding: 25px 22px;
    }

    .modern-product-content h3 {
        font-size: 21px;
    }

    .modern-product-content p {
        font-size: 14px;
    }

    .modern-product-link {
        margin-top: 0;
    }

    .modern-product-cta {
        min-height: 350px;
        padding: 30px 24px;
    }

    .modern-cta-content h3 {
        font-size: 29px;
    }

}


/* ==========================================
   REDUCED MOTION ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

    .modern-product-card,
    .modern-product-image img,
    .modern-product-icon,
    .modern-product-link,
    .modern-product-link i,
    .modern-portfolio-link i,
    .modern-cta-button {
        transition: none;
    }

    .modern-product-card:hover,
    .modern-product-card:hover .modern-product-image img,
    .modern-product-card:hover .modern-product-icon {
        transform: none;
    }

}


