@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body{
     margin: 0;
  padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img{
    max-width: 100%;
    height: auto;
}

a{
    text-decoration: none;
    color: inherit;
}

ul{
    list-style: none;
}

.banner{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* VIDEO */
.bg-video{
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* DARK OVERLAY */
.banner::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

/* CONTENT ABOVE VIDEO */
.navbar,
.content{
    position: relative;
    z-index: 2;
}

.navbar{
    width: 100%;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;   /* 👈 center */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.logo{
    width: 150px;
}
.content{
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
}
.content h1{
    font-size: 70px;
	color:#e4f6ff;
}
.content p{
    margin: 20px auto;
    font-weight: 100;
    line-height: 25px;
    font-size: 20px;
    width: 45%;
}
.content button:hover{
	
	  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
	 border: 2px solid #3683ab;
    background: transparent;
	
}
.content button{
    font-size: 17px;
    width: 200px;
    padding: 15px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #fff;
    background: #3683ab;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}





/* ====== Portfolio ====== */
.portfolio h2{
  text-align: center;
  font-size: 32px;
  margin: 40px 0 20px;
}

.portfolio-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  padding: 0 20px;
}

.portfolio .item{
  position: relative;
  overflow: hidden;
}

.portfolio .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover overlay */
.portfolio .overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  color: #fff;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  font-size: 18px;
  transition: .4s;
}
.portfolio .item:hover .overlay{
  opacity: 1;
}

/* CTA Button */
.portfolio-btn{
  text-align: center;
  margin: 20px 0 10px;
}
.portfolio-btn button{
  background-color: #3683ab;
  border: none;
  padding: 15px 35px;
  font-size: 18px;
  color: white;
  border-radius: 30px;
  cursor: pointer;
}
.portfolio-btn button:hover{
  opacity: .85;
}



#bknw{
    color: #3683ab;
    font-weight: 600;
}

#bknw:hover{
    color: #2f7396;   /* optional hover darker shade */
}





/* ===== Responsive ===== */
@media(max-width: 992px){
  .portfolio-grid{
    grid-template-columns: repeat(3,1fr);
  }
}
@media(max-width: 768px){
  .portfolio-grid{
    grid-template-columns: repeat(2,1fr);
  }
}
@media(max-width: 480px){
  .portfolio-grid{
    grid-template-columns: 1fr;
  }
  .portfolio h2{
    font-size: 26px;
  }
}

/* LAST */
.last{
    position: relative;
    background-image: url('source/bk.jpg');
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
}
.last div{
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
.last div h1{
    font-size: 35px;
}
.last div button{
    font-size: 25px;
    color: black;
    transition: .5s;
}
.last div button{
    font-size: 25px;
    width: 200px;
    padding: 15px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #3683ab;
    background: transparent;
    color: black;
    cursor: pointer;
    position: relative;
}
.last div button:hover{
    background-color: #3683ab;
    color: white;
}
/* FOOTER */
/* FOOTER LAYOUT */
.ftr-m{
    background: #eef5f9;
    padding: 40px 20px 20px;
    text-align: center;
}

/* LOGO */
.footer-logo{
    width: 150px;
    margin-bottom: 45px;
}

/* ===== FOOTER CTA ===== */
.footer-cta{
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 30px 20px;
}

/* Top small links */
.cta-links{
  display: flex;
  justify-content: center;   /* 👈 center */
  gap: 40px;
  font-size: 14px;
  margin-bottom: 25px;
  text-align: center;
}
.cta-links a{
  color: #000;
  font-weight: 500;
}

/* Main CTA layout */
.cta-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-text h2{
  font-size: 28px;
  margin-bottom: 8px;
}

.cta-text p{
  font-size: 16px;
  color: #333;
  max-width: 520px;
}

/* Button */
.cta-btn a{
  background: #3683ab;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s ease;
}

.cta-btn a:hover{
  background: #2f7396;
}
/* LINE AFTER ICONS */
.footer-line{
    width: 80%;
    max-width: 900px;
    height: 1px;
    background: #000;
    margin: 0 auto 15px;
}

/* COPYRIGHT */
.ftr-b{
    font-size: 14px;
    color: #444;
}



/* ========================================
   RESPONSIVE STYLES FOR common-style.css
======================================== */

/* ---------- TABLETS (≤ 992px) ---------- */
@media (max-width: 992px){

    .content h1{
        font-size: 70px;
    }
    .content p{
        width: 70%;
        font-size: 18px;
    }

    .last{
        height: 350px;
    }

    .ftr-t img{
        width: 200px;
    }
	.footer-social{
    justify-content: center;
  }

    .ftr-d div{
        width: 200px;
    }
}

/* ---------- MOBILE (≤ 768px) ----------- */
@media (max-width: 768px){

    /* Banner text */
    .content h1{
        font-size: 60px;
    }
    .content p{
        width: 90%;
        font-size: 16px;
    }

    .content button{
        width: 170px;
        padding: 12px 0;
        margin: 10px 5px;
        font-size: 15px;
    }
	
	.footer-social{
    justify-content: center;
  }
	
	
	
	
	
	
	
	.m3{
    margin-top: 0;
    padding-top: 20px; /* small breathing space */
}
	.m3 .d3{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .m3 .d3 div:first-child{
        width: 100%;
    }

    .m3 .d3 div p{
        width: 100%;
        max-width: 400px;
        margin: auto;
        font-size: 16px;
        line-height: 24px;
    }

    .m3 .d3 img{
        width: 90%;
        margin-top: 20px;
        border-radius: 8px;
    }
	
	  .m5 .d5{
        display: grid;
        grid-template-columns: 1fr;   /* stack one below another */
        gap: 20px;
        padding: 0 20px;
        justify-items: center;
    }

    .m5 .d5 div{
        width: 100% !important;
        max-width: 350px; /* keeps neat box */
        margin: auto;
    }

    .m5 .d5 div img{
        width: 100%;
        height: auto;
        border-radius: 6px;
    }

    .m5 .d5 div p{
        font-size: 16px;
        line-height: 24px;
        padding: 10px;
        text-align: center;
    }
	
	.logo{
		
		width:100px;
		
	}
 .portfolio-btn{
        margin-bottom: 5px;
    }

    .m3{
        padding-top: 10px;
    }


    /* Last CTA box */
    .last{
        height: 300px;
    }
    .last div h1{
        font-size: 28px;
    }
    .last div button{
        width: 180px;
        font-size: 18px;
        padding: 12px;
    }

    /* Footer top area */
    .ftr-t{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .ftr-t img{
        margin-bottom: 15px;
    }
    .ftr-t ul li{
        float: none;
        display: inline-block;
    }

    /* Footer details */
    .ftr-d{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
	
	.cta-links{
    flex-direction: column;
    gap: 10px;
  }
	
	
    .ftr-d div{
        width: 100%;
        margin-bottom: 20px;
    }
    .ftr-d div ul{
        margin: 0;
    }
	
	 .why-btn{
    font-size: 16px;
    padding: 12px 32px;
  }
	

    /* Footer bottom */
    .ftr-b h2{
        font-size: 25px;
    }
}

/* ---------- SMALL MOBILE (≤ 480px) ----- */
@media (max-width: 480px){

    .content h1{
        font-size: 50px;
    }
    .content p{
        font-size: 14px;
        width: 95%;
    }

    .content button{
        width: 140px;
        font-size: 14px;
        padding: 10px;
    }
	
	 .d1 h3{
		 
		 font-size:20px;
		 
	 }
	 
	 .footer-social{
    justify-content: center;
  }
	 
	 
	 
	 .m1 .t1 h1{
		 
		font-size:35px; 
		 
	 }
	 .m2 .t2 h1{
        font-size: 35px;
       
    }
	
	 .m5 .t5 p{
		 
		     font-size: 16px; 
		 
	 }
	 .m5 .t5 h1{
		 
		 font-size: 35px;
		 
	 }
	 .m3 .d3 h1{
        font-size: 28px;
       
    }
	 .m4 .t4 h1{
        font-size: 28px;
       
    }
	
	.m5 h1{
        font-size: 28px;
    }

    .last{
        height: 250px;
    }
    .last div h1{
        font-size: 22px;
    }
    .last div button{
        width: 150px;
        font-size: 16px;
    }

    .ftr-t img{
        width: 160px;
    }

    .ftr-b h2{
        font-size: 20px;
    }
	
	 .m3{
        padding-top: 0 !important;
    }

    .m3 h1{
        margin-top: 0 !important;
    }
	
.portfolio-grid{
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
    gap: 12px;              /* 👈 images ke beech gap */
  }

  .portfolio .item{
    margin: 0;
  }
  
   .why-btn{
    font-size: 16px;
    padding: 12px 32px;
  }

  .portfolio .item img{
    width: 100vw;           /* 👈 full screen edge to edge */
    height: auto;
    display: block;
  }
	.cta-links{
    flex-direction: column;
    gap: 10px;
  }
}
