/* General Styles */
p {
  font-size: 20px;
}

.text-end {
  font-size: 20px;
  font-weight: 600;
}

.tp-theme-settings-open-btn {
  display: none;
}

.tp_text_invert > div {
  height: 100px;
}

.panel {
  width: 100%;
}

/* Header and Logo */
.tp-header-logo img,
.tp-offcanvas-2-area.opened .tpoffcanvas__logo img {
  width: 225px;
}

/* Hero Section */
.tp-hero-2-bg::before {
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.tp-hero-2-pt {
  padding-top: 110px;
}

.tp-hero-ptb {
  padding-top: 72px;
}

.tm-hero-ptb {
  padding-top: 100px;
}

.tp-section-subtitle-2 {
  margin-bottom: 0;
  margin-left: 0;
}

.cn-contactform-support-text span {
  font-size: 100px;
  font-weight: 600;
}

/* About Section */
.ab-inner-hero-bg::after {
  background: rgba(86, 79, 79, 0.4);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.ab-inner-hero-subtitle {
  font-size: 35px;
}

.ab-inner-hero-title-box {
  margin-bottom: 0;
}

.tp-about-3-content {
  padding-right: 0;
}

.tp-about-3-shape img {
  animation: none;
  
}

.tp-blog-list-thumb img {
    flex: 0 0 auto;
    width: 100%;
    height: 350px;
    border-radius: 5%;
    object-fit: cover;
}

.tp-service-3-content p,
.sv-service-text p,
.tp-about-3-content,
.tp-vision-mission-content p,
.blog-details-left-content {
  text-align: justify;
}

/* Vision and Mission Section */
.tp-vision-mission-area {
  background-color: #f8f9fa;
}

.tp-blog-list-bg {
    padding-top: 110px;
  
}

.tp-vision-mission-subtitle {
  color: #333;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.tp-vision-mission-content p {
  color: #666;
  font-size: 20px;
  line-height: 1.6;
}

/* Shop Section */
.tp-shop-right-thumb img {
  height: 300px;
  object-fit: fill;
}

/* Blog Section */
.tp-blog-thumb img {
  height: 400px;
  object-fit: cover;
}

/* Portfolio Section */
.tp-portfolio-9-title {
  background: rgba(0, 0, 0, 0.5);
  font-size: 6vw;
  padding: 1rem;
}

/* Project Section */
.tp-project-5-2-thumb img {
  height: 400px;
  object-fit: cover;
  width: 100%;
      border-radius: 7%;
}



/* Products Section */
.products-title {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(60, 60, 60, 0.75) 100%);
  color: var(--tp-common-white);
  display: inline-block;
  font-family: var(--tp-ff-marcellus), serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding: 1.25rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-title:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Service Details Button */
.service-details-btn {
  background: #034da1;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", "Arial", sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 28px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.service-details-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.service-details-btn:hover {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.service-details-btn:hover::after {
  width: 200%;
  height: 200%;
}

.service-details-btn:active {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition: all 0.1s ease;
}

/* Details Section */
.tm-details-content-wrap {
  padding-bottom: 130px;
  padding-top: 0;
}

.tm-details-thumb img {
  height: 500px;
  margin-bottom: 0;
  margin-left: 0;
  max-width: inherit;
  position: relative;
  z-index: 2;
}

.tm-details-wrapper {
  height: fit-content;
  overflow: hidden;
}

/* Breadcrumb */
.svc-details-breadcrumb {
  padding: 12px 0;
  background-color: transparent;
  border-bottom: 1px solid #e0e4e9;
  font-family: 'Arial', sans-serif;
}

.svc-details-breadcrumb .breadcrumb {
  margin: 0;
  padding: 0;
  background-color: transparent;
  font-size: 14px;
}

.svc-details-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "→";
  color: #5a6268;
  font-size: 12px;
  vertical-align: middle;
}

.svc-details-breadcrumb .breadcrumb-item a {
  color: #070708;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.svc-details-breadcrumb .breadcrumb-item a:hover {
  color: black;
  text-decoration: underline;
}

.svc-details-breadcrumb .breadcrumb-item.active {
  color: #5a6268;
  font-weight: 500;
}

/* PDF Viewer */
.pdf-viewer-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.pdf-viewer-container:hover {
  transform: translateY(-5px);
}

.pdf-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pdf-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pdf-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 600px;
  margin: 0 auto;
}

.pdf-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pdf-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  background-color: #2980b9;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.pdf-btn:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

.pdf-btn:active {
  transform: scale(0.95);
}

.pdf-embed-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #fff;
}

.pdf-embed {
  width: 100%;
  height: 600px;
  border: none;
  transition: var(--transition);
}

.pdf-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.pdf-embed-wrapper:hover .pdf-overlay {
  opacity: 1;
}

