* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  box-sizing: border-box;
}

/* navbar */
.navbar {
    display: flex;
    flex-direction: row;
    height: 75px;
    box-shadow: 1px 1px 0px 0px black;
    background-color: rgb(245, 245, 245);
    width: 100%;
}

#m1img {
    width: 150px;
    height: 95px;
    margin-left: 10px;
}

.nav-link:hover {
    text-decoration: underline;
}


/* Carousel  */
.carousel-inner {
  margin-top: 75px;
}

.slider-font {
  background-color: rgba(57, 102, 238, 0.7);
  font-style: italic;
  padding: 10px;
  border-radius: 8px;
  list-style: none;
}

.slider-front {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
}

/* welcome font   */
.welcome-font h1 {
  text-align: center;
  margin: 40px 10px;
  font-size: 2rem;
  color: rgba(57, 102, 238, 0.9);
  filter: drop-shadow(1px 1px 0px black);
}

/* about services */
.about-services{
  display: flex;
  text-align: justify;
  margin: 30px;
}

/* services card  */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px 15px;
  background-color: #fcb900;
}

.card {
  flex: 1 1 300px;
  max-width: 400px;
  border: none;
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.card-title {
  text-align: center;
  font-weight: 600;
  font-size: 1.4rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    overflow: visible;
}

.whatsapp-float:hover {
    background: #20b954;
    transform: scale(1.1);
}

/* Tooltip text */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    /* space between button and tooltip */
    background: #25d366;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-5px);
}

/* Footer Base */
#footer {
    background: #f9f9f9;
    color: #333;
    padding: 40px 20px 20px;
    border-top: 1px solid #ddd;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
    text-align: left;
}

/* footer basics */
.footer-basic h5{
    color: orangered;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.basics{
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.footer-services{
    display: flex;
    flex-direction: column;
}

.footer-services a{
    text-decoration: none;
    color: black;
    text-align: center;
}

.footer-services a:hover{
    text-decoration: underline;
    color: orangered;
}

/* Social Section */
.footer-social h5,
.footer-contact h5 {
    color: orangered;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.social-icons {
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icons li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #bbb;
    border-radius: 6px;
    color: #444;
    background: #f0f0f0;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icons li a:hover {
    background: orangered;
    color: white;
    border-color: orangered;
}

/* Contact Section */
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-contact i {
    color: orangered;
    margin-right: 10px;
    font-size: 16px;
    border: 1px solid hsl(0, 0%, 35%);
    width: 36px;
    height: 36px;
    border-radius: 2px;
    text-align: center;
    line-height: 36px;
}

.footer-contact a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: orangered;
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-contact ul li {
        justify-content: center;
    }
}


/* Media Queries */
@media (max-width: 768px) {
  .welcome-font h1 { font-size: 1.5rem; }
  .card-img-top { height: 180px; }
}

@media (max-width: 410px) {
  #m1img { width: 90px; }
  .welcome-font h1 { font-size: 1.2rem; }
  .card { max-width: 100%; }
}
