/* ============================
   RESET
============================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Inter',sans-serif;
    background:#ececec;
    padding:25px;

}

/* ============================
   CONTAINER
============================ */

.container{

    max-width:1600px;
    margin:auto;

    border-radius:28px;

    overflow:hidden;

    border:5px solid #b5bbc5;

    background:#fff;

    box-shadow:0 20px 40px rgba(0,0,0,.08);

}

/* ============================
   NAVBAR
============================ */

.navbar{

    height:64px;

    background:#ffffff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 55px;

}

.logo{

   font-size:18px;

    font-weight:800;

    color:#0b8879;

}

.navbar ul{

    list-style:none;

    display:flex;

    gap:38px;

}

.navbar ul li a{

    text-decoration:none;

    color:#555;

    font-size:15px;

    font-weight:500;

    transition:.3s;

}

.navbar ul li a:hover{

    color:#000;

}

.active{

    color:#111;

    font-weight:700;

}

.nav-btns{

    display:flex;

    align-items:center;

    gap:18px;

}

.nav-btns a{

    text-decoration:none;

    color:#444;

    font-weight:500;

}

.nav-btns button{

    padding:13px 24px;

    border:none;

    border-radius:40px;

    background:#0b8879;

    color:white;

   font-size:11px;
 
    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.nav-btns button:hover{

    background:#0a7266;

}

/* ============================
   HERO
============================ */

.hero{

    position:relative;

    height:660px;

    background: url("assets/hero.jpg");
background-size:110%;
background-position:right center;
background-repeat:no-repeat;

    display:flex;

    align-items:center;

}

/* ============================
   OVERLAY
============================ */

.overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(255,255,255,.94) 0%,
        rgba(255,255,255,.82) 22%,
        rgba(255,255,255,.40) 45%,
        rgba(255,255,255,.08) 65%,
        rgba(255,255,255,0) 100%
    );

}

.overlay::after{

    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:140px;

    background:linear-gradient(
        to top,
        white,
        rgba(255,255,255,0)
    );

}

/* ============================
   CONTENT
============================ */

.content{

    position:relative;

    z-index:5;

    width:620px;

    margin-left:65px;
margin-top:-40px;

}

.badge{

    display:inline-block;

    background:#eaf8ef;

    color:#159b55;

    padding:10px 18px;

    border-radius:30px;

    font-size:11px;

    font-weight:600;

    margin-bottom:28px;

}

.content h1{

    font-size:54px;

    line-height:1.08;

    font-weight:800;

    letter-spacing:-2px;

    color:#111827;

    margin-bottom:28px;

}

.content p{

   font-size:15px;
width:500px;
    line-height:1.8;

    color:#555;

    margin-bottom:42px;

}

/* ============================
   BUTTONS
============================ */

.buttons{

    display:flex;

    gap:18px;

}

.green{

    background:#15803d;

    color:white;

    border:none;

    padding:16px 30px;

    border-radius:50px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.green:hover{

    background:#116932;

}

.white{

    background:white;

    border:none;

    padding:16px 30px;

   border-radius:8px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

}
/* ===========================================
   SECTION 2 - BUILD • DEPLOY • AUTOMATE
=========================================== */
/* =========================================
   BUILD • DEPLOY • AUTOMATE
========================================= */

.tools {
    padding: 90px 55px;
    background: #ffffff;
}

/* Heading */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: 46px;
    font-weight: 800;
    color: #111827;
}

.section-header p {
    color: #6b7280;
    font-size: 17px;
}

/* =========================================
   LARGE IMAGE PANELS
========================================= */

.tool-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.tool-card {
    position: relative;
    width: 100%;
    height: 330px;

    overflow: hidden;
    border-radius: 14px;

    border: 2px solid #c5ccd2;
    background: #07131c;

    box-shadow: 0 5px 15px rgba(0,0,0,.12);
}

.tool-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}



/* Hover */
.tool-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(0,0,0,.20);
}

.tool-card:hover img {
    transform: scale(1.03);
}

/* =========================================
   DARK OVERLAY
========================================= */

.tool-overlay {
    position: absolute;
    inset: 0;

    padding: 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    /* dark on LEFT, transparent on RIGHT */
    background:
        linear-gradient(
            90deg,
            rgba(3,12,20,.92) 0%,
            rgba(3,12,20,.72) 28%,
            rgba(3,12,20,.25) 55%,
            rgba(3,12,20,0) 100%
        );
}

/* =========================================
   ICON
========================================= */

