/* ===========================================================================
   SERVICES INDEX PAGE
===================================== */

.services-section{

    padding:90px 8%;

    background:#f6f7fb;

}

.services-section h2{

    text-align:center;

    font-size:42px;

    margin-bottom:50px;

    color:#163b65;

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.service-card{

    position:relative;

    height:500px;

    overflow:hidden;

    cursor:pointer;

    border-radius:12px;

}

.service-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.service-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.15));

    z-index:1;

}

.service-overlay{

    position:below;

    left:30px;

    right:30px;

    bottom:35px;

    color:white;

    z-index:2;

    transition:.4s;

}

.service-overlay h3{

    font-size:34px;

    margin-bottom:18px;

}

.service-overlay p{

    font-size:17px;

    line-height:1.7;

    opacity:0;

    transform:translateY(20px);

    transition:.4s;

}

.service-card:hover img{

    transform:scale(1.08);

}

.service-card:hover .service-overlay p{

    opacity:1;

    transform:translateY(0);

}

.service-card:hover{

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}

/* Tablet */

@media(max-width:1100px){

.services-grid{

    grid-template-columns:repeat(2,1fr);

}

}

/* Mobile */

@media(max-width:768px){

.service-hero{
    height:320px;
}

.service-hero-content{

    position:relative;
    top: 0%;
    width:100%;
    max-width:100%;
}

.service-hero-content h1{

    position:static;
    margin:0 0 15px;
    font-size:30px;
    text-align:center;
}

.service-hero-content p{
    position:static;
    left:0;
    margin:0 auto;
    text-align:center;
    max-width:100%;
    font-size:15px;
}

.service-section{
    padding:60px 20px;
}

.service-content{
    padding:30px;
}

.service-content h2{
    font-size:30px;
}

.service-image img{
    height:280px;
}

.service-cta h2{
    font-size:32px;
}

.service-btn{
    padding:14px 30px;
}

}
/*====================================================================================
                SERVICES PAGE
==================================================*/

/* Hero */

.service-hero{

    position:relative;
    height:420px;
    background:linear-gradient(30deg,#0d4c92,#0066cc);
    display:flex;
    justify-content:left;
    align-items:left;

}

.service-overlay{

    position:absolute;
    inset:0;
    background:rgba(0, 0, 0, 0);

}

.service-hero-content{

    position:relative;
    z-index:2;

    text-align:center;
    color:#fff;

    width:90%;
    max-width:800px;

}

.service-hero-content h1{
    position:relative;
    top: 38%;
    right: 170px;
    font-size:40px;
    margin-bottom:10px;
    margin-top: 45px;
    font-weight:700px;

}

.service-hero-content p{

    position:relative;
    top: 40%;
    left: 82px;
    margin-right: 10px;
    text-align: left;
    max-width:900px;
    font-size:16px;
    color: #ffffff;

}


/* Sections */

.service-section{

    padding:90px 8%;

    background:#ffffff;

}

.alternate{

    background:#f7f9fc;

}


/* Container */

.service-container{

    display:flex;
    align-items:center;
    gap:50px;

    max-width:1300px;
    margin:auto;

}


/* Reverse Layout */

.service-reverse{

    flex-direction:row-reverse;

}


/* Image */

.service-image{

    flex:1;

}

.service-image img{

    width:100%;
    height:420px;

    object-fit:cover;

    border-radius:12px;

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}


/* Text */

.service-content{

    flex:2;
    background:#fff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.service-content h2{

    color:#163b65;
    font-size:38px;
    margin-bottom:25px;

}

.service-content p{
    
    font-size: 18px;
    color:#555;
    line-height:1.6;
    margin-bottom:20px;

}


/* Two Column List */

.service-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:40px;

    margin-top:25px;

}

.service-list ul{

    padding-left:20px;

}

.service-list li{

    text-align: left;
    margin-bottom:15px;
    color:#444;

}


/* Single List */

.single-list{

    margin-top:25px;
    padding-left:22px;

}

.single-list li{
    text-align: left;
    left: 20px;
    font-size: 18px;
    margin-bottom:15px;
    color:#444;

}


/* CTA */

.service-cta{

    padding:90px 20px;

    background:linear-gradient(135deg,#0d4c92,#0066cc);

    text-align:center;

    color:#fff;

}

.service-cta-content{

    text-align:Left;
    max-width:850px;
    margin-left: 50px;

}

.service-cta h2{

    font-size:38px;

    margin-bottom:20px;

}

.service-cta p{

    font-size:16px;

    line-height:1.8;

    margin-bottom:35px;

}


/* Button */

.service-btn{

    display:inline-block;

    padding:15px 40px;

    background:#fff;

    color:#0d4c92;

    text-decoration:none;

    border-radius:20px;

    font-weight:600;

    transition:.3s;

}

.service-btn:hover{

    background:#163b65;

    color:#fff;

}

/* =======================================================================================
   WHY CHOOSE FERUM TECHNICAL
========================================================== */

.why-ferum {
    width: 100%;
    padding: 80px 30px 90px;
    background:linear-gradient(30deg,#07264a,#0066cc);
}

.why-ferum-container {
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
}


/* ================= TITLE ================= */

.why-ferum-container > h2 {
    margin: 0 0 60px;

    font-size: 35px;
    font-weight: 700;

    line-height: 1.2;
    color: #ffffff;
}

.why-ferum-container > h2 span {
    font-size: 25px;
    color: #ffffff;
}


/* ================= GRID ================= */

.why-ferum-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 48px 48px;

    margin-bottom: 60px;
}


/* ================= CARD ================= */

.why-ferum-card {
    min-height: 170px;

    display: flex;
    align-items: flex-start;

    gap: 28px;

    padding: 40px 35px;

    text-align: left;

    background:linear-gradient(30deg,#07264a,#0066cc);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 15px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* ================= CARD HOVER ================= */

.why-ferum-card:hover {
    transform: translateY(-5px);

    background: #07264a;

    border-color:linear-gradient(30deg,#07264a,#0066cc);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}


/* ================= ICON ================= */

.why-ferum-icon {
    flex-shrink: 0;

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    color: #111820;

    border-radius: 2px;

    font-size: 32px;
    font-weight: 700;

    line-height: 1;
}


/* ================= CONTENT ================= */

.why-ferum-content {
    flex: 1;
}

.why-ferum-content h3 {
    margin: 0 0 12px;

    font-size: 22px;
    font-weight: 700;

    color: #ffffff;
}

.why-ferum-content p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #b8bbc1;
}


/* ================= BUTTON ================= */

.why-ferum-btn {
    display: inline-block;
    padding: 14px 28px;

    /* Apple-style liquid glass */
    background: rgba(84, 108, 166, 0);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);

    /* Glass edge */
    border: 1px solid rgba(94, 93, 93, 0.4);
    border-radius: 16px;

    /* Text */
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;

    /* Apple-like depth */
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.45),
        inset 0 -1px 2px rgba(0, 0, 0, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

    margin-left: 0px;
    margin-top: 26px;
}

/* Hover */
.why-ferum-btn:hover {
    background: rgba(255, 255, 255, 0.25);

    transform: translateY(-2px);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.55),
        0 12px 30px rgba(0, 0, 0, 0.22);

    color: #e3e3e3;
}

/* Press effect */
.why-ferum-btn:active {
    transform: translateY(0) scale(0.97);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .why-ferum {
        padding: 70px 25px 80px;
    }

    .why-ferum-container > h2 {
        font-size: 36px;
        margin-bottom: 45px;
    }

    .why-ferum-grid {
        gap: 25px;
    }

    .why-ferum-card {
        padding: 30px 25px;
        gap: 20px;
    }

    .why-ferum-icon {
        width: 60px;
        height: 60px;
        font-size: 27px;
    }

    .why-ferum-content h3 {
        font-size: 20px;
    }

    .why-ferum-content p {
        font-size: 15px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .why-ferum {
        padding: 60px 20px 70px;
    }

    .why-ferum-container > h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .why-ferum-grid {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 45px;
    }

    .why-ferum-card {
        min-height: auto;

        padding: 25px 22px;

        gap: 18px;
    }

    .why-ferum-icon {
        width: 55px;
        height: 55px;

        font-size: 24px;
    }

    .why-ferum-content h3 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .why-ferum-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .why-ferum-btn {
        width: 100%;
        max-width: 240px;

        padding: 16px 25px;

        font-size: 16px;
    }
}


/* Footer */

.service-footer{

    background:linear-gradient(30deg,#07264a,#0066cc);
    color:#fff;
    padding:60px 8% 25px;
}

.footer-container{

    display:flex;
    justify-content:space-between;
    gap:60px;
    max-width:1200px;
    margin:auto;
}

.footer-left{

    text-align:left;
    margin-right: 200px;
    flex:2;
    padding-right: 2px;

}

.footer-right

    font



.footer-left h3{

    font-size:24px;
    margin-bottom:18px;

}

.footer-left p{

    font-size:14px;
    line-height:1.8;
    text-align: left;
    justify-content: left;
    color:#ddd;

}

.footer-right h4{
    
    text-align:left;
    font-size:24px;
    margin-bottom:18px;

}

.footer-right ul{

    list-style:none;
    text-align:left;
    font-size:14px;
    

}

.footer-right li{

    font-size: 16px;
    margin-bottom:12px;

}

.footer-right a{
    font-size: 16px;
    color:#ddd;
    text-decoration:none;
    transition:.3s;

}

.footer-right a:hover{

    color:#fff;

    padding-left:5px;

}

.service-footer hr{

    margin:40px auto 25px;

    border:none;

    height:1px;

    background:rgba(255,255,255,.2);

}

.copyright{

    text-align:left;
    font-size:14px;
    color:#ffffff;

}


/* Hover Effect */

.service-image{

    overflow:hidden;

    border-radius:12px;

}

.service-image img{

    transition:.5s;

}

.service-image:hover img{

    transform:scale(1.08);

}


/* Tablet */

@media(max-width:992px){

.service-container{

    flex-direction:column;

}

.service-reverse{

    flex-direction:column;

}

.service-content{

    width:100%;

}

.service-list{

    grid-template-columns:1fr;

}

.footer-container{

    flex-direction:column;

}

}


/* Mobile */

@media(max-width:768px){

.service-hero{

    height:300px;

}

.service-hero-content h1{

    font-size:40px;

}

.service-hero-content p{

    font-size:16px;

}

.service-section{

    padding:60px 20px;

}

.service-content{

    padding:30px;

}

.service-content h2{

    font-size:30px;

}

.service-image img{

    height:280px;

}

.service-cta h2{

    font-size:32px;

}

.service-btn{

    padding:14px 30px;

}

}