/** === Custom Styling for Digifort Page (ID: 9047) === **/

/* Transparent header overlaying the hero image */
.page-id-9047 header,
.page-id-9047 .elementor-location-header {
    background: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 999;
    top: 0;
    left: 0;
}

/* Remove white gap above the hero section */
.page-id-9047 .elementor-section.elementor-top-section:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Make menu links visible (white text on dark/hero background) */
.page-id-9047 .main-header-menu .menu-link,
.page-id-9047 .ast-header-custom-item a {
    color: #ffffff !important;
}

/* Change menu links color on hover */
.page-id-9047 .main-header-menu .menu-link:hover {
    color: #00adee !important;
}

/* Sticky transparent header */
header#masthead,
.main-header-bar,
.ast-primary-header-bar {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 9999;
  background: transparent !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* No padding at the top initially */
.site-content {
  padding-top: 0;
}

/* Header after scroll */
.scrolled header#masthead,
.scrolled .main-header-bar,
.scrolled .ast-primary-header-bar {
  background: rgba(1, 68, 104, 0.5) !important; /* semi-transparent blue */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}

/* Add padding only after scroll */
.scrolled .site-content {
  padding-top: 100px;
}

/* Hide footer only on project pages (01–06) and service pages (01–06) */

/* Services */
.page-id-8835 footer#colophon,   /* Service 01 */
.page-id-8858 footer#colophon,   /* Service 02 */
.page-id-8880 footer#colophon,   /* Service 03 */
.page-id-8896 footer#colophon,   /* Service 04 */
.page-id-8909 footer#colophon,   /* Service 05 */
.page-id-8925 footer#colophon,   /* Service 06 */

/* Projects */
.page-id-8941 footer#colophon,   /* Project 01 */
.page-id-10833 footer#colophon,  /* Project 02 */
.page-id-10917 footer#colophon,  /* Project 03 */
.page-id-10868 footer#colophon,  /* Project 04 */
.page-id-1073 footer#colophon,   /* Project 05 */
.page-id-10689 footer#colophon { /* Project 06 */
  display: none !important;
}

.hero-title {
  text-transform: none !important;
}