.icon {
    width: 48px;
    height: 48px;

    border-radius: 12px;

    background: rgba(0,180,160,.15);

    border: 1px solid rgba(0,220,200,.35);

    backdrop-filter: blur(8px);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #00e0c0;

    font-size: 21px;

    margin-bottom: 18px;
}

/* =========================================
   TITLE
========================================= */

.tool-overlay h3 {
    color: white;

    font-size: 32px;

    font-weight: 800;

    margin-bottom: 12px;
}

/* =========================================
   DESCRIPTION
========================================= */

.tool-overlay p {
    color: #e5e7eb;

    max-width: 420px;

    line-height: 1.7;

    font-size: 15px;

    margin-bottom: 20px;
}

/* =========================================
   LINK
========================================= */

.tool-overlay a {
    color: #00e0c0;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .5px;
}

.tool-overlay a:hover {
    color: white;
}
/* ==========================================
   SECTION 3 - WHY CHOOSE PIRUBY
========================================== */
/* ===================================
   WHY CHOOSE PIRUBY
=================================== */

.why-piruby {
    width: 100%;
    padding: 70px 0 80px;
    background: #ffffff;
}


/* ===================================
   HEADING ABOVE CARD
=================================== */

.why-heading {
    text-align: center;
    margin-bottom: 35px;
}

.why-heading h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    color: #07111c;
}

.why-heading p {
    margin: 8px auto 0;
    font-size: 13px;
    line-height: 1.5;
    color: #69747d;
    max-width: 700px;
}


/* ===================================
   MAIN CARD
=================================== */

.why-container {
    width: 94%;
    max-width: 1450px;

    /* IMPORTANT */
    min-height: 650px;

    margin: 0 auto;

    display: grid;

    /* LEFT IMAGE BIGGER */
    grid-template-columns: 52% 48%;

    background: #f5f7f8;

    border: 1px solid #d8dee2;
    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}


/* ===================================
   LEFT IMAGE
=================================== */

.why-image {
    width: 100%;
    height: 100%;
    min-height: 650px;

    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;

    /* Move the image towards RIGHT */
    object-position: 55% center;
}

/* ===================================
   RIGHT CONTENT
=================================== */

.why-content {

    /*
       Less side padding = more room
       for description
    */
    padding: 35px 45px;

    display: flex;
    flex-direction: column;
    justify-content: space-around;

    width: 100%;
}


/* ===================================
   FEATURES
=================================== */

.why-feature {

    display: flex;
    flex-direction: column;

    align-items: center;

    width: 100%;

    margin-bottom: 10px;
}


/* ===================================
   ICON
=================================== */

.why-icon {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 28px;
    font-weight: 600;

    margin-bottom: 8px;
}


/* ===================================
   FEATURE TEXT
=================================== */

.why-text {

    width: 100%;
}


/* ===================================
   FEATURE HEADING
=================================== */

.why-text h3 {

    margin: 0 0 10px;

    font-size: 23px;

    line-height: 1.3;

    font-weight: 700;

    color: #07111c;

    text-align: center;
}


/* ===================================
   DESCRIPTION
=================================== */

.why-text p {

    width: 100%;

    max-width: 500px;

    margin: 0 auto;

    font-size: 13px;

    line-height: 1.65;

    color: #69747d;

    text-align: left;
}
/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 991px) {

    .why-container {
        width: 90%;
        grid-template-columns: 1fr;
    }

    .why-image {
        height: 400px;
        min-height: 400px;
    }

    .why-content {
        padding: 40px 35px;
    }

}


@media (max-width: 500px) {

    .why-heading h2 {
        font-size: 25px;
    }

    .why-heading p {
        padding: 0 20px;
    }

    .why-container {
        width: 92%;
        border-radius: 14px;
    }

    .why-image {
        height: 250px;
        min-height: 250px;
    }

    .why-content {
        padding: 32px 24px;
    }

    .why-text h3 {
        font-size: 15px;
    }

    .why-text p {
        font-size: 10.5px;
    }

}
/*==========================================
      TRANSFORMING INDUSTRIES
===========================================*/

.industry-section{

    padding:70px 45px;

    background:#ffffff;

}

.industry-heading{

    text-align:center;

    font-size:46px;

    font-weight:800;

    color:#111827;

    margin-bottom:45px;

}

.industry-row{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:18px;

}

.industry-item{

    position:relative;

    height:245px;

    overflow:hidden;

    border-radius:14px;

    cursor:pointer;

    transition:.35s;

}

.industry-item img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.industry-item:hover img{

    transform:scale(1.08);

}

