@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
blockquote {
  font-family: 'DM Serif Display', serif;
}

h1, .h1 {
  font-size: 65px;
}

h2, .h2 {
  font-size: 45px;
}

img {
  max-width: 100%;
}

blockquote {
  font-size: 28px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  h2, .h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  h3, .h3 {
    font-size: 22px;
  }

  blockquote {
    font-size: 20px;
    line-height: 1.4;
  }

  header.p-section {
    padding: 120px 0px 80px;
  }

  .p-section {
    padding: 60px 0px;
  }

  .p-section-lg {
    padding: 80px 0px;
  }

  .section-inverse {
    margin-top: 100px;
  }

  .section-inverse > div {
    margin-top: -100px;
  }

  .btn {
    padding: .5rem 1rem;
    font-size: 14px;
  }

  .lead {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  h1, .h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  h2, .h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  h3, .h3 {
    font-size: 20px;
  }

  blockquote {
    font-size: 18px;
  }

  header.p-section {
    padding: 100px 0px 60px;
  }

  .p-section {
    padding: 50px 0px;
  }

  .p-section-lg {
    padding: 60px 0px;
  }

  .btn {
    padding: .45rem .9rem;
    font-size: 13px;
    width: 100%;
    margin-bottom: 10px;
  }

  .btn + .btn {
    margin-left: 0;
  }

  .lead {
    font-size: 15px;
  }

  .navbar-brand {
    font-size: 16px;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
    padding: .5rem 1rem;
  }

  .sticky-top {
    position: relative !important;
    top: 0 !important;
  }

  .col-sm-4, .col-sm-8 {
    margin-bottom: 2rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .list-inline-item {
    display: block;
    margin-bottom: 0.5rem;
  }

  .list-inline-item .btn {
    width: 100%;
  }

  .w-md, .w-sm {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h1, .h1 {
    font-size: 22px;
  }

  h2, .h2 {
    font-size: 20px;
  }

  sup, .sup {
    font-size: 12px;
  }

  header.p-section {
    padding: 80px 0px 40px;
  }

  .p-section {
    padding: 40px 0px;
  }
}

sup, .sup {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
}

.underline::after {
  content: ' ';
  border-bottom: 3px solid;
  position: relative;
  display: block;
  width: 50px;
  padding-top: 1rem;
}

.toast {
  bottom: 1rem;
  right: 1rem;
}

.underline.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-inverse {
  margin-top: 180px;
  padding: 1px 0px;
}

.section-inverse > div {
  margin-top: -180px;
}

.card-footer {
  background-color: white;
  padding: 1rem 1rem;
}

.background-image {
  background-position: center center;
  background-size: cover;
}

.navbar-light .navbar-nav .nav-link {
  text-transform: uppercase;
  padding-right: 1rem;
  padding-left: 1rem;
}

.circle {
  border-radius: 500px;
}

header.p-section {
  padding: 160px 0px 120px;
}

.p-section {
  padding: 100px 0px;
}

.p-section-lg {
  padding: 160px 0px;
}

.container-lg {
  max-width: 900px;
}

.w-md {
  max-width: 600px;
}

  .w-sm {
    max-width: 400px;
  }

/* Project Page Styles */
.project-image {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .project-image {
    margin-bottom: 2rem;
  }
}

.btn {
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .65rem 1.5rem;
}

.btn-group-lg>.btn, .btn-lg {
  padding: .75rem 2rem;
}

.btn-group-sm>.btn, .btn-sm {
  padding: .30rem .75rem;
}

.testimonial-item {
  max-width: 800px;
  padding: 40px;
}

.testimonial-item:nth-child(even) {
  margin-left: auto;
}

.testimonial-image {
  max-width: 100px;
  float: left;
  margin-right: 25px;
}

.marker-highlight {
  position: relative;
  display: inline-block;
}

.marker-highlight:before {
  content: "";
  background-color: #0b6efd87;
  width: 102%;
  height: 0.2em;
  position: absolute;
  z-index: -2;
  filter: url(#marker-shape);
  left: -0.05em;
  padding: 0 0.25em;
  bottom: 0.2em;
}

/* Mobile Social Icons - Force Black Color */
.social-icon-mobile,
.social-icon-mobile i,
.social-icon-mobile i.bi {
  color: #000000 !important;
  fill: #000000 !important;
}

.social-icon-mobile:hover,
.social-icon-mobile:hover i,
.social-icon-mobile:hover i.bi {
  color: #0d6efd !important;
  fill: #0d6efd !important;
}

/* Desktop Social Icons - Force Black Color */
.social-icon-desktop,
.social-icon-desktop i,
.social-icon-desktop i.bi {
  color: #000000 !important;
  fill: #000000 !important;
}

.social-icon-desktop:hover,
.social-icon-desktop:hover i,
.social-icon-desktop:hover i.bi {
  color: #0d6efd !important;
  fill: #0d6efd !important;
}
