/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575px) {
  .content-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .logo i {
    font-size: 40px;
  }
  #Banner .content-wrap h1 {
    font-size: 36px;
  }
  #Banner .content-wrap h3 {
    font-size: 20px;
  }
  .btn-xl {
    padding: 15px 30px;
  }
  .content-section-heading h2 {
    font-size: 30px;
  }
  #Portfolio .portfolio-wrapper .each-portfolio {
    float: none;
    margin: 0 auto 20px;
    width: 100%;
    display: block;
  }
  #customers-testimonials .item {
    margin-bottom: 0;
  }
  #Contact .contact-wrapper {
    border-right: none;
    margin-right: 0;
    padding: 0;
  }
  #Contact .contact-wrapper span {
    font-size: 18px;
  }
  .address-block,
  #Contact .address-block.border-bottom {
    margin-bottom: 40px;
    padding: 0 15px 30px;
  }
  footer.footer .social-link {
    height: 50px;
    width: 50px;
    font-size: 18px;
  }
  .owl-nav {
    display: none !important; 
  }
}
/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767px) {
  .logo i {
    font-size: 40px;
  }
  .content-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  #Banner .content-wrap h1 {
    font-size: 36px;
  }
  #Banner .content-wrap h3 {
    font-size: 20px;
  }
  .btn-xl {
    padding: 15px 30px;
  }
  .content-section-heading h2 {
    font-size: 30px;
  }
  #Portfolio .portfolio-wrapper .each-portfolio {
    float: none;
    margin: 0 auto 20px;
    width: 100%;
    display: block;
  }
  #customers-testimonials .item {
    margin-bottom: 0;
  }
  #Contact .contact-wrapper {
    border-right: none;
    margin-right: 0;
    padding: 0;
  }
  #Contact .contact-wrapper span {
    font-size: 18px;
  }
  .address-block,
  #Contact .address-block.border-bottom {
    margin-bottom: 40px;
    padding: 0 15px 30px;
  }
  footer.footer .social-link {
    height: 50px;
    width: 50px;
    font-size: 18px;
  }
  .owl-nav {
    display: none !important; 
  }
}
/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991px) {
  .content-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  #Banner .content-wrap h1 {
    font-size: 40px;
  }
  #Banner .content-wrap h3 {
    font-size: 24px;
  }
  .btn-xl {
    padding: 20px 30px;
  }
  .content-section-heading h2 {
    font-size: 30px;
  }
  #Contact .contact-wrapper span {
    font-size: 16px;
  }
  footer.footer .social-link {
    height: 50px;
    width: 50px;
    font-size: 18px;
  }
  .owl-nav {
    display: none !important; 
  }
  #Contact .c-icon {
    margin-right: 10px;
  }
}
/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199px) {
  .content-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  #Banner .content-wrap h1 {
    font-size: 40px;
  }
  #Banner .content-wrap h3 {
    font-size: 24px;
  }
  .btn-xl {
    padding: 20px 30px;
  }
  .content-section-heading h2 {
    font-size: 30px;
  }
  #Contact .contact-wrapper span {
    font-size: 16px;
  }
  footer.footer .social-link {
    height: 50px;
    width: 50px;
    font-size: 18px;
  }
  .owl-nav {
    display: none !important; 
  }
  #Contact .c-icon {
    margin-right: 10px;
  }
}
/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}

/* Portfolio Slider Styles */
#portfolio-slider {
  display: block !important;
  visibility: visible !important;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#portfolio-slider .item {
  padding: 15px;
}

#portfolio-slider .item .content {
  width: 100%;
  max-width: 100%;
}

#portfolio-slider .content-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
}

#portfolio-slider .content-overlay {
  background: rgba(0, 0, 0, 0.85);
}

#portfolio-slider .content-details .p-title,
#portfolio-slider .content-details .p-desc {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#portfolio-slider .content-details .p-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

#portfolio-slider .content-details .p-desc {
  font-size: 14px;
  line-height: 1.4;
}

#portfolio-slider .zoom {
  color: #ffffff !important;
}

/* PDF Documents Section Styles */
.pdf-documents-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.pdf-card {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

.pdf-card:hover {
  border-color: #007bff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transform: translateY(-5px);
}

.pdf-icon {
  font-size: 60px;
  color: #dc3545;
  margin-bottom: 15px;
}

.pdf-info h4 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 10px 0;
}

.pdf-size {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.pdf-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.pdf-actions .btn {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pdf-actions .btn-view {
  background-color: #007bff;
  color: #fff;
  border: 2px solid #007bff;
}

.pdf-actions .btn-view:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.pdf-actions .btn-download {
  background-color: #28a745;
  color: #fff;
  border: 2px solid #28a745;
}

.pdf-actions .btn-download:hover {
  background-color: #218838;
  border-color: #218838;
}

.no-documents {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

@media (max-width: 768px) {
  .pdf-documents-grid {
    grid-template-columns: 1fr;
  }
  
  .pdf-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .pdf-actions .btn {
    width: 100%;
  }
}

/* Before Owl Carousel initializes */
#portfolio-slider:not(.owl-loaded) .item {
  display: inline-block;
  width: 32%;
  margin: 0 0.5%;
  vertical-align: top;
}

@media (max-width: 768px) {
  #portfolio-slider:not(.owl-loaded) .item {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}

#Portfolio {
  position: relative;
  padding-left: 60px;
  padding-right: 60px;
}

#portfolio-slider .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6) !important;
  color: #fff !important;
  padding: 15px 20px !important;
  font-size: 24px;
  border-radius: 5px;
  width: 50px;
  height: 50px;
  line-height: 20px;
  z-index: 10;
}

#portfolio-slider .owl-nav button.owl-prev {
  left: -50px;
}

#portfolio-slider .owl-nav button.owl-next {
  right: -50px;
}

@media (max-width: 768px) {
  #Portfolio {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  #portfolio-slider .owl-nav button.owl-prev {
    left: -10px;
  }
  
  #portfolio-slider .owl-nav button.owl-next {
    right: -10px;
  }
}

#portfolio-slider .owl-nav button:hover {
  background: rgba(0, 0, 0, 0.8) !important;
}

#portfolio-slider .owl-dots {
  margin-top: 20px;
  text-align: center;
}

#portfolio-slider .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
}

#portfolio-slider .owl-dot.active {
  background: #000;
}