.industry-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(255,255,255,.95),
        rgba(255,255,255,.55),
        rgba(255,255,255,0)
    );

}

.industry-item h3{

    position:absolute;

    left:16px;

    bottom:18px;

    font-size:28px;

    font-weight:600;

    color:#111827;

    z-index:2;

}

.industry-item:hover{

    transform:translateY(-6px);

}
/*====================================
    TRUSTED BY INNOVATORS
====================================*/

/* =========================================
   TRUSTED BY INNOVATORS - SLIDER
========================================= */

.testimonials {
    padding: 45px 45px 50px;
    background: #fff;
    overflow: hidden;
}

.testimonials h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #111827;
}


/* SLIDER AREA */

.testimonial-slider {
    width: 100%;
    overflow: hidden;
}


/* MOVING ROW */

.testimonial-row {
    display: flex;
    gap: 30px;
    width: max-content;

    animation: testimonialSlide 15s linear infinite;
}


/* TESTIMONIAL */

.testimonial {
    width: 360px;
    flex-shrink: 0;

    padding: 25px;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    background: #fff;

    box-shadow: 0 8px 25px rgba(0,0,0,.06);

    transition: .3s;
}


/* HOVER */

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,.10);
}


/* REMOVE OLD BORDER */

.testimonial:last-child {
    border-right: 1px solid #e5e7eb;
}


/* QUOTE */

.quote {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
}


/* AUTHOR */

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author h4 {
    font-size: 14px;
    color: #0b8879;
    margin-bottom: 4px;
}

.author span {
    color: #777;
    font-size: 12px;
}


/* =========================================
   SLIDING ANIMATION
========================================= */

@keyframes testimonialSlide {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* PAUSE ON HOVER */

.testimonial-slider:hover .testimonial-row {
    animation-play-state: paused;
}


/* =========================================
   MOBILE
========================================= */

@media(max-width:600px) {

    .testimonials {
        padding: 40px 20px;
    }

    .testimonials h2 {
        font-size: 32px;
    }

    .testimonial {
        width: 280px;
    }

}
/*=========================================
        SUCCESS STORIES
=========================================*/

.success{

    padding:90px 45px;

    background:#ffffff;

}

.success h2{

    text-align:center;

    font-size:44px;

    color:#111827;

    margin-bottom:10px;

}

.success-subtitle{

    text-align:center;

    color:#6b7280;

    font-size:17px;

    margin-bottom:55px;

}

.success-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.success-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.success-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.14);

}

.success-card img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:.6s;

}

.success-card:hover img{

    transform:scale(1.08);

}

.success-content{

    padding:26px;

}

.success-icon{

    width:46px;

    height:46px;

    border-radius:12px;

    background:#0b8879;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:18px;

    font-size:22px;

}

.success-content h3{

    font-size:24px;

    margin-bottom:14px;

    color:#111827;

}

.success-content p{

    color:#6b7280;

    line-height:1.8;

    margin-bottom:18px;

}

.success-content a{

    color:#0b8879;

    text-decoration:none;

    font-weight:600;

    font-size:14px;

    
}
/*=========================================
      SOLUTION ACCELERATORS
=========================================*/


.accelerators {
    padding: 90px 50px 110px;
    background: #ffffff;
}


/* =========================================
   HEADING
========================================= */

.accelerators h2 {
    text-align: center;

    font-size: 48px;
    line-height: 1.2;

    font-weight: 800;

    color: #111827;

    margin-bottom: 12px;
}

.accelerator-subtitle {
    text-align: center;

    color: #6b7280;

    font-size: 17px;

    margin-bottom: 50px;
}


/* =========================================
   MAIN GRID
========================================= */

.accelerator-grid {

    display: grid;

    grid-template-columns:
        1fr
        1.8fr
        1fr;

    grid-template-rows:
        170px
        170px
        170px
        170px;

    gap: 10px;

    width: 100%;

    max-width: 1250px;

    margin: 0 auto;
}


/* =========================================
   CARD
========================================= */

.accelerator-card {

    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: #e5e7eb;

    cursor: pointer;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


/* =========================================
   IMAGE
========================================= */

/* =========================================
   SOLUTION ACCELERATOR IMAGES
   KEEP SAME CARD LAYOUT
========================================= */

.accelerator-card img {
    width: 100%;
    height: 100%;
    display: block;

    /* Show the COMPLETE image */
    object-fit: cover;
    object-position: center;

    transform: none;
    transition: none;
}

/* Object Detection */
.accelerator-card:nth-child(4) img {
    object-fit: fill;
    object-position: center;
    transform: none;
}

/* RAG */
.accelerator-card:nth-child(7) img {
    object-fit: fill;
    object-position: center;
    transform: none;
}
/* =========================================
   HOVER
========================================= */

.accelerator-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.18);

    z-index: 5;
}
/* 
.accelerator-card:hover img {

    transform: scale(1.04);

} */


