/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= GLOBAL ================= */
body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
}

.about,
.services,
.portfolio,
.contact {
  padding: 50px 0;
}

/* ================= NAVBAR ================= */
/* Desktop */
nav .brand-logo {
  position: relative;
  left: 0;
  transform: none;
}

nav ul li a {
  color: #ef2a2a;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #ffeb3b;
}

.brand-logo img {
  max-width: 60px;
  display: block;
  margin-top: 5px;
}

/* Mobile */
@media (max-width: 992px) {
  nav .sidenav-trigger {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  nav .brand-logo {
    position: absolute;
    right: 15px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  nav .brand-logo img {
    max-width: 50px;
    margin: auto;
  }
}

/* ================= SIDENAV ================= */
.sidenav {
  background: rgba(212, 211, 211, 0.81) !important;
  box-shadow: none !important;
  width: 260px !important;
  padding-top: 40px;
}

.sidenav-overlay {
  background: transparent !important;
}

.sidenav li a {
  color: #e01515 !important;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  transition: 0.3s;
}

.sidenav li a:hover,
.sidenav li > a.active {
  background: rgba(255, 255, 255, 0.5);
  border-left: 4px solid #ffeb3b;
  padding-left: 16px;
}

.sidenav li a i {
  margin-right: 10px;
}

.navbar-fixed nav {
  background: #42a5f5 !important;
  transition: 0.4s;
}

/* ================= SLIDER ================= */
.slider h3 {
  font-size: 2.2rem;
}

.slider h5 {
  font-size: 1.2rem;
}

.slider .slides li img {
  filter: brightness(50%);
}

.slider .caption h3,
.slider .caption h5 {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ================= ABOUT ================= */
.about {
  padding: 60px 0;
}

.about h3 {
  margin-bottom: 40px;
  font-weight: 600;
}

.about h5 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #1976d2;
}

.about p {
  line-height: 1.8;
  text-align: justify;
  color: #555;
}

.about p + p {
  margin-top: 15px;
}

.about-flex {
  display: flex;
  align-items: flex-start;
}

.about-img-box {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-img-box img {
  width: 100%;
  transition: 0.5s;
}

.about-img-box:hover img {
  transform: scale(1.05);
}

.about-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.about-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.about-list i {
  color: #1e88e5;
  margin-right: 8px;
}

.about-highlight {
  margin: 15px 0;
  padding: 12px;
  background: #e3f2fd;
  border-left: 4px solid #1e88e5;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
  }
}

/* ================= CLIENTS ================= */
.clients h3 {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.parallax-container {
  height: 30%;
}

.parallax img {
  filter: grayscale(1);
  opacity: 0.5 !important;
}

.clients img {
  max-width: 50px;
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.9));
}

/* ================= SERVICES ================= */
.services {
  padding: 60px 0;
}

.card-panel {
  border-radius: 10px;
  transition: 0.3s;
}

.card-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-panel i {
  font-size: 50px;
  color: #1e88e5;
  margin-bottom: 10px;
}

/* ================= PORTFOLIO ================= */
.portfolio {
  padding: 60px 20px;
}

.portfolio img {
  border-radius: 8px;
  margin-bottom: 15px;
}

#morePortfolio {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

#morePortfolio.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= CONTACT ================= */
.contact {
  padding: 60px 0;
}

.maps-container {
  width: 100%;
  overflow: hidden;
}

.maps-container iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

.map-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #1e88e5;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}

/* ================= FLOATING WA ================= */
.floating-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.floating-wa:hover {
  background: #1ebe5d;
}

/* ================= WHATSAPP POPUP ================= */
.wa-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 280px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 9999;
}

.wa-header {
  background: #25d366;
  color: #fff;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-body {
  padding: 15px;
  font-size: 14px;
}

.wa-btn {
  display: block;
  text-align: center;
  background: #25d366;
  color: #fff;
  padding: 10px;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
}

/* ================= FOOTER ================= */
footer {
  padding: 15px;
}
