/*
Theme Name: Pulsar
Theme URI: 
Author: MXBO
Author URI: 
Description: A custom theme built for Pulsar
Version: 1.3.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pulsar
Tags: custom-theme, responsive, modern

This theme is built with modern web development practices in mind.
*/

/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Typography */
body {
  font-family: "AktivGrotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: normal; /* Regular weight */
  line-height: 1.6;
  color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "AktivGrotesk", sans-serif;
  font-weight: bold; /* Bold weight */
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

.font-light {
  font-weight: 300; /* Light weight */
}

.font-medium {
  font-weight: 500; /* Medium weight */
}

.font-bold {
  font-weight: bold; /* Bold weight */
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Header */
.site-header {
  position: relative;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

/* Mobile Header Layout */
@media (max-width: 767px) {
  .header-wrapper {
    position: relative;
    justify-content: center;
    padding: 20px 0;
  }

  .menu-toggle {
    position: absolute;
    left: 0;
    top: 10%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .site-branding {
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

  .custom-logo {
    height: 24px;
    width: auto;
    display: block;
  }
}

/* Transparent Header (Homepage) */
.site-header--transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
}

.site-header--transparent .main-navigation a {
  color: #fff;
}

.site-header--transparent .menu-toggle {
  color: #fff;
}

/* White Header (Inner Pages) */
.site-header--white {
  background-color: #fff;
}

.site-header--white .main-navigation a {
  color: #000;
}

.menu-open .site-header--white .menu-toggle {
  color: #000;
  filter: invert(1);
}

/* Black Header */
.site-header--black {
  background-color: #000;
}

.site-header--black .main-navigation a {
  color: #fff;
}

.menu-open .site-header--black .menu-toggle {
  color: #fff;
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
}

.custom-logo {
  height: auto;
  max-width: 150px;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
  margin: 0;
  margin-left: 15px;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  font-weight: normal; /* Regular weight instead of medium */
  font-size: 16px;
  line-height: 24px;
  padding: 12px 18px;
  position: relative;
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* Desktop menu animated underline effect */
.main-navigation a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.main-navigation a:hover {
  opacity: 0.8;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after,
.main-navigation .current-menu-parent a::after,
.main-navigation .current-menu-ancestor a::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-icon,
.close-icon {
  width: 24px;
  height: 24px;
}

.close-icon {
  display: none;
}

/* Homepage Hero */
.homepage-hero {
  position: relative;
  min-height: calc(100vh - 0px);
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 0 40px;
  z-index: 1;
  text-align: left;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%) scaleX(-1);
  object-fit: cover;
  opacity: 1;
  transition: opacity 1s ease;
  /* Safari flickering fix: animation removed but scaleX(-1) preserved in transform */
}

/* Canvas-based video container */
.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Canvas element for video playback */
.hero-bg-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%) scaleX(-1);
  object-fit: cover;
  opacity: 1;
  transition: opacity 1s ease;
  /* Safari flickering fix: animation removed but scaleX(-1) added to transform */
}

/* 
@keyframes subtle-zoom {
  0% {
    transform: translateX(-50%) translateY(-50%) scaleX(-1) scale(1);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) scaleX(-1) scale(1.1);
  }
}
Animation commented out to fix Safari video flickering issue
*/

.hero-content {
  max-width: 800px;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: left;
}

.hero-content h1 {
  font-family: "AktivGrotesk", sans-serif;
  font-weight: 300; /* Light */
  font-size: 80px;
  line-height: 96px;
  margin-bottom: 24px;
}

.hero-content p {
  font-family: "AktivGrotesk", sans-serif;
  font-weight: normal; /* Regular */
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 32px;
}

.hero-scroll-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: 40px;
}

.hero-scroll {
  display: flex;
  align-items: center;
}

.scroll-icon {
  width: 24px;
  height: auto;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Admin bar adjustments */
.admin-bar .site-header--transparent {
  top: 32px;
}

.admin-bar .homepage-hero {
  min-height: calc(
    100vh - 32px
  ); /* Adjust hero height to account for admin bar */
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header--transparent {
    top: 46px; /* Admin bar is taller on mobile */
  }
  .admin-bar .site-header--white,
  .admin-bar .site-header--black {
    top: 46px; /* Admin bar is taller on mobile */
    height: 70px;
    padding-top: 30px;
  }
  .site-header--transparent,
  .site-header--black,
  .site-header--white {
    padding-top: 40px;
  }

  .menu-open:not(.admin-bar) .site-header--transparent,
  .menu-open:not(.admin-bar) .site-header--black,
  .menu-open:not(.admin-bar) .site-header--white {
    padding-top: 0;
  }

  .menu-open:not(.admin-bar) .header-wrapper {
    padding: 0;
  }

  .site-header--white,
  .site-header--black {
    position: initial;
  }

  .admin-bar .homepage-hero {
    min-height: auto;
  }
}

@media screen and (max-width: 767px) {
  .homepage-hero {
    min-height: auto;
    height: 65vh;
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 48px;
    line-height: 58px;
  }

  .hero-content p {
    font-size: 18px;
    line-height: 28px;
  }

  .hero-scroll-wrapper {
    display: none;
  }

  /* .admin-bar .homepage-hero {
    min-height: calc(80vh - 46px);
  } */
}

/* Content Area */
.site-content {
  padding: 40px 0;
}

/* Footer */
.site-footer {
  background: #f5f5f5;
  font-weight: 300; /* Light weight */
}

/* Responsive Design */
@media (max-width: 991px) {
  .header-wrapper {
    padding: 15px 0;
  }

  .custom-logo {
    max-width: 120px;
  }
}

@media (max-width: 768px) {
  .main-navigation a::after {
    content: none;
  }
  .menu-toggle {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    overflow-y: auto;
  }

  body.menu-open .site-header.site-header--transparent,
  body.menu-open .site-header.site-header--white {
    background-color: #000;
    background-image: url("assets/images/mobile-menu-bg.svg");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% auto;
  }

  body.menu-open .site-header--white .main-navigation a {
    color: #fff;
  }

  body.menu-open .menu-icon {
    display: none;
  }

  body.menu-open .close-icon {
    display: block;
  }

  .site-header .container {
    height: 100%;
  }

  .header-wrapper {
    /* flex-direction: column;
    align-items: flex-start;
    height: 100%; */
  }

  .main-navigation {
    width: 100%;
    padding-top: 90px;
    display: none;
  }

  body.menu-open .main-navigation {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
  }

  .main-navigation li {
    margin: 10px 0;
  }

  .main-navigation a {
    font-size: 20px;
    line-height: 28px;
    padding: 10px 0;
    color: #fff;
    font-weight: 300;
  }

  .site-branding {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  body.menu-open .custom-logo-link img {
    content: url("assets/images/logo-white.svg");
  }
  .elementor.elementor .elementor-widget-n-tabs.e-n-tabs-tablet .e-n-tab-title {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
  }
}

/* 
 * Pulsar Button Styles
 * These styles can be used outside of Elementor for custom pages
 * Simply add class="pulsar-btn" to any <a> element
 */
.pulsar-btn {
  display: inline-block;
  font-family: "AktivGrotesk", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
  text-decoration: none;
  position: relative;
  color: #000000;
  margin-bottom: 20px;
  padding-right: 30px; /* Space for the arrow */
  background-image: url("assets/images/arrow.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
  transition: all 0.3s ease;
}

/* Underline effect on hover */
.pulsar-btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  /* Make sure the underline doesn't extend to the arrow */
  max-width: calc(100% - 30px);
  background-color: currentColor;
  transition: width 0.3s ease;
}

.pulsar-btn:hover::after {
  width: calc(100% - 30px); /* Width minus the arrow space */
}

/* Arrow hover effect */
.pulsar-btn:hover {
  background-position: calc(100% + 5px) center; /* Move arrow right on hover */
}

/* Dark Mode Button */
.dark-mode .pulsar-btn {
  color: #ffffff;
  background-image: url("assets/images/arrow-white.svg");
}

/* Responsive styles */
@media (max-width: 1024px) {
  .pulsar-btn {
    font-size: 20px;
    line-height: 26px;
  }
}

@media (max-width: 767px) {
  .pulsar-btn {
    font-size: 18px;
    line-height: 24px;
  }
}

/* Keep the original button styles for backward compatibility */
.pulsar-button-wrapper {
  margin-bottom: 20px;
}

.pulsar-button {
  display: inline-flex;
  align-items: center;
  font-family: "AktivGrotesk", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  color: #000000;
}

.pulsar-button-text {
  position: relative;
  display: inline-block;
}

/* Underline effect on hover */
.pulsar-button-text::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.pulsar-button:hover .pulsar-button-text::after {
  width: 100%;
}

.pulsar-button-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.pulsar-arrow-icon {
  width: 16px;
  height: auto;
}

/* Button hover effect */
.pulsar-button:hover .pulsar-button-icon {
  transform: translateX(5px);
}

/* Dark Mode Button */
.dark-mode .pulsar-button,
.pulsar-button-wrapper.dark-mode .pulsar-button {
  color: #ffffff;
}

.dark-mode .pulsar-arrow-icon,
.pulsar-button-wrapper.dark-mode .pulsar-arrow-icon {
  filter: invert(1);
}

/* Footer Styles */
.site-footer {
  width: 100%;
}

/* Black Footer (Top) */
.black-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0;
}

.black-footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.black-footer-left {
  flex: 0 0 44%;
  max-width: 44%;
  min-width: 300px;
}

.black-footer-left h2 {
  font-family: "AktivGrotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-size: 36px;
  font-weight: 300; /* Light weight */
  margin: 0;
  line-height: 48px;
  color: #ffffff;
}

.black-footer-right {
  flex: 0 0 56%;
  max-width: 56%;
  display: flex;
  flex-wrap: wrap;
  gap: 65px;
  justify-content: flex-start;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-family: "AktivGrotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-size: 20px;
  font-weight: 400; /* Regular weight */
  line-height: 28px;
  color: white;
}

.contact-value a {
  font-family: "AktivGrotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-size: 30px;
  font-weight: 400; /* Regular weight */
  line-height: 40px;
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: #ffffff;
}
.contact-value a {
  text-decoration: none;
  position: relative;
  color: #ffffff; /* Text color */
  padding-bottom: 4px; /* Space for underline */
}

.contact-value a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease-in-out;
}

.contact-value a:hover::after {
  width: 100%;
}

/* White Footer (Bottom) */
.white-footer {
  background-color: #ffffff;
  color: #000000;
  padding: 80px 0 32px;
}

.white-footer-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.white-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 35%;
}

.footer-right {
  width: 65%;
  text-align: right;
}

.footer-logo {
  max-width: 180px;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
}

.footer-logo .site-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #333333;
  transition: all 0.3s ease;
}

.social-icon:hover {
  /* background-color: #333333;
    color: #ffffff;
    transform: translateY(-2px); */
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

/* .social-icon.linkedin:hover {
    background-color: #0077b5;
}

.social-icon.twitter:hover {
    background-color: #000000;
}

.social-icon.facebook:hover {
    background-color: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.youtube:hover {
    background-color: #ff0000;
}

.social-icon.tiktok:hover {
    background-color: #000000;
}

.social-icon.pinterest:hover {
    background-color: #e60023;
}

.social-icon.whatsapp:hover {
    background-color: #25d366;
} */

/* Removing duplicate selector */
/* .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #000000;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #000000;
    color: #ffffff;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}
*/

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.white-footer-middle {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 40px;
}

.footer-text {
  font-family: "Aktiv Grotesk Light", sans-serif;
  font-size: 48px;
  line-height: 56px;
}

.footer-navigation {
  min-width: 200px;
}

.footer-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-navigation li {
  margin: 0;
}

.footer-navigation a {
  text-decoration: none;
  color: #333333;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-navigation a:hover {
  color: #000000;
}

.white-footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #eaeaea;
}

.copyright {
  font-family: "Aktiv Grotesk Regular", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
  .black-footer {
    padding: 40px 0;
  }

  .black-footer-content {
    flex-direction: row;
    gap: 31px;
    justify-content: flex-start;
  }
  .contact-label {
    font-size: 16px;
    line-height: 24px;
  }
  .contact-value a {
    font-size: 20px;
    line-height: 28px;
  }
  .black-footer-left,
  .black-footer-right {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .black-footer-content {
    align-items: flex-start;
  }
  .black-footer-right {
    justify-content: flex-start;
    flex-direction: column;
  }
  .footer-text {
    font-family: "Aktiv Grotesk Light", sans-serif;
    font-size: 32px;
    line-height: 40px;
    text-align: right;
  }
  .white-footer-content {
    gap: 30px;
  }
  .black-footer-left h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .white-footer {
    padding: 40px 0 20px;
  }

  .white-footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-right {
    text-align: left;
  }

  .white-footer-middle {
    flex-direction: column;
    gap: 30px;
    justify-content: flex-start;
  }

  .footer-navigation ul {
    flex-direction: column;
    gap: 10px;
  }
  .elementor.elementor
    .elementor-widget-n-tabs.e-n-tabs-mobile
    .e-n-tab-title:not(:first-child) {
    margin-block-end: var(--n-tabs-title-gap);
  }
  .elementor-widget-n-tabs .e-n-tabs-heading {
    width: 100%;
    display: flex !important;
    flex-direction: initial !important;
  }
}

/* Contact Form 7 Custom Styles */
.wpcf7 {
  max-width: 600px;
  margin: 0 auto;
}

.wpcf7 form label {
  display: block;
  margin-bottom: 5px;
  font-weight: normal;
  font-size: 14px;
  color: #333;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form textarea {
  width: 100%;
  padding: 12px 0;
  margin-bottom: 24px;
  border: none;
  border-bottom: 1px solid #ddd;
  background-color: transparent;
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 20px;
  line-height: 28px;
  transition: border-color 0.3s ease;
  outline: none;
}

.wpcf7 form textarea {
  height: 120px;
  resize: vertical;
}

.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form textarea:focus {
  border-bottom: 1px solid #333;
}

/* Error states */
.wpcf7 form .wpcf7-not-valid {
  border-bottom: 1px solid #ff0000;
}

/* Placeholder styling */
.wpcf7 form input::placeholder,
.wpcf7 form textarea::placeholder {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 20px;
  line-height: 28px;
  color: #999;
  opacity: 1;
  transition: opacity 0.3s ease;
  font-weight: 300;
}

/* Make placeholder red on error */
.wpcf7 form .wpcf7-not-valid::placeholder {
  color: #ff0000;
  opacity: 0.7;
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: normal;
}

/* Make placeholder red on error for Microsoft browsers */
.wpcf7 form .wpcf7-not-valid:-ms-input-placeholder {
  color: #ff0000;
  opacity: 0.7;
}

/* Make placeholder red on error for IE */
.wpcf7 form .wpcf7-not-valid::-ms-input-placeholder {
  color: #ff0000;
  opacity: 0.7;
}

/* Video Background Styles */
.video-bg {
  position: relative;
  overflow: hidden;
}

.video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  opacity: 1;
}

.video-bg-container video {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%) scaleY(-1);
  object-fit: cover;
}

/* Related News Section Styles */
/* News Title Link Styles */
.news-title-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

.news-title-link:hover {
  color: inherit;
}

/* Underline effect on hover */
.news-title-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.news-title-link:hover::after {
  width: 100%;
}

/* News Header Image Styles */
.news-page-header {
  margin-bottom: 80px;
}

.news-header-image-wrapper {
  height: 420px; /* Fixed height on desktop */
  overflow: hidden;
}

.news-header-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Mobile styles for news header image */
@media (max-width: 767px) {
  .news-header-image-wrapper {
    height: 280px; /* Fixed height on mobile */
  }
  .news-page-header {
    margin-bottom: 56px;
  }
}

.related-news-section {
  margin-top: 30px;
  margin-bottom: 80px;
}

.related-news-title {
  font-family: "AktivGrotesk", sans-serif;
  font-size: 48px;
  line-height: 56px;
  font-weight: 300;
  margin-bottom: 30px;
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
}

.related-news-item {
  position: relative;
}

.related-news-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-news-image-container {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.related-news-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.related-news-item:hover .related-news-image {
  transform: scale(1.05);
}

.related-news-item-title {
  font-family: "AktivGrotesk", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  margin: 12px 0 8px;
  color: #000000;
}

.related-news-date {
  font-family: "AktivGrotesk", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #000;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 767px) {
  .related-news-grid {
    grid-template-columns: 1fr;
  }

  .related-news-title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .related-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Location Widget Styles */
.pulsar-location-wrapper {
  display: flex;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.pulsar-location-map-wrapper {
  flex: 1;
  position: relative;
}

.pulsar-location-map {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.pulsar-location-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pulsar-location-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  z-index: 2;
}

.pulsar-location-content {
  width: 40%;
  background-color: #000000;
  color: #ffffff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pulsar-location-title {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 24px;
}

.pulsar-location-address {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: normal;
}

.pulsar-location-address p {
  margin: 0 0 5px 0;
}

.pulsar-location-map-link {
  font-family: "Aktivgrotesk", sans-serif;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
  transition: opacity 0.3s ease;
}

.pulsar-location-map-link:hover {
  opacity: 0.8;
}

.pulsar-location-map-link-icon {
  display: inline-flex;
  margin-left: 8px;
}

.pulsar-location-map-link .pulsar-arrow-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

/* Mobile Layout */
.pulsar-location-layout-mobile .pulsar-location-wrapper {
  flex-direction: column;
}

.pulsar-location-layout-mobile .pulsar-location-content {
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .pulsar-location-wrapper {
    flex-direction: column;
  }

  .pulsar-location-content {
    width: 100%;
  }
}

.wpcf7 form .wpcf7-not-valid-tip {
  color: #ff0000;
  font-size: 12px;
  margin-top: -20px;
  margin-bottom: 20px;
  display: block;
}

/* Required field indicators */
.wpcf7-form-control-wrap.your-name::after,
.wpcf7-form-control-wrap.your-email::after {
  content: "Please fill this field";
  display: none;
  font-size: 12px;
  color: #ff0000;
  margin-top: 5px;
}

.wpcf7-form-control-wrap.your-name.wpcf7-not-valid::after,
.wpcf7-form-control-wrap.your-email.wpcf7-not-valid::after {
  display: block;
}

/* Submit button */
/* Submit button wrapper */
.wpcf7 form .wpcf7-submit-wrapper {
  position: relative;
  display: inline-block;
}

/* Submit button */
.wpcf7 form input[type="submit"],
.wpcf7 form input[type="button"] {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background-color: transparent;
  color: #333;
  border: 1px solid #333;
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  padding-right: 48px;
  background-image: url("./assets/images/arrow.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 20px) center;
  background-size: 16px;
}



.wpcf7 form input[type="submit"]:hover,
.wpcf7 form input[type="button"]:hover {
  background-color: #333;
  color: #fff;
  background-image: url("./assets/images/arrow-inverted.svg");
}

/* Response messages */
.wpcf7 form .wpcf7-response-output {
  margin: 2em 0 1em;
  padding: 0.5em 1em;
  font-size: 16px;
  line-height: 24px;
  border: none;
}

.wpcf7 form .wpcf7-validation-errors {
  border-color: #ff0000;
  color: #ff0000;
}

.wpcf7 form .wpcf7-mail-sent-ok {
  border-color: #46b450;
  color: #46b450;
}
.wpcf7-form p br {
  display: none;
}
.wpcf7-form[data-status="invalid"] .wpcf7-response-output {
  display: none;
}
.wpcf7-form[data-status="sent"] .wpcf7-response-output {
  color: #008c1e;
  background-color: #f2f9f4;
  border-color: #f2f9f4;
}
.wpcf7-not-valid {
  color: red;
}
.page-id-714 .black-footer {
  display: none;
}

/* Single Service Template Styles */
.service-single {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}

.service-single .entry-title {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 48px;
  line-height: 56px;
  margin-bottom: 40px;
}

.service-single .featured-image {
  margin-bottom: 40px;
}

.service-single .featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-single .entry-content {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 60px;
}

.service-single .entry-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.service-single .nav-links {
  display: flex;
  justify-content: space-between;
}

.service-single .nav-previous,
.service-single .nav-next {
  max-width: 45%;
}

.service-single .nav-subtitle {
  display: block;
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.service-single .nav-title {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 18px;
  line-height: 24px;
}

.service-single a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.service-single a:hover {
  opacity: 0.8;
}
.single-service .pulsar-page-title .title-content {
  max-width: 900px;
}
.service-single .pulsar-page-title,
.single-service .pulsar-page-title {
  padding-bottom: 40px;
}

/* News Single Template Styles */
.news-single {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}

.news-single .entry-title {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 48px;
  line-height: 56px;
  margin-bottom: 20px;
}

.news-single .entry-meta {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 40px;
  opacity: 0.7;
}

.news-single .entry-meta a {
  color: #ffffff;
  text-decoration: none;
}

.news-single .entry-meta a:hover {
  text-decoration: underline;
}

.news-single .featured-image {
  margin-bottom: 40px;
}

.news-single .featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-single .entry-content {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 60px;
}

.news-single .entry-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.news-single .nav-links {
  display: flex;
  justify-content: space-between;
}

.news-single .nav-previous,
.news-single .nav-next {
  max-width: 45%;
}

.news-single .nav-subtitle {
  display: block;
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.news-single .nav-title {
  font-family: "Aktivgrotesk", sans-serif;
  font-size: 18px;
  line-height: 24px;
}

.news-single a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.news-single a:hover {
  opacity: 0.8;
}

.single-news .pulsar-page-title .title-content {
  max-width: 900px;
}

.news-single .pulsar-page-title {
  padding-bottom: 40px;
}

/* News Meta (Author & Publish Date) */

.news-meta {
  font-family: "AktivGrotesk", Sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #000000;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .news-meta {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
  }
}
.underline a {
  position: relative;
  text-decoration: none;
}

.underline a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease-in-out;
}

.underline a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .service-single,
  .news-single {
    padding: 40px 0;
  }

  .service-single .entry-title,
  .news-single .entry-title {
    font-size: 36px;
    line-height: 44px;
  }

  .service-single .nav-links,
  .news-single .nav-links {
    flex-direction: column;
  }

  .service-single .nav-previous,
  .service-single .nav-next,
  .news-single .nav-previous,
  .news-single .nav-next {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #333333;
    transition: all 0.3sease;
  }
  .social-icon img {
    height: 48px;
    width: auto;
  }
  .footer-social {
    gap: 8px;
  }
  .copyright {
    font-family: "Aktiv Grotesk Regular", sans-serif;
    font-size: 14px;
    line-height: 20px;
  }
  .black-footer-right {
    flex: 0 0 100%;
    max-width: 100%;
    gap: 24px;
  }
}