/* =========================================
   GRID POSITIONING
========================================= */

/* ROW 1 */

.accelerator-card:nth-child(1) {

    grid-column: 1 / 3;

    grid-row: 1;
}

.accelerator-card:nth-child(2) {

    grid-column: 3;

    grid-row: 1;
}


/* ROW 2 */

.accelerator-card:nth-child(3) {

    grid-column: 1;

    grid-row: 2;
}

.accelerator-card:nth-child(4) {

    grid-column: 2;

    grid-row: 2;
}

.accelerator-card:nth-child(5) {

    grid-column: 3;

    grid-row: 2;
}


/* ROW 3 */

.accelerator-card:nth-child(6) {

    grid-column: 1;

    grid-row: 3;
}

.accelerator-card:nth-child(7) {

    grid-column: 2;

    grid-row: 3;
}

.accelerator-card:nth-child(8) {

    grid-column: 3;

    grid-row: 3;
}


/* ROW 4 */

.accelerator-card:nth-child(9) {

    grid-column: 1;

    grid-row: 4;
}

.accelerator-card:nth-child(10) {

    grid-column: 2 / 4;

    grid-row: 4;
}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 1100px) {

    .accelerators {

        padding: 70px 30px 90px;

    }

    .accelerator-grid {

        max-width: 100%;

        grid-template-rows:
            155px
            155px
            155px
            155px;

    }

}


