/* GENERAL */
body {
  font-family: 'Poppins', sans-serif;
  padding-top: 0px;
}

/* LOADING */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 786876;
  background-color: rgba(220, 220, 220, 0.2);
}

/* BUTTON UP */
#btnUp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  color: #FFF;
  display: none;
}

/* NAVBAR */
.my-yellow-navbar {
  background-color: #F5C518 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Nav links - normal size */
.my-yellow-navbar .nav-link {
  color: #333 !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 600;
  font-size: 16px;
}

.my-yellow-navbar .nav-link:hover {
  color: #FFD700 !important;
}

/* Brand container */
.navbar-brand {
  display: flex;
  align-items: center;
  padding-right: 20px;
}

/* Logo image bigger */
.navbar-brand img {
  height: 70px;
  max-height: 70px;
  margin-right: 10px;
}

/* Brand text ("Cosco Roofing") bigger */
.my-yellow-navbar .navbar-brand span {
  color: #333 !important;
  font-weight: 700;
  font-size: 24px;
}

/* Hamburger menu icon dark */
.navbar-toggler {
  border-color: #333;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(51,51,51, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }

  .navbar-brand img {
    height: 35px;
  }

  .my-yellow-navbar .navbar-brand span {
    font-size: 20px;
  }
}

/* HOMEPAGE HEADER */
#home {
  background-image: url(../images/cover.png.png);
  background-size: cover;
  background-position: center;
}

.homepage {
  position: relative;
  padding-top: 8rem;
  height: 85vh;
  overflow: hidden;
}

.homepage::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.homepage .container {
  position: relative;
  z-index: 2;
}

.homepage h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0px 5px 10px #af2424;
}

.homepage h4 {
  font-size: 1.5rem;
  font-weight: 400;
}

.homepage button {
  background-color: #E1B000;
  border-color: #E1B000;
  color: #000;
  border-radius: 0;
  font-size: 16px;
}

.homepage button:hover {
  background-color: #CF9E00;
  border-color: #CF9E00;
  color: #000;
}

/* BUTTONS */
.btn-primary {
  background-color: #E1B000;
  border-color: #E1B000;
  color: #000;
}

.btn-primary:hover {
  background-color: #CF9E00;
  border-color: #CF9E00;
  color: #000;
}

/* HEADINGS */
h1 {
  font-weight: 700;
}

h2 {
  font-size: 35px;
  font-weight: 700;
}

p {
  color: #969696;
  font-size: 16px;
}

h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 33px;
}

h5 {
  font-size: 18px;
  font-weight: 500;
}

/* SERVICES LIST */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  color: #333;
  background-color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-icon {
  width: 40px;
  height: 40px;
}

/* OTHER STYLES */
.prog-item span {
  color: #969696;
  font-size: 14px;
}

.prog-item .progress {
  height: 12px;
}

.prog-item .prog {
  background-color: #E1B000;
}

#about button, #work button, #portfolio button, #hireMe button {
  background-color: #E1B000;
}

#about button:hover, #work button:hover, #portfolio button:hover, #hireMe button:hover {
  background-color: #CF9E00;
}

#work, #portfolio {
  background-color: #F5F5F5;
}

.work-item h5 {
  font-weight: 600;
}

.work-item:hover h5 {
  color: #E1B000;
}

.work-item i {
  color: #777;
  background-color: #EEE;
}

.work-item:hover i {
  color: #FFF;
  background-color: #E1B000;
}

.counter h5 {
  color: #E1B000;
  font-weight: 600;
}

.counter i {
  color: #E1B000;
  line-height: 1.6rem;
}

#count {
  background-image: url(../images/project-counter.jpg);
  background-color: rgba(0,0,0,0.7);
}

.counter {
  border: 1px solid #969696;
}

.item {
  position: relative;
}

.item i {
  position: absolute;
  left: 45%;
  top: 60%;
}

.item i:hover {
  background-color: #E1B000 !important;
}

.my-items li a {
  margin: 2px;
  border-radius: 0 !important;
  background-color: transparent;
  border: 2px solid #969696;
  color: #000 !important;
  margin-bottom: 30px !important;
}

.my-items li .active {
  background-color: #E1B000 !important;
  color: #FFF !important;
  border: none;
}

.my-items li a:active, .my-items li a:focus-within {
  background-color: #E1B000 !important;
  color: #FFF !important;
  border: none;
}

.my-items li a:hover {
  color: #E1B000 !important;
  border: 2px solid #E1B000;
}

.my-items li .active:hover {
  color: #FFF !important;
}

#testnomials {
  background-image: url(../images/client-testimonial.jpg);
  background-size: cover;
  background-attachment: fixed;
  cursor: move;
}

.test img {
  border: 5px solid #E1B000;
}

.test h4 {
  color: #E1B000;
  font-weight: 600;
}

#hireMe i {
  color: #777;
}

#hireMe .social {
  border: 1px solid #EEE;
  color: #777;
}

#hireMe .social:hover {
  background-color: #E1B000;
  color: #FFF;
  font-size: 1.5rem;
}

#footer a {
  color: #E1B000;
}

html {
  scroll-padding-top: 70px;
}
