
.topnav {
  overflow: hidden;
  background-color: #333;
  position: relative;
  display:block;
  border-radius: 15px;
  border: solid 4px #000;
}
#desktopNav {
	display: none;
}
.topnav #myLinks {
  display: none;
}

.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.topnav a.icon {
  background: black;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.active {
  background-color: #6c0000;
  color: white;
}
@media screen and (min-width: 768px) {
  .topnav {display: none;}
  #desktopNav{ display: block;}
}
.mserviceCard {	
	background: #000;
	display: flex;
	justify-content: center; /* Centers horizontally */
  	align-items: center;
	border-radius: 15px;
	color: #f4f4bd;
}
.mserviceCard div{
margin-right: 15px;
	
}
.mserviceCard:hover {
    animation: shake 0.1s;
    animation-iteration-count: infinite;
    border-radius: 30px;
    border: 3px solid #ccc; 
    box-shadow: 0 0 15px rgba(235, 234, 147, 0.7);
	background: radial-gradient(circle at 50% 40%, #f4f4bd 0%, #ddd54b 20%, #ff2000 40%, #6c0000 90%);
	display: flex;
	justify-content: center; /* Centers horizontally */
  	align-items: center;
	color: #000;
}

.mserviceCard img {
	width: 35px;
	height:35px;
	
}

/* Start desktop Nav Styles */
.navbar {
    margin: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px;
    background-color: #160100;
    list-style: none;
}
.nav-link {
    color: #fc1a00;
    margin: 3px;
    border-radius: 5px;
    border: 2px solid #1A1A1A;
    background-color: #000;
    outline: 1px solid #000;
    padding: 10px;
    font-size: 16px;
    text-align: center;
	text-decoration: none;
	letter-spacing: 3px;
}

.nav-link:hover {
    background-color: #F4F4BD;
    color: #000;
    border-radius: 2px;
    border: 0px solid #FF2800;
}
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;  /* vertical */
        align-items: stretch;
    }

    nav a {
        text-align: center;
        padding: 0.75rem;
    }
}
/* Start Service Content Styles */



#servicesContainer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}
#servicesContainer a {
    text-decoration: none;
}
.serviceCard {
    width: 140px;
    height: 140px;
    margin: 10px;
	padding:25px 10px 10px 10px ;
    border-radius: 5px;
    border: 2px solid #620500;
    background-color: #000;
    color: #fc1a00;
    outline: 1px solid #000;
    font-size: 30px;
    text-align: center;
	letter-spacing: 2px;
	align-itmes:center;
	display:flex;
	flex-direction: column;
}
.serviceCard:hover {
	color:#F4F4BD;
    animation: shake 0.1s;
    animation-iteration-count: infinite;
    border-radius: 30px;
    border: 3px solid #ccc; 
    box-shadow: 0 0 15px rgba(235, 234, 147, 0.7);
    background: radial-gradient(circle at 50% 40%, #f4f4bd 0%, #ddd54b 20%, #ff2000 40%, #6c0000 90%);
}
.iconWrap img  {
	width: 50px;
	height:auto;
	margin:auto;
}
.serviceCard p {
	width: 100%;
	margin-top: 2px;
	text-align: center;
	font-size: 18px
}
.navLinkService {
	text-decoration: none;
}

@media (max-width: 1200px) {
    .serviceCard {
        width: 120px;
        height: 120px;
		padding:10px 10px 10px 10px ;
    }
}

@media (max-width: 900px) {
    .serviceCard {
        width: 105px;
        height: 105px;
		padding:10px 10px 10px 10px ;
    }
}

/* --- Hide Text on Small Screens --- */
@media (max-width: 600px) {
    .serviceText {
        display: none;
    }

    .serviceCard {
        width: 73px;
        height: 73px;
		padding:10px 10px 10px 10px ;
    }
}


@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}
.small-caps {
    font-variant: small-caps;
}

