
/* ========= RESET ========= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:#222;
    overflow-x:hidden;
    line-height:1.6;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/* ========= NAVBAR ========= */

.top-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 30px;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.08);

    /* Light solid background */
    background:#8fb7e8;
}

.logo-text{
    font-size:28px;
    font-weight:700;
    color:#000000;
}

.menu ul{
    display:flex;
    list-style:none;
    gap:25px;
}

.menu a{
    color:#000000;
    font-weight:600;
    transition:color .3s ease;
}

.menu a:hover{
    color:#000000;
}

.contact{
    display:flex;
    gap:15px;
}

.contact a{
    color:#000000;
    transition:color .3s ease;
}

.contact a:hover{
    color:#000000;
}


/* =========================
   TOP BANNER
   ========================= */

.top-banner{
    display:flex;
    padding:0 10%;
    box-sizing:border-box;
    background:#9c95b5;   
}

.banner-half{
    flex:1;
}

.banner-half img{
    width:100%;
   height:25vh;
    display:block;
}

@media (max-width:600px){

    .top-banner{
        flex-direction:column;
        padding:0;
    }

    .banner-half{
        width:100%;
    }

    .banner-half img{
        width:100%;
        height:auto;
    }

}

/* =========================================
   OFFERINGS
========================================= */
/* =========================
   OFFERINGS SECTION
   ========================= */
/* FULL WIDTH SECTION */
#offerings{
    background:#9c95b5;
    position:relative;
    width:100%;
}


#offerings::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0, 0, 0, 0.15);
    pointer-events:none;
}

.section-title{
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:10px 20px;
}

.section-title h2{
    font-size:38px;
    font-weight:600;
    color:#222;
}

.offerings{
    width:100%;
    max-width:none;
    margin:0;
    padding:0 20px 40px;
    box-sizing:border-box;
}

/* =========================
   GRID
   ========================= */

/* GRID FULL WIDTH */
.row{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:20px;
    width:100%;
}

/* =========================
   CARD
   ========================= */

.work-item{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,.10);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.work-item:hover{
    transform:translateY(-4px);
    box-shadow:0 6px 20px rgba(0,0,0,.15);
}

/* =========================
   IMAGE AREA
   ========================= */

.image-wrapper{
    position:relative;
    overflow:hidden;
    aspect-ratio:4 / 3;
}

.image-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;

    transition:transform .5s ease;

    backface-visibility:hidden;
    transform:translateZ(0);
}

.work-item:hover .image-wrapper img{
    transform:scale(1.08);
}

/* =========================
   OVERLAY
   ========================= */

.card-overlay{
    position:absolute;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    background:transparent;

    opacity:0;
    transition:opacity .3s ease;

    z-index:2;
}

.work-item:hover .card-overlay{
    opacity:1;
}

/* =========================
   BUTTON
   ========================= */

.details-btn{
    background:#fff;
    color:#222;
    padding:10px 24px;
    border-radius:6px;
    font-weight:600;
    text-decoration:none;

    transition:
        background .3s ease,
        color .3s ease;
}

.details-btn:hover{
    background:#374f73;
    color:#fff;
}

/* =========================
   TITLE BAR
   ========================= */

.image-title{
    display:flex;
    align-items:center;
    justify-content:center;

    min-height:70px;
    padding:14px 12px;

    background:#dbeafe;

    color:#1e3a8a;
    font-size:18px;
    font-weight:600;
    text-align:center;
    letter-spacing:.5px;
}
/* =========================
   TABLET
   ========================= */

@media (max-width:900px){

    .row{
        grid-template-columns:repeat(2,1fr);
    }

    .section-title h2{
        font-size:32px;
    }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width:600px){

    .row{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:28px;
    }

    .offerings{
        padding:0 15px 25px;
    }

    .image-title{
        font-size:16px;
        min-height:60px;
    }
}

/* ========= CONTENT PAGES ========= */

.container{
    max-width:900px;
    margin:auto;
    padding:25px;
}

.container h1{
    margin-bottom:10px;
}

.container p{
    margin-bottom:10px;
}

.container h2{
    margin-top:15px;
    margin-bottom:10px;
}

/* ========= CONTACT FORM ========= */

form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

input,
textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:6px;
}

button{
    width:180px;
    padding:12px;
    background:#0a58ca;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

button:hover{
    background:#0845a8;
}

/* ========= MOBILE ========= */

@media(max-width:900px){

    .top-nav{
        flex-direction:column;
        gap:15px;
    }

    .contact{
        flex-wrap:wrap;
        justify-content:center;
    }

    .row{
        grid-template-columns:repeat(2,1fr);
    }


}

@media(max-width:600px){

    .row{
        grid-template-columns:1fr;
    }

    .menu ul{
        flex-direction:column;
        text-align:center;
    }

    .card{
        height:250px;
    }
}

/* =========================
   PRODUCT GALLERY
   ========================= */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;

    width:100%;
    margin-top:30px;
}

.gallery-item{
    background:#fff;

    border-radius:10px;
    overflow:hidden;

    box-shadow:0 2px 10px rgba(0,0,0,.10);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.gallery-item:hover{
    transform:translateY(-4px);

    box-shadow:
        0 6px 20px rgba(0,0,0,.15);
}

.gallery-item img{
    width:100%;
    height:100%;

    display:block;

    aspect-ratio:4/3;

    object-fit:cover;

    transition:transform .5s ease;

    backface-visibility:hidden;
    transform:translateZ(0);
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/* Container to center the legal link horizontally */
.footer-legal-container {
    text-align: center;
    width: 100%;
    padding: 20px 0; /* Optional: adds nice spacing above and below the link */
}

/* Typography styles for the compliant legal link */
.footer-legal-link {
    color: #64748b;
    text-decoration: none;
    font-size: 13px; /* Optional: makes it slightly smaller like a typical footer note */
    font-family: Arial, sans-serif;
}

/* Optional hover effect to enhance user experience */
.footer-legal-link:hover {
    text-decoration: underline;
    color: #475569;
}


 /* --- Legal Page Compliant Styles --- */

.legal-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #334155;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f8fafc;
}

.legal-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.legal-container h1 {
    color: #0f172a;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 10px;
    font-size: 28px;
    margin-top: 0;
}

.legal-container h2 {
    color: #1e293b;
    margin-top: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
    font-size: 20px;
}

.legal-container h3 {
    color: #334155;
    font-size: 16px;
    margin-top: 20px;
}

.legal-container p, 
.legal-container li {
    font-size: 14px;
    text-align: justify;
    color: #475569;
}

.legal-container ul {
    padding-left: 20px;
}

.legal-alert-box {
    background-color: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.legal-footer-details {
    background-color: #f1f5f9;
    padding: 20px;
    margin-top: 40px;
    border-radius: 6px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

/* =========================
   TABLET
   ========================= */

@media(max-width:900px){

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* =========================
   MOBILE
   ========================= */

@media(max-width:600px){

    .gallery-grid{
        grid-template-columns:1fr;
    }

}