/* --------- Color system (Blue + White Corporate Theme) --------- */
:root{
  --primary: #0B2E8F;
  --primary-dark:#02154D;
  --secondary: #00C6D7;
  --gold: #D4A017;
  --bg: #FFFFFF;
  --section-bg: #F8F9FB;
  --heading: #1A1A1A;
  --text: #2B2B2B;
  --text-light: #6B7280;
  --border: #E5E7EB;

  --white:#fff;
  --cta-bg: #001F73;
  --cta-text: #FFFFFF;
  --footer-text:#DCE4FF;
  --footer-heading:#FFFFFF;

  --radius: 8px;
  /* Same style as image */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
}
/* Global resets */
*{ 
  box-sizing:border-box; 
}

.projects{
    max-width:1400px;
    margin:90px auto;
    padding:0 20px;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.project-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    border:1px solid var(--border);
    transition:.35s;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.project-image img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.project-content{
    padding:25px;
}

.project-content h3{
    color:var(--primary-dark);
    margin-bottom:12px;
    font-size:26px;
    font-family:Georgia,serif;
}

.section-title span{
    color: var(--gold);
    font-weight: 600;
    font-size: 18px;
}

.location{
    color:#666;
    margin-bottom:20px;
    font-size:15px;
}

.location i{
    color:var(--gold);
    margin-right:8px;
}

.project-features{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:15px;
}

.project-features span{
    background:#f5f7fb;
    color:var(--primary-dark);
    padding:8px 14px;
    border-radius:25px;
    font-size:13px;
    border:1px solid #e6e8ef;
}

.project-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.project-footer small{
    color:#777;
}

.project-footer h4{
    color:var(--gold);
    margin-top:4px;
    font-size:26px;
}

.project-footer a{
    background:var(--primary-dark);
    color:#fff;
    text-decoration:none;
    padding:12px 20px;
    border-radius:6px;
    transition:.3s;
}

.project-footer a:hover{
    background:var(--gold);
}
/* ==============================
   Laptop (1025px - 1366px)
============================== */
@media (min-width:1025px) and (max-width:1366px){

    .projects{
        max-width:1200px;
        margin:80px auto;
        padding:0 20px;
    }

    .project-grid{
        gap:24px;
    }

    .project-image img{
        height:220px;
    }

    .project-content{
        padding:22px;
    }

    .project-content h3{
        font-size:24px;
    }

    .project-footer h4{
        font-size:22px;
    }

    .project-footer a{
        padding:11px 18px;
        font-size:14px;
    }

}


/* ==============================
   Tablet (769px - 1024px)
============================== */

@media (min-width:769px) and (max-width:1024px){

    .projects{
        margin:90px auto;
        padding:0 25px;
    }

    .project-grid{
        grid-template-columns:repeat(2,1fr);
        gap:25px;
    }

    .project-image img{
        height:220px;
    }

    .project-content{
        padding:20px;
    }

    .project-content h3{
        font-size:22px;
    }

    .project-features{
        gap:8px;
    }

    .project-features span{
        font-size:12px;
        padding:7px 12px;
    }

    .project-footer{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .project-footer h4{
        font-size:22px;
    }

    .project-footer a{
        width:100%;
        text-align:center;
        padding:12px;
    }

}


/* ==============================
   Large Mobile (481px - 768px)
============================== */

@media (min-width:481px) and (max-width:768px){

    .projects{
        margin:80px 40px;
        padding:0 18px;
    }

    .section-title h2{
        font-size:34px;
    }

    .project-grid{
        grid-template-columns:1fr;
        gap:22px;
    }

    .project-image img{
        height:260px;
    }

    .project-content{
        padding:20px;
    }

    .project-content h3{
        font-size:24px;
    }

    .location{
        font-size:15px;
    }

    .project-features{
        gap:8px;
    }

    .project-features span{
        font-size:12px;
        padding:8px 12px;
    }

    .project-footer{
        flex-direction:column;
        align-items:flex-start;
        gap:18px;
    }

    .project-footer h4{
        font-size:24px;
    }

    .project-footer a{
        width:100%;
        text-align:center;
        padding:13px;
    }

}


/* ==============================
   Mobile (0px - 480px)
============================== */

@media (max-width:480px){

    .projects{
        margin:50px auto;
        padding:0 15px;
    }

    .section-title h2{
        font-size:28px;
    }

    .section-title span{
        font-size:14px;
    }

    .project-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .project-card{
        border-radius:10px;
    }

    .project-image img{
        height:210px;
    }

    .project-content{
        padding:18px;
    }

    .project-content h3{
        font-size:21px;
    }

    .location{
        font-size:14px;
    }

    .project-features{
        gap:8px;
    }

    .project-features span{
        font-size:11px;
        padding:7px 10px;
    }

    .project-footer{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }

    .project-footer small{
        font-size:12px;
    }

    .project-footer h4{
        font-size:22px;
    }

    .project-footer a{
        width:100%;
        text-align:center;
        padding:12px;
        font-size:15px;
    }

}