
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,body{
    width:100%;
    height:100%;
}

body{
   /* background:#f5f5f5;*/
   font-family: 'Inter', system-ui, -apple-system, sans-serif;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

.hero{
    width:98%;
    height:95vh;
    margin:15px 10px;
    position:relative;
    overflow:hidden;
    border-radius:18px;

    background:
    linear-gradient(to right,rgba(26, 82, 117) 0%,#165d93 22%,rgba(26, 82, 117) 34%,transparent 88%),
    url("./img/home-hero.webp");
    background-size:cover;
    background-position:center, 140px;
}
.nav-notch{
    position:absolute;

    top:0;
    left:50%;
    transform:translateX(-50%);

    width:560px;
    height:50px;

    background:#fff;

    border-radius:0 0 28px 28px;
}
.nav-notch::before{
    content:"";

    position:absolute;

    left:-28px;
    top:0;

    width:28px;
    height:28px;

    border-top-right-radius:28px;

    box-shadow:14px -14px 0 14px #fff;
}

.nav-notch::after{
    content:"";

    position:absolute;

    right:-28px;
    top:0;

    width:28px;
    height:28px;

    border-top-left-radius:28px;

    box-shadow:-14px -14px 0 14px #fff;
}

.nav-notch ul{
    display: flex;
    gap: 30px;

    }

.nav-notch ul li{
    
    list-style-type: none;
    margin-left: 50px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

#right-button{
    text-align: end;
    margin-right: 70px;
    margin-top:-60px;
}
#right-button button{
    padding: 10px 40px;
    font-size: 15px;
    background-color: orangered;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
}
#logo img{
    width: 15%;
    height: 70px;
}

#left-con{
    width: 40%;
    margin-top: 80px;
    margin-left: 70px;
}

#left-con h1{
    font-size: 60px;
    color: #fff;
}
#left-con #first-p{
    color: #fff;
    margin-top: 10px;
    letter-spacing: 0.9px;

}

#left-con #center-p{
    color: #fff;
    margin-top: 30px;
    letter-spacing: 0.9px;
}

#left-con button{
    margin-top: 40px;
    padding: 10px 30px;
    font-size: 20px;
    color: #fff;
    background-color: orangered;
    border: none;
    border-radius: 5px;
    font-weight: 600;
}

#down-con{
    display: flex;
    margin-bottom: 0px;
}
#down-con hr{
    width: 100px;
    height: 2px;
    border: none;
    border-top: 2px solid #fff;
    margin-top: 40px;
    margin-right: 25px;

}

#last-p-con{
    margin-left: 90px;
    height: 30px;
    margin-top: 10px;
    color: #fff;
    display: flex;
}
#last-p-con hr{
    width: 20px;
    height: 2px;
    border: none;
    border-top: 2px solid #fff;
    margin-top: 7px;
    margin-right: 5px;
}




#service{
    background: linear-gradient(160deg, #ddeeff 0%, #e8f4fb 50%, #d6eef8 100%);
    padding-bottom: 60px;
}
#heading{
    text-align: center;
    padding-top: 35px;
    padding-bottom: 10px;
}

#heading h1{
    padding-bottom: 18px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    color: #0a1f5c;
    position: relative;
}

#heading h1::after{
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, #00AEEF, #1A5276);
    border-radius: 2px;
}

#heading h4{
    color: #3d5a80;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    margin-top: 4px;
}

center{
    width: 100%;
    height: auto;
}

/* ── Card outer wrapper — holds the floating number badge ── */
.card-outer{
    position: relative;
    width: 70%;
    margin: 60px auto;
    padding-left: 22px;
}

/* ── Link styling for cards ── */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    outline: none;
}

.card-link:focus-visible #first,
.card-link:focus-visible #second,
.card-link:focus-visible #third,
.card-link:focus-visible #fourth,
.card-link:focus-visible #fifth,
.card-link:focus-visible #sixth {
    outline: 3px solid #00AEEF;
    outline-offset: 2px;
}

/* ── Floating number badge (half outside the card) ── */
.num-float{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a56a0, #0e7490);
    border: 3px solid #e8f4fb;
    box-shadow:
        0 4px 12px rgba(14,116,144,0.4),
        0 2px 4px rgba(10,31,92,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    pointer-events: none; /* Make badge click-through to the card link underneath */
}

/* ── Card base — replaces #first, #second...#sixth ── */
#first ,#second ,#third , #fourth , #fifth ,#sixth{
     position: relative;
     background: #fafdff;
     width: 100%;
     height: 220px;
     border-radius: 18px;
     display: flex;
     overflow: hidden;
     cursor: pointer;

     border: 1px solid rgba(180,212,232,0.55);

     transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s ease;

     box-shadow:
        0 1px 1px rgba(255,255,255,0.9),
        0 2px 0 rgba(168,202,224,0.45),
        0 5px 6px rgba(20,60,110,0.10),
        0 14px 24px rgba(20,60,110,0.10),
        0 28px 48px rgba(15,45,90,0.10);
}

