/* Author: Chatmon | File: custom.css | Date: July 20, 2025 */

/* RESET */
html, body, h1, h2, h3, h4, h5, p, ul, ol, li, nav, header, footer, main, div, a, img, video {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE STYLES */
body {
  background-color: #fefefe;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Quicksand', sans-serif;
  color: #0d6efd;
  font-weight: 700;
  margin-top: 1rem;
}

p, li {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

ul, ol {
  padding-left: 1.5rem;
}

ul li::marker, ol li::marker {
  color: #0d6efd;
}

img, video {
  border-radius: 0.5rem;
  margin: 1rem 0;
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

figure {
  margin: 2rem auto;
  text-align: center;
}

.navbar-brand {
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-nav .nav-link.active {
  background-color: #0d6efd;
  color: #fff !important;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
}

footer {
  background-color: #212529;
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  padding: 15px;
}

footer a {
  color: #add8e6;
  text-decoration: none;
}

footer img {
  transition: transform 0.3s ease;
}

footer img:hover {
  transform: scale(1.1);
}

footer .social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

/* Section Styling */
#services-content {
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

/* Team Table Styling (Spreadsheet Look) */
.team-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.team-table th, .team-table td {
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #fff;
  text-align: center;
}

.team-list {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
  display: none;
}

@media screen and (max-width: 768px) {
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav .nav-item {
    margin: 10px 0;
  }
  .nonessential {
    display: none;
  }
  header h1 {
    font-size: 1.8rem;
  }
  header h2 {
    font-size: 1.1rem;
  }
  .phone {
    display: block;
    margin-top: 10px;
    text-align: center;
  }
  .team-table {
    display: none;
  }
  .team-list {
    display: block;
  }
}

@media screen and (min-width: 600px) and (max-width: 991px) {
  body {
    background-color: #f4f4f4;
  }
  .nonessential, .tablet-only {
    display: block;
  }
  .navbar-nav .nav-item {
    margin: 0 20px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  body {
    background: linear-gradient(to bottom, #ffffff, #eae0d5);
  }
  .desktop-only {
    display: block;
  }
  .navbar-nav .nav-link:hover {
    background-color: #2e8b57;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 5px;
  }
}

@media screen and (min-width: 1200px) {
  body {
    background: linear-gradient(to right, #f5f5f5, #d2b48c);
  }
  header h1 {
    font-size: 3rem;
  }
}

@media print {
  nav, footer, .nonessential {
    display: none;
  }
  body {
    font-size: 12pt;
    background: none;
    color: #000;
  }
  a::after {
    content: " (" attr(href) ")";
  }
}