*{
  margin: 0;
  padding: 0;
	box-sizing: border-box;
  font-family: "Josefin Sans", sans-serif;
}

body {
  padding-top: 80px; 
}

.top-bar 
{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
  background-color: #f8f9fa;
  color: #131313;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 0;
}

.top-bar a:hover {
    color: red;
    text-decoration: underline;
}

.navbar {
  position: fixed; 
  top: 30px;
  width: 100%;
  padding: 15px 30px;
  z-index: 1000;
  background-color: #fff;
}

.logo {
  height: 60px;   
  width: auto;
  filter: brightness(1.1) contrast(1.3);
  margin-right: 10px;
}

a:hover {
    color: #e4445f !important;
    transition: 0.3s;
}


.about, .service, .product, .contact {
  background: #f8f9fa;
  padding: 60px 0;
}

section {
  margin: 0 !important;
  padding: 20px 0 !important;
}

section.about,
section.services,
section.products,
section.contact {
  padding-top: 20px !important;
  margin-top: 0 !important;
}



.services {
  padding-top: 20px;
}

.services h2 {
  margin-top: 0;
}

.contact-item 
{
  white-space: nowrap;
}

.carousel-item {
	position: relative;
}

.carousel-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 1;
}

.carousel-caption {
	z-index: 2;
}

.carousel-inner img 
{
  width: 100%;
  height: 90vh;
}

.about h2 
{
  font-weight: 600;
}

.about a 
{
  color: #090909;
  text-decoration: none;
}

.about-img
{
  width: 100%;
  height: 350px!important;
  margin-right: 40px;
  object-fit: cover;
  border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}

.about-img:hover {
	transform: scale(1.03);
}

.card {
  position: relative;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  height: 100%;
}

.card img {
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
}

.card-text {
  font-size: 14px;
  color: #555;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: #060606;
  bottom: 0;
  left: 0;
}

.cert-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: auto;
    display: block;
    transition: transform 0.3s ease;
}

.cert-box img:hover {
    transform: scale(1.1);
}

.cert-box h5 {
    font-weight: 600;
    margin-top: 10px;
}

.cert-box p {
    font-size: 0.85rem;
    color: #555;
}

.pcb-img {
  width: 70%;           
  max-height: 250px;     
  object-fit: contain;   
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: auto;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pcb-img:hover {
  transform: scale(1.05);
}

.pcb-box {
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
}

.pcb-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.vertical-text {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.green { border-top: 3px solid #28a745; }
.blue { border-top: 3px solid #007bff; }
.purple { border-top: 3px solid #6f42c1; }

.contact h2 {
  font-weight: 600;
}


.contact {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact .form-control{
  border-radius: 10px;
}

.contact .btn-success {
  border-radius: 25px;
  padding: 10px 30px;
  transition: 0.3s;
}

.btn-success {
  border-radius: 25px;
  padding: 8px 20px;
}


.btn-success:hover {
  background-color: #28a745cc;
}

.row {
  row-gap: 25px;
}

.row.flex-nowrap {
    overflow-x: auto;
}
.cert-box {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s;
}

.cert-box img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: auto;
}

.cert-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

@media (max-width: 576px) 
{
  .top-bar .d-flex {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
    .contact-section .col-lg-5,
    .contact-section .col-lg-7 {
        padding: 20px !important;
    }

    .contact-section h3 {
        font-size: 22px;
    }
}