#first:hover ,#second:hover,#third:hover , #fourth:hover , #fifth:hover ,#sixth:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 1px rgba(255,255,255,0.95),
    0 3px 0 rgba(168,202,224,0.5),
    0 10px 14px rgba(20,60,110,0.14),
    0 22px 32px rgba(20,60,110,0.14),
    0 40px 64px rgba(15,45,90,0.12);
}

#first:active ,#second:active ,#third:active , #fourth:active, #fifth:active ,#sixth:active {
  transform: translateY(-1px);
  box-shadow:
    0 1px 1px rgba(255,255,255,0.85),
    0 1px 0 rgba(168,202,224,0.4),
    0 3px 6px rgba(20,60,110,0.10),
    0 8px 14px rgba(20,60,110,0.10);
}

/* ── Glass shine on top of every card ── */
#first::before ,#second::before ,#third::before , #fourth::before , #fifth::before ,#sixth::before{
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 48%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 1;
}

/* ── Icon column ── */
#first #icon , #second #icon , #third #icon , #fourth #icon , #fifth #icon , #sixth #icon{
    width: 18%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

#first #icon img , #second #icon img , #third #icon img , #fourth #icon img , #fifth #icon img , #sixth #icon img{
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(224,250,245,0.9), rgba(204,242,249,0.9));
    border: 1.5px solid rgba(45,212,191,0.35);
    padding: 12px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.6), 0 2px 6px rgba(14,116,144,0.12);
}

/* ── Text content ── */
#first #con , #second #con , #third #con , #fourth #con , #fifth #con , #sixth #con{
    width: 32%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 20px 28px 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

#first #con h3 , #second #con h3 , #third #con h3 , #fourth #con h3 , #fifth #con h3 , #sixth #con h3{
    font-size: 21px;
    font-weight: 700;
    color: #0a1f5c;
    margin-bottom: 10px;
    text-transform: capitalize;
}

#first #con p , #second #con p , #third #con p , #fourth #con p , #fifth #con p , #sixth #con p{
    margin-top: 0;
    color: #3d5a80;
    font-size: 14.5px;
    line-height: 1.6;
}

/* ── Image ── */
#first #img , #second #img , #third #img , #fourth #img , #fifth #img , #sixth #img{
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* ── Consistent cyan glow blending into right edge of every card image ── 
#first #img::after , #second #img::after , #third #img::after , #fourth #img::after , #fifth #img::after , #sixth #img::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(
        ellipse 90% 100% at 80% 50%,
        rgba(0,174,239,0.35) 0%,
        rgba(0,174,239,0.22) 40%,
        rgba(0,174,239,0.08) 70%,
        rgba(0,174,239,0) 100%
    );
    pointer-events: none;
    z-index: 2;
}*/

#first #img img , #second #img img , #third #img img , #fourth #img img , #fifth #img img , #sixth #img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.05) saturate(0.9);

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.2) 18%,
        black 44%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.2) 18%,
        black 44%,
        black 100%
    );
}

/* ── Mobile: stacked service cards ── */
@media (max-width: 640px){
    .card-outer{
        width: calc(100% - 32px);
        margin: 40px auto;
        padding-left: 0;
    }

    .num-float{
        top: -14px;
        left: 14px;
        transform: none;
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    #first ,#second ,#third , #fourth , #fifth ,#sixth{
        flex-direction: column;
        height: auto;
        min-height: 0;
    }

    #first #icon , #second #icon , #third #icon , #fourth #icon , #fifth #icon , #sixth #icon{
        width: 100%;
        justify-content: flex-start;
        padding: 28px 20px 0;
    }

    #first #icon img , #second #icon img , #third #icon img , #fourth #icon img , #fifth #icon img , #sixth #icon img{
        width: 64px;
        height: 64px;
        padding: 10px;
    }

    #first #con , #second #con , #third #con , #fourth #con , #fifth #con , #sixth #con{
        width: 100%;
        padding: 14px 20px 8px;
        flex-shrink: 1;
    }

    #first #con h3 , #second #con h3 , #third #con h3 , #fourth #con h3 , #fifth #con h3 , #sixth #con h3{
        font-size: 19px;
        margin-bottom: 8px;
    }

    #first #con p , #second #con p , #third #con p , #fourth #con p , #fifth #con p , #sixth #con p{
        font-size: 14px;
        line-height: 1.55;
    }

    #first #img , #second #img , #third #img , #fourth #img , #fifth #img , #sixth #img{
        flex: none;
        width: 100%;
        height: 170px;
    }

    #first #img img , #second #img img , #third #img img , #fourth #img img , #fifth #img img , #sixth #img img{
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.25) 18%, black 50%, black 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.25) 18%, black 50%, black 100%);
    }
}
