/* Active nav link highlight */
.navbar-nav .nav-link.active {
  position: relative;
  font-weight: bold;

}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: #a05925;
  border-radius: 2px;
  animation: slideIn 0.4s ease forwards;
}

/* underline animation */
@keyframes slideIn {
  from { width: 0; }
  to { width: 100%; }
}
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* yung main content ang tatakbo para itulak ang footer pababa */
}
footer a {
  color: #fff; /* puti */
  transition: color 0.3s;
}

footer a:hover {
  color: #a05925; /* sample hover color (gold), pwede mong palitan) */
}

/* design sa sections */

/* Section spacing */
.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Alternate background */
.section.alt-bg {
  background: linear-gradient(135deg, #f9fafb, #eef2f7);
}

/* List group design */
.list-group-item {
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
}

.list-group-item:hover {
  background-color: #2e3192;
  color: #fff;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.list-group-item:hover i {
  color: #a05925 !important; /* icon highlight */
}

/* Section divider */
.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(133% + 1.3px);
  height: 80px;
}

.custom-shape-divider-bottom .shape-fill {
  fill: #ffffff; /* default divider color */
}
.box {
  width: 350px;
  height: 350px;
  background-size: cover;
  background-position: center;
  margin: auto;

  /* Emboss look */
  box-shadow: 
    inset -4px -4px 10px rgba(255,255,255,0.4), 
    inset 4px 4px 12px rgba(0,0,0,0.15),
    0 6px 20px rgba(0,0,0,0.25);

  transition: transform 0.5s ease, 
              box-shadow 0.5s ease;
}

/* Hover effect */
.box:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 
    inset -2px -2px 6px rgba(255,255,255,0.5), 
    inset 3px 3px 8px rgba(0,0,0,0.2),
    0 12px 30px rgba(0,0,0,0.35),
    0 0 20px rgba(46,49,146,0.4); /* glow effect */
}


body {
  font-family: Georgia, serif !important;
  padding-top: 70px; /* default desktop */

  @media (max-width: 768px) {
  body {
    padding-top: 100px; /* dagdagan para sa mobile */
  }
}
}
.servicessection {
  position: relative;
  background: 
    linear-gradient(rgba(46, 49, 146, 0.7), rgba(255, 255, 255, 0.7)), /* gradient overlay with opacity */
    url('images/services-bg.jpg') no-repeat center center/cover;        /* background image */
  background-attachment: fixed; /* optional - parallax style */
  min-height: 80vh; /* adjust depende sa gusto mo */
  display: flex;
  align-items: center;
  justify-content: center;
}


.servicessection .bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* overlay opacity */
  z-index: 1;
}

.servicessection .container {
  position: relative;
  z-index: 2; /* para nasa ibabaw ng overlay ang content */
}

.contact-section {
  position: relative;
  background: 
    linear-gradient(rgba(46, 49, 146, 0.6), rgba(255, 255, 255, 0.6)), /* gradient overlay */
    url('images/contact-bg.jpg') no-repeat center center/cover;          /* background image */
  background-attachment: fixed; /* parallax style */
  min-height: 80vh; /* adjust depende sa design */
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section .bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3); /* optional dark overlay */
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2; /* para laging nasa ibabaw ng overlay ang content */
}

.about-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;

}


.whyus-section {
  min-height: 80vh; /* kalahati ng services (80vh) */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* General icon style sa Why Us */
.feature-icon i {
  font-size: 3rem; /* para medyo mas malaki */
}

/* Specific colors per icon */
.feature-icon i.bi-sliders {
  color: #0d6efd; /* green */
}

.feature-icon i.bi-clipboard-check {
  color: #0d6efd; /* blue */
}

.feature-icon i.bi-lightbulb {
  color: #0d6efd; /* yellow */
}

.feature-icon i.bi-shield-lock {
  color: #0d6efd; /* red */
}
/* Message box style */
.message-box {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 250px;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  animation: fadeIn 0.3s ease-out;
}

.message-box.success {
  background: #28a745; /* green */
}

.message-box.error {
  background: #dc3545; /* red */
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.servicessection .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.servicessection .card-body p {
  flex-grow: 1; /* para i-stretch yung description */
}

.servicessection .card-body .btn {
  margin-top: auto; /* itulak yung button pababa */
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: center; /* kung gusto mo center sa loob ng card */
  gap: 8px;                /* pagitan ng icon at text */
}

.service-card-header h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