/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 800px) {

    .accelerator-grid {

        grid-template-columns: 1fr 1fr;

        grid-template-rows: auto;

        gap: 12px;

    }

    .accelerator-card:nth-child(n) {

        grid-column: auto;

        grid-row: auto;

        height: 220px;

    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 550px) {

    .accelerators {

        padding: 55px 20px 70px;

    }

    .accelerators h2 {

        font-size: 34px;

    }

    .accelerator-subtitle {

        font-size: 14px;

        margin-bottom: 30px;

    }

    .accelerator-grid {

        grid-template-columns: 1fr;

    }

    .accelerator-card:nth-child(n) {

        height: 230px;

    }

}
/*=========================================
            CTA SECTION
=========================================*/

.cta{

    padding:120px 40px;

    background:#f8fafc;

    text-align:center;

}

.cta-content{

    max-width:850px;

    margin:auto;

}

.cta-tag{

    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    background:#e8f8ef;

    color:#15803d;

    font-size:13px;

    font-weight:600;

    letter-spacing:.5px;

    margin-bottom:25px;

}

.cta h2{

    font-size:58px;

    line-height:1.2;

    font-weight:800;

    color:#111827;

    margin-bottom:24px;

}

.cta p{

    font-size:18px;

    color:#6b7280;

    line-height:1.8;

    max-width:650px;

    margin:auto;

    margin-bottom:40px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

}

.cta-primary{

    padding:16px 34px;

    border:none;

    background:#0b8879;

    color:#fff;

    border-radius:50px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.cta-primary:hover{

    background:#087265;

}

.cta-secondary{

    padding:16px 34px;

    border:1px solid #d1d5db;

    background:#fff;

    color:#111827;

    border-radius:50px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.cta-secondary:hover{

    background:#f3f4f6;

}
/*=========================================
                FOOTER
=========================================*/

.footer{

    background:#111827;

    color:#d1d5db;

    padding-top:80px;

}

.footer-container{

    width:90%;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:60px;

    padding-bottom:60px;

}

.footer-about h2{

    color:white;

    font-size:34px;

    margin-bottom:20px;

}

.footer-about p{

    line-height:1.8;

    color:#9ca3af;

    font-size:15px;

}

.footer-links h3{

    color:white;

    margin-bottom:22px;

    font-size:18px;

}

.footer-links{

    display:flex;

    flex-direction:column;

}

.footer-links a{

    color:#9ca3af;

    text-decoration:none;

    margin-bottom:14px;

    transition:.3s;

}

.footer-links a:hover{

    color:white;

    padding-left:6px;

}

.footer-links p{

    color:#9ca3af;

    margin-bottom:16px;

    line-height:1.7;

}

.footer-bottom{

    border-top:1px solid #374151;

    text-align:center;

    padding:24px;

    color:#9ca3af;

    font-size:14px;

}

/*==============================
        Responsive
==============================*/

@media(max-width:992px){

.footer-container{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:650px){

.footer-container{

grid-template-columns:1fr;

}

}
/*====================================
            CONTACT
====================================*/

.contact{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    padding:100px 70px;

    background:#ffffff;

}

.contact-tag{

    display:inline-block;

    padding:8px 16px;

    background:#e8f8ef;

    color:#15803d;

    border-radius:25px;

    font-size:13px;

    margin-bottom:20px;

    font-weight:600;

}

.contact h2{

    font-size:48px;

    color:#111827;

    margin-bottom:20px;

}

.contact-left p{

    color:#6b7280;

    line-height:1.8;

    margin-bottom:35px;

}

.contact-info{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.info-box{

    padding:20px;

    border-radius:16px;

    background:#f8fafc;

}

.info-box h4{

    color:#111827;

    margin-bottom:6px;

}

.info-box p{

    margin:0;

}

.contact-right{

    background:#f8fafc;

    padding:35px;

    border-radius:22px;

}

.row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:16px;

}

.contact input,
.contact textarea{

    width:100%;

    padding:16px;

    margin-top:16px;

    border:1px solid #d1d5db;

    border-radius:12px;

    font-size:15px;

    outline:none;

}

.contact textarea{

    height:160px;

    resize:none;

}

.contact button{

    margin-top:20px;

    width:100%;

    padding:16px;

    border:none;

    background:#0b8879;

    color:#fff;

    border-radius:12px;

    font-size:16px;

    cursor:pointer;

    font-weight:600;

}

.contact button:hover{

    background:#087265;

}

@media(max-width:992px){

.contact{

grid-template-columns:1fr;

}

.row{

grid-template-columns:1fr;

}

}


/* =========================================
        ADDING VALUE SECTION
========================================= */

.adding-value {
    padding: 70px 55px 85px;
    background: #f8fafc;
}


/* =========================================
        HEADING
========================================= */

.adding-value-header {
    text-align: center;
    margin-bottom: 35px;
}

.adding-value-header h2 {
    font-size: 30px;
    font-weight: 800;
    color: #111827;
    margin: 0;
}


/* =========================================
        MAIN ROW
========================================= */

.value-grid {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 28px;

    align-items: start;
}


/* =========================================
        VALUE CARD
========================================= */

.value-card {
    text-align: center;

    background: transparent;

    transition: transform .35s ease;
}


/* =========================================
        ZIG-ZAG EFFECT
========================================= */

/* 1st and 3rd cards stay higher */

.value-card:nth-child(1),
.value-card:nth-child(3) {
    transform: translateY(0);
}


/* 2nd and 4th cards move DOWN */

.value-card:nth-child(2),
.value-card:nth-child(4) {
    transform: translateY(25px);
}


/* Hover */

.value-card:hover {
    transform: translateY(-5px);
}


/* Keep zig-zag on hover */

.value-card:nth-child(2):hover,
.value-card:nth-child(4):hover {
    transform: translateY(20px);
}


/* =========================================
        IMAGE CONTAINER
========================================= */

.value-image {
    width: 100%;
    height: 175px;

    padding: 5px;

    background: #ffffff;

    border: 5px solid #b8c4c4;

    border-radius: 7px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    box-shadow: 0 3px 8px rgba(0,0,0,.08);
}


/* =========================================
        IMAGE
========================================= */

.value-image img {
    width: 100%;
    height: 100%;

    display: block;

    /*
       COMPLETE IMAGE VISIBLE
       NO CROPPING
       NO ZOOM
    */

    object-fit: contain;

    object-position: center;

    border-radius: 1px;
}


/* =========================================
        CARD TITLE
========================================= */

.value-card h3 {
    margin: 0 0 8px;

    font-size: 15px;

    line-height: 1.3;

    font-weight: 700;

    color: #374151;
}


/* =========================================
        CARD DESCRIPTION
========================================= */

.value-card p {
    max-width: 240px;

    margin: 0 auto;

    font-size: 10px;

    line-height: 1.5;

    color: #6b7280;
}


/* =========================================
        HOVER IMAGE
========================================= */

.value-card:hover .value-image {
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}


/* =========================================
        TABLET
========================================= */

@media (max-width: 1000px) {

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .value-card:nth-child(2),
    .value-card:nth-child(4) {
        transform: translateY(25px);
    }

}


/* =========================================
        MOBILE
========================================= */

@media (max-width: 600px) {

    .adding-value {
        padding: 55px 25px 70px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .value-card:nth-child(1),
    .value-card:nth-child(2),
    .value-card:nth-child(3),
    .value-card:nth-child(4) {
        transform: none;
    }

    .value-image {
        height: 200px;
    }

}


/* =========================================
   REDUCE LARGE GAPS BETWEEN SECTIONS
========================================= */

.tools {
    padding: 45px 50px 50px;
}

.section-header {
    margin-bottom: 28px;
}





/* =========================================
   TRANSFORMING INDUSTRIES
========================================= */

.industry-section {
    padding: 45px 45px 50px;
}

.industry-heading {
    margin-bottom: 28px;
}


/* =========================================
   TRUSTED BY INNOVATORS
========================================= */

.testimonials {
    padding: 45px 45px 50px;
}

.testimonials h2 {
    margin-bottom: 28px;
}


/* =========================================
   SUCCESS STORIES
========================================= */

.success {
    padding: 50px 45px 55px;
}

.success h2 {
    margin-bottom: 8px;
}

.success-subtitle {
    margin-bottom: 30px;
}


/* =========================================
   SOLUTION ACCELERATORS
========================================= */

.accelerators {
    padding: 50px 45px 55px;
}

.accelerators h2 {
    margin-bottom: 8px;
}

.accelerator-subtitle {
    margin-bottom: 28px;
}


/* =========================================
   ADDING VALUE
========================================= */

.adding-value {
    padding: 45px 50px 55px;
}

.adding-value-header {
    margin-bottom: 25px;
}


/* =========================================
   CTA
========================================= */

.cta {
    padding: 65px 40px 70px;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    padding: 60px 60px;
}


.form-message {
    display: none;
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #e8fff8;
    color: #008f78;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   FINAL RESPONSIVE SYSTEM
   PC • LAPTOP • TABLET • MOBILE
========================================================= */

/* ---------- GLOBAL RESPONSIVE FIXES ---------- */

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 15px;
}

img {
    max-width: 100%;
}

button,
input,
textarea {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}


/* =========================================================
   LARGE DESKTOP
   1400px+
========================================================= */

@media (min-width: 1400px) {

    .navbar {
        padding: 0 65px;
    }

    .content {
        margin-left: 80px;
    }

    .hero {
        min-height: 680px;
    }

}


/* =========================================================
   LAPTOP
   1200px – 1399px
========================================================= */

@media (max-width: 1399px) {

    .navbar {
        padding: 0 35px;
    }

    .navbar ul {
        gap: 22px;
    }

    .nav-btns {
        gap: 12px;
    }

    .content {
        width: 560px;
        margin-left: 50px;
    }

    .content h1 {
        font-size: 48px;
    }

    .content p {
        width: 100%;
        max-width: 480px;
    }

    .tools {
        padding-left: 40px;
        padding-right: 40px;
    }

    .industry-section,
    .success,
    .testimonials {
        padding-left: 35px;
        padding-right: 35px;
    }

}


/* =========================================================
   TABLET LANDSCAPE
   992px – 1199px
========================================================= */

@media (max-width: 1199px) {

    /* NAVBAR */

    .navbar {
        padding: 0 25px;
    }

    .navbar ul {
        gap: 15px;
    }

    .navbar ul li a {
        font-size: 13px;
    }

    .nav-btns a {
        display: none;
    }

    .nav-btns button {
        padding: 11px 18px;
    }


    /* HERO */

    .hero {
        height: 600px;
        background-size: cover;
        background-position: center;
    }

    .content {
        width: 52%;
        margin-left: 45px;
    }

    .content h1 {
        font-size: 44px;
    }

    .content p {
        width: 100%;
        font-size: 14px;
    }


    /* BUILD / DEPLOY / AI */

    .tools {
        padding: 55px 30px;
    }

    .section-header h2 {
        font-size: 38px;
    }

    .tool-card {
        height: 300px;
    }

    .tool-overlay {
        padding: 35px;
    }

    .tool-overlay h3 {
        font-size: 28px;
    }


    /* INDUSTRIES */

    .industry-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-item {
        height: 260px;
    }

    .industry-item h3 {
        font-size: 25px;
    }


    /* SUCCESS STORIES */

    .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* ACCELERATORS */

    .accelerator-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .accelerator-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        height: 220px;
    }


    /* ADDING VALUE */

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* CONTACT */

    .contact {
        grid-template-columns: 1fr;
        padding: 70px 45px;
    }

}


/* =========================================================
   TABLET PORTRAIT
   768px – 991px
========================================================= */

@media (max-width: 991px) {

    body {
        padding: 10px;
    }

    .container {
        border-width: 3px;
        border-radius: 20px;
    }


    /* NAVIGATION */

    .navbar {
        height: auto;
        min-height: 65px;
        padding: 15px 22px;
        gap: 15px;
    }

    .navbar ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar ul li a {
        font-size: 12px;
    }


    /* HERO */

    .hero {
        min-height: 560px;
        height: auto;
    }

    .content {
        width: 60%;
        margin-left: 35px;
        padding: 70px 0;
    }

    .content h1 {
        font-size: 40px;
    }

    .content p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* WHY */

    .why-container {
        width: 90%;
        grid-template-columns: 1fr;
    }

    .why-image {
        height: 350px;
        min-height: 350px;
    }


    /* INDUSTRIES */

    .industry-heading,
    .testimonials h2,
    .success h2,
    .accelerators h2 {
        font-size: 38px;
    }


    /* SUCCESS */

    .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* FOOTER */

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

}


/* =========================================================
   LARGE MOBILE
   600px – 767px
========================================================= */

@media (max-width: 767px) {

    body {
        padding: 0;
        background: #fff;
    }

    .container {
        border: none;
        border-radius: 0;
        box-shadow: none;
    }


    /* =====================================================
       NAVBAR
    ===================================================== */

    .navbar {
        min-height: auto;
        padding: 18px 20px;

        display: flex;
        flex-wrap: wrap;

        gap: 15px;
    }

    .logo {
        font-size: 20px;
    }

    .navbar ul {
        width: 100%;

        display: flex;
        justify-content: center;
        flex-wrap: wrap;

        gap: 10px 16px;

        order: 3;
    }

    .navbar ul li a {
        font-size: 12px;
    }

    .nav-btns {
        margin-left: auto;
    }

    .nav-btns a {
        display: none;
    }

    .nav-btns button {
        font-size: 11px;
        padding: 10px 16px;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero {
        min-height: 620px;
        height: auto;

        background-size: cover;
        background-position: 65% center;
    }

    .overlay {
        background:
            linear-gradient(
                90deg,
                rgba(255,255,255,.97) 0%,
                rgba(255,255,255,.90) 45%,
                rgba(255,255,255,.45) 100%
            );
    }

    .content {
        width: 100%;
        max-width: 600px;

        margin: 0;
        padding: 90px 25px 80px;
    }

    .badge {
        font-size: 10px;
        padding: 8px 14px;
        margin-bottom: 20px;
    }

    .content h1 {
        font-size: clamp(34px, 8vw, 48px);
        line-height: 1.1;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .content p {
        width: 100%;
        max-width: 520px;

        font-size: 14px;
        line-height: 1.7;

        margin-bottom: 30px;
    }

    .buttons {
        flex-wrap: wrap;
    }

    .green {
        padding: 14px 25px;
        font-size: 14px;
    }


    /* =====================================================
       BUILD / DEPLOY / AUTOMATE
    ===================================================== */

    .tools {
        padding: 55px 20px;
    }

    .section-header {
        display: block;
        text-align: center;
    }

    .section-header h2 {
        font-size: clamp(30px, 7vw, 40px);
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .section-header p {
        font-size: 14px;
    }

    .tool-grid {
        width: 100%;
        gap: 15px;
    }

    .tool-card {
        height: 350px;
    }

    .tool-overlay {
        padding: 28px 25px;

        background:
            linear-gradient(
                90deg,
                rgba(3,12,20,.92),
                rgba(3,12,20,.65),
                rgba(3,12,20,.25)
            );
    }

    .tool-overlay h3 {
        font-size: 25px;
        line-height: 1.2;
    }

    .tool-overlay p {
        font-size: 13px;
        max-width: 100%;
        line-height: 1.6;
    }


    /* =====================================================
       WHY PIRUBY
    ===================================================== */

    .why-piruby {
        padding: 55px 0;
    }

    .why-heading {
        padding: 0 20px;
    }

    .why-heading h2 {
        font-size: 30px;
    }

    .why-heading p {
        font-size: 13px;
    }

    .why-container {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
    }

    .why-image {
        height: 280px;
        min-height: 280px;
    }

    .why-content {
        padding: 35px 25px;
    }

    .why-feature {
        gap: 12px;
        margin-bottom: 25px;
    }

    .why-text h3 {
        font-size: 16px;
    }

    .why-text p {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.6;
    }


    /* =====================================================
       INDUSTRIES
    ===================================================== */

    .industry-section {
        padding: 55px 20px;
    }

    .industry-heading {
        font-size: clamp(30px, 8vw, 40px);
        margin-bottom: 30px;
    }

    .industry-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .industry-item {
        height: 260px;
    }

    .industry-item h3 {
        font-size: 24px;
    }


    /* =====================================================
       TESTIMONIALS
    ===================================================== */

    .testimonials {
        padding: 55px 20px;
    }

    .testimonials h2 {
        font-size: 32px;
        text-align: center;
    }

    .testimonial-row {
        gap: 15px;
    }

    .testimonial {
        width: calc(100vw - 60px);
        max-width: 340px;
    }


    /* =====================================================
       SUCCESS STORIES
    ===================================================== */

    .success {
        padding: 55px 20px;
    }

    .success h2 {
        font-size: 34px;
    }

    .success-subtitle {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .success-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .success-card img {
        height: 220px;
    }

    .success-content h3 {
        font-size: 21px;
    }


    /* =====================================================
       ACCELERATORS
    ===================================================== */

    .accelerators {
        padding: 55px 20px;
    }

    .accelerators h2 {
        font-size: 34px;
    }

    .accelerator-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .accelerator-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .accelerator-card:nth-child(n) {
        height: 230px;
    }


    /* =====================================================
       ADDING VALUE
    ===================================================== */

    .adding-value {
        padding: 55px 20px 70px;
    }

    .adding-value-header h2 {
        font-size: 32px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .value-card:nth-child(n) {
        transform: none;
    }

    .value-image {
        height: 210px;
    }

    .value-card p {
        max-width: 320px;
        font-size: 12px;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .cta {
        padding: 70px 20px;
    }

    .cta h2 {
        font-size: clamp(34px, 9vw, 48px);
        line-height: 1.15;
    }

    .cta h2 br {
        display: none;
    }

    .cta p {
        font-size: 15px;
        line-height: 1.7;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
    }


    /* =====================================================
       CONTACT
    ===================================================== */

    .contact {
        padding: 60px 20px;
        gap: 35px;
    }

    .contact h2 {
        font-size: 38px;
    }

    .contact-left p {
        font-size: 14px;
    }

    .contact-right {
        padding: 25px 20px;
        border-radius: 18px;
    }

    .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact input,
    .contact textarea {
        font-size: 14px;
        padding: 14px;
    }

    .contact textarea {
        height: 140px;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer {
        padding-top: 55px;
    }

    .footer-container {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 45px;
    }

    .footer-about h2 {
        font-size: 30px;
    }

    .footer-about p {
        font-size: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
   400px AND BELOW
========================================================= */

@media (max-width: 400px) {

    .navbar {
        padding: 15px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-btns button {
        padding: 9px 13px;
        font-size: 10px;
    }

    .navbar ul {
        gap: 8px 12px;
    }

    .navbar ul li a {
        font-size: 11px;
    }


    .hero {
        min-height: 600px;
    }

    .content {
        padding: 75px 20px;
    }

    .content h1 {
        font-size: 34px;
    }

    .content p {
        font-size: 13px;
    }


    .tool-card {
        height: 380px;
    }

    .tool-overlay {
        padding: 25px 20px;
    }

    .tool-overlay h3 {
        font-size: 23px;
    }

    .tool-overlay p {
        font-size: 12px;
    }


    .why-container {
        width: calc(100% - 30px);
    }

    .why-content {
        padding: 30px 20px;
    }


    .industry-item {
        height: 230px;
    }

    .industry-item h3 {
        font-size: 21px;
    }


    .testimonial {
        width: calc(100vw - 50px);
    }


    .success-card img {
        height: 200px;
    }


    .value-image {
        height: 180px;
    }


    .contact h2 {
        font-size: 34px;
    }

    .contact-right {
        padding: 20px 15px;
    }


    .footer-bottom {
        padding: 20px 15px;
        font-size: 12px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   320px AND BELOW
========================================================= */

@media (max-width: 320px) {

    .content h1 {
        font-size: 30px;
    }

    .content p {
        font-size: 12px;
    }

    .tool-overlay h3 {
        font-size: 21px;
    }

    .industry-heading,
    .success h2,
    .accelerators h2 {
        font-size: 30px;
    }

    .why-heading h2 {
        font-size: 27px;
    }

}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

html {
    scroll-behavior: smooth;
}


/* Adjust image position to show faces better */

.build-card img {
    object-position: center 30%;
}

.deploy-card img {
    object-position: center 25%;
}

.automate-card img {
    object-position: center 25%;
}