/* Media Queries */
@media only screen and (min-width: 1400px) and (max-width: 1700px) {
  .tp-hero-title {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .products-title,
  .tp-portfolio-9-title {
    font-size: 6vw;
    padding: 0.75rem;
  }

  .pdf-viewer-container {
    margin: 1rem;
    padding: 1.5rem;
  }

  .pdf-title {
    font-size: 2rem;
  }

  .pdf-embed {
    height: 400px;
  }

  .pdf-controls {
    flex-direction: column;
    align-items: center;
  }

  .pdf-btn {
    width: 100%;
    max-width: 200px;
  }

  .cn-contactform-support-text span {
    font-size: 45px;
    font-weight: 600;
  }
}

@media (max-width: 767px) {
  .pin-spacer {
    height: 0;
    padding: 0;
    width: 0;
  }

  .tp-hero-2-title {
    font-size: 45px;
  }

  .tp-hero-2-wrapper {
    height: 700px;
    padding-left: 20px;
  }

  .tp-hero-bottom-img,
  .tp-hero-title {
    display: none;
  }

  .tm-details-thumb img {
    display: block;
    height: fit-content;
    width: 400px;
  }

}



/* PDF Viewer Container */
.pdf-viewer-container {
    max-width: 1200px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 0px;
}

.pdf-viewer-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.pdf-viewer-container h2 {
    font-size: 2rem;
    color: #1e3a8a; /* Dark blue for contrast */
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* PDF Embed Wrapper */
.pdf-embed-wrapper {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.pdf-embed {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    transition: background 0.3s ease;
}

.pdf-embed-wrapper:hover .pdf-overlay {
    background: rgba(0, 0, 0, 0.03);
}


.tp-pdf-viewer-empty {
    max-width: 600px;
    margin: 40px auto;
    background: #fef2f2; 
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tp-pdf-viewer-empty p {
    font-size: 1.1rem;
    color: #dc2626; 
    font-weight: 500;
}

/* default (desktop/tablet) */
.why-img {
    width: 100%;        /* keep it fluid */
    height: 750px;
    object-fit: fill;   /* fills the box even if it crops */
}

/* mobile tweaks */
@media (max-width: 767px) {
    .why-img {
        height: 400px;
        object-fit: contain; /* letter‑boxes to show the whole image */
    }
    
    .tp_text_invert > div {
    height: 70px;
}
}


/* Responsive Design */
@media (max-width: 768px) {
    .pdf-viewer-container {
        margin: 20px;
        padding: 20px;
    }
    
    .tp-hero-2-pt {
    padding-top: 75px;
}

    .pdf-viewer-container h2 {
        font-size: 1.5rem;
    }

    .pdf-embed-wrapper {
        height: 400px; /* Smaller height for mobile */
    }

    .tp-pdf-viewer-empty {
        margin: 20px;
        padding: 15px;
    }

    .tp-pdf-viewer-empty p {
        font-size: 1rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
 

    .pdf-viewer-container {
        background: #1f2937; /* Dark background */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .pdf-viewer-container h2 {
        color: #93c5fd; /* Light blue for contrast */
    }

    .pdf-embed-wrapper {
        background: #374151;
        border-color: #4b5563;
    }

    .tp-pdf-viewer-empty {
        background: #7f1d1d; /* Darker red */
    }

    .tp-pdf-viewer-empty p {
        color: #fecaca; /* Lighter red */
    }
}

.pdf-button-group {
  margin: 15px 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;
}

.pdf-button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  background: linear-gradient(135deg, #0f055c, #0f055c);
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  min-width: 120px;
}

.pdf-button:hover {
  background: linear-gradient(135deg, #0056b3, #003d80);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pdf-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pdf-button.active {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
}

.pdf-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.pdf-button:hover::before {
  width: 200px;
  height: 200px;
}

.pdf-viewer-container {
  display: none;
  width: 80%;
  max-width: 100%;
  overflow-x: auto;
}

.pdf-viewer-container.active {
  display: block;
}

.cn-contactform-support-bg{
    height: 300px;
}

/* Media Queries for Mobile Devices */
@media screen and (max-width: 600px) {
  .pdf-button-group {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
  }
  .pdf-viewer-container {

  width: 90%;

}

  .pdf-button {
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-radius: 5px;
    min-width: 100px;
    width: 100%;
    max-width: 300px;
  }

  .pdf-button:hover::before {
    width: 150px;
    height: 150px;
  }

  .pdf-button:hover {
    transform: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  .pdf-button:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
}

  .download-button-group {
            margin-bottom: 20px;
            text-align: end;
          

        }
        .category-download-button {
            display: inline-block;
            padding: 12px 24px;
            background-color: #3022a0;
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        .category-download-button:hover {
            background-color: #218838;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
        .category-download-button:active {
            transform: translateY(0);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }