/*
    File: styles/services.css
    Purpose: Styles for the services listing and responsive cards.
*/
/* Section: services */
.services-wrapper{
    padding:80px 0;
    background:#f8f9fb;
}

/* Header */
.service-header{
    text-align:center;
    margin-bottom:60px;
}

.service-header h2{
    font-size:32px;
    margin-bottom:10px;
    color:#0b1f3a;
}

.service-header p{
    font-size:16px;
    color:#666;
}

/* ===============================
   SERVICES GRID (STRICT 3 PER ROW)
================================ */

.services-container{
    max-width:1300px;
    margin:0 auto;
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;  /* STRICT 3 COLUMNS */
    gap:30px;
    padding:0 40px;
}

/* ===============================
   SERVICE CARD
================================ */

.service-card-modern{
    background:#f2f2f2;
    border:2px solid #0b1f3a;
    border-radius:25px;
    overflow:hidden;
    transition:0.3s ease;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    width:100%;
}

/* Hover */
.service-card-modern:hover{
    transform:translateY(-8px);
    box-shadow: #0b1f3a 10px 15px 30px -10px;
}

/* ===============================
   CARD IMAGE
================================ */

.card-image{
    height:200px;
    width:calc(100% - 30px);
    margin:15px;
    overflow:hidden;
    background:#ddd;
    border-radius:10px;
}

.card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.4s ease;
}

/* Zoom effect */
.service-card-modern:hover .card-image img{
    transform:scale(1.05);
    
}

/* ===============================
   CARD CONTENT
================================ */

.card-content{
    padding:25px;
    background:#0b1f3a;
    flex-grow:1;
}

.card-content h3{
    font-size:18px;
    margin-bottom:10px;
    font-weight:600;
    color:#edd77f;
}

.card-content p{
    font-size:14px;
    color:white;
    font-weight:500;
    line-height:1.6;
    margin-bottom:15px;
}

.tag-row {
    display: flex;
    justify-content: space-between; /* left & right */
    align-items: center;
    margin-top: 10px;
}

.service-tag{
    font-size:13px;
    color:#facc15;
    font-weight:500;
}

.enroll-tag{
    font-size:15px;
    color:white;
    font-weight:500;
    text-decoration: none;
    margin-top: 20px;
}
.enroll-tag:hover{
    color: #facc15;
}
/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media(max-width:1100px){
    .services-container{
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media(max-width:600px){
    .services-container{
        grid-template-columns: 1fr;
        padding:0 20px;
    }
}